@ocap/indexdb-memory 1.29.5 → 1.29.7
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/esm/db/index.d.mts +1 -0
- package/esm/db/index.mjs +1 -0
- package/lib/db/index.cjs +1 -0
- package/lib/db/index.d.cts +1 -0
- package/package.json +8 -7
package/esm/db/index.d.mts
CHANGED
|
@@ -22,6 +22,7 @@ declare class MemoryIndexDB extends LocalBaseIndexDB implements IIndexDB {
|
|
|
22
22
|
tokenDistribution: IIndexTable<IndexTableTypeMap['tokenDistribution']>;
|
|
23
23
|
tokenFactory: IIndexTable<IndexTableTypeMap['tokenFactory']>;
|
|
24
24
|
constructor();
|
|
25
|
+
close(): Promise<void>;
|
|
25
26
|
}
|
|
26
27
|
//#endregion
|
|
27
28
|
export { MemoryIndexDB as default };
|
package/esm/db/index.mjs
CHANGED
package/lib/db/index.cjs
CHANGED
package/lib/db/index.d.cts
CHANGED
|
@@ -22,6 +22,7 @@ declare class MemoryIndexDB extends LocalBaseIndexDB implements IIndexDB {
|
|
|
22
22
|
tokenDistribution: IIndexTable<IndexTableTypeMap['tokenDistribution']>;
|
|
23
23
|
tokenFactory: IIndexTable<IndexTableTypeMap['tokenFactory']>;
|
|
24
24
|
constructor();
|
|
25
|
+
close(): Promise<void>;
|
|
25
26
|
}
|
|
26
27
|
//#endregion
|
|
27
28
|
export { MemoryIndexDB as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/indexdb-memory",
|
|
3
3
|
"description": "OCAP indexdb adapter that uses memory as backend, just for test purpose",
|
|
4
|
-
"version": "1.29.
|
|
4
|
+
"version": "1.29.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
|
|
7
7
|
"bugs": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"wangshijun <shijun@arcblock.io> (https://www.arcblock.io)"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ocap/indexdb-test": "1.29.
|
|
18
|
+
"@ocap/indexdb-test": "1.29.7",
|
|
19
19
|
"@types/debug": "^4.1.12",
|
|
20
20
|
"@types/lodash": "^4.17.10",
|
|
21
21
|
"@types/lokijs": "^1.5.14",
|
|
@@ -74,14 +74,15 @@
|
|
|
74
74
|
"test": "bun test",
|
|
75
75
|
"coverage": "npm run test -- --coverage",
|
|
76
76
|
"build": "tsdown",
|
|
77
|
-
"build:watch": "tsdown -w"
|
|
77
|
+
"build:watch": "tsdown -w",
|
|
78
|
+
"clean": "rm -rf lib esm"
|
|
78
79
|
},
|
|
79
80
|
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
80
81
|
"dependencies": {
|
|
81
|
-
"@arcblock/did": "1.29.
|
|
82
|
-
"@ocap/indexdb": "1.29.
|
|
83
|
-
"@ocap/types": "1.29.
|
|
84
|
-
"@ocap/util": "1.29.
|
|
82
|
+
"@arcblock/did": "1.29.7",
|
|
83
|
+
"@ocap/indexdb": "1.29.7",
|
|
84
|
+
"@ocap/types": "1.29.7",
|
|
85
|
+
"@ocap/util": "1.29.7",
|
|
85
86
|
"debug": "^4.4.3",
|
|
86
87
|
"lodash": "^4.17.23",
|
|
87
88
|
"lokijs": "^1.5.12"
|