@agoric/orchestration 0.1.1-dev-7bde505.0 → 0.1.1-dev-0889e20.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 +17 -17
- package/src/examples/sendAnywhere.contract.d.ts +7 -2
- package/src/examples/sendAnywhere.contract.d.ts.map +1 -1
- package/src/examples/sendAnywhere.contract.js +3 -1
- package/src/examples/sendAnywhereFlows.d.ts +11 -7
- package/src/examples/sendAnywhereFlows.d.ts.map +1 -1
- package/src/examples/sendAnywhereFlows.js +7 -4
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.js +7 -8
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +1 -2
- package/src/facade.d.ts +7 -5
- package/src/facade.d.ts.map +1 -1
- package/src/facade.js +33 -8
- package/src/typeGuards.d.ts +1 -12
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +2 -7
- package/src/utils/orchestrationAccount.js +7 -3
- package/src/utils/start-helper.d.ts +3 -5
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/zoe-tools.d.ts +1 -0
- package/src/utils/zoe-tools.d.ts.map +1 -1
- package/src/utils/zoe-tools.js +1 -0
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-0889e20.0+0889e20",
|
|
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-0889e20.0+0889e20",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-0889e20.0+0889e20",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-0889e20.0+0889e20",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-0889e20.0+0889e20",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-0889e20.0+0889e20",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-0889e20.0+0889e20",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-0889e20.0+0889e20",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-0889e20.0+0889e20",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-0889e20.0+0889e20",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-0889e20.0+0889e20",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-0889e20.0+0889e20",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-0889e20.0+0889e20",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-0889e20.0+0889e20",
|
|
49
49
|
"@endo/base64": "^1.0.5",
|
|
50
50
|
"@endo/errors": "^1.2.2",
|
|
51
51
|
"@endo/far": "^1.1.2",
|
|
@@ -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-0889e20.0+0889e20",
|
|
58
58
|
"@chain-registry/client": "^1.47.4",
|
|
59
59
|
"@cosmjs/amino": "^0.32.3",
|
|
60
60
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
94
|
"typeCoverage": {
|
|
95
|
-
"atLeast": 98.
|
|
95
|
+
"atLeast": 98.09
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "0889e20ecbab673e536d0ca194e3082ceb0baf16"
|
|
98
98
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* @import {TimerService} from '@agoric/time';
|
|
3
3
|
* @import {LocalChain} from '@agoric/vats/src/localchain.js';
|
|
4
4
|
* @import {NameHub} from '@agoric/vats';
|
|
5
|
-
* @import {Remote} from '@agoric/vow';
|
|
5
|
+
* @import {Remote, Vow} from '@agoric/vow';
|
|
6
6
|
* @import {Zone} from '@agoric/zone';
|
|
7
|
+
* @import {VBankAssetDetail} from '@agoric/vats/tools/board-utils.js';
|
|
7
8
|
* @import {CosmosChainInfo, IBCConnectionInfo} from '../cosmos-api';
|
|
8
9
|
* @import {CosmosInterchainService} from '../exos/cosmos-interchain-service.js';
|
|
9
10
|
* @import {OrchestrationTools} from '../utils/start-helper.js';
|
|
@@ -22,7 +23,10 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
22
23
|
marshaller: Marshaller;
|
|
23
24
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
24
25
|
publicFacet: import("@endo/exo").Guarded<{
|
|
25
|
-
makeSendInvitation(): Promise<Invitation<
|
|
26
|
+
makeSendInvitation(): Promise<Invitation<Vow<void>, {
|
|
27
|
+
chainName: string;
|
|
28
|
+
destAddr: string;
|
|
29
|
+
}>>;
|
|
26
30
|
}>;
|
|
27
31
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
28
32
|
/**
|
|
@@ -46,6 +50,7 @@ export type OrchestrationPowers = {
|
|
|
46
50
|
timerService: Remote<TimerService>;
|
|
47
51
|
agoricNames: Remote<NameHub>;
|
|
48
52
|
};
|
|
53
|
+
import type { Vow } from '@agoric/vow';
|
|
49
54
|
import type { IBCConnectionInfo } from '../cosmos-api';
|
|
50
55
|
import type { LocalChain } from '@agoric/vats/src/localchain.js';
|
|
51
56
|
import type { Remote } from '@agoric/vow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAnywhere.contract.d.ts","sourceRoot":"","sources":["sendAnywhere.contract.js"],"names":[],"mappings":"AAWA
|
|
1
|
+
{"version":3,"file":"sendAnywhere.contract.d.ts","sourceRoot":"","sources":["sendAnywhere.contract.js"],"names":[],"mappings":"AAWA;;;;;;;;;;GAUG;AAEH;;;;;;;;GAQG;AAEH,kEAKE;AAmGF;gBA5FiB,UAAU;;;;;;;;;QAmErB;;;WAGG;;;;;;;;4BADQ,iBAAiB;;GAuBe;kCAjHpC;IACZ,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,oBAAwB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC1D,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,YAAgB,EAAE,OAAO,YAAY,CAAC,CAAC;IACvC,WAAe,EAAE,OAAO,OAAO,CAAC,CAAC;CAC9B;yBAf0B,aAAa;uCAGU,eAAe;gCALvC,gCAAgC;4BAE/B,aAAa;6CAID,sCAAsC;kCAPjD,cAAc;6BAEnB,cAAc"}
|
|
@@ -13,8 +13,9 @@ import { orchestrationFns } from './sendAnywhereFlows.js';
|
|
|
13
13
|
* @import {TimerService} from '@agoric/time';
|
|
14
14
|
* @import {LocalChain} from '@agoric/vats/src/localchain.js';
|
|
15
15
|
* @import {NameHub} from '@agoric/vats';
|
|
16
|
-
* @import {Remote} from '@agoric/vow';
|
|
16
|
+
* @import {Remote, Vow} from '@agoric/vow';
|
|
17
17
|
* @import {Zone} from '@agoric/zone';
|
|
18
|
+
* @import {VBankAssetDetail} from '@agoric/vats/tools/board-utils.js';
|
|
18
19
|
* @import {CosmosChainInfo, IBCConnectionInfo} from '../cosmos-api';
|
|
19
20
|
* @import {CosmosInterchainService} from '../exos/cosmos-interchain-service.js';
|
|
20
21
|
* @import {OrchestrationTools} from '../utils/start-helper.js';
|
|
@@ -60,6 +61,7 @@ const contract = async (
|
|
|
60
61
|
);
|
|
61
62
|
|
|
62
63
|
// TODO should be a provided helper
|
|
64
|
+
/** @type {(brand: Brand) => Vow<VBankAssetDetail>} */
|
|
63
65
|
const findBrandInVBank = vowTools.retriable(
|
|
64
66
|
zone,
|
|
65
67
|
'findBrandInVBank',
|
|
@@ -2,23 +2,27 @@ export namespace orchestrationFns {
|
|
|
2
2
|
/**
|
|
3
3
|
* @param {Orchestrator} orch
|
|
4
4
|
* @param {object} ctx
|
|
5
|
-
* @param {{ account
|
|
6
|
-
* @param {
|
|
7
|
-
* @param {
|
|
5
|
+
* @param {{ account?: OrchestrationAccountI & LocalAccountMethods }} ctx.contractState
|
|
6
|
+
* @param {GuestOf<ZoeTools['localTransfer']>} ctx.localTransfer
|
|
7
|
+
* @param {(brand: Brand) => Promise<VBankAssetDetail>} ctx.findBrandInVBank
|
|
8
8
|
* @param {ZCFSeat} seat
|
|
9
9
|
* @param {{ chainName: string; destAddr: string }} offerArgs
|
|
10
10
|
*/
|
|
11
11
|
function sendIt(orch: Orchestrator, { contractState, localTransfer, findBrandInVBank }: {
|
|
12
12
|
contractState: {
|
|
13
|
-
account
|
|
13
|
+
account?: OrchestrationAccountI & LocalAccountMethods;
|
|
14
14
|
};
|
|
15
|
-
localTransfer:
|
|
16
|
-
findBrandInVBank:
|
|
15
|
+
localTransfer: GuestOf<ZoeTools["localTransfer"]>;
|
|
16
|
+
findBrandInVBank: (brand: Brand) => Promise<VBankAssetDetail>;
|
|
17
17
|
}, seat: ZCFSeat, offerArgs: {
|
|
18
18
|
chainName: string;
|
|
19
19
|
destAddr: string;
|
|
20
20
|
}): Promise<void>;
|
|
21
21
|
}
|
|
22
22
|
import type { Orchestrator } from '../types.js';
|
|
23
|
-
import type {
|
|
23
|
+
import type { OrchestrationAccountI } from '../types.js';
|
|
24
|
+
import type { LocalAccountMethods } from '../types.js';
|
|
25
|
+
import type { ZoeTools } from '../utils/zoe-tools.js';
|
|
26
|
+
import type { GuestOf } from '@agoric/async-flow';
|
|
27
|
+
import type { VBankAssetDetail } from '@agoric/vats/tools/board-utils.js';
|
|
24
28
|
//# sourceMappingURL=sendAnywhereFlows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAnywhereFlows.d.ts","sourceRoot":"","sources":["sendAnywhereFlows.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"sendAnywhereFlows.d.ts","sourceRoot":"","sources":["sendAnywhereFlows.js"],"names":[],"mappings":";IAeE;;;;;;;;OAQG;IACH,sBARW,YAAY,sDAEpB;QAAuE,aAAa,EAA5E;YAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,mBAAmB,CAAA;SAAE;QACjB,aAAa,EAArD,QAAQ,QAAQ,CAAC,eAAe,CAAC,CAAC;QACe,gBAAgB,EAAjE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,gBAAgB,CAAC;KACnD,QAAQ,OAAO,aACP;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,iBAsCjD;;kCAtD8F,aAAa;2CAAb,aAAa;yCAAb,aAAa;8BADnF,uBAAuB;6BAFxB,oBAAoB;sCACX,mCAAmC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { M, mustMatch } from '@endo/patterns';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @import {
|
|
4
|
+
* @import {GuestOf} from '@agoric/async-flow';
|
|
5
|
+
* @import {VBankAssetDetail} from '@agoric/vats/tools/board-utils.js';
|
|
6
|
+
* @import {ZoeTools} from '../utils/zoe-tools.js';
|
|
7
|
+
* @import {Orchestrator, OrchestrationAccount, LocalAccountMethods, OrchestrationAccountI} from '../types.js';
|
|
5
8
|
*/
|
|
6
9
|
|
|
7
10
|
const { entries } = Object;
|
|
@@ -13,9 +16,9 @@ export const orchestrationFns = harden({
|
|
|
13
16
|
/**
|
|
14
17
|
* @param {Orchestrator} orch
|
|
15
18
|
* @param {object} ctx
|
|
16
|
-
* @param {{ account
|
|
17
|
-
* @param {
|
|
18
|
-
* @param {
|
|
19
|
+
* @param {{ account?: OrchestrationAccountI & LocalAccountMethods }} ctx.contractState
|
|
20
|
+
* @param {GuestOf<ZoeTools['localTransfer']>} ctx.localTransfer
|
|
21
|
+
* @param {(brand: Brand) => Promise<VBankAssetDetail>} ctx.findBrandInVBank
|
|
19
22
|
* @param {ZCFSeat} seat
|
|
20
23
|
* @param {{ chainName: string; destAddr: string }} offerArgs
|
|
21
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"AAqDA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,mCAAmC;AACnC;;;;;;;;;;;;;;GAaG;AAgBI,2DALI,IAAI,mBACJ,eAAe,0BACf,QAAQ,OACR,GAAG;aAwDC,UAAU;iBACV,OAAO,WAAW,CAAC;mBACnB,aAAa,GAAG,SAAS;WACzB,OAAO,YAAY,CAAC;;;QAc3B,wDAAwD;;;QAWxD;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QAiBjB;;WAEG;8BADQ,SAAS,aAAa,CAAC,EAAE;;;QAYpC;;WAEG;4BADQ,MAAM;;IAgBnB;;;OAGG;;QAED,uDAAuD;4BAA3C,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;QAO5C,6BAA6B;4BAAjB,MAAM;;;QAYlB;;;WAGG;4BAFQ,sBAAsB,UACtB,SAAS;QAUpB;;;;WAIG;iCAHQ,sBAAsB,gBACtB,sBAAsB,UACtB,SAAS;QAYpB,gDAAgD;kCAApC,sBAAsB;QASlC,kEAAkE;gCAAtD,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,EAAE;;QAYlD;;;;WAIG;;;;QAMH,iEAAiE;;QAqBjE,+DAA+D;;QAiB/D,0DAA0D;;QAI1D,wDAAwD;;QAmBxD,2DAA2D;;QAK3D,0DAA0D;;QAyB1D,8DAA8D;;QAgB9D,0DAA0D;;QAsB1D,oDAAoD;;QAMpD,wDAAwD;;QAMxD,6DAA6D;;QAM7D,+DAA+D;;QAK/D,0DAA0D;;;GA6BjE;AAmBM,wDAVI,IAAI,mBACJ,eAAe,YACf,QAAQ,OACR,GAAG,GACD,CACZ,GAAO,IAAI,EAAE,UAAU,CACvB,UAAgB,CAAC,OAAO,oCAAoC,CAAC,CACxD,KACE,6BAA6B,CAAC,QAAQ,CAAC,CAe9C;;kBAtda,YAAY;;oBAIb;IACZ,QAAY,EAAE,YAAY,qCAAqC,CAAC,CAAC;IACjE,OAAW,EAAE,UAAU,CAAC;IACxB,YAAgB,EAAE,YAAY,CAAC;IAC/B,aAAiB,EAAE,aAAa,GAAG,SAAS,CAAC;IAC7C,SAAa,EAAE,MAAM,CAAC;IACtB,KAAS,EAAE,OAAO,YAAY,CAAC,CAAC;CAC7B;4CA8aS,UAAU,CACtB,UAAc,CAAC,OAAO,oCAAoC,CAAC,CACxD;yCA4BU,6BAA6B,CAAC,QAAQ,CAAC;0BAne9B,cAAc;qCAPU,6CAA6C;8BAM5D,aAAa;kCAPqH,aAAa;gCAAb,aAAa;4BAItJ,kBAAkB;mCAJuH,aAAa;kCAMhJ,cAAc;+BANqH,aAAa;0BAExJ,kDAAkD;mCAOzC,+CAA+C;8BACpD,sBAAsB;iCAViH,aAAa;yBAO/I,aAAa;4CAPqH,aAAa;gCAGlJ,wDAAwD;8BAH6E,aAAa;iCAChI,6CAA6C"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
/** @file Use-object for the owner of a staking account */
|
|
2
|
-
import { Fail } from '@endo/errors';
|
|
3
|
-
import { decodeBase64 } from '@endo/base64';
|
|
4
|
-
import { E } from '@endo/far';
|
|
5
2
|
import { toRequestQueryJson } from '@agoric/cosmic-proto';
|
|
6
3
|
import {
|
|
7
4
|
QueryBalanceRequest,
|
|
@@ -22,12 +19,14 @@ import { makeTracer } from '@agoric/internal';
|
|
|
22
19
|
import { Shape as NetworkShape } from '@agoric/network';
|
|
23
20
|
import { M } from '@agoric/vat-data';
|
|
24
21
|
import { VowShape } from '@agoric/vow';
|
|
22
|
+
import { decodeBase64 } from '@endo/base64';
|
|
23
|
+
import { Fail } from '@endo/errors';
|
|
24
|
+
import { E } from '@endo/far';
|
|
25
25
|
import {
|
|
26
26
|
AmountArgShape,
|
|
27
27
|
ChainAddressShape,
|
|
28
|
-
ChainAmountShape,
|
|
29
|
-
CoinShape,
|
|
30
28
|
DelegationShape,
|
|
29
|
+
DenomAmountShape,
|
|
31
30
|
} from '../typeGuards.js';
|
|
32
31
|
import { maxClockSkew, tryDecodeResponse } from '../utils/cosmos.js';
|
|
33
32
|
import { orchestrationAccountMethods } from '../utils/orchestrationAccount.js';
|
|
@@ -78,9 +77,9 @@ export const IcaAccountHolderI = M.interface('IcaAccountHolder', {
|
|
|
78
77
|
AmountArgShape,
|
|
79
78
|
).returns(VowShape),
|
|
80
79
|
withdrawReward: M.call(ChainAddressShape).returns(
|
|
81
|
-
Vow$(M.arrayOf(
|
|
80
|
+
Vow$(M.arrayOf(DenomAmountShape)),
|
|
82
81
|
),
|
|
83
|
-
withdrawRewards: M.call().returns(Vow$(M.arrayOf(
|
|
82
|
+
withdrawRewards: M.call().returns(Vow$(M.arrayOf(DenomAmountShape))),
|
|
84
83
|
undelegate: M.call(M.arrayOf(DelegationShape)).returns(VowShape),
|
|
85
84
|
});
|
|
86
85
|
|
|
@@ -130,7 +129,7 @@ export const prepareCosmosOrchestrationAccountKit = (
|
|
|
130
129
|
withdrawRewardWatcher: M.interface('withdrawRewardWatcher', {
|
|
131
130
|
onFulfilled: M.call(M.string())
|
|
132
131
|
.optional(M.arrayOf(M.undefined())) // empty context
|
|
133
|
-
.returns(M.arrayOf(
|
|
132
|
+
.returns(M.arrayOf(DenomAmountShape)),
|
|
134
133
|
}),
|
|
135
134
|
holder: IcaAccountHolderI,
|
|
136
135
|
invitationMakers: M.interface('invitationMakers', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"AA0EO,0DAPI,IAAI,mBACJ,eAAe,OACf,GAAG,gBACH,OAAO,YAAY,CAAC,mCACpB,QAAQ,YACR,QAAQ;aA6DJ,iBAAiB;aACjB,YAAY;iBACZ,OAAO,WAAW,CAAC;;;QAa1B;;;WAGG;mCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;QAYxB;;;WAGG;qCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;;;;QAiBxB;;;;;;WAMG;8BALQ,CACV,SACA,UAAgB,+CAA+C,CAAC,CAC3D,CACF;;;QAcJ;;;WAGG;6DADQ,YAAY;;;QAUvB;;;;;;;;;;WAUG;6DATQ,CACV;YAAM,eAAe,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;SAAE,EAC7D,MAAU,CACP,iCACO;YACV,WAAe,EAAE,YAAY,CAAC;YAC9B,IAAQ,EAAE,qBAAqB,CAAC;YAChC,MAAU,EAAE,WAAW,CAAC;SACrB;;;;IA4BN;;;OAGG;;QAED;;WAEG;6BADQ,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;;IAQvC;;;OAGG;;QAED;;WAEG;6BADQ,OAAO;;IAMpB;;;OAGG;;QAED;;;;WAIG;+BAHQ,MAAM,CAAC,KAAK,CAAC,SACb,WAAW,CAAC,OAAO,CAAC,GAClB,WAAW;;;QAOxB,iEAAiE;;QAqBjE;;;;WAIG;;QAeH,2DAA2D;;QAM3D;;WAEG;;QAiBH;;;WAGG;mCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;QAsBxB;;;;WAIG;qCAHQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC,GACX,IAAI,IAAI,GAAG,eAAe,CAAC;QAoBxC;;;;WAIG;QACH,mDAAmD;;QAOnD,oDAAoD;;QAIpD,qDAAqD;;;;;;;;;;QAIrD,kDAAkD;;;QAWlD;;;;;;;;WAQG;yBAPQ,SAAS,eAET,YAAY,6CAIV,IAAI,IAAI,CAAC;QA8BtB,6DAA6D;;;GAWpE;;aAxba,MAAM;;oBAIP;IACZ,QAAY,EAAE,YAAY,6BAA6B,CAAC,CAAC;IACzD,OAAW,EAAE,iBAAiB,CAAC;IAC/B,OAAW,EAAE,YAAY,CAAC;CACvB;+CAibU,UAAU,CAAC,OAAO,mCAAmC,CAAC;2CACtD,UAAU,CAAC,gCAAgC,CAAC;0BA3cnC,cAAc;qCADU,6CAA6C;kCAIhC,cAAc;4BAFjD,kBAAkB;8BAGC,aAAa;8BAG9B,gBAAgB;uCAVP,gCAAgC;kCACqF,uBAAuB;yBAMpI,aAAa;qCADG,cAAc;+BAEpC,sBAAsB;8BAAtB,sBAAsB;+BAP6F,uBAAuB;uCAAvB,uBAAuB;2CAAvB,uBAAuB;iCAAvB,uBAAuB;+BAAvB,uBAAuB;iCACjI,6CAA6C"}
|
|
@@ -8,7 +8,6 @@ import { VowShape } from '@agoric/vow';
|
|
|
8
8
|
import { E } from '@endo/far';
|
|
9
9
|
import {
|
|
10
10
|
ChainAddressShape,
|
|
11
|
-
ChainAmountShape,
|
|
12
11
|
DenomAmountShape,
|
|
13
12
|
DenomShape,
|
|
14
13
|
IBCTransferOptionsShape,
|
|
@@ -105,7 +104,7 @@ export const prepareLocalOrchestrationAccountKit = (
|
|
|
105
104
|
.optional({
|
|
106
105
|
destination: ChainAddressShape,
|
|
107
106
|
opts: M.or(M.undefined(), IBCTransferOptionsShape),
|
|
108
|
-
amount:
|
|
107
|
+
amount: DenomAmountShape,
|
|
109
108
|
})
|
|
110
109
|
.returns(Vow$(M.record())),
|
|
111
110
|
}),
|
package/src/facade.d.ts
CHANGED
|
@@ -15,12 +15,14 @@ export function makeOrchestrationFacade({ zone, timerService, zcf, storageNode,
|
|
|
15
15
|
getFlowForOutcomeVow(outcomeVow: any): any;
|
|
16
16
|
}>;
|
|
17
17
|
orchestrate: <GR, HC, GA extends any[]>(durableName: string, hostCtx: HC, guestFn: (guestOrc: Orchestrator, guestCtx: GuestInterface<HC>, ...args: GA) => Promise<GR>) => (...args: HostArgs<GA>) => Vow<GR>;
|
|
18
|
-
orchestrateAll:
|
|
19
|
-
[durableName: string]: (...args: any[]) => any
|
|
20
|
-
}, hostCtx:
|
|
21
|
-
[k: string]: (...args: any[]) => Vow<any>;
|
|
22
|
-
};
|
|
18
|
+
orchestrateAll: <HC, GFM extends {
|
|
19
|
+
[durableName: string]: (orc: Orchestrator, ctx: GuestInterface<HC>, ...args: any[]) => Promise<any>;
|
|
20
|
+
}>(guestFns: GFM, hostCtx: HC) => { [N in keyof GFM]: HostForGuest<GFM[N]>; };
|
|
23
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* For a given guest passed to orchestrate(), return the host-side form.
|
|
24
|
+
*/
|
|
25
|
+
export type HostForGuest<GF extends (orc: Orchestrator, ctx: any, ...args: any[]) => Promise<any>> = GF extends (orc: Orchestrator, ctx: any, ...args: infer GA) => Promise<infer GR> ? (...args: HostArgs<GA>) => Vow<GR> : never;
|
|
24
26
|
export type OrchestrationFacade = ReturnType<typeof makeOrchestrationFacade>;
|
|
25
27
|
import type { Zone } from '@agoric/zone';
|
|
26
28
|
import type { TimerService } from '@agoric/time';
|
package/src/facade.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facade.d.ts","sourceRoot":"","sources":["facade.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facade.d.ts","sourceRoot":"","sources":["facade.js"],"names":[],"mappings":"AA0CO,sKAZI;IACV,IAAQ,EAAE,IAAI,CAAC;IACf,YAAgB,EAAE,OAAO,YAAY,CAAC,CAAC;IACvC,GAAO,EAAE,GAAG,CAAC;IACb,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,oBAAwB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC1D,eAAmB,EAAE,eAAe,CAAC;IACrC,gBAAoB,EAAE,MAAM,gBAAgB,CAAC;IAC7C,QAAY,EAAE,QAAQ,CAAC;IACvB,cAAkB,EAAE,cAAc,CAAC;CAChC;;;;;;kBA4BW,EAAE,EACF,EAAE,EACM,EAAE,SAAT,GAAG,EAAG,eACT,MAAM,WAEN,EAAE,WACF,CACV,QAAY,EAAE,YAAY,EAC1B,QAAY,EAAE,eAAe,EAAE,CAAC,EAChC,GAAO,IAAI,EAAE,EAAE,KACR,OAAO,CAAC,EAAE,CAAC,KACN,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC;qBA2BlC,EAAE,EAOT,GAAG,SANI;QACZ,CAAK,WAAW,EAAE,MAAM,GAAG,CAC3B,GAAS,EAAE,YAAY,EACvB,GAAS,EAAE,eAAe,EAAE,CAAC,EAC7B,GAAS,IAAI,EAAE,GAAG,EAAE,KACX,OAAO,CAAC,GAAG,CAAC,CAAC;KAClB,YAEM,GAAG,WACH,EAAE,KACA,GAAG,CAAc,IAAT,MAAM,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAE;EAiBxD;;;;yBAnH4E,EAAE,SAAlE,CAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAE,IAC/D,EAAE,SAAS,CACvB,GAAO,EAAE,YAAY,EACrB,GAAO,EAAE,GAAG,EACZ,GAAO,IAAI,EAAE,MAAM,EAAE,KACd,OAAO,CAAC,MAAM,EAAE,CAAC,GAClB,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,GAClC,KAAK;kCA8GE,UAAU,CAAC,OAAO,uBAAuB,CAAC;0BAlIjC,cAAc;kCAEN,cAAc;4BAGpB,kBAAkB;6CACD,qCAAqC;qCAHhC,6CAA6C;sCACzD,wBAAwB;8BAH3B,aAAa;oCAFsB,oBAAoB;kCAQoB,YAAY;oCARpD,oBAAoB;8BAApB,oBAAoB;yBAEvD,aAAa"}
|
package/src/facade.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { assertAllDefined } from '@agoric/internal';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @import {AsyncFlowTools, GuestInterface, HostArgs} from '@agoric/async-flow';
|
|
6
|
+
* @import {AsyncFlowTools, GuestInterface, HostArgs, HostOf} from '@agoric/async-flow';
|
|
7
7
|
* @import {Zone} from '@agoric/zone';
|
|
8
8
|
* @import {Vow, VowTools} from '@agoric/vow';
|
|
9
9
|
* @import {TimerService} from '@agoric/time';
|
|
@@ -14,6 +14,19 @@ import { assertAllDefined } from '@agoric/internal';
|
|
|
14
14
|
* @import {Chain, ChainInfo, CosmosChainInfo, IBCConnectionInfo, OrchestrationAccount, Orchestrator} from './types.js';
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* For a given guest passed to orchestrate(), return the host-side form.
|
|
19
|
+
*
|
|
20
|
+
* @template {(orc: Orchestrator, ctx: any, ...args: any[]) => Promise<any>} GF
|
|
21
|
+
* @typedef {GF extends (
|
|
22
|
+
* orc: Orchestrator,
|
|
23
|
+
* ctx: any,
|
|
24
|
+
* ...args: infer GA
|
|
25
|
+
* ) => Promise<infer GR>
|
|
26
|
+
* ? (...args: HostArgs<GA>) => Vow<GR>
|
|
27
|
+
* : never} HostForGuest
|
|
28
|
+
*/
|
|
29
|
+
|
|
17
30
|
/**
|
|
18
31
|
* @param {{
|
|
19
32
|
* zone: Zone;
|
|
@@ -91,15 +104,27 @@ export const makeOrchestrationFacade = ({
|
|
|
91
104
|
*
|
|
92
105
|
* NOTE multiple calls to this with the same guestFn name will fail
|
|
93
106
|
*
|
|
94
|
-
* @
|
|
95
|
-
* @
|
|
107
|
+
* @template HC - host context
|
|
108
|
+
* @template {{
|
|
109
|
+
* [durableName: string]: (
|
|
110
|
+
* orc: Orchestrator,
|
|
111
|
+
* ctx: GuestInterface<HC>,
|
|
112
|
+
* ...args: any[]
|
|
113
|
+
* ) => Promise<any>;
|
|
114
|
+
* }} GFM
|
|
115
|
+
* guest fn map
|
|
116
|
+
* @param {GFM} guestFns
|
|
117
|
+
* @param {HC} hostCtx
|
|
118
|
+
* @returns {{ [N in keyof GFM]: HostForGuest<GFM[N]> }}
|
|
96
119
|
*/
|
|
97
120
|
const orchestrateAll = (guestFns, hostCtx) =>
|
|
98
|
-
|
|
99
|
-
Object.
|
|
100
|
-
name,
|
|
101
|
-
|
|
102
|
-
|
|
121
|
+
/** @type {{ [N in keyof GFM]: HostForGuest<GFM[N]> }} */ (
|
|
122
|
+
Object.fromEntries(
|
|
123
|
+
Object.entries(guestFns).map(([name, guestFn]) => [
|
|
124
|
+
name,
|
|
125
|
+
orchestrate(name, hostCtx, guestFn),
|
|
126
|
+
]),
|
|
127
|
+
)
|
|
103
128
|
);
|
|
104
129
|
|
|
105
130
|
return harden({
|
package/src/typeGuards.d.ts
CHANGED
|
@@ -18,18 +18,6 @@ export namespace Proto3Shape {
|
|
|
18
18
|
let typeUrl: import("@endo/patterns").Matcher;
|
|
19
19
|
let value: import("@endo/patterns").Matcher;
|
|
20
20
|
}
|
|
21
|
-
export namespace CoinShape {
|
|
22
|
-
let value_1: import("@endo/patterns").Matcher;
|
|
23
|
-
export { value_1 as value };
|
|
24
|
-
export let denom: import("@endo/patterns").Matcher;
|
|
25
|
-
}
|
|
26
|
-
export namespace ChainAmountShape {
|
|
27
|
-
let denom_1: import("@endo/patterns").Matcher;
|
|
28
|
-
export { denom_1 as denom };
|
|
29
|
-
let value_2: import("@endo/patterns").Matcher;
|
|
30
|
-
export { value_2 as value };
|
|
31
|
-
}
|
|
32
|
-
export const AmountArgShape: import("@endo/patterns").Matcher;
|
|
33
21
|
/** @type {TypedPattern<Delegation>} */
|
|
34
22
|
export const DelegationShape: TypedPattern<Delegation>;
|
|
35
23
|
export const IBCTransferOptionsShape: import("@endo/patterns").Matcher;
|
|
@@ -46,6 +34,7 @@ export const DenomShape: import("@endo/patterns").Matcher;
|
|
|
46
34
|
export const BrandInfoShape: import("@endo/patterns").Matcher;
|
|
47
35
|
/** @type {TypedPattern<DenomAmount>} */
|
|
48
36
|
export const DenomAmountShape: TypedPattern<DenomAmount>;
|
|
37
|
+
export const AmountArgShape: import("@endo/patterns").Matcher;
|
|
49
38
|
/** @see {Chain} */
|
|
50
39
|
export const ChainFacadeI: import("@endo/patterns").InterfaceGuard<{
|
|
51
40
|
getChainInfo: import("@endo/patterns").MethodGuard;
|
package/src/typeGuards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH;;;;GAIG;AACH;;;GAQE;AAEF,yCAAyC;AACzC,gCADW,aAAa,YAAY,CAAC,CAKnC
|
|
1
|
+
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH;;;;GAIG;AACH;;;GAQE;AAEF,yCAAyC;AACzC,gCADW,aAAa,YAAY,CAAC,CAKnC;;;;;AAQF,uCAAuC;AACvC,8BADW,aAAa,UAAU,CAAC,CAIhC;AAEH,uEAUE;AAEF,iEAA4C;AAC5C,mEAQG;AACH,oEAA+C;AAC/C,sEAYG;AAEH,4CAA4C;AAC5C,mCADW,aAAa,eAAe,CAAC,CAWtC;AAEF,sCAAsC;AACtC,6BADW,aAAa,SAAS,CAAC,CAG/B;AACH,sEAAuE;AACvE,0DAAqC;AAErC,8DAAsC;AAEtC,wCAAwC;AACxC,+BADW,aAAa,WAAW,CAAC,CACqC;AAEzE,8DAAkE;AAElE,mBAAmB;AACnB;;;GAGG;;;;;kCA1GqE,YAAY;kCADrD,kBAAkB;gCAEpB,wDAAwD;qCADb,YAAY;+BAAZ,YAAY;iCAAZ,YAAY"}
|
package/src/typeGuards.js
CHANGED
|
@@ -35,13 +35,6 @@ export const Proto3Shape = {
|
|
|
35
35
|
value: M.string(),
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
// XXX same as ChainAmountShape and DenomAmount type
|
|
39
|
-
export const CoinShape = { value: M.bigint(), denom: M.string() };
|
|
40
|
-
|
|
41
|
-
export const ChainAmountShape = harden({ denom: M.string(), value: M.nat() });
|
|
42
|
-
|
|
43
|
-
export const AmountArgShape = M.or(AmountShape, ChainAmountShape);
|
|
44
|
-
|
|
45
38
|
// FIXME missing `delegatorAddress` from the type
|
|
46
39
|
/** @type {TypedPattern<Delegation>} */
|
|
47
40
|
export const DelegationShape = harden({
|
|
@@ -111,6 +104,8 @@ export const BrandInfoShape = M.any();
|
|
|
111
104
|
/** @type {TypedPattern<DenomAmount>} */
|
|
112
105
|
export const DenomAmountShape = { denom: DenomShape, value: M.bigint() };
|
|
113
106
|
|
|
107
|
+
export const AmountArgShape = M.or(AmountShape, DenomAmountShape);
|
|
108
|
+
|
|
114
109
|
/** @see {Chain} */
|
|
115
110
|
export const ChainFacadeI = M.interface('ChainFacade', {
|
|
116
111
|
getChainInfo: M.call().returns(VowShape),
|
|
@@ -2,7 +2,11 @@ import { M } from '@endo/patterns';
|
|
|
2
2
|
import { Shape as NetworkShape } from '@agoric/network';
|
|
3
3
|
import { VowShape } from '@agoric/vow';
|
|
4
4
|
import { TopicsRecordShape } from '@agoric/zoe/src/contractSupport/topics.js';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
AmountArgShape,
|
|
7
|
+
ChainAddressShape,
|
|
8
|
+
DenomAmountShape,
|
|
9
|
+
} from '../typeGuards.js';
|
|
6
10
|
|
|
7
11
|
/** @import {OrchestrationAccountI} from '../orchestration-api.js'; */
|
|
8
12
|
|
|
@@ -11,8 +15,8 @@ const { Vow$ } = NetworkShape; // TODO #9611
|
|
|
11
15
|
/** @see {OrchestrationAccountI} */
|
|
12
16
|
export const orchestrationAccountMethods = {
|
|
13
17
|
getAddress: M.call().returns(ChainAddressShape),
|
|
14
|
-
getBalance: M.call(M.any()).returns(Vow$(
|
|
15
|
-
getBalances: M.call().returns(Vow$(M.arrayOf(
|
|
18
|
+
getBalance: M.call(M.any()).returns(Vow$(DenomAmountShape)),
|
|
19
|
+
getBalances: M.call().returns(Vow$(M.arrayOf(DenomAmountShape))),
|
|
16
20
|
send: M.call(ChainAddressShape, AmountArgShape).returns(VowShape),
|
|
17
21
|
transfer: M.call(AmountArgShape, ChainAddressShape)
|
|
18
22
|
.optional(M.record())
|
|
@@ -29,11 +29,9 @@ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: O
|
|
|
29
29
|
getFlowForOutcomeVow(outcomeVow: any): any;
|
|
30
30
|
}>;
|
|
31
31
|
orchestrate: <GR, HC, GA extends any[]>(durableName: string, hostCtx: HC, guestFn: (guestOrc: import("../orchestration-api.js").Orchestrator, guestCtx: import("@agoric/async-flow").GuestInterface<HC>, ...args: GA) => Promise<GR>) => (...args: import("@agoric/async-flow").HostArgs<GA>) => import("@agoric/vow").Vow<GR>;
|
|
32
|
-
orchestrateAll:
|
|
33
|
-
[durableName: string]: (...args: any[]) => any
|
|
34
|
-
}, hostCtx:
|
|
35
|
-
[k: string]: (...args: any[]) => import("@agoric/vow").Vow<any>;
|
|
36
|
-
};
|
|
32
|
+
orchestrateAll: <HC, GFM extends {
|
|
33
|
+
[durableName: string]: (orc: import("../orchestration-api.js").Orchestrator, ctx: import("@agoric/async-flow").GuestInterface<HC>, ...args: any[]) => Promise<any>;
|
|
34
|
+
}>(guestFns: GFM, hostCtx: HC) => { [N in keyof GFM]: HostForGuest<GFM[N]>; };
|
|
37
35
|
};
|
|
38
36
|
export function withOrchestration<CT extends Record<string, unknown>, PA extends OrchestrationPowers & {
|
|
39
37
|
marshaller: Marshaller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA8CO,0CALI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,UAAU;;;;;;;;;;;;;;;;;wCA+B+B,GAAG;;+BAjDjD,GAAG,+EAIY,GAAG,yCACA,GAAG;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA8CO,0CALI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,UAAU;;;;;;;;;;;;;;;;;wCA+B+B,GAAG;;+BAjDjD,GAAG,+EAIY,GAAG,yCACA,GAAG;;;;;;;;;;;6MAgCG,GAAW,8BAE9B,GAAG;;2IAkCM,GAAa;;EAiDhC;AAuBM,kCAdgC,EAAE,SAA3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,EAGhC,EAAE,SAFM,mBAAmB,GAAG;IACnC,UAAc,EAAE,UAAU,CAAC;CACvB,EACQ,CAAC,cACH,CACV,GAAO,EAAE,GAAG,CAAC,EAAE,CAAC,EAChB,WAAe,EAAE,EAAE,EACnB,IAAQ,EAAE,IAAI,EACd,KAAS,EAAE,kBAAkB,KACtB,OAAO,CAAC,CAAC,CAAC,GACL,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAYzE;kCA1JU;IACZ,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,oBAAwB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC1D,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,YAAgB,EAAE,OAAO,YAAY,CAAC,CAAC;IACvC,WAAe,EAAE,OAAO,OAAO,CAAC,CAAC;CAC9B;iCAuHU,IAAI,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,EAAE,MAAM,CAAC;6BArIzC,kBAAkB;0BAGrB,cAAc;gCALR,gCAAgC;4BAIpC,aAAa;6CAEI,sCAAsC;kCALrC,cAAc;6BAE/B,cAAc"}
|
package/src/utils/zoe-tools.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type ResolvedContinuingOfferResult = {
|
|
|
9
9
|
publicSubscribers: Record<string, ResolvedPublicTopic<any>>;
|
|
10
10
|
};
|
|
11
11
|
export type LocalTransfer = (srcSeat: ZCFSeat, localAccount: LocalAccountMethods, give: AmountKeywordRecord) => Promise<void>;
|
|
12
|
+
export type ZoeTools = ReturnType<typeof makeZoeTools>;
|
|
12
13
|
import type { Zone } from '@agoric/zone';
|
|
13
14
|
import type { VowTools } from '@agoric/vow';
|
|
14
15
|
import type { LocalAccountMethods } from '../types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoe-tools.d.ts","sourceRoot":"","sources":["zoe-tools.js"],"names":[],"mappings":"AAiCO,mCAHI,IAAI,qBACJ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE;;EA+C1C;4CAjEY;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;
|
|
1
|
+
{"version":3,"file":"zoe-tools.d.ts","sourceRoot":"","sources":["zoe-tools.js"],"names":[],"mappings":"AAiCO,mCAHI,IAAI,qBACJ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE;;EA+C1C;4CAjEY;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;uBAqDP,UAAU,CAAC,OAAO,YAAY,CAAC;0BAxEtB,cAAc;8BADL,aAAa;yCAGP,aAAa;yBAHnB,aAAa;sCAFV,mCAAmC;yCAChC,2CAA2C"}
|
package/src/utils/zoe-tools.js
CHANGED