@agoric/swing-store 0.9.2-dev-02c06c4.0 → 0.9.2-dev-2837beb.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 +3 -3
- package/src/exporter.js +1 -1
- package/src/internal.js +1 -0
- package/src/swingStore.js +1 -0
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-2837beb.0+2837beb",
|
|
4
4
|
"description": "Persistent storage for SwingSet",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"lint:eslint": "eslint ."
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@agoric/internal": "0.3.3-dev-
|
|
24
|
+
"@agoric/internal": "0.3.3-dev-2837beb.0+2837beb",
|
|
25
25
|
"@endo/base64": "^1.0.8",
|
|
26
26
|
"@endo/bundle-source": "^3.4.2",
|
|
27
27
|
"@endo/check-bundle": "^1.0.11",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"typeCoverage": {
|
|
52
52
|
"atLeast": 79.04
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "2837beb6d7350aa6976923f1dbbb35edfa8906d6"
|
|
55
55
|
}
|
package/src/exporter.js
CHANGED
|
@@ -176,7 +176,7 @@ export function makeSwingStoreExporter(dirPath, options = {}) {
|
|
|
176
176
|
function getArtifactNames() {
|
|
177
177
|
if (artifactMode !== 'debug') {
|
|
178
178
|
// synchronously throw if this DB will not be able to yield all the desired artifacts
|
|
179
|
-
const internal = { snapStore, bundleStore, transcriptStore };
|
|
179
|
+
const internal = { dirPath, snapStore, bundleStore, transcriptStore };
|
|
180
180
|
assertComplete(internal, artifactMode);
|
|
181
181
|
}
|
|
182
182
|
return generateArtifactNames();
|
package/src/internal.js
CHANGED
|
@@ -6,6 +6,7 @@ import { Fail, q } from '@endo/errors';
|
|
|
6
6
|
* @typedef { import('./bundleStore.js').BundleStoreInternal } BundleStoreInternal
|
|
7
7
|
*
|
|
8
8
|
* @typedef {{
|
|
9
|
+
* dirPath: string | null,
|
|
9
10
|
* transcriptStore: TranscriptStoreInternal,
|
|
10
11
|
* snapStore: SnapStoreInternal,
|
|
11
12
|
* bundleStore: BundleStoreInternal,
|
package/src/swingStore.js
CHANGED