@agoric/zoe 0.26.3-upgrade-18-dev-0218510.0 → 0.26.3-upgrade-18-dev-cc4b6b8.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/bundles/bundle-contractFacet-js-meta.json +273 -413
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +31 -31
- package/src/cleanProposal.d.ts.map +1 -1
- package/src/contractSupport/atomicTransfer.d.ts +1 -1
- package/src/contractSupport/atomicTransfer.d.ts.map +1 -1
- package/src/contractSupport/bondingCurves.d.ts +2 -2
- package/src/contractSupport/bondingCurves.d.ts.map +1 -1
- package/src/contractSupport/durability.d.ts +1 -1
- package/src/contractSupport/durability.d.ts.map +1 -1
- package/src/contractSupport/prepare-ownable.d.ts +1 -1
- package/src/contractSupport/prepare-ownable.d.ts.map +1 -1
- package/src/contractSupport/prepare-ownable.js +0 -1
- package/src/contractSupport/ratio.d.ts +2 -2
- package/src/contractSupport/ratio.d.ts.map +1 -1
- package/src/contractSupport/zoeHelpers.d.ts +1 -1
- package/src/contractSupport/zoeHelpers.d.ts.map +1 -1
- package/src/contracts/auction/index.d.ts.map +1 -1
- package/src/contracts/otcDesk.d.ts +2 -2
- package/src/contracts/otcDesk.d.ts.map +1 -1
- package/src/contracts/priceAggregator.d.ts +4 -4
- package/src/contracts/priceAggregator.d.ts.map +1 -1
- package/src/contracts/priceAggregator.js +0 -1
- package/src/contracts/simpleExchange.d.ts.map +1 -1
- package/src/contracts/simpleExchange.js +0 -1
- package/src/internal-types.d.ts.map +1 -1
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +32 -26
- package/src/zoeService/installationStorage.d.ts +2 -2
- package/src/zoeService/installationStorage.d.ts.map +1 -1
- package/src/zoeService/installationStorage.js +0 -2
- package/src/zoeService/startInstance.d.ts.map +1 -1
- package/src/zoeService/startInstance.js +0 -1
- package/src/zoeService/types-ambient.d.ts.map +1 -1
- package/src/zoeService/zoe.d.ts +1 -1
- package/src/zoeService/zoe.d.ts.map +1 -1
- package/src/zoeService/zoe.js +0 -2
- package/src/zoeService/zoeSeat.d.ts +1 -1
- package/src/zoeService/zoeSeat.d.ts.map +1 -1
- package/src/zoeService/zoeStorageManager.d.ts +2 -3
- package/src/zoeService/zoeStorageManager.d.ts.map +1 -1
- package/tools/fakeVatAdmin.d.ts +1 -1
- package/tools/fakeVatAdmin.d.ts.map +1 -1
- package/tools/manualTimer.d.ts +3 -3
- package/tools/manualTimer.d.ts.map +1 -1
- package/tools/manualTimer.js +2 -2
- package/tools/setup-zoe.d.ts +3 -3
- package/tools/setup-zoe.d.ts.map +1 -1
- package/tools/setup-zoe.js +1 -1
- package/tools/test-utils.d.ts +1 -1
- package/tools/test-utils.d.ts.map +1 -1
|
@@ -5,7 +5,7 @@ export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapFo
|
|
|
5
5
|
}, zoeBaggage: Baggage): import("@endo/exo").GuardedKit<{
|
|
6
6
|
zoeServiceDataAccess: {
|
|
7
7
|
getInvitationIssuer: () => globalThis.Issuer<"set", InvitationDetails>;
|
|
8
|
-
getBundleIDFromInstallation(allegedInstallation: any):
|
|
8
|
+
getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>;
|
|
9
9
|
getPublicFacet(instance: any): any;
|
|
10
10
|
getBrands(instance: any): any;
|
|
11
11
|
getIssuers(instance: any): any;
|
|
@@ -13,7 +13,7 @@ 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) => any
|
|
16
|
+
installBundle: (allegedBundle: any, bundleLabel: any) => Promise<Installation<any>>;
|
|
17
17
|
installBundleID(bundleID: any, bundleLabel: any): Promise<Installation<unknown>>;
|
|
18
18
|
};
|
|
19
19
|
makeOfferAccess: {
|
|
@@ -25,7 +25,6 @@ export function makeZoeStorageManager(createZCFVat: CreateZCFVat, getBundleCapFo
|
|
|
25
25
|
};
|
|
26
26
|
startInstanceAccess: {
|
|
27
27
|
makeZoeInstanceStorageManager: MakeZoeInstanceStorageManager;
|
|
28
|
-
/** @type {UnwrapInstallation} */
|
|
29
28
|
unwrapInstallation(installationP: ERef<Installation>): ERef<{
|
|
30
29
|
bundle?: SourceBundle;
|
|
31
30
|
bundleCap?: BundleCap;
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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"}
|
package/tools/fakeVatAdmin.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ declare const fakeVatAdmin: {
|
|
|
46
46
|
* @param {(...args) => unknown} [testContextSetter]
|
|
47
47
|
* @param {(x: unknown) => unknown} [makeRemote]
|
|
48
48
|
*/
|
|
49
|
-
export function makeFakeVatAdmin(testContextSetter?: (
|
|
49
|
+
export function makeFakeVatAdmin(testContextSetter?: (...args: any) => unknown, makeRemote?: (x: unknown) => unknown): {
|
|
50
50
|
admin: {
|
|
51
51
|
getBundleCap: (bundleID: any) => Promise<any>;
|
|
52
52
|
waitForBundleCap: (bundleID: any) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fakeVatAdmin.d.ts","sourceRoot":"","sources":["fakeVatAdmin.js"],"names":[],"mappings":"AAsBA,+BAA4C;;uBAR7B,OAAO,sBAAsB,EAAE,QAAQ;kCACvC,OAAO,sBAAsB,EAAE,mBAAmB;wBAGlD,OAAO,sBAAsB,EAAE,SAAS;AAoJvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C;AA9I9C;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"fakeVatAdmin.d.ts","sourceRoot":"","sources":["fakeVatAdmin.js"],"names":[],"mappings":"AAsBA,+BAA4C;;uBAR7B,OAAO,sBAAsB,EAAE,QAAQ;kCACvC,OAAO,sBAAsB,EAAE,mBAAmB;wBAGlD,OAAO,sBAAsB,EAAE,SAAS;AAoJvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C;AA9I9C;;;GAGG;AACH,qDAHW,CAAC,GAAG,IAAI,KAAA,KAAK,OAAO,eACpB,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIjC"}
|
package/tools/manualTimer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function buildZoeManualTimer(log?: (
|
|
1
|
+
export function buildZoeManualTimer(log?: (...args: any[]) => void, startValue?: import("@agoric/time").Timestamp | bigint, options?: ZoeManualTimerOptions): ZoeManualTimer;
|
|
2
2
|
export default buildZoeManualTimer;
|
|
3
3
|
export type ZoeManualTimerOptions = {
|
|
4
4
|
timeStep?: import("@agoric/time").RelativeTime | bigint;
|
|
@@ -14,8 +14,8 @@ export type ManualTimerAdmin = {
|
|
|
14
14
|
tick: (msg?: string) => void | Promise<void>;
|
|
15
15
|
tickN: (nTimes: number, msg?: string) => Promise<void>;
|
|
16
16
|
};
|
|
17
|
-
export type ZoeManualTimer = ReturnType<typeof buildManualTimer> & RemotableBrand<ManualTimerAdmin,
|
|
17
|
+
export type ZoeManualTimer = ReturnType<typeof buildManualTimer> & RemotableBrand<ManualTimerAdmin, TimerServiceCommon & ManualTimerAdmin> & ManualTimerAdmin;
|
|
18
18
|
import { buildManualTimer } from '@agoric/swingset-vat/tools/manual-timer.js';
|
|
19
|
-
import type {
|
|
19
|
+
import type { TimerServiceCommon } from '@agoric/time';
|
|
20
20
|
import type { RemotableBrand } from '@endo/eventual-send';
|
|
21
21
|
//# sourceMappingURL=manualTimer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manualTimer.d.ts","sourceRoot":"","sources":["manualTimer.js"],"names":[],"mappings":"AAyEO,
|
|
1
|
+
{"version":3,"file":"manualTimer.d.ts","sourceRoot":"","sources":["manualTimer.js"],"names":[],"mappings":"AAyEO,0CANI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,eACxB,OAAO,cAAc,EAAE,SAAS,GAAG,MAAM,YACzC,qBAAqB,GACnB,cAAc,CAsD1B;;oCA5GY;IACT,QAAQ,CAAC,EAAE,OAAO,cAAc,EAAE,YAAY,GAAG,MAAM,CAAC;IACxD,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACzC;;;;;;;;UAOU,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;WAItC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;6BAG/C,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,eAAe,gBAAgB,EAAE,kBAAkB,GAAG,gBAAgB,CAAC,GAAG,gBAAgB;iCA9B7G,4CAA4C;wCAIxC,cAAc;oCAElB,qBAAqB"}
|
package/tools/manualTimer.js
CHANGED
|
@@ -5,7 +5,7 @@ import { buildManualTimer } from '@agoric/swingset-vat/tools/manual-timer.js';
|
|
|
5
5
|
import { TimeMath } from '@agoric/time';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* @import {
|
|
8
|
+
* @import {TimerServiceCommon} from '@agoric/time';
|
|
9
9
|
* @import {RemotableObject} from '@endo/pass-style';
|
|
10
10
|
* @import {RemotableBrand} from '@endo/eventual-send';
|
|
11
11
|
*/
|
|
@@ -31,7 +31,7 @@ const nolog = (..._args) => {};
|
|
|
31
31
|
* @property {(nTimes: number, msg?: string) => Promise<void>} tickN
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
-
/** @typedef {ReturnType<typeof buildManualTimer> & RemotableBrand<ManualTimerAdmin,
|
|
34
|
+
/** @typedef {ReturnType<typeof buildManualTimer> & RemotableBrand<ManualTimerAdmin, TimerServiceCommon & ManualTimerAdmin> & ManualTimerAdmin} ZoeManualTimer */
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* A fake TimerService, for unit tests that do not use a real
|
package/tools/setup-zoe.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeZoeKitForTest(vatAdminSvc?: VatAdminSvc
|
|
1
|
+
export function makeZoeKitForTest(vatAdminSvc?: VatAdminSvc): {
|
|
2
2
|
zoeService: import("@endo/exo").Guarded<ZoeService>;
|
|
3
3
|
zoeConfigFacet: import("@endo/exo").Guarded<{
|
|
4
4
|
updateZcfBundleId(bundleId: any): void;
|
|
@@ -6,8 +6,8 @@ export function makeZoeKitForTest(vatAdminSvc?: VatAdminSvc | undefined): {
|
|
|
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
|
|
10
|
-
export function setUpZoeForTest<T extends unknown =
|
|
9
|
+
export function makeZoeForTest(vatAdminSvc?: VatAdminSvc): import("@endo/exo").Guarded<ZoeService>;
|
|
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;
|
package/tools/setup-zoe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAUO;;;;;;;
|
|
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"}
|
package/tools/setup-zoe.js
CHANGED
|
@@ -25,7 +25,7 @@ export const makeZoeForTest = vatAdminSvc =>
|
|
|
25
25
|
* Returns promises for `zoe` and the `feeMintAccess`.
|
|
26
26
|
* Provide testing versions of capabilities for Zoe contracts.
|
|
27
27
|
*
|
|
28
|
-
* @template {object} [T=
|
|
28
|
+
* @template {object} [T=any]
|
|
29
29
|
* @param {object} options
|
|
30
30
|
* @param {(jig: T) => void} [options.setJig]
|
|
31
31
|
* @param {FeeIssuerConfig} [options.feeIssuerConfig]
|
package/tools/test-utils.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export function withAmountUtils(kit: Pick<IssuerKit<"nat">, "brand" | "issuer" |
|
|
|
6
6
|
* @param {NatValue} n
|
|
7
7
|
* @param {NatValue} [d]
|
|
8
8
|
*/
|
|
9
|
-
makeRatio: (n: NatValue, d?:
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["test-utils.js"],"names":[],"mappings":"AAIO,qCADK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAK3D,0BAA0B;cAAd,QAAQ;;IAGpB;;;OAGG;mBAFQ,QAAQ;
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["test-utils.js"],"names":[],"mappings":"AAIO,qCADK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAK3D,0BAA0B;cAAd,QAAQ;;IAGpB;;;OAGG;mBAFQ,QAAQ,MACR,QAAQ;IAGnB,wBAAwB;eAAZ,MAAM;IAGlB,+BAA+B;;;;;EAGlC;;0BACa,UAAU,CAAC,OAAO,eAAe,CAAC"}
|