@agoric/orchestration 0.1.1-dev-7f12e80.0 → 0.1.1-dev-e6c4837.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/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-e6c4837.0+e6c4837",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
37
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/internal": "0.3.3-dev-
|
|
40
|
-
"@agoric/network": "0.1.1-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
45
|
-
"@agoric/vats": "0.15.2-dev-
|
|
46
|
-
"@agoric/vow": "0.1.1-dev-
|
|
47
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
48
|
-
"@agoric/zone": "0.2.3-dev-
|
|
36
|
+
"@agoric/async-flow": "0.1.1-dev-e6c4837.0+e6c4837",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-e6c4837.0+e6c4837",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-e6c4837.0+e6c4837",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-e6c4837.0+e6c4837",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-e6c4837.0+e6c4837",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-e6c4837.0+e6c4837",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-e6c4837.0+e6c4837",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-e6c4837.0+e6c4837",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-e6c4837.0+e6c4837",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-e6c4837.0+e6c4837",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-e6c4837.0+e6c4837",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-e6c4837.0+e6c4837",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-e6c4837.0+e6c4837",
|
|
49
49
|
"@endo/base64": "^1.0.6",
|
|
50
50
|
"@endo/errors": "^1.2.4",
|
|
51
51
|
"@endo/far": "^1.1.4",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@noble/hashes": "github:paulmillr/noble-hashes#ae060da"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
57
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-e6c4837.0+e6c4837",
|
|
58
58
|
"@chain-registry/client": "^1.47.4",
|
|
59
59
|
"@cosmjs/amino": "^0.32.3",
|
|
60
60
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"typeCoverage": {
|
|
95
95
|
"atLeast": 98.1
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "e6c48371a7bec8756f679ae6608f8ab4d47321df"
|
|
98
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAnywhere.flows.d.ts","sourceRoot":"","sources":["sendAnywhere.flows.js"],"names":[],"mappings":"AAuBO,6BAPI,YAAY,oCAEpB;IAA4E,aAAa,EAAjF;QAAE,YAAY,CAAC,EAAE,qBAAqB,GAAG,mBAAmB,CAAA;KAAE;IACtB,aAAa,EAArD,QAAQ,QAAQ,CAAC,eAAe,CAAC,CAAC;CAC1C,QAAQ,OAAO,aACP;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"sendAnywhere.flows.d.ts","sourceRoot":"","sources":["sendAnywhere.flows.js"],"names":[],"mappings":"AAuBO,6BAPI,YAAY,oCAEpB;IAA4E,aAAa,EAAjF;QAAE,YAAY,CAAC,EAAE,qBAAqB,GAAG,mBAAmB,CAAA;KAAE;IACtB,aAAa,EAArD,QAAQ,QAAQ,CAAC,eAAe,CAAC,CAAC;CAC1C,QAAQ,OAAO,aACP;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,iBAyCjD;kCAxD6F,aAAa;2CAAb,aAAa;yCAAb,aAAa;8BADhF,uBAAuB;6BADxB,oBAAoB"}
|
package/src/exos/packet-tools.js
CHANGED
|
@@ -109,7 +109,7 @@ export const preparePacketTools = (zone, vowTools) => {
|
|
|
109
109
|
}),
|
|
110
110
|
utils: M.interface('utils', {
|
|
111
111
|
subscribeToTransfers: M.call().returns(M.promise()),
|
|
112
|
-
unsubscribeFromTransfers: M.call().returns(M.
|
|
112
|
+
unsubscribeFromTransfers: M.call().returns(M.undefined()),
|
|
113
113
|
incrPendingPatterns: M.call().returns(Vow$(M.undefined())),
|
|
114
114
|
decrPendingPatterns: M.call().returns(Vow$(M.undefined())),
|
|
115
115
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoe-tools.d.ts","sourceRoot":"","sources":["zoe-tools.js"],"names":[],"mappings":"AAkCO,mCAHI,IAAI,qBACJ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE;;
|
|
1
|
+
{"version":3,"file":"zoe-tools.d.ts","sourceRoot":"","sources":["zoe-tools.js"],"names":[],"mappings":"AAkCO,mCAHI,IAAI,qBACJ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE;;EAiD1C;4CAnEY;IACZ,gBAAoB,EAAE,gBAAgB,CAAC;IACvC,iBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,GAAG,CAAC,CAAC,CAAC;CAC7D;4BAMS,CACZ,OAAW,EAAE,OAAO,EACpB,YAAgB,EAAE,mBAAmB,EACrC,IAAQ,EAAE,mBAAmB,KACtB,OAAO,CAAC,IAAI,CAAC;uBAuDP,UAAU,CAAC,OAAO,YAAY,CAAC;0BA1EtB,cAAc;8BADL,aAAa;yCAGP,aAAa;yBAHnB,aAAa;sCAFV,mCAAmC;yCAChC,2CAA2C"}
|
package/src/utils/zoe-tools.js
CHANGED
|
@@ -64,13 +64,15 @@ export const makeZoeTools = (zone, { zcf, vowTools }) => {
|
|
|
64
64
|
|
|
65
65
|
// Now all the `give` are accessible, so we can move them to the localAccount`
|
|
66
66
|
|
|
67
|
-
const
|
|
67
|
+
const depositVs = Object.entries(give).map(async ([kw, _amount]) => {
|
|
68
68
|
const pmt = await E(userSeat).getPayout(kw);
|
|
69
69
|
// TODO arrange recovery on upgrade of pmt?
|
|
70
70
|
return localAccount.deposit(pmt);
|
|
71
71
|
});
|
|
72
|
-
await
|
|
72
|
+
await vowTools.when(vowTools.allVows(depositVs));
|
|
73
73
|
// TODO remove userSeat from baggage
|
|
74
|
+
// TODO reject non-vbank issuers
|
|
75
|
+
// TODO recover failed deposits
|
|
74
76
|
},
|
|
75
77
|
);
|
|
76
78
|
|