@agoric/zoe 0.26.3-dev-7832dde.0 → 0.26.3-dev-cd45c09.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/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-cd45c09.0+cd45c09",
|
|
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-cd45c09.0+cd45c09",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-cd45c09.0+cd45c09",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-cd45c09.0+cd45c09",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-cd45c09.0+cd45c09",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-cd45c09.0+cd45c09",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-cd45c09.0+cd45c09",
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-cd45c09.0+cd45c09",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-cd45c09.0+cd45c09",
|
|
54
|
+
"@agoric/vat-data": "0.5.3-dev-cd45c09.0+cd45c09",
|
|
55
|
+
"@agoric/vow": "0.1.1-dev-cd45c09.0+cd45c09",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-cd45c09.0+cd45c09",
|
|
57
57
|
"@endo/bundle-source": "^4.0.0",
|
|
58
58
|
"@endo/captp": "^4.4.5",
|
|
59
59
|
"@endo/common": "^1.2.10",
|
|
@@ -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-cd45c09.0+cd45c09",
|
|
74
74
|
"@endo/init": "^1.1.9",
|
|
75
75
|
"ava": "^5.3.0",
|
|
76
76
|
"c8": "^10.1.3",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"typeCoverage": {
|
|
101
101
|
"atLeast": 84.69
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "cd45c09e3b855745d1e641534f7d547bfa95ad74"
|
|
104
104
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function prepareOwnable<MN extends (string | symbol)[]>(zone: import("@agoric/base-zone").Zone, makeInvitation: ZCF["makeInvitation"], uKindName: string, uMethodNames: MN, options?: OwnableOptions): <U>(underlying: U) =>
|
|
1
|
+
export function prepareOwnable<MN extends (string | symbol)[]>(zone: import("@agoric/base-zone").Zone, makeInvitation: ZCF["makeInvitation"], uKindName: string, uMethodNames: MN, options?: OwnableOptions): <U>(underlying: U) => Partial<U> & {
|
|
2
2
|
makeTransferInvitation: () => Invitation<U>;
|
|
3
3
|
};
|
|
4
4
|
export type OwnableOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-ownable.d.ts","sourceRoot":"","sources":["prepare-ownable.js"],"names":[],"mappings":"AA0CO,+BAlB4B,EAAE,SAAvB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAG,QACvB,OAAO,mBAAmB,EAAE,IAAI,kBAChC,GAAG,CAAC,gBAAgB,CAAC,aAQrB,MAAM,gBAEN,EAAE,YAGF,cAAc,GACZ,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"prepare-ownable.d.ts","sourceRoot":"","sources":["prepare-ownable.js"],"names":[],"mappings":"AA0CO,+BAlB4B,EAAE,SAAvB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAG,QACvB,OAAO,mBAAmB,EAAE,IAAI,kBAChC,GAAG,CAAC,gBAAgB,CAAC,aAQrB,MAAM,gBAEN,EAAE,YAGF,cAAc,GACZ,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG;IAAC,sBAAsB,EAAE,MAAM,UAAU,CAAC,CAAC,CAAC,CAAA;CAAC,CA6D5F"}
|
|
@@ -38,7 +38,7 @@ const TransferProposalShape = M.splitRecord({
|
|
|
38
38
|
* The method names of the underlying exo class that should be represented
|
|
39
39
|
* by transparently-forwarding methods of the wrapping ownable object.
|
|
40
40
|
* @param {OwnableOptions} [options]
|
|
41
|
-
* @returns {<U>(underlying: U) =>
|
|
41
|
+
* @returns {<U>(underlying: U) => Partial<U> & {makeTransferInvitation: () => Invitation<U>}}
|
|
42
42
|
*/
|
|
43
43
|
export const prepareOwnable = (
|
|
44
44
|
zone,
|
|
@@ -94,6 +94,10 @@ export const prepareOwnable = (
|
|
|
94
94
|
);
|
|
95
95
|
|
|
96
96
|
const makeOwnable = underlying => makeRevocable(underlying);
|
|
97
|
+
// Using at-ts-ignore rather than at-ts-expect-error because the vscode
|
|
98
|
+
// ts server says it is an error but `yarn lint` says it is not.
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
100
|
+
// @ts-ignore Return type is more precise than revocable supports
|
|
97
101
|
return harden(makeOwnable);
|
|
98
102
|
};
|
|
99
103
|
harden(prepareOwnable);
|