@agoric/zoe 0.26.3-dev-2dc53d7.0 → 0.26.3-dev-0f94e34.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 +96 -101
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +14 -14
- package/src/contractSupport/types-ambient.js +1 -1
- package/src/types-ambient.js +1 -1
- package/src/zoeService/types-ambient.js +1 -1
- package/src/zoeService/utils.d.ts +8 -11
- package/src/zoeService/zoe.d.ts.map +1 -1
- package/src/zoeService/zoe.js +2 -4
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-0f94e34.0+0f94e34",
|
|
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/assert": "0.6.1-dev-
|
|
47
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
48
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
49
|
-
"@agoric/internal": "0.3.3-dev-
|
|
50
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
51
|
-
"@agoric/store": "0.9.3-dev-
|
|
52
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
53
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
54
|
-
"@agoric/time": "0.3.3-dev-
|
|
55
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-0f94e34.0+0f94e34",
|
|
47
|
+
"@agoric/base-zone": "0.1.1-dev-0f94e34.0+0f94e34",
|
|
48
|
+
"@agoric/ertp": "0.16.3-dev-0f94e34.0+0f94e34",
|
|
49
|
+
"@agoric/internal": "0.3.3-dev-0f94e34.0+0f94e34",
|
|
50
|
+
"@agoric/notifier": "0.6.3-dev-0f94e34.0+0f94e34",
|
|
51
|
+
"@agoric/store": "0.9.3-dev-0f94e34.0+0f94e34",
|
|
52
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-0f94e34.0+0f94e34",
|
|
53
|
+
"@agoric/swingset-vat": "0.32.3-dev-0f94e34.0+0f94e34",
|
|
54
|
+
"@agoric/time": "0.3.3-dev-0f94e34.0+0f94e34",
|
|
55
|
+
"@agoric/vat-data": "0.5.3-dev-0f94e34.0+0f94e34",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-0f94e34.0+0f94e34",
|
|
57
57
|
"@endo/bundle-source": "^3.2.3",
|
|
58
58
|
"@endo/captp": "^4.2.0",
|
|
59
59
|
"@endo/common": "^1.2.2",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"yargs-parser": "^21.1.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
71
|
+
"@agoric/kmarshal": "0.1.1-dev-0f94e34.0+0f94e34",
|
|
72
72
|
"@endo/init": "^1.1.2",
|
|
73
73
|
"ava": "^5.3.0",
|
|
74
74
|
"c8": "^9.1.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"typeCoverage": {
|
|
143
143
|
"atLeast": 84.91
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "0f94e34eb539b8f91c82d0877df836738e58cc69"
|
|
146
146
|
}
|
package/src/types-ambient.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Issuer } from '@agoric/ertp/exported.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TagContainer } from '@agoric/internal/src/tagged.js';
|
|
3
3
|
import type { Callable } from '@agoric/internal/src/utils.js';
|
|
4
4
|
import type { Baggage } from '@agoric/swingset-liveslots';
|
|
5
5
|
import type { VatUpgradeResults } from '@agoric/swingset-vat';
|
|
@@ -16,17 +16,14 @@ type ContractFacet<T extends {} = {}> = {
|
|
|
16
16
|
* Installation of a contract, typed by its start function.
|
|
17
17
|
*/
|
|
18
18
|
export type Installation<SF extends ContractStartFunction | unknown> =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
'StartFunction',
|
|
26
|
-
SF
|
|
27
|
-
>;
|
|
19
|
+
TagContainer<SF> &
|
|
20
|
+
RemotableObject & {
|
|
21
|
+
getBundle: () => SourceBundle;
|
|
22
|
+
getBundleLabel: () => string;
|
|
23
|
+
};
|
|
24
|
+
|
|
28
25
|
export type Instance<SF extends ContractStartFunction | unknown> =
|
|
29
|
-
RemotableObject &
|
|
26
|
+
TagContainer<SF> & RemotableObject & Handle<'Instance'>;
|
|
30
27
|
|
|
31
28
|
export type InstallationStart<I> =
|
|
32
29
|
I extends Installation<infer SF> ? SF : never;
|
|
@@ -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":"qBAiSa,UAAU,CAAC,OAAO,iBAAiB,CAAC;AA/PjD;;;;;;;;;;;;;GAaG;AACH;;;;;;;;;;;IA6MI,4BAA4B;mBAAjB,aAAa;;EAK3B;AAED;;;;;;;;;;;;;;;GAeG;AACH;;;;;IAvBI,4BAA4B;mBAAjB,aAAa;;EA8BxB;6BA7PuB,kBAAkB"}
|
package/src/zoeService/zoe.js
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* validate that.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
/// <reference types="@agoric/internal/exported" />
|
|
15
|
+
/// <reference types="@agoric/notifier/exported.js" />
|
|
14
16
|
/// <reference path="../internal-types.js" />
|
|
15
17
|
|
|
16
18
|
import { E } from '@endo/eventual-send';
|
|
@@ -26,10 +28,6 @@ import { getZcfBundleCap } from './createZCFVat.js';
|
|
|
26
28
|
import { defaultFeeIssuerConfig, prepareFeeMint } from './feeMint.js';
|
|
27
29
|
import { ZoeServiceI } from '../typeGuards.js';
|
|
28
30
|
|
|
29
|
-
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
|
|
30
|
-
import '@agoric/internal/exported.js';
|
|
31
|
-
import '@agoric/notifier/exported.js';
|
|
32
|
-
|
|
33
31
|
/** @import {Baggage} from '@agoric/vat-data' */
|
|
34
32
|
|
|
35
33
|
const { Fail } = assert;
|