@agoric/zoe 0.27.0-upgrade-20-dev-ef71cfd.0 → 0.27.0-upgrade-19-devnet-dev-5428c4d.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.
Files changed (159) hide show
  1. package/bundles/bundle-contractFacet-js-meta.json +275 -270
  2. package/bundles/bundle-contractFacet.js +1 -1
  3. package/package.json +29 -29
  4. package/src/cleanProposal.d.ts +0 -2
  5. package/src/cleanProposal.d.ts.map +1 -1
  6. package/src/cleanProposal.js +2 -4
  7. package/src/contractFacet/exit.d.ts +1 -1
  8. package/src/contractFacet/exit.d.ts.map +1 -1
  9. package/src/contractFacet/internal-types.d.ts +8 -0
  10. package/src/contractFacet/internal-types.d.ts.map +1 -0
  11. package/src/contractFacet/internal-types.js +15 -0
  12. package/src/contractFacet/offerHandlerStorage.d.ts +1 -1
  13. package/src/contractFacet/rightsConservation.d.ts.map +1 -1
  14. package/src/contractFacet/rightsConservation.js +1 -0
  15. package/src/contractFacet/{types.ts → types-ambient.d.ts} +29 -66
  16. package/src/contractFacet/types-ambient.js +1 -0
  17. package/src/contractFacet/vatRoot.d.ts +2 -8
  18. package/src/contractFacet/vatRoot.d.ts.map +1 -1
  19. package/src/contractFacet/vatRoot.js +4 -5
  20. package/src/contractFacet/zcfMint.d.ts +2 -3
  21. package/src/contractFacet/zcfMint.d.ts.map +1 -1
  22. package/src/contractFacet/zcfMint.js +7 -7
  23. package/src/contractFacet/zcfSeat.js +2 -2
  24. package/src/contractFacet/zcfZygote.d.ts +1 -9
  25. package/src/contractFacet/zcfZygote.d.ts.map +1 -1
  26. package/src/contractFacet/zcfZygote.js +5 -17
  27. package/src/contractSupport/atomicTransfer.d.ts +0 -6
  28. package/src/contractSupport/atomicTransfer.d.ts.map +1 -1
  29. package/src/contractSupport/atomicTransfer.js +0 -4
  30. package/src/contractSupport/bondingCurves.js +1 -1
  31. package/src/contractSupport/index.d.ts +2 -2
  32. package/src/contractSupport/index.js +19 -2
  33. package/src/contractSupport/priceAuthorityInitial.d.ts +0 -2
  34. package/src/contractSupport/priceAuthorityInitial.d.ts.map +1 -1
  35. package/src/contractSupport/priceAuthorityInitial.js +1 -3
  36. package/src/contractSupport/ratio.d.ts +37 -0
  37. package/src/contractSupport/ratio.d.ts.map +1 -0
  38. package/src/contractSupport/ratio.js +419 -0
  39. package/src/contractSupport/safeMath.d.ts +11 -0
  40. package/src/contractSupport/safeMath.d.ts.map +1 -0
  41. package/src/contractSupport/safeMath.js +49 -0
  42. package/src/contractSupport/types-ambient.d.ts.map +1 -1
  43. package/src/contractSupport/types-ambient.js +0 -1
  44. package/src/contractSupport/zoeHelpers.d.ts +1 -6
  45. package/src/contractSupport/zoeHelpers.d.ts.map +1 -1
  46. package/src/contractSupport/zoeHelpers.js +0 -1
  47. package/src/contracts/atomicSwap.d.ts +1 -1
  48. package/src/contracts/auction/index.d.ts +3 -3
  49. package/src/contracts/automaticRefund.d.ts +3 -3
  50. package/src/contracts/autoswap.d.ts +0 -4
  51. package/src/contracts/autoswap.d.ts.map +1 -1
  52. package/src/contracts/autoswap.js +0 -4
  53. package/src/contracts/barterExchange.d.ts +2 -2
  54. package/src/contracts/callSpread/fundedCallSpread.d.ts +1 -1
  55. package/src/contracts/callSpread/pricedCallSpread.d.ts +4 -4
  56. package/src/contracts/coveredCall-durable.d.ts +1 -1
  57. package/src/contracts/coveredCall.d.ts +1 -1
  58. package/src/contracts/loan/index.d.ts +1 -1
  59. package/src/contracts/loan/types-ambient.d.ts +13 -13
  60. package/src/contracts/loan/types-ambient.d.ts.map +1 -1
  61. package/src/contracts/loan/types-ambient.js +17 -17
  62. package/src/contracts/mintPayments.d.ts +2 -2
  63. package/src/contracts/oracle.d.ts +0 -3
  64. package/src/contracts/oracle.d.ts.map +1 -1
  65. package/src/contracts/oracle.js +0 -1
  66. package/src/contracts/priceAggregator.d.ts +0 -2
  67. package/src/contracts/priceAggregator.d.ts.map +1 -1
  68. package/src/contracts/priceAggregator.js +8 -10
  69. package/src/contracts/scaledPriceAuthority.d.ts +0 -1
  70. package/src/contracts/scaledPriceAuthority.d.ts.map +1 -1
  71. package/src/contracts/scaledPriceAuthority.js +0 -1
  72. package/src/contracts/sellItems.d.ts +1 -1
  73. package/src/contracts/simpleExchange.d.ts +0 -5
  74. package/src/contracts/simpleExchange.d.ts.map +1 -1
  75. package/src/contracts/simpleExchange.js +0 -4
  76. package/src/contracts/types-ambient.d.ts +7 -7
  77. package/src/contracts/types-ambient.d.ts.map +1 -1
  78. package/src/contracts/types-ambient.js +7 -7
  79. package/src/contracts/valueVow.contract.d.ts +2 -5
  80. package/src/contracts/valueVow.contract.d.ts.map +1 -1
  81. package/src/contracts/valueVow.contract.js +0 -1
  82. package/src/instanceRecordStorage.d.ts.map +1 -1
  83. package/src/instanceRecordStorage.js +1 -3
  84. package/src/internal-types.d.ts +5 -15
  85. package/src/internal-types.d.ts.map +1 -1
  86. package/src/internal-types.js +4 -9
  87. package/src/issuerRecord.d.ts +2 -3
  88. package/src/issuerRecord.d.ts.map +1 -1
  89. package/src/issuerRecord.js +2 -6
  90. package/src/issuerStorage.d.ts +2 -3
  91. package/src/issuerStorage.d.ts.map +1 -1
  92. package/src/issuerStorage.js +5 -6
  93. package/src/typeGuards.d.ts +6 -10
  94. package/src/typeGuards.d.ts.map +1 -1
  95. package/src/typeGuards.js +5 -7
  96. package/src/types-ambient.d.ts +40 -0
  97. package/src/types-ambient.d.ts.map +1 -1
  98. package/src/types-ambient.js +42 -4
  99. package/src/zoeService/feeMint.d.ts +0 -1
  100. package/src/zoeService/feeMint.d.ts.map +1 -1
  101. package/src/zoeService/feeMint.js +0 -4
  102. package/src/zoeService/installationStorage.d.ts +2 -3
  103. package/src/zoeService/installationStorage.d.ts.map +1 -1
  104. package/src/zoeService/installationStorage.js +5 -2
  105. package/src/zoeService/internal-types.d.ts +3 -11
  106. package/src/zoeService/internal-types.d.ts.map +1 -1
  107. package/src/zoeService/internal-types.js +3 -9
  108. package/src/zoeService/invitationQueries.d.ts +3 -3
  109. package/src/zoeService/invitationQueries.js +3 -3
  110. package/src/zoeService/makeInvitation.d.ts +0 -1
  111. package/src/zoeService/makeInvitation.d.ts.map +1 -1
  112. package/src/zoeService/makeInvitation.js +0 -3
  113. package/src/zoeService/offer/offer.d.ts +0 -1
  114. package/src/zoeService/offer/offer.d.ts.map +1 -1
  115. package/src/zoeService/offer/offer.js +1 -3
  116. package/src/zoeService/originalZoeSeat.d.ts.map +1 -1
  117. package/src/zoeService/originalZoeSeat.js +1 -0
  118. package/src/zoeService/startInstance.d.ts.map +1 -1
  119. package/src/zoeService/startInstance.js +2 -0
  120. package/src/zoeService/types-ambient.d.ts +226 -0
  121. package/src/zoeService/types-ambient.d.ts.map +1 -1
  122. package/src/zoeService/types-ambient.js +327 -4
  123. package/src/zoeService/utils.d.ts +5 -13
  124. package/src/zoeService/utils.test-d.ts +0 -1
  125. package/src/zoeService/zoe.d.ts +1 -11
  126. package/src/zoeService/zoe.d.ts.map +1 -1
  127. package/src/zoeService/zoe.js +1 -8
  128. package/src/zoeService/zoeSeat.d.ts.map +1 -1
  129. package/src/zoeService/zoeSeat.js +2 -1
  130. package/src/zoeService/zoeStorageManager.d.ts +5 -5
  131. package/src/zoeService/zoeStorageManager.d.ts.map +1 -1
  132. package/src/zoeService/zoeStorageManager.js +3 -4
  133. package/tools/fakeVatAdmin.d.ts +2 -9
  134. package/tools/fakeVatAdmin.d.ts.map +1 -1
  135. package/tools/fakeVatAdmin.js +10 -18
  136. package/tools/manualPriceAuthority.d.ts +1 -4
  137. package/tools/manualPriceAuthority.d.ts.map +1 -1
  138. package/tools/manualPriceAuthority.js +0 -1
  139. package/tools/scriptedOracle.d.ts +2 -6
  140. package/tools/scriptedOracle.d.ts.map +1 -1
  141. package/tools/scriptedOracle.js +0 -4
  142. package/tools/setup-zoe.d.ts +6 -12
  143. package/tools/setup-zoe.d.ts.map +1 -1
  144. package/tools/setup-zoe.js +5 -38
  145. package/tools/test-utils.d.ts +1 -1
  146. package/tools/test-utils.js +1 -1
  147. package/tools/types.d.ts +0 -1
  148. package/tools/types.d.ts.map +1 -1
  149. package/tools/types.js +0 -1
  150. package/src/contractFacet/types.d.ts +0 -184
  151. package/src/contractFacet/types.d.ts.map +0 -1
  152. package/src/types-index.d.ts +0 -4
  153. package/src/types-index.js +0 -2
  154. package/src/types.d.ts +0 -29
  155. package/src/types.d.ts.map +0 -1
  156. package/src/types.ts +0 -44
  157. package/src/zoeService/types.d.ts +0 -238
  158. package/src/zoeService/types.d.ts.map +0 -1
  159. package/src/zoeService/types.ts +0 -307
@@ -1,10 +1,13 @@
1
+ // Ambient types
2
+ import '../types-ambient.js';
3
+ import '../contractFacet/types-ambient.js';
4
+
1
5
  import type { Issuer } from '@agoric/ertp/src/types.js';
2
6
  import type { TagContainer } from '@agoric/internal/src/tagged.js';
3
7
  import type { Baggage } from '@agoric/swingset-liveslots';
4
8
  import type { VatUpgradeResults } from '@agoric/swingset-vat';
5
9
  import type { RemotableObject } from '@endo/marshal';
6
10
  import type { FarRef } from '@endo/far';
7
- import type { AnyTerms, Handle, Keyword, ZCF } from '../types-index.js';
8
11
 
9
12
  // XXX https://github.com/Agoric/agoric-sdk/issues/4565
10
13
  type SourceBundle = Record<string, any>;
@@ -26,7 +29,7 @@ export type InstallationStart<I> =
26
29
  I extends Installation<infer SF> ? SF : never;
27
30
 
28
31
  export type ContractStartFunction = (
29
- zcf?: ZCF<any>,
32
+ zcf?: ZCF,
30
33
  privateArgs?: object,
31
34
  baggage?: Baggage,
32
35
  ) => ERef<{ creatorFacet?: object; publicFacet?: object }>;
@@ -63,8 +66,6 @@ type ZcfOf<SF extends ContractStartFunction> = Parameters<SF>[0] extends ZCF
63
66
  : ZCF<any>;
64
67
 
65
68
  /**
66
- * @deprecated use the SF to pass the type
67
- *
68
69
  * Convenience record for contract start function, merging its result with params.
69
70
  */
70
71
  export type ContractOf<S extends (...args: any) => any> = StartParams<S> &
@@ -124,12 +125,3 @@ export type GetTerms = <SF>(instance: Instance<SF>) => Promise<
124
125
  : // XXX returning `any` in this case
125
126
  any
126
127
  >;
127
-
128
- export type InstanceRecord = {
129
- installation: Installation<any>;
130
- instance: Instance<any>;
131
- /**
132
- * - contract parameters
133
- */
134
- terms: AnyTerms;
135
- };
@@ -1,6 +1,5 @@
1
1
  import { E } from '@endo/far';
2
2
  import type { StartedInstanceKit } from './utils.js';
3
- import type { ZCF } from '../types-index.js';
4
3
 
5
4
  const someContractStartFn = (
6
5
  zcf: ZCF,
@@ -1,10 +1,5 @@
1
- export * from "../types-index.js";
2
1
  export type ZoeKit = ReturnType<typeof makeDurableZoeKit>;
3
- /**
4
- * @import {VatAdminSvc} from '@agoric/swingset-vat';
5
- * @import {Baggage} from '@agoric/vat-data';
6
- * @import {FeeIssuerConfig, FeeMintAccess, ZCFSpec, ZoeService} from './types.js';
7
- */
2
+ /** @import {Baggage} from '@agoric/vat-data' */
8
3
  /**
9
4
  * Create a durable instance of Zoe.
10
5
  *
@@ -60,9 +55,4 @@ export function makeZoeKit(vatAdminSvc?: Promise<VatAdminSvc> | VatAdminSvc, shu
60
55
  setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
61
56
  };
62
57
  import type { Baggage } from '@agoric/vat-data';
63
- import type { VatAdminSvc } from '@agoric/swingset-vat';
64
- import type { FeeIssuerConfig } from './types.js';
65
- import type { ZCFSpec } from './types.js';
66
- import type { ZoeService } from './types.js';
67
- import type { FeeMintAccess } from './types.js';
68
58
  //# sourceMappingURL=zoe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":";qBAqSa,UAAU,CAAC,OAAO,iBAAiB,CAAC;AAvQjD;;;;GAIG;AAEH;;;;;;;;;;;;;GAaG;AACH,0GAVG;IAAyB,UAAU,EAA3B,OAAO;IACsC,WAAW;IAGK,cAAc;IAGjD,eAAe;IACvB,OAAO;CACnC;;;;;IAgNG,4BAA4B;mBAAjB,aAAa;;EAK3B;AAED;;;;;;;;;;;;;;;GAeG;AACH,yCATW,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,mBAGlC,OAAO,sBAAsB,EAAE,mBAAmB,oBAGlD,eAAe,YACf,OAAO;;;;;IArBd,4BAA4B;mBAAjB,aAAa;;EA8BxB;6BA/PsB,kBAAkB;iCADd,sBAAsB;qCAEkB,YAAY;6BAAZ,YAAY;gCAAZ,YAAY;mCAAZ,YAAY"}
1
+ {"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":"qBAiSa,UAAU,CAAC,OAAO,iBAAiB,CAAC;AAnQjD,gDAAgD;AAEhD;;;;;;;;;;;;;GAaG;AACH,0GAVG;IAAyB,UAAU,EAA3B,OAAO;IACsC,WAAW;IAGK,cAAc;IAGjD,eAAe;IACvB,OAAO;CACnC;;;;;IAgNG,4BAA4B;mBAAjB,aAAa;;EAK3B;AAED;;;;;;;;;;;;;;;GAeG;AACH,yCATW,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,mBAGlC,OAAO,sBAAsB,EAAE,mBAAmB,oBAGlD,eAAe,YACf,OAAO;;;;;IArBd,4BAA4B;mBAAjB,aAAa;;EA8BxB;6BA7PuB,kBAAkB"}
@@ -28,11 +28,7 @@ import { getZcfBundleCap } from './createZCFVat.js';
28
28
  import { defaultFeeIssuerConfig, prepareFeeMint } from './feeMint.js';
29
29
  import { ZoeServiceI } from '../typeGuards.js';
30
30
 
31
- /**
32
- * @import {VatAdminSvc} from '@agoric/swingset-vat';
33
- * @import {Baggage} from '@agoric/vat-data';
34
- * @import {FeeIssuerConfig, FeeMintAccess, ZCFSpec, ZoeService} from './types.js';
35
- */
31
+ /** @import {Baggage} from '@agoric/vat-data' */
36
32
 
37
33
  /**
38
34
  * Create a durable instance of Zoe.
@@ -293,6 +289,3 @@ export { makeDurableZoeKit, makeZoeKit };
293
289
  /**
294
290
  * @typedef {ReturnType<typeof makeDurableZoeKit>} ZoeKit
295
291
  */
296
-
297
- // eslint-disable-next-line import/export -- no named value exports; only types
298
- export * from '../types-index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"zoeSeat.d.ts","sourceRoot":"","sources":["zoeSeat.js"],"names":[],"mappings":"AAkDO,iDAFI,OAAO,kBAAkB,EAAE,OAAO,uBA0WhC,UAAU,YACV,cAAc,uBACd,mBAAmB,iBACnB,aAAa,YACb,IAAI,CAAC,OAAO,CAAC,2BACb,OAAO;;;;;;;;;;;;;;;;QA3IZ,wCAAwC;8DAA5B,iBAAiB;;;;EAoKpC"}
1
+ {"version":3,"file":"zoeSeat.d.ts","sourceRoot":"","sources":["zoeSeat.js"],"names":[],"mappings":"AAmDO,iDAFI,OAAO,kBAAkB,EAAE,OAAO,uBA0WhC,UAAU,YACV,cAAc,uBACd,mBAAmB,iBACnB,aAAa,YACb,IAAI,CAAC,OAAO,CAAC,2BACb,OAAO;;;;;;;;;;;;;;;;QA3IZ,wCAAwC;8DAA5B,iBAAiB;;;;EAoKpC"}
@@ -7,7 +7,8 @@ import { makePromiseKit } from '@endo/promise-kit';
7
7
  import { NonNullish } from '@agoric/internal';
8
8
 
9
9
  import { satisfiesWant } from '../contractFacet/offerSafety.js';
10
-
10
+ import '../types-ambient.js';
11
+ import '../internal-types.js';
11
12
  import {
12
13
  declareOldZoeSeatAdminKind,
13
14
  OriginalZoeSeatIKit,
@@ -4,7 +4,7 @@ export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapFo
4
4
  getFeeBrand: () => Brand;
5
5
  }, zoeBaggage: Baggage): import("@endo/exo").GuardedKit<{
6
6
  zoeServiceDataAccess: {
7
- getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>;
7
+ getInvitationIssuer: () => globalThis.Issuer<"set", InvitationDetails>;
8
8
  getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>;
9
9
  getPublicFacet(instance: any): any;
10
10
  getBrands(instance: any): any;
@@ -13,14 +13,14 @@ export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapFo
13
13
  getTerms(instance: any): any;
14
14
  getInstallation(instance: any): any;
15
15
  getProposalShapeForInvitation: (invitationHandle: any) => any;
16
- installBundle: (allegedBundle: any, bundleLabel: any) => Promise<globalThis.Installation>;
17
- installBundleID(bundleID: any, bundleLabel: any): Promise<globalThis.Installation<unknown>>;
16
+ installBundle: (allegedBundle: any, bundleLabel: any) => Promise<Installation<any>>;
17
+ installBundleID(bundleID: any, bundleLabel: any): Promise<Installation<unknown>>;
18
18
  };
19
19
  makeOfferAccess: {
20
20
  getAssetKindByBrand: GetAssetKindByBrand;
21
21
  getInstanceAdmin(instance: any): any;
22
22
  getProposalShapeForInvitation: (invitationHandle: any) => any;
23
- getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>;
23
+ getInvitationIssuer: () => globalThis.Issuer<"set", InvitationDetails>;
24
24
  depositPayments(proposal: any, payments: any): Promise<Allocation>;
25
25
  };
26
26
  startInstanceAccess: {
@@ -33,7 +33,7 @@ export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapFo
33
33
  }>;
34
34
  };
35
35
  invitationIssuerAccess: {
36
- getInvitationIssuer: () => globalThis.Issuer<"set", import("@agoric/zoe").InvitationDetails>;
36
+ getInvitationIssuer: () => globalThis.Issuer<"set", InvitationDetails>;
37
37
  };
38
38
  }>;
39
39
  import type { Baggage } from '@agoric/vat-data';
@@ -1 +1 @@
1
- {"version":3,"file":"zoeStorageManager.d.ts","sourceRoot":"","sources":["zoeStorageManager.js"],"names":[],"mappings":"AAyDO,oDAXI,YAAY,qBAEZ,iBAAiB,kBACjB,OAAO,sBAAsB,EAAE,mBAAmB,WAClD;IACL,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,KAAK,CAAC;CAC3B,cACO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;kBANgC,CAAC;qBAChD,CAAC;oBACa,CAAC;;;;;;;GA+ajB;6BApcyB,kBAAkB"}
1
+ {"version":3,"file":"zoeStorageManager.d.ts","sourceRoot":"","sources":["zoeStorageManager.js"],"names":[],"mappings":"AAwDO,oDAXI,YAAY,qBAEZ,iBAAiB,kBACjB,OAAO,sBAAsB,EAAE,mBAAmB,WAClD;IACL,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,KAAK,CAAC;CAC3B,cACO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;kBAZkC,CAAC;qBAC3B,CAAC;oBAA0B,CAAC;;;;;;;GAsbrD;6BAlc0B,kBAAkB"}
@@ -21,16 +21,15 @@ import { prepareInvitationKit } from './makeInvitation.js';
21
21
  import { makeInstanceAdminStorage } from './instanceAdminStorage.js';
22
22
  import { makeInstallationStorage } from './installationStorage.js';
23
23
 
24
+ /// <reference path="./types.js" />
25
+ import './internal-types.js';
24
26
  import {
25
27
  InstanceStorageManagerIKit,
26
28
  ZoeMintI,
27
29
  ZoeStorageManagerIKit,
28
30
  } from '../typeGuards.js';
29
31
 
30
- /**
31
- * @import {Baggage} from '@agoric/vat-data';
32
- * @import {InvitationAmount} from '@agoric/zoe';
33
- */
32
+ /** @import {Baggage} from '@agoric/vat-data' */
34
33
 
35
34
  const { ownKeys } = Reflect;
36
35
 
@@ -88,22 +88,15 @@ export function makeFakeVatAdmin(testContextSetter?: (...args: any) => unknown,
88
88
  getExitMessage: () => any;
89
89
  getHasExited: () => boolean;
90
90
  getExitWithFailure: () => any;
91
- /**
92
- * @param {string} id
93
- * @param {EndoZipBase64Bundle | TestBundle} bundle
94
- */
95
- installBundle: (id: string, bundle: EndoZipBase64Bundle | TestBundle) => any;
91
+ installBundle: (id: any, bundle: any) => any;
96
92
  installNamedBundle: (name: any, id: any, bundle: any) => any;
97
93
  getCriticalVatKey: () => {};
98
94
  getVatPowers: () => {
99
95
  D: (bcap: any) => {
100
- getBundle: () => EndoZipBase64Bundle | {
101
- moduleFormat: "test";
102
- } | undefined;
96
+ getBundle: () => EndoZipBase64Bundle;
103
97
  };
104
98
  };
105
99
  };
106
100
  };
107
101
  import type { EndoZipBase64Bundle } from '@agoric/swingset-vat';
108
- import type { TestBundle } from '@agoric/swingset-vat';
109
102
  //# sourceMappingURL=fakeVatAdmin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fakeVatAdmin.d.ts","sourceRoot":"","sources":["fakeVatAdmin.js"],"names":[],"mappings":"AAyBA,+BAA4C;;wBAJ7B,OAAO,sBAAsB,EAAE,SAAS;AA4JvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C;AAtJ9C;;;GAGG;AACH,qDAHW,CAAC,GAAG,IAAI,KAAA,KAAK,OAAO,eACpB,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgH9B;;;WAGG;4BAFQ,MAAM,UACN,mBAAmB,GAAG,UAAU;;;;;;kCAxGkB,MAAM;;;;;EAmItE;yCAzJ2D,sBAAsB;gCAAtB,sBAAsB"}
1
+ {"version":3,"file":"fakeVatAdmin.d.ts","sourceRoot":"","sources":["fakeVatAdmin.js"],"names":[],"mappings":"AAyBA,+BAA4C;;wBAJ7B,OAAO,sBAAsB,EAAE,SAAS;AAoJvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C;AA9I9C;;;GAGG;AACH,qDAHW,CAAC,GAAG,IAAI,KAAA,KAAK,OAAO,eACpB,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIjC;yCAjJ+C,sBAAsB"}
@@ -1,5 +1,4 @@
1
- // no jessie-check because this code runs only in Node for testing
2
- /* eslint-env node */
1
+ // @jessie-check
3
2
 
4
3
  import { Fail } from '@endo/errors';
5
4
  import { E } from '@endo/eventual-send';
@@ -14,8 +13,9 @@ import { makeHandle } from '../src/makeHandle.js';
14
13
  import zcfBundle from '../bundles/bundle-contractFacet.js';
15
14
 
16
15
  /**
16
+ * @import {LegacyWeakMap, WeakMapStore} from '@agoric/store';
17
17
  * @import {MapStore} from '@agoric/swingset-liveslots';
18
- * @import {BundleID, EndoZipBase64Bundle, TestBundle} from '@agoric/swingset-vat';
18
+ * @import {BundleID, EndoZipBase64Bundle} from '@agoric/swingset-vat';
19
19
  */
20
20
 
21
21
  // this simulates a bundlecap, which is normally a swingset "device node"
@@ -37,8 +37,8 @@ function makeFakeVatAdmin(testContextSetter = undefined, makeRemote = x => x) {
37
37
  let exitWithFailure;
38
38
  /** @type {MapStore<BundleID, BundleCap>} */
39
39
  const idToBundleCap = makeScalarMapStore('idToBundleCap');
40
- /** @type {Map<BundleCap, EndoZipBase64Bundle | {moduleFormat: 'test'}>} */
41
- const bundleCapToBundle = new Map();
40
+ /** @type {MapStore<BundleCap, EndoZipBase64Bundle>} */
41
+ const bundleCapToBundle = makeScalarMapStore('bundleCapToBundle');
42
42
  /** @type {MapStore<string, BundleID>} */
43
43
  const nameToBundleID = makeScalarMapStore('nameToBundleID');
44
44
  const fakeVatPowers = {
@@ -139,25 +139,17 @@ function makeFakeVatAdmin(testContextSetter = undefined, makeRemote = x => x) {
139
139
  getExitMessage: () => exitMessage,
140
140
  getHasExited: () => hasExited,
141
141
  getExitWithFailure: () => exitWithFailure,
142
- /**
143
- * @param {string} id
144
- * @param {EndoZipBase64Bundle | TestBundle} bundle
145
- */
146
142
  installBundle: (id, bundle) => {
147
143
  if (idToBundleCap.has(id)) {
148
- const extant = bundleCapToBundle.get(idToBundleCap.get(id));
149
- assert(extant);
150
- assert.equal(bundle.moduleFormat, extant.moduleFormat);
151
- if (extant.moduleFormat === 'endoZipBase64') {
152
- // Narrow bundle.moduleFormat now that extant.moduleFormat is narrowed
153
- assert.equal(bundle.moduleFormat, extant.moduleFormat);
154
- assert.equal(bundle.endoZipBase64, extant.endoZipBase64);
155
- }
144
+ assert.equal(
145
+ bundle.endoZipBase64,
146
+ bundleCapToBundle.get(idToBundleCap.get(id)).endoZipBase64,
147
+ );
156
148
  return idToBundleCap.get(id);
157
149
  }
158
150
  const bundleCap = fakeBundleCap();
159
151
  idToBundleCap.init(id, bundleCap);
160
- bundleCapToBundle.set(bundleCap, bundle);
152
+ bundleCapToBundle.init(bundleCap, bundle);
161
153
  return bundleCap;
162
154
  },
163
155
  installNamedBundle: (name, id, bundle) => {
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @import {Amount, Brand, Issuer, IssuerKit, Payment, Purse} from '@agoric/ertp';
3
2
  * @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js';
4
3
  */
5
4
  /**
@@ -16,14 +15,12 @@ export function makeManualPriceAuthority(options: {
16
15
  actualBrandOut: Brand<"nat">;
17
16
  initialPrice: Ratio;
18
17
  timer: import("@agoric/time").TimerService;
19
- quoteIssuerKit?: IssuerKit<"set", PriceDescription> | undefined;
18
+ quoteIssuerKit?: globalThis.IssuerKit<"set", PriceDescription> | undefined;
20
19
  }): PriceAuthority & {
21
20
  setPrice: (Ratio: any) => void;
22
21
  disable: () => void;
23
22
  };
24
23
  export type ManualPriceAuthority = ReturnType<typeof makeManualPriceAuthority>;
25
- import type { Brand } from '@agoric/ertp';
26
24
  import type { PriceDescription } from '@agoric/zoe/tools/types.js';
27
- import type { IssuerKit } from '@agoric/ertp';
28
25
  import type { PriceAuthority } from '@agoric/zoe/tools/types.js';
29
26
  //# sourceMappingURL=manualPriceAuthority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"manualPriceAuthority.d.ts","sourceRoot":"","sources":["manualPriceAuthority.js"],"names":[],"mappings":"AAaA;;;GAGG;AAEH;;;;;;;;GAQG;AACH,kDAPG;IAA8B,aAAa,EAAnC,MAAM,KAAK,CAAC;IACU,cAAc,EAApC,MAAM,KAAK,CAAC;IACG,YAAY,EAA3B,KAAK;IACwC,KAAK,EAAlD,OAAO,cAAc,EAAE,YAAY;IACU,cAAc;CACnE,GAAU,cAAc,GAAG;IAAE,QAAQ,EAAE,CAAC,KAAK,KAAA,KAAK,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,CA8E/E;mCACa,UAAU,CAAC,OAAO,wBAAwB,CAAC;2BA1FU,cAAc;sCACY,4BAA4B;+BADtD,cAAc;oCACY,4BAA4B"}
1
+ {"version":3,"file":"manualPriceAuthority.d.ts","sourceRoot":"","sources":["manualPriceAuthority.js"],"names":[],"mappings":"AAaA;;GAEG;AAEH;;;;;;;;GAQG;AACH,kDAPG;IAA8B,aAAa,EAAnC,KAAK,CAAC,KAAK,CAAC;IACU,cAAc,EAApC,KAAK,CAAC,KAAK,CAAC;IACG,YAAY,EAA3B,KAAK;IACwC,KAAK,EAAlD,OAAO,cAAc,EAAE,YAAY;IACU,cAAc;CACnE,GAAU,cAAc,GAAG;IAAE,QAAQ,EAAE,CAAC,KAAK,KAAA,KAAK,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,CA8E/E;mCACa,UAAU,CAAC,OAAO,wBAAwB,CAAC;sCAzFoC,4BAA4B;oCAA5B,4BAA4B"}
@@ -12,7 +12,6 @@ import {
12
12
  } from '../src/contractSupport/index.js';
13
13
 
14
14
  /**
15
- * @import {Amount, Brand, Issuer, IssuerKit, Payment, Purse} from '@agoric/ertp';
16
15
  * @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js';
17
16
  */
18
17
 
@@ -1,6 +1,3 @@
1
- /**
2
- * @import {ZoeService} from '../src/types-index.js';
3
- */
4
1
  /**
5
2
  * Start an instance of an Oracle that follows a script. The Oracle has access
6
3
  * to a timer, and looks in the script for events indexed by the current time.
@@ -20,12 +17,11 @@
20
17
  export function makeScriptedOracle(script: Record<string, any>, oracleInstallation: Installation<import("../src/contracts/oracle.js").OracleStart>, timer: import("@agoric/time").TimerService, zoe: ZoeService, feeIssuer: Issuer): Promise<{
21
18
  publicFacet: object & {
22
19
  query(query: OracleQuery): Promise<unknown>;
23
- makeQueryInvitation(query: OracleQuery): Promise<globalThis.Invitation<unknown, never>>;
20
+ makeQueryInvitation(query: OracleQuery): Promise<Invitation<unknown, never>>;
24
21
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
25
22
  query(query: OracleQuery): Promise<unknown>;
26
- makeQueryInvitation(query: OracleQuery): Promise<globalThis.Invitation<unknown, never>>;
23
+ makeQueryInvitation(query: OracleQuery): Promise<Invitation<unknown, never>>;
27
24
  }>;
28
25
  creatorFacet: OracleCreatorFacet;
29
26
  }>;
30
- import type { ZoeService } from '../src/types-index.js';
31
27
  //# sourceMappingURL=scriptedOracle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scriptedOracle.d.ts","sourceRoot":"","sources":["scriptedOracle.js"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,2CANW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,YAAY,CAAC,OAAO,4BAA4B,EAAE,WAAW,CAAC,SAC9D,OAAO,cAAc,EAAE,YAAY,OACnC,UAAU,aACV,MAAM;;;;;;;;;GAqChB;gCAtD4B,uBAAuB"}
1
+ {"version":3,"file":"scriptedOracle.d.ts","sourceRoot":"","sources":["scriptedOracle.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,2CANW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,YAAY,CAAC,OAAO,4BAA4B,EAAE,WAAW,CAAC,SAC9D,OAAO,cAAc,EAAE,YAAY,OACnC,UAAU,aACV,MAAM;;;;;;;;;GAqChB"}
@@ -2,10 +2,6 @@ import { TimeMath } from '@agoric/time';
2
2
  import { E } from '@endo/eventual-send';
3
3
  import { Far } from '@endo/marshal';
4
4
 
5
- /**
6
- * @import {ZoeService} from '../src/types-index.js';
7
- */
8
-
9
5
  /**
10
6
  * Start an instance of an Oracle that follows a script. The Oracle has access
11
7
  * to a timer, and looks in the script for events indexed by the current time.
@@ -1,40 +1,34 @@
1
1
  export function makeZoeKitForTest(vatAdminSvc?: VatAdminSvc): {
2
- zoeService: import("@endo/exo").Guarded<globalThis.ZoeService>;
2
+ zoeService: import("@endo/exo").Guarded<ZoeService>;
3
3
  zoeConfigFacet: import("@endo/exo").Guarded<{
4
4
  updateZcfBundleId(bundleId: any): void;
5
5
  }>;
6
6
  feeMintAccess: FeeMintAccess;
7
7
  setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
8
8
  };
9
- export function makeZoeForTest(vatAdminSvc?: VatAdminSvc): import("@endo/exo").Guarded<globalThis.ZoeService>;
9
+ export function makeZoeForTest(vatAdminSvc?: VatAdminSvc): import("@endo/exo").Guarded<ZoeService>;
10
10
  export function setUpZoeForTest<T extends unknown = any>({ setJig, feeIssuerConfig, vatAdminSvc, useNearRemote, }?: {
11
11
  setJig?: ((jig: T) => void) | undefined;
12
12
  feeIssuerConfig?: FeeIssuerConfig | undefined;
13
13
  vatAdminSvc?: VatAdminSvc | undefined;
14
14
  useNearRemote?: boolean | undefined;
15
15
  }): Promise<{
16
- zoe: import("@endo/exo").Guarded<globalThis.ZoeService>;
16
+ zoe: import("@endo/exo").Guarded<ZoeService>;
17
17
  feeMintAccessP: FeeMintAccess;
18
- bundleAndInstall: (pathOrExports: object) => Promise<Installation>;
18
+ bundleAndInstall: (path: string) => Promise<Installation>;
19
19
  vatAdminSvc: VatAdminSvc;
20
20
  vatAdminState: {
21
21
  getExitMessage: () => any;
22
22
  getHasExited: () => boolean;
23
23
  getExitWithFailure: () => any;
24
- installBundle: (id: string, bundle: EndoZipBase64Bundle | TestBundle) => any;
24
+ installBundle: (id: any, bundle: any) => any;
25
25
  installNamedBundle: (name: any, id: any, bundle: any) => any;
26
26
  getCriticalVatKey: () => {};
27
27
  getVatPowers: () => {
28
28
  D: (bcap: any) => {
29
- getBundle: () => EndoZipBase64Bundle | {
30
- moduleFormat: "test";
31
- } | undefined;
29
+ getBundle: () => EndoZipBase64Bundle;
32
30
  };
33
31
  };
34
32
  } | undefined;
35
33
  }>;
36
- import type { FeeIssuerConfig } from '../src/types-index.js';
37
- import type { Installation } from '../src/types-index.js';
38
- import type { EndoZipBase64Bundle } from '@agoric/swingset-vat';
39
- import type { TestBundle } from '@agoric/swingset-vat';
40
34
  //# sourceMappingURL=setup-zoe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAgBO,gDAFI,WAAW;;;;;;;EAOrB;AAKM,6CAFI,WAAW,sDAGqB;AAapC,gCAPgB,CAAC,mFAErB;IAAmC,MAAM,UAA3B,CAAC,KAAK,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;CAAC;;;sCAmD9B,MAAM,KACJ,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;GAoBnC;qCApG+C,uBAAuB;kCAAvB,uBAAuB;yCADrB,sBAAsB;gCAAtB,sBAAsB"}
1
+ {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAUO,gDAFI,WAAW;;;;;;;EAOrB;AAKM,6CAFI,WAAW,2CAGqB;AAapC,gCAPgB,CAAC,mFAErB;IAAmC,MAAM,UAA3B,CAAC,KAAK,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;CAAC;;;6BA2B9B,MAAM,KACJ,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;GAiBnC"}
@@ -2,15 +2,9 @@ import { E, makeLoopback } from '@endo/captp';
2
2
 
3
3
  import { makeScalarBigMapStore } from '@agoric/vat-data';
4
4
  import bundleSource from '@endo/bundle-source';
5
- import { bundleTestExports } from '@endo/import-bundle';
6
5
  import { makeDurableZoeKit } from '../src/zoeService/zoe.js';
7
6
  import fakeVatAdmin, { makeFakeVatAdmin } from './fakeVatAdmin.js';
8
7
 
9
- /**
10
- * @import {EndoZipBase64Bundle, TestBundle} from '@agoric/swingset-vat';
11
- * @import {FeeIssuerConfig, Installation} from '../src/types-index.js';
12
- */
13
-
14
8
  /**
15
9
  * @param {VatAdminSvc} [vatAdminSvc]
16
10
  */
@@ -63,40 +57,13 @@ export const setUpZoeForTest = async ({
63
57
  );
64
58
 
65
59
  /**
66
- * @param {object} pathOrExports
67
- * @returns {Promise<EndoZipBase64Bundle | TestBundle>}
68
- */
69
- const bundleModule = async pathOrExports => {
70
- if (typeof pathOrExports === 'string') {
71
- const path = pathOrExports;
72
- return bundleSource(path);
73
- } else {
74
- assert.equal(
75
- Object.getOwnPropertyDescriptor(pathOrExports, Symbol.toStringTag)
76
- ?.value,
77
- 'Module',
78
- );
79
- // Copy all the properties so this object can be hardened.
80
- const exports = { ...pathOrExports };
81
- return bundleTestExports(exports);
82
- }
83
- };
84
-
85
- /**
86
- * Bundle the source module (either as file system path or a Module object)
87
- * and return an Installation. The bundleID is random and should not be relied
88
- * upon in tests of this variety.
89
- *
90
- * @param {object} pathOrExports
60
+ * @param {string} path
91
61
  * @returns {Promise<Installation>}
92
62
  */
93
- const bundleAndInstall = async pathOrExports => {
94
- const bundle = await bundleModule(pathOrExports);
95
- assert(
96
- vatAdminState,
97
- 'bundleAndInstall called before vatAdminState defined',
98
- );
99
- const id = `b1-zoe-test-${Math.random()}`;
63
+ const bundleAndInstall = async path => {
64
+ const bundle = await bundleSource(path);
65
+ const id = `b1-${path}`;
66
+ assert(vatAdminState, 'installBundle called before vatAdminState defined');
100
67
  vatAdminState.installBundle(id, bundle);
101
68
  return E(zoeService).installBundleID(id);
102
69
  };
@@ -6,7 +6,7 @@ export function withAmountUtils(kit: Pick<IssuerKit<"nat", any>, "brand" | "issu
6
6
  * @param {NatValue} n
7
7
  * @param {NatValue} [d]
8
8
  */
9
- makeRatio: (n: NatValue, d?: NatValue) => import("@agoric/ertp/src/ratio.js").Ratio;
9
+ makeRatio: (n: NatValue, d?: NatValue) => Ratio;
10
10
  /** @param {number} n */
11
11
  units: (n: number) => import("@agoric/ertp").NatAmount;
12
12
  /** The intact Exo remotable */
@@ -1,5 +1,5 @@
1
1
  import { AmountMath } from '@agoric/ertp';
2
- import { makeRatio } from '../src/contractSupport/index.js';
2
+ import { makeRatio } from '../src/contractSupport/ratio.js';
3
3
 
4
4
  /**
5
5
  * @import {Amount, Brand, DepositFacet, Issuer, IssuerKit, NatValue} from '@agoric/ertp';
package/tools/types.d.ts CHANGED
@@ -143,5 +143,4 @@ import type { Amount } from '@agoric/ertp';
143
143
  import type { Payment } from '@agoric/ertp';
144
144
  import type { Brand } from '@agoric/ertp';
145
145
  import type { Issuer } from '@agoric/ertp';
146
- import type { Notifier } from '@agoric/notifier';
147
146
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;iBAUc,OAAO,KAAK,EAAE,gBAAgB,CAAC;;;;kBAE/B,IAAI,CAAC,QAAQ,KAAK,EAAE,gBAAgB,CAAC,CAAC;;;;;;8BAKvC,CAAC,gBAAgB,CAAC;;;;;;;;cAQjB,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC;;;;WAEb,OAAO,kBAAkB,EAAE,eAAe,GAAG,OAAO,cAAc,EAAE,YAAY;;;;eAEhF,OAAO,cAAc,EAAE,eAAe;;;;iBAEtC,GAAG;;4CAMN,UAAU,KACR,IAAI,CAAC,UAAU,CAAC,GAAG,SAAS;8CAK9B,gBAAgB;;kBAKb,CAAC,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