@unvired/unvired-ts-core-sdk 0.0.15 → 0.0.16
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 +12 -13
- package/index.js +113 -137
- package/package.json +1 -1
package/BuildNo.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
R-0.000.
|
|
1
|
+
R-0.000.0016
|
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.16";
|
|
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(): Promise<any[]>;
|
|
904
|
+
static getInfoMessages(headerName: string, lid: string): 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,13 +1491,7 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformInterface' {
|
|
|
1491
1491
|
clearLogFile(): void;
|
|
1492
1492
|
}
|
|
1493
1493
|
export interface IStorageAdapter {
|
|
1494
|
-
getItem(key: string):
|
|
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;
|
|
1494
|
+
getItem(key: string): string | null;
|
|
1501
1495
|
setItem(key: string, value: string): void;
|
|
1502
1496
|
removeItem(key: string): void;
|
|
1503
1497
|
clear(): void;
|
|
@@ -1506,7 +1500,7 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformInterface' {
|
|
|
1506
1500
|
* Main Platform Adapter Interface
|
|
1507
1501
|
*/
|
|
1508
1502
|
export interface PlatformInterface {
|
|
1509
|
-
getDeviceInfo():
|
|
1503
|
+
getDeviceInfo(): IDeviceInfo;
|
|
1510
1504
|
getPlatform(): string;
|
|
1511
1505
|
getFrontendType(): string;
|
|
1512
1506
|
getDocumentDirectory(): string;
|
|
@@ -1584,9 +1578,9 @@ declare module '@unvired/unvired-ts-core-sdk/platform/PlatformManager' {
|
|
|
1584
1578
|
|
|
1585
1579
|
}
|
|
1586
1580
|
declare module '@unvired/unvired-ts-core-sdk/platform/ReactNativePlatformAdapter' {
|
|
1587
|
-
import { PlatformInterface, IDeviceInfo, IFileEntry, IDatabaseAdapter, IPushNotificationAdapter, ILoggerAdapter
|
|
1581
|
+
import { PlatformInterface, IDeviceInfo, IFileEntry, IDatabaseAdapter, IPushNotificationAdapter, ILoggerAdapter } from '@unvired/unvired-ts-core-sdk/platform/PlatformInterface';
|
|
1588
1582
|
export class ReactNativePlatformAdapter implements PlatformInterface {
|
|
1589
|
-
getDeviceInfo():
|
|
1583
|
+
getDeviceInfo(): IDeviceInfo;
|
|
1590
1584
|
getPlatform(): string;
|
|
1591
1585
|
getFrontendType(): string;
|
|
1592
1586
|
getDocumentDirectory(): string;
|
|
@@ -1596,7 +1590,12 @@ declare module '@unvired/unvired-ts-core-sdk/platform/ReactNativePlatformAdapter
|
|
|
1596
1590
|
getDatabaseAdapter(): IDatabaseAdapter;
|
|
1597
1591
|
getPushNotificationAdapter(): IPushNotificationAdapter | null;
|
|
1598
1592
|
getLoggerAdapter(): ILoggerAdapter;
|
|
1599
|
-
getStorageAdapter():
|
|
1593
|
+
getStorageAdapter(): {
|
|
1594
|
+
getItem: (key: string) => any;
|
|
1595
|
+
setItem: (key: string, value: string) => void;
|
|
1596
|
+
removeItem: (key: string) => void;
|
|
1597
|
+
clear: () => void;
|
|
1598
|
+
};
|
|
1600
1599
|
}
|
|
1601
1600
|
|
|
1602
1601
|
}
|