@agoric/swing-store 0.9.2-dev-075749a.0 → 0.9.2-dev-24fb1f5.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/exporter.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swing-store",
3
- "version": "0.9.2-dev-075749a.0+075749a",
3
+ "version": "0.9.2-dev-24fb1f5.0+24fb1f5",
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-075749a.0+075749a",
24
+ "@agoric/internal": "0.3.3-dev-24fb1f5.0+24fb1f5",
25
25
  "@endo/base64": "^1.0.5",
26
26
  "@endo/bundle-source": "^3.2.3",
27
27
  "@endo/check-bundle": "^1.0.7",
@@ -51,5 +51,5 @@
51
51
  "typeCoverage": {
52
52
  "atLeast": 76.31
53
53
  },
54
- "gitHead": "075749ae0360d3e66364e466f37825028e71cdfe"
54
+ "gitHead": "24fb1f54ab763bfefc9a01bd01a72168e78cc92b"
55
55
  }
package/src/exporter.js CHANGED
@@ -163,23 +163,23 @@ export function makeSwingStoreExporter(dirPath, options = {}) {
163
163
  harden(getExportData);
164
164
 
165
165
  /** @yields {string} */
166
- async function* artifactNames() {
166
+ async function* generateArtifactNames() {
167
167
  yield* snapStore.getArtifactNames(artifactMode);
168
168
  yield* transcriptStore.getArtifactNames(artifactMode);
169
169
  yield* bundleStore.getArtifactNames();
170
170
  }
171
- harden(artifactNames);
171
+ harden(generateArtifactNames);
172
172
 
173
173
  /**
174
174
  * @returns {AsyncIterableIterator<string>}
175
175
  */
176
176
  function getArtifactNames() {
177
177
  if (artifactMode !== 'debug') {
178
- // throw if this DB will not be able to yield all the desired artifacts
178
+ // synchronously throw if this DB will not be able to yield all the desired artifacts
179
179
  const internal = { snapStore, bundleStore, transcriptStore };
180
180
  assertComplete(internal, artifactMode);
181
181
  }
182
- return artifactNames();
182
+ return generateArtifactNames();
183
183
  }
184
184
 
185
185
  /**