@agconnect/storage-types
Advanced tools
Comparing version 1.1.0 to 1.2.0-beta1
@@ -6,2 +6,8 @@ export namespace AGCStorageService { | ||
export const enum Persistence { | ||
persistenceStorage, | ||
temporaryStorage, | ||
memoryStorage | ||
} | ||
export interface AGCStorage { | ||
@@ -19,15 +25,7 @@ /** | ||
remove(key: string): Promise<void>; | ||
setCryptImp(cryptImpl: any): void; | ||
} | ||
export const enum Persistence { | ||
persistenceStorage, | ||
temporaryStorage, | ||
memoryStorage | ||
} | ||
export interface Factory { | ||
getStorage(persistence?: number): AGCStorageService.AGCStorage; | ||
getStorageNewInstance(persistence?: Persistence, cryptImpl?:any): AGCStorageService.AGCStorage; | ||
@@ -34,0 +32,0 @@ createPersistentStorage(): AGCStorageService.AGCStorage; |
{ | ||
"name": "@agconnect/storage-types", | ||
"version": "1.1.0", | ||
"version": "1.2.0-beta1", | ||
"description": "", | ||
@@ -10,6 +10,6 @@ "scripts": {}, | ||
"devDependencies": { | ||
"typescript": "^3.7.5" | ||
"typescript": "^4.0.5" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1371
27
2