@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swing-store",
3
- "version": "0.9.2-dev-02c06c4.0+02c06c4",
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-02c06c4.0+02c06c4",
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": "02c06c489677233c0daa112284d16c314aff97c6"
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
@@ -505,6 +505,7 @@ export function makeSwingStore(dirPath, forceReset, options = {}) {
505
505
 
506
506
  /** @type {import('./internal.js').SwingStoreInternal} */
507
507
  const internal = harden({
508
+ dirPath,
508
509
  snapStore,
509
510
  transcriptStore,
510
511
  bundleStore,