@agoric/governance 0.10.4-dev-89a3a85.0 → 0.10.4-dev-1289bc4.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-89a3a85.0+89a3a85",
3
+ "version": "0.10.4-dev-1289bc4.0+1289bc4",
4
4
  "description": "Core governance support",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,16 +31,16 @@
31
31
  },
32
32
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
33
33
  "dependencies": {
34
- "@agoric/assert": "0.6.1-dev-89a3a85.0+89a3a85",
35
- "@agoric/ertp": "0.16.3-dev-89a3a85.0+89a3a85",
36
- "@agoric/internal": "0.3.3-dev-89a3a85.0+89a3a85",
37
- "@agoric/network": "0.1.1-dev-89a3a85.0+89a3a85",
38
- "@agoric/notifier": "0.6.3-dev-89a3a85.0+89a3a85",
39
- "@agoric/store": "0.9.3-dev-89a3a85.0+89a3a85",
40
- "@agoric/swingset-vat": "0.32.3-dev-89a3a85.0+89a3a85",
41
- "@agoric/time": "0.3.3-dev-89a3a85.0+89a3a85",
42
- "@agoric/vat-data": "0.5.3-dev-89a3a85.0+89a3a85",
43
- "@agoric/zoe": "0.26.3-dev-89a3a85.0+89a3a85",
34
+ "@agoric/assert": "0.6.1-dev-1289bc4.0+1289bc4",
35
+ "@agoric/ertp": "0.16.3-dev-1289bc4.0+1289bc4",
36
+ "@agoric/internal": "0.3.3-dev-1289bc4.0+1289bc4",
37
+ "@agoric/network": "0.1.1-dev-1289bc4.0+1289bc4",
38
+ "@agoric/notifier": "0.6.3-dev-1289bc4.0+1289bc4",
39
+ "@agoric/store": "0.9.3-dev-1289bc4.0+1289bc4",
40
+ "@agoric/swingset-vat": "0.32.3-dev-1289bc4.0+1289bc4",
41
+ "@agoric/time": "0.3.3-dev-1289bc4.0+1289bc4",
42
+ "@agoric/vat-data": "0.5.3-dev-1289bc4.0+1289bc4",
43
+ "@agoric/zoe": "0.26.3-dev-1289bc4.0+1289bc4",
44
44
  "@endo/bundle-source": "^2.5.2",
45
45
  "@endo/captp": "^3.1.2",
46
46
  "@endo/eventual-send": "^0.17.3",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "89a3a851b9ccdbd60bab258041a45c7ac5e554f9"
78
+ "gitHead": "1289bc442ba74598fe765ab151031dda13327ec0"
79
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"committee.d.ts","sourceRoot":"","sources":["committee.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH,2BAA2B;AAC3B,mBADW,YAAY,CAOrB;AAoBK;mBAPa,MAAM;mBACN,MAAM;iBAEf;IAAE,WAAW,EAAE,KAAK,WAAW,CAAC,CAAC;IAAC,UAAU,EAAE,KAAK,UAAU,CAAC,CAAA;CAAC,WAC/D,OAAO,kBAAkB,EAAE,OAAO;kBACjB,+BAA+B;iBAAe,yBAAyB;EA6HlG"}
1
+ {"version":3,"file":"committee.d.ts","sourceRoot":"","sources":["committee.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AAEH,2BAA2B;AAC3B,mBADW,YAAY,CAOrB;AAoBK;mBAPa,MAAM;mBACN,MAAM;iBAEf;IAAE,WAAW,EAAE,KAAK,WAAW,CAAC,CAAC;IAAC,UAAU,EAAE,KAAK,UAAU,CAAC,CAAA;CAAC,WAC/D,OAAO,kBAAkB,EAAE,OAAO;kBACjB,+BAA+B;iBAAe,yBAAyB;EAkIlG"}
package/src/committee.js CHANGED
@@ -5,6 +5,7 @@ import { E } from '@endo/eventual-send';
5
5
 
6
6
  import { StorageNodeShape } from '@agoric/internal';
7
7
  import { prepareExo, provideDurableMapStore } from '@agoric/vat-data';
8
+ import { EmptyProposalShape } from '@agoric/zoe/src/typeGuards.js';
8
9
  import {
9
10
  getOpenQuestions,
10
11
  getPoserInvitation,
@@ -79,10 +80,15 @@ export const start = (zcf, privateArgs, baggage) => {
79
80
  // This will produce unique descriptions because
80
81
  // makeCommitteeVoterInvitation() is only called within the following loop,
81
82
  // which is only called once per Electorate.
82
- return zcf.makeInvitation(seat => {
83
- seat.exit();
84
- return makeVoterKit(index);
85
- }, `Voter${index}`);
83
+ return zcf.makeInvitation(
84
+ seat => {
85
+ seat.exit();
86
+ return makeVoterKit(index);
87
+ },
88
+ `Voter${index}`,
89
+ undefined,
90
+ EmptyProposalShape,
91
+ );
86
92
  };
87
93
 
88
94
  const { committeeName, committeeSize } = zcf.getTerms();
@@ -1 +1 @@
1
- {"version":3,"file":"electorateTools.d.ts","sourceRoot":"","sources":["electorateTools.js"],"names":[],"mappings":";aAKc,KAAK,uBAAuB,CAAC;iBAC7B,sBAAsB;cACtB,OAAO,wBAAwB,EAAE,SAAS;;iCAK7C,GAAG,gBACH,YAAY,mBACZ,OAAO,eACP,KAAK,YAAY,CAAC,iBAClB,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,qBAC5C,UAAU,OAAO,CAAC,oBAClB,UAAU,aAAa,CAAC,KACtB,iBAAiB;AAhB9B;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,2BAFU,YAAY,CAsCpB;AAEF,0EAA0E;AAC1E,gDADY,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,gBAYvD;AAED;;;GAGG;AACH,6CAHW,KAAK,OAAO,UAAU,CAAC,CAAC,iBACxB,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,qBAKpD;AAEH;;;GAGG;AACH,wCAHW,GAAG,eACH,WAAW,6BAQrB"}
1
+ {"version":3,"file":"electorateTools.d.ts","sourceRoot":"","sources":["electorateTools.js"],"names":[],"mappings":";aAMc,KAAK,uBAAuB,CAAC;iBAC7B,sBAAsB;cACtB,OAAO,wBAAwB,EAAE,SAAS;;iCAK7C,GAAG,gBACH,YAAY,mBACZ,OAAO,eACP,KAAK,YAAY,CAAC,iBAClB,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,qBAC5C,UAAU,OAAO,CAAC,oBAClB,UAAU,aAAa,CAAC,KACtB,iBAAiB;AAhB9B;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,2BAFU,YAAY,CAsCpB;AAEF,0EAA0E;AAC1E,gDADY,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,gBAYvD;AAED;;;GAGG;AACH,6CAHW,KAAK,OAAO,UAAU,CAAC,CAAC,iBACxB,SAAS,OAAO,UAAU,CAAC,EAAE,cAAc,CAAC,qBAKpD;AAEH;;;GAGG;AACH,wCAHW,GAAG,eACH,WAAW,6BAarB"}
@@ -1,3 +1,4 @@
1
+ import { EmptyProposalShape } from '@agoric/zoe/src/typeGuards.js';
1
2
  import { E } from '@endo/eventual-send';
2
3
  import { deeplyFulfilled, Far } from '@endo/marshal';
3
4
 
@@ -95,7 +96,12 @@ const getPoserInvitation = (zcf, addQuestion) => {
95
96
  seat.exit();
96
97
  return Far(`questionPoser`, { addQuestion });
97
98
  };
98
- return zcf.makeInvitation(questionPoserHandler, `questionPoser`);
99
+ return zcf.makeInvitation(
100
+ questionPoserHandler,
101
+ `questionPoser`,
102
+ undefined,
103
+ EmptyProposalShape,
104
+ );
99
105
  };
100
106
 
101
107
  harden(startCounter);
@@ -1 +1 @@
1
- {"version":3,"file":"noActionElectorate.d.ts","sourceRoot":"","sources":["noActionElectorate.js"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,oBAFW,gBAAgB,gBAAgB,EAAE,sBAAsB,CAAC,CAiDlE"}
1
+ {"version":3,"file":"noActionElectorate.d.ts","sourceRoot":"","sources":["noActionElectorate.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,oBAFW,gBAAgB,gBAAgB,EAAE,sBAAsB,CAAC,CAmDlE"}
@@ -1,6 +1,7 @@
1
1
  import { makePublishKit } from '@agoric/notifier';
2
2
  import { makePromiseKit } from '@endo/promise-kit';
3
3
  import { makeExo } from '@agoric/store';
4
+ import { EmptyProposalShape } from '@agoric/zoe/src/typeGuards.js';
4
5
 
5
6
  import { ElectoratePublicI, ElectorateCreatorI } from './typeGuards.js';
6
7
 
@@ -40,6 +41,8 @@ const start = zcf => {
40
41
  return zcf.makeInvitation(
41
42
  () => {},
42
43
  `noActionElectorate doesn't allow posing questions`,
44
+ undefined,
45
+ EmptyProposalShape,
43
46
  );
44
47
  },
45
48
  addQuestion(_instance, _question) {