@ocap/indexdb 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.d.mts CHANGED
@@ -35,6 +35,7 @@ declare class BaseIndexDB extends Ready implements IIndexDB {
35
35
  listTokenFactories(_params?: Partial<TRequestListTokenFactories>): Promisable<IListTokenFactoriesResult>;
36
36
  getRelatedAddresses(_address: string): Promisable<string[]>;
37
37
  listBlocks(): unknown[];
38
+ close(): Promise<void>;
38
39
  }
39
40
  //#endregion
40
41
  export { BaseIndexDB as default };
package/esm/db.mjs CHANGED
@@ -55,6 +55,7 @@ var BaseIndexDB = class extends Ready {
55
55
  listBlocks() {
56
56
  return [];
57
57
  }
58
+ async close() {}
58
59
  };
59
60
  var db_default = BaseIndexDB;
60
61
 
package/lib/db.cjs CHANGED
@@ -57,6 +57,7 @@ var BaseIndexDB = class extends _ocap_util_lib_ready.Ready {
57
57
  listBlocks() {
58
58
  return [];
59
59
  }
60
+ async close() {}
60
61
  };
61
62
  var db_default = BaseIndexDB;
62
63
 
package/lib/db.d.cts CHANGED
@@ -35,6 +35,7 @@ declare class BaseIndexDB extends Ready implements IIndexDB {
35
35
  listTokenFactories(_params?: Partial<TRequestListTokenFactories>): Promisable<IListTokenFactoriesResult>;
36
36
  getRelatedAddresses(_address: string): Promisable<string[]>;
37
37
  listBlocks(): unknown[];
38
+ close(): Promise<void>;
38
39
  }
39
40
  //#endregion
40
41
  export { BaseIndexDB as default };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.29.5",
6
+ "version": "1.29.7",
7
7
  "type": "module",
8
8
  "description": "Defines the basic interface for OCAP IndexDB",
9
9
  "main": "./lib/main.cjs",
@@ -37,7 +37,8 @@
37
37
  "test": "bun test",
38
38
  "coverage": "npm run test -- --coverage",
39
39
  "build": "tsdown",
40
- "build:watch": "tsdown -w"
40
+ "build:watch": "tsdown -w",
41
+ "clean": "rm -rf lib esm"
41
42
  },
42
43
  "keywords": [],
43
44
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
@@ -51,9 +52,9 @@
51
52
  "tsdown": "^0.18.4"
52
53
  },
53
54
  "dependencies": {
54
- "@ocap/state": "1.29.5",
55
- "@ocap/types": "1.29.5",
56
- "@ocap/util": "1.29.5",
55
+ "@ocap/state": "1.29.7",
56
+ "@ocap/types": "1.29.7",
57
+ "@ocap/util": "1.29.7",
57
58
  "kareem": "^2.4.1",
58
59
  "lodash": "^4.17.23"
59
60
  }