@momo-cloud/gami-sdk 0.0.44 → 0.0.45
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/dist/index.public.d.ts +3 -3
- package/dist/index.public.js +1068 -1073
- package/package.json +1 -1
package/dist/index.public.d.ts
CHANGED
|
@@ -202,9 +202,9 @@ export { Storage_2 as Storage }
|
|
|
202
202
|
|
|
203
203
|
declare interface StorageAPI {
|
|
204
204
|
cacheJson(key: string, obj: any): void;
|
|
205
|
-
|
|
206
|
-
getJson(key: string): Promise<any>;
|
|
207
|
-
|
|
205
|
+
cacheValue(key: string, val: any): void;
|
|
206
|
+
getJson(key: string, defaultValue?: any): Promise<any>;
|
|
207
|
+
getValue(key: string, defaultValue?: any): Promise<any>;
|
|
208
208
|
getInCache(url: string): string | undefined;
|
|
209
209
|
cacheFile(url: string): Promise<string>;
|
|
210
210
|
}
|