@dxos/kv-store 0.8.4-main.c1de068 → 0.8.4-main.fd6878d
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/testing/create-test-level.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { PublicKey } from '@dxos/keys';\n\nimport {
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { PublicKey } from '@dxos/keys';\n\nimport { type LevelDB, createLevel } from '../level';\n\nexport const createTestLevel = (path = `/tmp/dxos-${PublicKey.random().toHex()}`): LevelDB => createLevel(path);\n"],
|
|
5
5
|
"mappings": ";;;;;AAIA,SAASA,iBAAiB;AAInB,IAAMC,kBAAkB,CAACC,OAAO,aAAaC,UAAUC,OAAM,EAAGC,MAAK,CAAA,OAAkBC,YAAYJ,IAAAA;",
|
|
6
6
|
"names": ["PublicKey", "createTestLevel", "path", "PublicKey", "random", "toHex", "createLevel"]
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/testing/create-test-level.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { PublicKey } from '@dxos/keys';\n\nimport {
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { PublicKey } from '@dxos/keys';\n\nimport { type LevelDB, createLevel } from '../level';\n\nexport const createTestLevel = (path = `/tmp/dxos-${PublicKey.random().toHex()}`): LevelDB => createLevel(path);\n"],
|
|
5
5
|
"mappings": ";;;;;;AAIA,SAASA,iBAAiB;AAInB,IAAMC,kBAAkB,CAACC,OAAO,aAAaC,UAAUC,OAAM,EAAGC,MAAK,CAAA,OAAkBC,YAAYJ,IAAAA;",
|
|
6
6
|
"names": ["PublicKey", "createTestLevel", "path", "PublicKey", "random", "toHex", "createLevel"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-test-level.d.ts","sourceRoot":"","sources":["../../../../src/testing/create-test-level.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
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"}
|