@ocap/indexdb-memory 1.29.5 → 1.29.6

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.
@@ -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
@@ -30,6 +30,7 @@ var MemoryIndexDB = class extends base_default$1 {
30
30
  this.tokenFactory = new base_default("tokenFactory", "address", this.db);
31
31
  this.attachReadyListeners();
32
32
  }
33
+ async close() {}
33
34
  };
34
35
  var db_default = MemoryIndexDB;
35
36
 
package/lib/db/index.cjs CHANGED
@@ -33,6 +33,7 @@ var MemoryIndexDB = class extends require_db_base.default {
33
33
  this.tokenFactory = new require_table_base.default("tokenFactory", "address", this.db);
34
34
  this.attachReadyListeners();
35
35
  }
36
+ async close() {}
36
37
  };
37
38
  var db_default = MemoryIndexDB;
38
39
 
@@ -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.5",
4
+ "version": "1.29.6",
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.5",
18
+ "@ocap/indexdb-test": "1.29.6",
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.5",
82
- "@ocap/indexdb": "1.29.5",
83
- "@ocap/types": "1.29.5",
84
- "@ocap/util": "1.29.5",
82
+ "@arcblock/did": "1.29.6",
83
+ "@ocap/indexdb": "1.29.6",
84
+ "@ocap/types": "1.29.6",
85
+ "@ocap/util": "1.29.6",
85
86
  "debug": "^4.4.3",
86
87
  "lodash": "^4.17.23",
87
88
  "lokijs": "^1.5.12"