@agoric/zoe 0.26.3-dev-a7bee20.0 → 0.26.3-dev-c951fdc.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 +90 -90
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +14 -14
- 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/zoeStorageManager.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-c951fdc.0+c951fdc",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
47
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
48
|
-
"@agoric/internal": "0.3.3-dev-
|
|
49
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
-
"@agoric/time": "0.3.3-dev-
|
|
54
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
55
|
-
"@agoric/vow": "0.1.1-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
46
|
+
"@agoric/base-zone": "0.1.1-dev-c951fdc.0+c951fdc",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-c951fdc.0+c951fdc",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-c951fdc.0+c951fdc",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-c951fdc.0+c951fdc",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-c951fdc.0+c951fdc",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-c951fdc.0+c951fdc",
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-c951fdc.0+c951fdc",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-c951fdc.0+c951fdc",
|
|
54
|
+
"@agoric/vat-data": "0.5.3-dev-c951fdc.0+c951fdc",
|
|
55
|
+
"@agoric/vow": "0.1.1-dev-c951fdc.0+c951fdc",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-c951fdc.0+c951fdc",
|
|
57
57
|
"@endo/bundle-source": "^3.5.0",
|
|
58
58
|
"@endo/captp": "^4.4.3",
|
|
59
59
|
"@endo/common": "^1.2.8",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"yargs-parser": "^21.1.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
73
|
+
"@agoric/kmarshal": "0.1.1-dev-c951fdc.0+c951fdc",
|
|
74
74
|
"@endo/init": "^1.1.7",
|
|
75
75
|
"ava": "^5.3.0",
|
|
76
76
|
"c8": "^9.1.0",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"typeCoverage": {
|
|
101
101
|
"atLeast": 85
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "c951fdcf26daac5108e0164f1e226438f767c5f7"
|
|
104
104
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function makeInstallationStorage(getBundleCapForID: GetBundleCapForID, zoeBaggage: Baggage): import("@endo/exo").Guarded<{
|
|
2
|
-
installBundle(allegedBundle: any, bundleLabel: any): any
|
|
2
|
+
installBundle(allegedBundle: any, bundleLabel: any): Promise<Installation<any>>;
|
|
3
3
|
installBundleID(bundleID: any, bundleLabel?: any): Promise<Installation<unknown>>;
|
|
4
4
|
unwrapInstallation(installation: any): {
|
|
5
5
|
bundleCap: any;
|
|
@@ -12,7 +12,7 @@ export function makeInstallationStorage(getBundleCapForID: GetBundleCapForID, zo
|
|
|
12
12
|
bundleCap?: undefined;
|
|
13
13
|
bundleID?: undefined;
|
|
14
14
|
};
|
|
15
|
-
getBundleIDFromInstallation(allegedInstallation: any):
|
|
15
|
+
getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>;
|
|
16
16
|
}>;
|
|
17
17
|
export type BundleCap = import("@agoric/swingset-vat").BundleCap;
|
|
18
18
|
export type BundleID = import("@agoric/swingset-vat").BundleID;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installationStorage.d.ts","sourceRoot":"","sources":["installationStorage.js"],"names":[],"mappings":"AAqBO,2DAHI,iBAAiB,cACjB,OAAO;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"installationStorage.d.ts","sourceRoot":"","sources":["installationStorage.js"],"names":[],"mappings":"AAqBO,2DAHI,iBAAiB,cACjB,OAAO;;;;;;;;;;;;;;;GA6IjB;wBAnJc,OAAO,sBAAsB,EAAE,SAAS;uBACxC,OAAO,sBAAsB,EAAE,QAAQ;6BAC3B,kBAAkB"}
|
|
@@ -101,7 +101,6 @@ export const makeInstallationStorage = (getBundleCapForID, zoeBaggage) => {
|
|
|
101
101
|
InstallationStorageI,
|
|
102
102
|
{
|
|
103
103
|
async installBundle(allegedBundle, bundleLabel) {
|
|
104
|
-
// @ts-expect-error TS doesn't understand context
|
|
105
104
|
const { self } = this;
|
|
106
105
|
// Bundle is a very open-ended type and we must decide here whether to
|
|
107
106
|
// treat it as either a HashBundle or SourceBundle. So we have to
|
|
@@ -149,7 +148,6 @@ export const makeInstallationStorage = (getBundleCapForID, zoeBaggage) => {
|
|
|
149
148
|
}
|
|
150
149
|
},
|
|
151
150
|
async getBundleIDFromInstallation(allegedInstallation) {
|
|
152
|
-
// @ts-expect-error TS doesn't understand context
|
|
153
151
|
const { self } = this;
|
|
154
152
|
const { bundleID } = await self.unwrapInstallation(allegedInstallation);
|
|
155
153
|
// AWAIT
|
|
@@ -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: {
|