@agoric/governance 0.10.4-dev-376236d.0 → 0.10.4-dev-dafc7c1.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-376236d.0+376236d",
3
+ "version": "0.10.4-dev-dafc7c1.0+dafc7c1",
4
4
  "description": "Core governance support",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,15 +31,15 @@
31
31
  },
32
32
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
33
33
  "dependencies": {
34
- "@agoric/assert": "0.6.1-dev-376236d.0+376236d",
35
- "@agoric/ertp": "0.16.3-dev-376236d.0+376236d",
36
- "@agoric/internal": "0.3.3-dev-376236d.0+376236d",
37
- "@agoric/network": "0.1.1-dev-376236d.0+376236d",
38
- "@agoric/notifier": "0.6.3-dev-376236d.0+376236d",
39
- "@agoric/store": "0.9.3-dev-376236d.0+376236d",
40
- "@agoric/time": "0.3.3-dev-376236d.0+376236d",
41
- "@agoric/vat-data": "0.5.3-dev-376236d.0+376236d",
42
- "@agoric/zoe": "0.26.3-dev-376236d.0+376236d",
34
+ "@agoric/assert": "0.6.1-dev-dafc7c1.0+dafc7c1",
35
+ "@agoric/ertp": "0.16.3-dev-dafc7c1.0+dafc7c1",
36
+ "@agoric/internal": "0.3.3-dev-dafc7c1.0+dafc7c1",
37
+ "@agoric/network": "0.1.1-dev-dafc7c1.0+dafc7c1",
38
+ "@agoric/notifier": "0.6.3-dev-dafc7c1.0+dafc7c1",
39
+ "@agoric/store": "0.9.3-dev-dafc7c1.0+dafc7c1",
40
+ "@agoric/time": "0.3.3-dev-dafc7c1.0+dafc7c1",
41
+ "@agoric/vat-data": "0.5.3-dev-dafc7c1.0+dafc7c1",
42
+ "@agoric/zoe": "0.26.3-dev-dafc7c1.0+dafc7c1",
43
43
  "@endo/bundle-source": "^2.7.0",
44
44
  "@endo/captp": "^3.1.4",
45
45
  "@endo/eventual-send": "^0.17.5",
@@ -50,7 +50,7 @@
50
50
  "import-meta-resolve": "^2.2.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@agoric/swingset-vat": "0.32.3-dev-376236d.0+376236d",
53
+ "@agoric/swingset-vat": "0.32.3-dev-dafc7c1.0+dafc7c1",
54
54
  "@endo/bundle-source": "^2.7.0",
55
55
  "@endo/init": "^0.5.59",
56
56
  "ava": "^5.3.0",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "376236d3b2a6db628a20e320a1a84dd9e2249fc6"
78
+ "gitHead": "dafc7c1708977aaa55e245dc09a73859cf1df192"
79
79
  }
@@ -2,7 +2,7 @@ export function setUpGovernedContract<T extends GovernableStartFn>(zoe: ERef<Zoe
2
2
  [k: string]: any;
3
3
  governedParams?: Record<string, unknown> | undefined;
4
4
  governedApis?: string[] | undefined;
5
- }, privateArgsOfGoverned?: {}): Promise<{
5
+ }, privateArgsOfGoverned?: {}, issuerKeywordRecord?: IssuerKeywordRecord | undefined): Promise<{
6
6
  getFakeInvitation: () => Promise<{
7
7
  fakeInvitationPayment: any;
8
8
  fakeInvitationAmount: Amount<"set">;
@@ -1 +1 @@
1
- {"version":3,"file":"puppetGovernance.d.ts","sourceRoot":"","sources":["puppetGovernance.js"],"names":[],"mappings":"AA6BO,wEANI,KAAK,UAAU,CAAC,2CAEhB,OAAO,kDAAkD,EAAE,YAAY;;;;2BAEvE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EZ"}
1
+ {"version":3,"file":"puppetGovernance.d.ts","sourceRoot":"","sources":["puppetGovernance.js"],"names":[],"mappings":"AA8BO,wEAPI,KAAK,UAAU,CAAC,2CAEhB,OAAO,kDAAkD,EAAE,YAAY;;;;2BAEvE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EZ"}
@@ -26,6 +26,7 @@ const autoRefundBundleP = makeBundle(
26
26
  * @param {import('@agoric/swingset-vat/src/vats/timer/vat-timer.js').TimerService} timer
27
27
  * @param {{ [k: string]: any, governedParams?: Record<string, unknown>, governedApis?: string[] }} termsOfGoverned
28
28
  * @param {{}} privateArgsOfGoverned
29
+ * @param {IssuerKeywordRecord} [issuerKeywordRecord]
29
30
  */
30
31
  export const setUpGovernedContract = async (
31
32
  zoe,
@@ -33,6 +34,7 @@ export const setUpGovernedContract = async (
33
34
  timer,
34
35
  termsOfGoverned = {},
35
36
  privateArgsOfGoverned = {},
37
+ issuerKeywordRecord = {},
36
38
  ) => {
37
39
  const [contractGovernorBundle, autoRefundBundle] = await Promise.all([
38
40
  contractGovernorBundleP,
@@ -85,7 +87,7 @@ export const setUpGovernedContract = async (
85
87
  governedContractInstallation: governed,
86
88
  governed: {
87
89
  terms: governedTermsWithElectorate,
88
- issuerKeywordRecord: {},
90
+ issuerKeywordRecord,
89
91
  },
90
92
  };
91
93