@agoric/governance 0.10.4-dev-f8abc2e.0 → 0.10.4-dev-860d051.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-f8abc2e.0+f8abc2e",
3
+ "version": "0.10.4-dev-860d051.0+860d051",
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-f8abc2e.0+f8abc2e",
35
- "@agoric/ertp": "0.16.3-dev-f8abc2e.0+f8abc2e",
36
- "@agoric/internal": "0.3.3-dev-f8abc2e.0+f8abc2e",
37
- "@agoric/network": "0.1.1-dev-f8abc2e.0+f8abc2e",
38
- "@agoric/notifier": "0.6.3-dev-f8abc2e.0+f8abc2e",
39
- "@agoric/store": "0.9.3-dev-f8abc2e.0+f8abc2e",
40
- "@agoric/time": "0.3.3-dev-f8abc2e.0+f8abc2e",
41
- "@agoric/vat-data": "0.5.3-dev-f8abc2e.0+f8abc2e",
42
- "@agoric/zoe": "0.26.3-dev-f8abc2e.0+f8abc2e",
34
+ "@agoric/assert": "0.6.1-dev-860d051.0+860d051",
35
+ "@agoric/ertp": "0.16.3-dev-860d051.0+860d051",
36
+ "@agoric/internal": "0.3.3-dev-860d051.0+860d051",
37
+ "@agoric/network": "0.1.1-dev-860d051.0+860d051",
38
+ "@agoric/notifier": "0.6.3-dev-860d051.0+860d051",
39
+ "@agoric/store": "0.9.3-dev-860d051.0+860d051",
40
+ "@agoric/time": "0.3.3-dev-860d051.0+860d051",
41
+ "@agoric/vat-data": "0.5.3-dev-860d051.0+860d051",
42
+ "@agoric/zoe": "0.26.3-dev-860d051.0+860d051",
43
43
  "@endo/bundle-source": "^3.2.1",
44
44
  "@endo/captp": "^4.1.0",
45
45
  "@endo/eventual-send": "^1.2.0",
@@ -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-f8abc2e.0+f8abc2e",
53
+ "@agoric/swingset-vat": "0.32.3-dev-860d051.0+860d051",
54
54
  "@endo/bundle-source": "^3.2.1",
55
55
  "@endo/init": "^1.1.0",
56
56
  "ava": "^5.3.0",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 89.27
80
80
  },
81
- "gitHead": "f8abc2e75c2aa612a24abb86e982367b7ba964f8"
81
+ "gitHead": "860d051e8c26975d244c211b061a8189f1718cab"
82
82
  }
@@ -221,8 +221,8 @@ const makeParamManagerBuilder = (publisherKit, zoe) => {
221
221
  throw Fail`zoe must be provided for governed Invitations ${zoe}`;
222
222
  }
223
223
  const { instance, installation } = await E(zoe).getInvitationDetails(i);
224
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- the build config doesn't expect an error here
225
- // @ts-ignore typedefs say they're guaranteed truthy but just to be safe
224
+
225
+ // @ts-expect-error typedefs say they're guaranteed truthy but just to be safe
226
226
  assert(instance && installation, 'must be an invitation');
227
227
  };
228
228
 
@@ -189,8 +189,8 @@ export const start = async (zcf, privateArgs, baggage) => {
189
189
  const startedInstanceKit = await E(zoe).startInstance(
190
190
  governedContractInstallation,
191
191
  governedIssuerKeywordRecord,
192
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- the build config doesn't expect an error here
193
- // @ts-ignore XXX governance types https://github.com/Agoric/agoric-sdk/issues/7178
192
+
193
+ // @ts-expect-error XXX governance types https://github.com/Agoric/agoric-sdk/issues/7178
194
194
  augmentedTerms,
195
195
  privateArgs.governed,
196
196
  governedContractLabel,
@@ -172,8 +172,8 @@ export const prepareContractGovernorKit = (baggage, powers) => {
172
172
  replaceElectorate(poserInvitation) {
173
173
  const { creatorFacet } = this.state;
174
174
  /** @type {Promise<import('./contractGovernance/typedParamManager.js').TypedParamManager<{'Electorate': 'invitation'}>>} */
175
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- the build config doesn't expect an error here
176
- // @ts-ignore cast
175
+
176
+ // @ts-expect-error cast
177
177
  const paramMgr = E(E(creatorFacet).getParamMgrRetriever()).get({
178
178
  key: 'governedParams',
179
179
  });
@@ -18,7 +18,7 @@
18
18
  * issue, while the others have a issue presented as a string.
19
19
  */
20
20
 
21
- /** @typedef {import('./constants.js').ParamType} ParamType */
21
+ /** @import {ParamType} from './constants.js' */
22
22
 
23
23
  /**
24
24
  * @typedef { 'majority' | 'all' | 'no_quorum' } QuorumRule
package/src/types.js CHANGED
@@ -19,7 +19,7 @@ export {};
19
19
  * issue, while the others have a issue presented as a string.
20
20
  */
21
21
 
22
- /** @typedef {import('./constants.js').ParamType} ParamType */
22
+ /** @import {ParamType} from './constants.js' */
23
23
 
24
24
  /**
25
25
  * @typedef { 'majority' | 'all' | 'no_quorum' } QuorumRule
@@ -23,7 +23,7 @@ const autoRefundBundleP = makeBundle(
23
23
  * @template {GovernableStartFn} T governed contract startfn
24
24
  * @param {ERef<ZoeService>} zoe
25
25
  * @param {ERef<Installation<T>>} governedP
26
- * @param {import('@agoric/swingset-vat/src/vats/timer/vat-timer.js').TimerService} timer
26
+ * @param {import('@agoric/time').TimerService} timer
27
27
  * @param {{ [k: string]: any, governedParams?: Record<string, unknown>, governedApis?: string[] }} termsOfGoverned
28
28
  * @param {{}} privateArgsOfGoverned
29
29
  * @param {IssuerKeywordRecord} [issuerKeywordRecord]