Skip to content

Commit

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

Issue #SB-0000 chore: Bump up the SDK version to 2.6.12
  • Loading branch information
swayangjit authored Jan 9, 2020
2 parents 3231362 + 73e49f5 commit d86a93b
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
12 changes: 8 additions & 4 deletions dist/device-register/def/request.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import { DeviceSpec } from '../../util/device';
export interface UserDeclaredLocation {
declaredOffline?: boolean;
state: string;
stateId?: string;
district: string;
districtId?: string;
}
export interface DeviceRegisterRequest {
dspec?: DeviceSpec;
channel?: string;
fcmToken?: string;
producer?: string;
first_access?: number;
userDeclaredLocation?: {
state: string;
district: string;
};
userDeclaredLocation?: UserDeclaredLocation;
}
4 changes: 3 additions & 1 deletion dist/device-register/handler/device-register-handler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@ import { AppInfo } from '../../util/app';
import { SdkConfig } from '../../sdk-config';
import { FrameworkService } from '../../framework';
import { SharedPreferences } from '../../util/shared-preferences';
import { GetDeviceProfileHandler } from './get-device-profile-handler';
export declare class DeviceRegisterHandler implements ApiRequestHandler<DeviceRegisterRequest, DeviceRegisterResponse> {
private sdkConfig;
private deviceInfo;
private sharedPreferences;
private frameworkService;
private appInfoService;
private apiService;
private getDeviceProfileHandler;
private static readonly DEVICE_REGISTER_ENDPOINT;
private readonly deviceRegisterConfig;
private readonly apiConfig;
constructor(sdkConfig: SdkConfig, deviceInfo: DeviceInfo, sharedPreferences: SharedPreferences, frameworkService: FrameworkService, appInfoService: AppInfo, apiService: ApiService);
constructor(sdkConfig: SdkConfig, deviceInfo: DeviceInfo, sharedPreferences: SharedPreferences, frameworkService: FrameworkService, appInfoService: AppInfo, apiService: ApiService, getDeviceProfileHandler: GetDeviceProfileHandler);
handle(request?: DeviceRegisterRequest): Observable<DeviceRegisterResponse>;
private registerDevice;
}
2 changes: 2 additions & 0 deletions dist/device-register/impl/device-register-service-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export declare class DeviceRegisterServiceImpl implements DeviceRegisterService
private frameworkService;
private appInfoService;
private apiService;
private readonly deviceRegisterHandler;
private readonly getDeviceProfileHandler;
constructor(sdkConfig: SdkConfig, deviceInfo: DeviceInfo, sharedPreferences: SharedPreferences, frameworkService: FrameworkService, appInfoService: AppInfo, apiService: ApiService);
registerDevice(request?: DeviceRegisterRequest): Observable<DeviceRegisterResponse>;
getDeviceProfile(): Observable<DeviceProfileResponse>;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/profile/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ export * from './def/tenant-info-request';
export * from './def/merge-server-profiles-request';
export * from './def/user-feed-response';
export * from './def/user-migrate-request';
export * from './def/location-search-result';
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.6.11",
"version": "2.6.12",
"description": "Heart of the sunbird mobile app.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit d86a93b

Please sign in to comment.