@agoric/governance 0.10.4-dev-4687f0d.0 → 0.10.4-dev-1d94913.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/governance",
3
- "version": "0.10.4-dev-4687f0d.0+4687f0d",
3
+ "version": "0.10.4-dev-1d94913.0+1d94913",
4
4
  "description": "Core governance support",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,14 +31,14 @@
31
31
  },
32
32
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
33
33
  "dependencies": {
34
- "@agoric/assert": "0.6.1-dev-4687f0d.0+4687f0d",
35
- "@agoric/ertp": "0.16.3-dev-4687f0d.0+4687f0d",
36
- "@agoric/internal": "0.3.3-dev-4687f0d.0+4687f0d",
37
- "@agoric/notifier": "0.6.3-dev-4687f0d.0+4687f0d",
38
- "@agoric/store": "0.9.3-dev-4687f0d.0+4687f0d",
39
- "@agoric/time": "0.3.3-dev-4687f0d.0+4687f0d",
40
- "@agoric/vat-data": "0.5.3-dev-4687f0d.0+4687f0d",
41
- "@agoric/zoe": "0.26.3-dev-4687f0d.0+4687f0d",
34
+ "@agoric/assert": "0.6.1-dev-1d94913.0+1d94913",
35
+ "@agoric/ertp": "0.16.3-dev-1d94913.0+1d94913",
36
+ "@agoric/internal": "0.3.3-dev-1d94913.0+1d94913",
37
+ "@agoric/notifier": "0.6.3-dev-1d94913.0+1d94913",
38
+ "@agoric/store": "0.9.3-dev-1d94913.0+1d94913",
39
+ "@agoric/time": "0.3.3-dev-1d94913.0+1d94913",
40
+ "@agoric/vat-data": "0.5.3-dev-1d94913.0+1d94913",
41
+ "@agoric/zoe": "0.26.3-dev-1d94913.0+1d94913",
42
42
  "@endo/bundle-source": "^3.2.3",
43
43
  "@endo/captp": "^4.2.0",
44
44
  "@endo/eventual-send": "^1.2.2",
@@ -49,7 +49,7 @@
49
49
  "import-meta-resolve": "^2.2.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@agoric/swingset-vat": "0.32.3-dev-4687f0d.0+4687f0d",
52
+ "@agoric/swingset-vat": "0.32.3-dev-1d94913.0+1d94913",
53
53
  "@endo/bundle-source": "^3.2.3",
54
54
  "@endo/init": "^1.1.2",
55
55
  "ava": "^5.3.0",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 89.31
80
80
  },
81
- "gitHead": "4687f0d7dcdb2c3554f327ea54a4eb72f0dda7fb"
81
+ "gitHead": "1d9491345c557e12a4d2c80a690baab7d0ff8436"
82
82
  }
@@ -1,10 +1,2 @@
1
- export function documentStorageSchema(t: import("ava").ExecutionContext<unknown>, storage: import("@agoric/internal/src/storage-test-utils.js").MockChainStorageRoot, opts: ({
2
- note: string;
3
- } | {
4
- node: string;
5
- owner: string;
6
- }) & ({
7
- pattern: string;
8
- replacement: string;
9
- } | {})): Promise<void>;
1
+ export { documentStorageSchema } from "@agoric/internal/src/storage-test-utils.js";
10
2
  //# sourceMappingURL=storageDoc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storageDoc.d.ts","sourceRoot":"","sources":["storageDoc.js"],"names":[],"mappings":"AASO,yCANI,OAAO,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,WACvC,OAAO,4CAA4C,EAAE,oBAAoB,QACzE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,GAC9D,CAAI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG,EAAE,CAAC,iBA8BlD"}
1
+ {"version":3,"file":"storageDoc.d.ts","sourceRoot":"","sources":["storageDoc.js"],"names":[],"mappings":""}
@@ -1,37 +1 @@
1
- import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js';
2
-
3
- /**
4
- * @param {import('ava').ExecutionContext<unknown>} t
5
- * @param {import('@agoric/internal/src/storage-test-utils.js').MockChainStorageRoot} storage
6
- * @param {({ note: string } | { node: string, owner: string }) &
7
- * ({ pattern: string, replacement: string } | {})
8
- * } opts
9
- */
10
- export const documentStorageSchema = async (t, storage, opts) => {
11
- // chainStorage publication is unsynchronized
12
- await eventLoopIteration();
13
-
14
- const { pattern, replacement } =
15
- 'pattern' in opts
16
- ? opts
17
- : { pattern: 'mockChainStorageRoot.', replacement: 'published.' };
18
- const illustration = [...storage.keys()].sort().map(
19
- /** @type {(k: string) => [string, unknown]} */
20
- key => [key.replace(pattern, replacement), storage.getBody(key)],
21
- );
22
- const pruned = illustration.filter(
23
- 'node' in opts
24
- ? ([key, _]) => key.startsWith(`published.${opts.node}`)
25
- : _entry => true,
26
- );
27
-
28
- const note =
29
- 'note' in opts
30
- ? opts.note
31
- : `Under "published", the "${opts.node}" node is delegated to ${opts.owner}.`;
32
- const boilerplate = `
33
- The example below illustrates the schema of the data published there.
34
-
35
- See also board marshalling conventions (_to appear_).`;
36
- t.snapshot(pruned, note + boilerplate);
37
- };
1
+ export { documentStorageSchema } from '@agoric/internal/src/storage-test-utils.js';