Skip to content

Commit

Permalink
Issue #SB-0000 merge: Merge pull request #215 from AmiableAnil/releas…
Browse files Browse the repository at this point in the history
…e-2.7.0

Issue #SB-0000 chore: Bump up the sdk version to 2.7.3
  • Loading branch information
swayangjit authored Dec 27, 2019
2 parents da4437e + 9975545 commit 2f4df46
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 7 deletions.
1 change: 1 addition & 0 deletions dist/content/def/requests.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export interface EcarImportRequest {
identifier?: string;
}
export interface ContentImportRequest {
withPriority?: number;
contentImportArray: ContentImport[];
contentStatusArray: string[];
fields?: (keyof ContentData)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/profile/def/generate-otp-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export interface GenerateOtpRequest {
userId?: string;
templateId?: string;
key: string;
type: string;
}
3 changes: 1 addition & 2 deletions dist/profile/handler/generate-otp-handler.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ApiRequestHandler, ApiService } from '../../api';
import { GenerateOtpRequest } from '..';
import { ProfileServiceConfig } from '..';
import { GenerateOtpRequest, ProfileServiceConfig } from '..';
import { Observable } from 'rxjs';
export declare class GenerateOtpHandler implements ApiRequestHandler<GenerateOtpRequest, boolean> {
private apiService;
Expand Down
4 changes: 3 additions & 1 deletion dist/telemetry/impl/telemetry-service-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { AppInfo } from '../../util/app';
import { DeviceRegisterService } from '../../device-register';
import { Observable } from 'rxjs';
import { TelemetryAutoSyncServiceImpl } from '../util/telemetry-auto-sync-service-impl';
import { CourseService } from '../../course';
export declare class TelemetryServiceImpl implements TelemetryService {
private dbService;
private decorator;
Expand All @@ -33,11 +34,12 @@ export declare class TelemetryServiceImpl implements TelemetryService {
private sharedPreferences;
private appInfoService;
private deviceRegisterService;
private courseService;
private _lastSyncedTimestamp$;
private telemetryAutoSyncService?;
private telemetryConfig;
readonly autoSync: TelemetryAutoSyncServiceImpl;
constructor(dbService: DbService, decorator: TelemetryDecorator, profileService: ProfileService, groupService: GroupService, keyValueStore: KeyValueStore, apiService: ApiService, sdkConfig: SdkConfig, deviceInfo: DeviceInfo, eventsBusService: EventsBusService, fileService: FileService, frameworkService: FrameworkService, networkInfoService: NetworkInfoService, errorLoggerService: ErrorLoggerService, sharedPreferences: SharedPreferences, appInfoService: AppInfo, deviceRegisterService: DeviceRegisterService);
constructor(dbService: DbService, decorator: TelemetryDecorator, profileService: ProfileService, groupService: GroupService, keyValueStore: KeyValueStore, apiService: ApiService, sdkConfig: SdkConfig, deviceInfo: DeviceInfo, eventsBusService: EventsBusService, fileService: FileService, frameworkService: FrameworkService, networkInfoService: NetworkInfoService, errorLoggerService: ErrorLoggerService, sharedPreferences: SharedPreferences, appInfoService: AppInfo, deviceRegisterService: DeviceRegisterService, courseService: CourseService);
onInit(): Observable<undefined>;
saveTelemetry(request: string): Observable<boolean>;
audit({ env, actor, currentState, updatedProperties, objId, objType, objVer, correlationData }: TelemetryAuditRequest): Observable<boolean>;
Expand Down
15 changes: 14 additions & 1 deletion dist/telemetry/util/telemetry-auto-sync-service-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,28 @@ import { TelemetryAutoSyncModes, TelemetryService } from '..';
import { Observable } from 'rxjs';
import { TelemetryAutoSyncService } from './telemetry-auto-sync-service';
import { SharedPreferences } from '../../util/shared-preferences';
import { CourseService } from '../../course';
import { ProfileService } from '../../profile';
import { SdkConfig } from '../../sdk-config';
import { ApiService } from '../../api';
import { DbService } from '../../db';
import { KeyValueStore } from '../../key-value-store';
export declare class TelemetryAutoSyncServiceImpl implements TelemetryAutoSyncService {
private telemetryService;
private sharedPreferences;
private profileService;
private courseService;
private sdkConfig;
private apiService;
private dbService;
private keyValueStore;
private shouldSync;
private static generateDownloadSpeedTelemetry;
constructor(telemetryService: TelemetryService, sharedPreferences: SharedPreferences);
constructor(telemetryService: TelemetryService, sharedPreferences: SharedPreferences, profileService: ProfileService, courseService: CourseService, sdkConfig: SdkConfig, apiService: ApiService, dbService: DbService, keyValueStore: KeyValueStore);
getSyncMode(): Observable<TelemetryAutoSyncModes | undefined>;
setSyncMode(mode: TelemetryAutoSyncModes): Observable<void>;
start(intervalTime: number): Observable<undefined>;
pause(): void;
continue(): void;
private syncAllCourseProgressAndAssessmentEvents;
}
1 change: 1 addition & 0 deletions dist/util/download/def/requests.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface DownloadRequest {
withPriority?: number;
downloadId?: string;
identifier: string;
downloadUrl: string;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sunbird-sdk",
"version": "2.7.2",
"version": "2.7.3",
"description": "Heart of the sunbird mobile app.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 2f4df46

Please sign in to comment.