@agoric/swing-store 0.9.2-dev-5736604.0 → 0.9.2-dev-696f0a8.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-5736604.0+5736604",
3
+ "version": "0.9.2-dev-696f0a8.0+696f0a8",
4
4
  "description": "Persistent storage for SwingSet",
5
5
  "type": "module",
6
6
  "main": "src/swingStore.js",
@@ -18,8 +18,8 @@
18
18
  "lint:eslint": "eslint ."
19
19
  },
20
20
  "dependencies": {
21
- "@agoric/assert": "0.6.1-dev-5736604.0+5736604",
22
- "@agoric/internal": "0.3.3-dev-5736604.0+5736604",
21
+ "@agoric/assert": "0.6.1-dev-696f0a8.0+696f0a8",
22
+ "@agoric/internal": "0.3.3-dev-696f0a8.0+696f0a8",
23
23
  "@endo/base64": "^0.2.31",
24
24
  "@endo/bundle-source": "^2.5.1",
25
25
  "@endo/check-bundle": "^0.2.18",
@@ -42,5 +42,5 @@
42
42
  ],
43
43
  "timeout": "2m"
44
44
  },
45
- "gitHead": "5736604bbf37b9654d380187073ae1ed2960e521"
45
+ "gitHead": "696f0a8c4925c8a40f415c16536568fc4e8008c8"
46
46
  }
package/src/swingStore.js CHANGED
@@ -855,6 +855,10 @@ function makeSwingStore(dirPath, forceReset, options = {}) {
855
855
  });
856
856
  }
857
857
 
858
+ function getDatabase() {
859
+ return db;
860
+ }
861
+
858
862
  const transcriptStorePublic = {
859
863
  initTranscript: transcriptStore.initTranscript,
860
864
  rolloverSpan: transcriptStore.rolloverSpan,
@@ -903,6 +907,7 @@ function makeSwingStore(dirPath, forceReset, options = {}) {
903
907
  const debug = {
904
908
  serialize,
905
909
  dump,
910
+ getDatabase,
906
911
  };
907
912
  const internal = {
908
913
  snapStore,