@dxos/kv-store 0.8.4-main.fbb7a13 → 0.8.4-main.fcc0d83b33

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.
@@ -5,4 +5,4 @@ var createLevel = (path) => new Level(path);
5
5
  export {
6
6
  createLevel
7
7
  };
8
- //# sourceMappingURL=chunk-TWRYZADW.mjs.map
8
+ //# sourceMappingURL=chunk-J5UITAO7.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/level.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { type AbstractChainedBatch, type AbstractSublevel } from 'abstract-level';\nimport { Level } from 'level';\n\n// TODO(burdon): Caution not to obfuscate low level types with inconsistent wrappers.\nexport type LevelDB = Level<string, string>;\nexport type SublevelDB = AbstractSublevel<any, string | Buffer | Uint8Array, string, any>;\nexport type BatchLevel = AbstractChainedBatch<any, string, string>;\n\n// TODO(burdon): Replace this lib with just typings?\nexport const createLevel = (path: string): LevelDB => new Level<string, string>(path);\n"],
5
- "mappings": ";AAKA,SAASA,aAAa;AAQf,IAAMC,cAAc,CAACC,SAA0B,IAAIC,MAAsBD,IAAAA;",
6
- "names": ["Level", "createLevel", "path", "Level"]
5
+ "mappings": ";AAKA,SAASA,aAAa;AAQf,IAAMC,cAAc,CAACC,SAA0B,IAAIF,MAAsBE,IAAAA;",
6
+ "names": ["Level", "createLevel", "path"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLevel
3
- } from "./chunk-TWRYZADW.mjs";
3
+ } from "./chunk-J5UITAO7.mjs";
4
4
  export {
5
5
  createLevel
6
6
  };
@@ -1 +1 @@
1
- {"inputs":{"src/level.ts":{"bytes":1403,"imports":[{"path":"level","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":444,"imports":[{"path":"src/level.ts","kind":"import-statement","original":"./level"}],"format":"esm"},"src/testing/create-test-level.ts":{"bytes":1157,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/level.ts","kind":"import-statement","original":"../level"}],"format":"esm"},"src/testing/index.ts":{"bytes":484,"imports":[{"path":"src/testing/create-test-level.ts","kind":"import-statement","original":"./create-test-level"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TWRYZADW.mjs","kind":"import-statement"}],"exports":["createLevel"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":115},"dist/lib/browser/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":583},"dist/lib/browser/testing/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TWRYZADW.mjs","kind":"import-statement"},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["createTestLevel"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/create-test-level.ts":{"bytesInOutput":135},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":292},"dist/lib/browser/chunk-TWRYZADW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":815},"dist/lib/browser/chunk-TWRYZADW.mjs":{"imports":[{"path":"level","kind":"import-statement","external":true}],"exports":["createLevel"],"inputs":{"src/level.ts":{"bytesInOutput":76}},"bytes":163}}}
1
+ {"inputs":{"src/level.ts":{"bytes":1324,"imports":[{"path":"level","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":369,"imports":[{"path":"src/level.ts","kind":"import-statement","original":"./level"}],"format":"esm"},"src/testing/create-test-level.ts":{"bytes":1062,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/level.ts","kind":"import-statement","original":"../level"}],"format":"esm"},"src/testing/index.ts":{"bytes":401,"imports":[{"path":"src/testing/create-test-level.ts","kind":"import-statement","original":"./create-test-level"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5UITAO7.mjs","kind":"import-statement"}],"exports":["createLevel"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":115},"dist/lib/browser/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":583},"dist/lib/browser/testing/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5UITAO7.mjs","kind":"import-statement"},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["createTestLevel"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/create-test-level.ts":{"bytesInOutput":135},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":292},"dist/lib/browser/chunk-J5UITAO7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":806},"dist/lib/browser/chunk-J5UITAO7.mjs":{"imports":[{"path":"level","kind":"import-statement","external":true}],"exports":["createLevel"],"inputs":{"src/level.ts":{"bytesInOutput":76}},"bytes":163}}}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLevel
3
- } from "../chunk-TWRYZADW.mjs";
3
+ } from "../chunk-J5UITAO7.mjs";
4
4
 
5
5
  // src/testing/create-test-level.ts
6
6
  import { PublicKey } from "@dxos/keys";
@@ -7,4 +7,4 @@ var createLevel = (path) => new Level(path);
7
7
  export {
8
8
  createLevel
9
9
  };
10
- //# sourceMappingURL=chunk-QJYJ7LUQ.mjs.map
10
+ //# sourceMappingURL=chunk-J5BHPNUI.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/level.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { type AbstractChainedBatch, type AbstractSublevel } from 'abstract-level';\nimport { Level } from 'level';\n\n// TODO(burdon): Caution not to obfuscate low level types with inconsistent wrappers.\nexport type LevelDB = Level<string, string>;\nexport type SublevelDB = AbstractSublevel<any, string | Buffer | Uint8Array, string, any>;\nexport type BatchLevel = AbstractChainedBatch<any, string, string>;\n\n// TODO(burdon): Replace this lib with just typings?\nexport const createLevel = (path: string): LevelDB => new Level<string, string>(path);\n"],
5
- "mappings": ";;;AAKA,SAASA,aAAa;AAQf,IAAMC,cAAc,CAACC,SAA0B,IAAIC,MAAsBD,IAAAA;",
6
- "names": ["Level", "createLevel", "path", "Level"]
5
+ "mappings": ";;;AAKA,SAASA,aAAa;AAQf,IAAMC,cAAc,CAACC,SAA0B,IAAIF,MAAsBE,IAAAA;",
6
+ "names": ["Level", "createLevel", "path"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  createLevel
4
- } from "./chunk-QJYJ7LUQ.mjs";
4
+ } from "./chunk-J5BHPNUI.mjs";
5
5
  export {
6
6
  createLevel
7
7
  };
@@ -1 +1 @@
1
- {"inputs":{"src/level.ts":{"bytes":1403,"imports":[{"path":"level","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":444,"imports":[{"path":"src/level.ts","kind":"import-statement","original":"./level"}],"format":"esm"},"src/testing/create-test-level.ts":{"bytes":1157,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/level.ts","kind":"import-statement","original":"../level"}],"format":"esm"},"src/testing/index.ts":{"bytes":484,"imports":[{"path":"src/testing/create-test-level.ts","kind":"import-statement","original":"./create-test-level"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-QJYJ7LUQ.mjs","kind":"import-statement"}],"exports":["createLevel"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":207},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":584},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-QJYJ7LUQ.mjs","kind":"import-statement"},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["createTestLevel"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/create-test-level.ts":{"bytesInOutput":135},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":384},"dist/lib/node-esm/chunk-QJYJ7LUQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":817},"dist/lib/node-esm/chunk-QJYJ7LUQ.mjs":{"imports":[{"path":"level","kind":"import-statement","external":true}],"exports":["createLevel"],"inputs":{"src/level.ts":{"bytesInOutput":76}},"bytes":256}}}
1
+ {"inputs":{"src/level.ts":{"bytes":1324,"imports":[{"path":"level","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":369,"imports":[{"path":"src/level.ts","kind":"import-statement","original":"./level"}],"format":"esm"},"src/testing/create-test-level.ts":{"bytes":1062,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/level.ts","kind":"import-statement","original":"../level"}],"format":"esm"},"src/testing/index.ts":{"bytes":401,"imports":[{"path":"src/testing/create-test-level.ts","kind":"import-statement","original":"./create-test-level"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-J5BHPNUI.mjs","kind":"import-statement"}],"exports":["createLevel"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":207},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":584},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-J5BHPNUI.mjs","kind":"import-statement"},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["createTestLevel"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/create-test-level.ts":{"bytesInOutput":135},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":384},"dist/lib/node-esm/chunk-J5BHPNUI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":808},"dist/lib/node-esm/chunk-J5BHPNUI.mjs":{"imports":[{"path":"level","kind":"import-statement","external":true}],"exports":["createLevel"],"inputs":{"src/level.ts":{"bytesInOutput":76}},"bytes":256}}}
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  createLevel
4
- } from "../chunk-QJYJ7LUQ.mjs";
4
+ } from "../chunk-J5BHPNUI.mjs";
5
5
 
6
6
  // src/testing/create-test-level.ts
7
7
  import { PublicKey } from "@dxos/keys";
@@ -1 +1 @@
1
- {"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../../src/level.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAG9B,MAAM,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AAC1F,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAGnE,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,OAA0C,CAAC"}
1
+ {"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../../src/level.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAG9B,MAAM,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AAC1F,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAGnE,eAAO,MAAM,WAAW,SAAU,MAAM,KAAG,OAA0C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-test-level.d.ts","sourceRoot":"","sources":["../../../../src/testing/create-test-level.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,eAAe,GAAI,aAAgD,KAAG,OAA4B,CAAC"}
1
+ {"version":3,"file":"create-test-level.d.ts","sourceRoot":"","sources":["../../../../src/testing/create-test-level.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,eAAe,qBAAuD,OAA4B,CAAC"}