@esportsplus/web-storage 0.1.18 → 0.1.20
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/build/local/types.d.ts +5 -1
- package/package.json +7 -9
- package/src/local/types.ts +7 -1
package/build/local/types.d.ts
CHANGED
|
@@ -2,7 +2,11 @@ declare enum Driver {
|
|
|
2
2
|
IndexedDB = 0,
|
|
3
3
|
LocalStorage = 1
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type Options = {
|
|
6
|
+
description?: string;
|
|
7
|
+
driver?: string | string[];
|
|
6
8
|
name: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
version?: number;
|
|
7
11
|
};
|
|
8
12
|
export { Driver, Options };
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "ICJR",
|
|
3
|
-
"dependencies": {
|
|
4
|
-
"localforage": "^1.10.0"
|
|
5
|
-
},
|
|
6
3
|
"description": "Web storage utility",
|
|
7
4
|
"devDependencies": {
|
|
8
5
|
"glob": "^8.0.3",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"localforage": "^1.10.0",
|
|
7
|
+
"ts-loader": "^9.4.2",
|
|
8
|
+
"tsc-alias": "^1.8.1",
|
|
11
9
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
12
|
-
"typescript": "^4.
|
|
13
|
-
"webpack": "^5.
|
|
14
|
-
"webpack-cli": "^
|
|
10
|
+
"typescript": "^4.9.3",
|
|
11
|
+
"webpack": "^5.75.0",
|
|
12
|
+
"webpack-cli": "^5.0.1"
|
|
15
13
|
},
|
|
16
14
|
"main": "./build/index.js",
|
|
17
15
|
"name": "@esportsplus/web-storage",
|
|
@@ -23,5 +21,5 @@
|
|
|
23
21
|
"prepublishOnly": "npm run build"
|
|
24
22
|
},
|
|
25
23
|
"types": "./build/index.d.ts",
|
|
26
|
-
"version": "0.1.
|
|
24
|
+
"version": "0.1.20"
|
|
27
25
|
}
|
package/src/local/types.ts
CHANGED
|
@@ -3,7 +3,13 @@ enum Driver {
|
|
|
3
3
|
LocalStorage
|
|
4
4
|
};
|
|
5
5
|
|
|
6
|
-
type Options =
|
|
6
|
+
type Options = {
|
|
7
|
+
description?: string;
|
|
8
|
+
driver?: string | string[];
|
|
9
|
+
name: string;
|
|
10
|
+
size?: number;
|
|
11
|
+
version?: number;
|
|
12
|
+
};
|
|
7
13
|
|
|
8
14
|
|
|
9
15
|
export { Driver, Options };
|