@agoric/swing-store 0.9.2-dev-3ac36ad.0 → 0.9.2-dev-7cead9c.0
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/package.json +9 -9
- package/test/test-exportImport.js +1 -1
- package/test/test-state.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/swing-store",
|
|
3
|
-
"version": "0.9.2-dev-
|
|
3
|
+
"version": "0.9.2-dev-7cead9c.0+7cead9c",
|
|
4
4
|
"description": "Persistent storage for SwingSet",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"lint:eslint": "eslint ."
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@agoric/assert": "0.6.1-dev-
|
|
25
|
-
"@agoric/internal": "0.3.3-dev-
|
|
26
|
-
"@endo/base64": "^0.2.
|
|
27
|
-
"@endo/bundle-source": "^2.
|
|
28
|
-
"@endo/check-bundle": "^0.2.
|
|
29
|
-
"@endo/nat": "^4.1.
|
|
24
|
+
"@agoric/assert": "0.6.1-dev-7cead9c.0+7cead9c",
|
|
25
|
+
"@agoric/internal": "0.3.3-dev-7cead9c.0+7cead9c",
|
|
26
|
+
"@endo/base64": "^0.2.34",
|
|
27
|
+
"@endo/bundle-source": "^2.7.0",
|
|
28
|
+
"@endo/check-bundle": "^0.2.21",
|
|
29
|
+
"@endo/nat": "^4.1.30",
|
|
30
30
|
"better-sqlite3": "^8.2.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@endo/init": "^0.5.
|
|
33
|
+
"@endo/init": "^0.5.59",
|
|
34
34
|
"@types/better-sqlite3": "^7.5.0",
|
|
35
35
|
"ava": "^5.3.0",
|
|
36
36
|
"c8": "^7.13.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
],
|
|
49
49
|
"timeout": "2m"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7cead9c21830d2936f08849568d65a131af3a2fd"
|
|
52
52
|
}
|
|
@@ -52,7 +52,7 @@ async function embundle(filename) {
|
|
|
52
52
|
const bundleFile = new URL(filename, import.meta.url).pathname;
|
|
53
53
|
const bundle = await bundleSource(bundleFile);
|
|
54
54
|
const bundleID = `b1-${bundle.endoZipBase64Sha512}`;
|
|
55
|
-
return [bundleID, bundle];
|
|
55
|
+
return /** @type {const} */ ([bundleID, bundle]);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
function actLikeAVatRunningACrank(vat, ks, crank, doFail) {
|
package/test/test-state.js
CHANGED
|
@@ -30,7 +30,7 @@ async function embundle(filename) {
|
|
|
30
30
|
const bundleFile = new URL(filename, import.meta.url).pathname;
|
|
31
31
|
const bundle = await bundleSource(bundleFile);
|
|
32
32
|
const bundleID = `b1-${bundle.endoZipBase64Sha512}`;
|
|
33
|
-
return [bundleID, bundle];
|
|
33
|
+
return /** @type {const} */ ([bundleID, bundle]);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
function* iterate(kvStore, start, end) {
|