@unvired/unvired-ts-core-sdk 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BuildNo.txt +1 -1
- package/index.d.ts +13 -12
- package/index.js +119 -109
- package/package.json +1 -1
package/BuildNo.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
R-0.000.
|
|
1
|
+
R-0.000.0017
|
package/index.d.ts
CHANGED
|
@@ -656,7 +656,7 @@ declare module '@unvired/unvired-ts-core-sdk/helper/serverResponseHandler' {
|
|
|
656
656
|
|
|
657
657
|
}
|
|
658
658
|
declare module '@unvired/unvired-ts-core-sdk/helper/serviceConstants' {
|
|
659
|
-
export const FrameworkVersionNumber = "0.0.
|
|
659
|
+
export const FrameworkVersionNumber = "0.0.17";
|
|
660
660
|
export const FrameworkBuildNumber = "${BUILD_NUMBER}";
|
|
661
661
|
export const FrameworkRevisionNumber = "f4444dd36a88188c063db5fe24a4eaa8b7d22106";
|
|
662
662
|
export const FrameworkRevisionUrl = "";
|
|
@@ -901,7 +901,7 @@ declare module '@unvired/unvired-ts-core-sdk/helper/settingsHelper' {
|
|
|
901
901
|
}>): Promise<void>;
|
|
902
902
|
static testPushNotification(): Promise<void>;
|
|
903
903
|
static getCompleteLogs(): Promise<string>;
|
|
904
|
-
static getInfoMessages(
|
|
904
|
+
static getInfoMessages(): Promise<any[]>;
|
|
905
905
|
static setRequestTimeout(timeout: number): Promise<void>;
|
|
906
906
|
static getRequestTimeout(): Promise<number>;
|
|
907
907
|
static setLogLevel(logLevel: string): Promise<void>;
|
|
@@ -1491,7 +1491,13 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformInterface' {
|
|
|
1491
1491
|
clearLogFile(): void;
|
|
1492
1492
|
}
|
|
1493
1493
|
export interface IStorageAdapter {
|
|
1494
|
-
getItem(key: string):
|
|
1494
|
+
getItem(key: string): void;
|
|
1495
|
+
setItem(key: string, value: string): void;
|
|
1496
|
+
removeItem(key: string): void;
|
|
1497
|
+
clear(): void;
|
|
1498
|
+
}
|
|
1499
|
+
export interface ILocalStorageAdapter {
|
|
1500
|
+
getItem(key: string): void;
|
|
1495
1501
|
setItem(key: string, value: string): void;
|
|
1496
1502
|
removeItem(key: string): void;
|
|
1497
1503
|
clear(): void;
|
|
@@ -1500,7 +1506,7 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformInterface' {
|
|
|
1500
1506
|
* Main Platform Adapter Interface
|
|
1501
1507
|
*/
|
|
1502
1508
|
export interface PlatformInterface {
|
|
1503
|
-
getDeviceInfo(): IDeviceInfo
|
|
1509
|
+
getDeviceInfo(): Promise<IDeviceInfo>;
|
|
1504
1510
|
getPlatform(): string;
|
|
1505
1511
|
getFrontendType(): string;
|
|
1506
1512
|
getDocumentDirectory(): string;
|
|
@@ -1578,9 +1584,9 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformManager' {
|
|
|
1578
1584
|
|
|
1579
1585
|
}
|
|
1580
1586
|
declare module '@unvired/unvired-ts-core-sdk/platform/ReactNativePlatformAdapter' {
|
|
1581
|
-
import { PlatformInterface, IDeviceInfo, IFileEntry, IDatabaseAdapter, IPushNotificationAdapter, ILoggerAdapter } from '@unvired/unvired-ts-core-sdk/platform/PlatformInterface';
|
|
1587
|
+
import { PlatformInterface, IDeviceInfo, IFileEntry, IDatabaseAdapter, IPushNotificationAdapter, ILoggerAdapter, IStorageAdapter } from '@unvired/unvired-ts-core-sdk/platform/PlatformInterface';
|
|
1582
1588
|
export class ReactNativePlatformAdapter implements PlatformInterface {
|
|
1583
|
-
getDeviceInfo(): IDeviceInfo
|
|
1589
|
+
getDeviceInfo(): Promise<IDeviceInfo>;
|
|
1584
1590
|
getPlatform(): string;
|
|
1585
1591
|
getFrontendType(): string;
|
|
1586
1592
|
getDocumentDirectory(): string;
|
|
@@ -1590,12 +1596,7 @@ declare module '@unvired/unvired-ts-core-sdk/platform/ReactNativePlatformAdapter
|
|
|
1590
1596
|
getDatabaseAdapter(): IDatabaseAdapter;
|
|
1591
1597
|
getPushNotificationAdapter(): IPushNotificationAdapter | null;
|
|
1592
1598
|
getLoggerAdapter(): ILoggerAdapter;
|
|
1593
|
-
getStorageAdapter():
|
|
1594
|
-
getItem: (key: string) => any;
|
|
1595
|
-
setItem: (key: string, value: string) => void;
|
|
1596
|
-
removeItem: (key: string) => void;
|
|
1597
|
-
clear: () => void;
|
|
1598
|
-
};
|
|
1599
|
+
getStorageAdapter(): IStorageAdapter;
|
|
1599
1600
|
}
|
|
1600
1601
|
|
|
1601
1602
|
}
|