@agoric/zoe 0.26.3-dev-ec5a11e.0.ec5a11e → 0.26.3-dev-bb8d87e.0.bb8d87e
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 +15 -15
- package/src/cleanProposal.d.ts.map +1 -1
- package/src/cleanProposal.js +1 -2
- package/src/contractSupport/priceAuthorityQuoteMint.js +9 -9
- package/src/issuerStorage.d.ts.map +1 -1
- package/src/issuerStorage.js +2 -4
- package/src/zoeService/zoe.d.ts +0 -2
- package/src/zoeService/zoe.d.ts.map +1 -1
- package/src/zoeService/zoe.js +1 -3
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-bb8d87e.0.bb8d87e",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
44
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
45
|
-
"@agoric/internal": "0.3.3-dev-
|
|
46
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
47
|
-
"@agoric/store": "0.9.3-dev-
|
|
48
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
49
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
50
|
-
"@agoric/time": "0.3.3-dev-
|
|
51
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
52
|
-
"@agoric/vow": "0.1.1-dev-
|
|
53
|
-
"@agoric/zone": "0.2.3-dev-
|
|
43
|
+
"@agoric/base-zone": "0.1.1-dev-bb8d87e.0.bb8d87e",
|
|
44
|
+
"@agoric/ertp": "0.16.3-dev-bb8d87e.0.bb8d87e",
|
|
45
|
+
"@agoric/internal": "0.3.3-dev-bb8d87e.0.bb8d87e",
|
|
46
|
+
"@agoric/notifier": "0.6.3-dev-bb8d87e.0.bb8d87e",
|
|
47
|
+
"@agoric/store": "0.9.3-dev-bb8d87e.0.bb8d87e",
|
|
48
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-bb8d87e.0.bb8d87e",
|
|
49
|
+
"@agoric/swingset-vat": "0.32.3-dev-bb8d87e.0.bb8d87e",
|
|
50
|
+
"@agoric/time": "0.3.3-dev-bb8d87e.0.bb8d87e",
|
|
51
|
+
"@agoric/vat-data": "0.5.3-dev-bb8d87e.0.bb8d87e",
|
|
52
|
+
"@agoric/vow": "0.1.1-dev-bb8d87e.0.bb8d87e",
|
|
53
|
+
"@agoric/zone": "0.2.3-dev-bb8d87e.0.bb8d87e",
|
|
54
54
|
"@endo/bundle-source": "^4.3.2",
|
|
55
55
|
"@endo/captp": "^4.5.1",
|
|
56
56
|
"@endo/common": "^1.4.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"yargs-parser": "^21.1.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
70
|
+
"@agoric/kmarshal": "0.1.1-dev-bb8d87e.0.bb8d87e",
|
|
71
71
|
"@endo/init": "^1.1.13",
|
|
72
72
|
"ava": "^7.0.0",
|
|
73
73
|
"c8": "^10.1.3",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
97
|
"typeCoverage": {
|
|
98
|
-
"atLeast": 84.
|
|
98
|
+
"atLeast": 84.74
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "bb8d87e22a0a5c7b2579588108517c2378e7d5c2"
|
|
101
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cleanProposal.d.ts","sourceRoot":"","sources":["cleanProposal.js"],"names":[],"mappings":"AASA,iCAAkC,GAAG,CAAC;AAkB/B,sDAYN;AAMM,oDAHI;IAAC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GACnB,MAAM,EAAE,CAcpB;AAEM;;EAsBN;AAQM,sEAJI,OAAO,uBACP,GAAC,GACC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"cleanProposal.d.ts","sourceRoot":"","sources":["cleanProposal.js"],"names":[],"mappings":"AASA,iCAAkC,GAAG,CAAC;AAkB/B,sDAYN;AAMM,oDAHI;IAAC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GACnB,MAAM,EAAE,CAcpB;AAEM;;EAsBN;AAQM,sEAJI,OAAO,uBACP,GAAC,GACC,mBAAmB,CAY/B;AA4CM,wCAJI,QAAQ,uBACR,mBAAmB,GACjB,cAAc,CA6B1B;yCA9JyE,aAAa;8BAAb,aAAa;yCACjD,qBAAqB;oCADe,aAAa"}
|
package/src/cleanProposal.js
CHANGED
|
@@ -20,15 +20,15 @@ export const provideQuoteMint = baggage => {
|
|
|
20
20
|
baggage,
|
|
21
21
|
'quoteMintIssuerBaggage',
|
|
22
22
|
);
|
|
23
|
-
/** @type {IssuerKit<'set', PriceDescription>} */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
const issuerKit = /** @type {IssuerKit<'set', PriceDescription>} */ (
|
|
24
|
+
prepareIssuerKit(
|
|
25
|
+
issuerBaggage,
|
|
26
|
+
'quote',
|
|
27
|
+
AssetKind.SET,
|
|
28
|
+
undefined,
|
|
29
|
+
undefined,
|
|
30
|
+
{ recoverySetsOption: 'noRecoverySets' },
|
|
31
|
+
)
|
|
32
32
|
);
|
|
33
33
|
return issuerKit.mint;
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issuerStorage.d.ts","sourceRoot":"","sources":["issuerStorage.js"],"names":[],"mappings":"AA4BO,iDAFI,OAAO;2DAwHL,mBAAmB,KACjB,OAAO,CAAC;QAAE,OAAO,EAAE,mBAAmB,CAAC;QAC7B,MAAM,EAAE,kBAAkB,CAAA;KAAE,CAAC;2BAnDzC,KAAK,MAAM,CAAC,KACV,OAAO,CAAE,eAAe,CAAC;sCAzB3B,eAAe,KACb,eAAe;;wBAyFH,CAAC,SAAb,SAAW,UACb,OAAO,CAAC,CAAC,KACP,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"issuerStorage.d.ts","sourceRoot":"","sources":["issuerStorage.js"],"names":[],"mappings":"AA4BO,iDAFI,OAAO;2DAwHL,mBAAmB,KACjB,OAAO,CAAC;QAAE,OAAO,EAAE,mBAAmB,CAAC;QAC7B,MAAM,EAAE,kBAAkB,CAAA;KAAE,CAAC;2BAnDzC,KAAK,MAAM,CAAC,KACV,OAAO,CAAE,eAAe,CAAC;sCAzB3B,eAAe,KACb,eAAe;;wBAyFH,CAAC,SAAb,SAAW,UACb,OAAO,CAAC,CAAC,KACP,MAAM,CAAC,CAAC;wBAQI,CAAC,SAAb,SAAW,SACb,MAAM,CAAC,CAAC,KACN,OAAO,CAAC,CAAC;gCAQX,MAAM,EAAE,KACN,aAAa;;EA2B3B;6BArMyB,kBAAkB;yCAD+B,aAAa;wCAAb,aAAa;4BAK/D,cAAc;0BAEhB,aAAa;qCAPuC,aAAa;yCAElD,qBAAqB;+BAH/B,cAAc;2BAKlB,cAAc;mCADN,qBAAqB"}
|
package/src/issuerStorage.js
CHANGED
|
@@ -167,8 +167,7 @@ export const provideIssuerStorage = zcfBaggage => {
|
|
|
167
167
|
*/
|
|
168
168
|
const getBrandForIssuer = issuer => {
|
|
169
169
|
assertInstantiated();
|
|
170
|
-
|
|
171
|
-
return issuerToIssuerRecord.get(issuer).brand;
|
|
170
|
+
return /** @type {Brand<K>} */ (issuerToIssuerRecord.get(issuer).brand);
|
|
172
171
|
};
|
|
173
172
|
|
|
174
173
|
/**
|
|
@@ -178,8 +177,7 @@ export const provideIssuerStorage = zcfBaggage => {
|
|
|
178
177
|
*/
|
|
179
178
|
const getIssuerForBrand = brand => {
|
|
180
179
|
assertInstantiated();
|
|
181
|
-
|
|
182
|
-
return brandToIssuerRecord.get(brand).issuer;
|
|
180
|
+
return /** @type {Issuer<K>} */ (brandToIssuerRecord.get(brand).issuer);
|
|
183
181
|
};
|
|
184
182
|
|
|
185
183
|
/**
|
package/src/zoeService/zoe.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ export function makeDurableZoeKit({ zoeBaggage, vatAdminSvc, shutdownZoeVat, fee
|
|
|
31
31
|
zoeConfigFacet: import("@endo/exo").Guarded<{
|
|
32
32
|
updateZcfBundleId(bundleId: any): void;
|
|
33
33
|
}>;
|
|
34
|
-
/** @type {FeeMintAccess} */
|
|
35
34
|
feeMintAccess: FeeMintAccess;
|
|
36
35
|
setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
|
|
37
36
|
};
|
|
@@ -56,7 +55,6 @@ export function makeZoeKit(vatAdminSvc?: Promise<VatAdminSvc> | VatAdminSvc, shu
|
|
|
56
55
|
zoeConfigFacet: import("@endo/exo").Guarded<{
|
|
57
56
|
updateZcfBundleId(bundleId: any): void;
|
|
58
57
|
}>;
|
|
59
|
-
/** @type {FeeMintAccess} */
|
|
60
58
|
feeMintAccess: FeeMintAccess;
|
|
61
59
|
setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
|
|
62
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":";qBAgSa,UAAU,CAAC,OAAO,iBAAiB,CAAC;AAtQjD;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AACH,0GAVG;IAAyB,UAAU,EAA3B,OAAO;IACsC,WAAW;IAG1B,cAAc;IAGlB,eAAe;IACvB,OAAO;CACnC;;;;;mBAgN6B,aAAa;;EAG1C;AAED;;;;;;;;;;;;;;;GAeG;AACH,yCATW,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,mBAGlC,mBAAmB,oBAGnB,eAAe,YACf,OAAO;;;;;mBAnBY,aAAa;;EA4BvC;6BA9PsB,kBAAkB;iCADkB,sBAAsB;yCAAtB,sBAAsB;qCAEd,YAAY;6BAAZ,YAAY;gCAAZ,YAAY;mCAAZ,YAAY"}
|
package/src/zoeService/zoe.js
CHANGED
|
@@ -252,9 +252,7 @@ const makeDurableZoeKit = ({
|
|
|
252
252
|
return harden({
|
|
253
253
|
zoeService,
|
|
254
254
|
zoeConfigFacet,
|
|
255
|
-
/** @type {FeeMintAccess} */
|
|
256
|
-
// @ts-expect-error cast
|
|
257
|
-
feeMintAccess: feeMintKit.feeMintAccess,
|
|
255
|
+
feeMintAccess: /** @type {FeeMintAccess} */ (feeMintKit.feeMintAccess),
|
|
258
256
|
setVatAdminService,
|
|
259
257
|
});
|
|
260
258
|
};
|