@agoric/orchestration 0.1.1-dev-16095c5.0 → 0.1.1-dev-980ff41.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/index.js +1 -3
- package/package.json +16 -16
- package/src/cosmos-api.d.ts +4 -4
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.ts +4 -4
- package/src/exos/chainAccountKit.d.ts.map +1 -1
- package/src/exos/chainAccountKit.js +0 -3
- package/src/exos/localchainAccountKit.d.ts +2 -2
- package/src/orchestration-api.d.ts +1 -1
- package/src/orchestration-api.d.ts.map +1 -1
- package/src/orchestration-api.ts +1 -1
- package/src/service.d.ts +14 -2
- package/src/service.d.ts.map +1 -1
- package/src/service.js +0 -3
package/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/// <reference types="@agoric/internal/exported" />
|
|
2
2
|
/// <reference types="@agoric/vats/src/core/types-ambient" />
|
|
3
|
-
|
|
4
|
-
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
|
|
5
|
-
import '@agoric/zoe/exported.js';
|
|
3
|
+
/// <reference types="@agoric/zoe/exported" />
|
|
6
4
|
|
|
7
5
|
export * from './src/types.js';
|
|
8
6
|
export * from './src/service.js';
|
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-980ff41.0+980ff41",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/assert": "0.6.1-dev-
|
|
35
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
36
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/network": "0.1.1-dev-
|
|
39
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
40
|
-
"@agoric/store": "0.9.3-dev-
|
|
41
|
-
"@agoric/time": "0.3.3-dev-
|
|
42
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
43
|
-
"@agoric/vats": "0.15.2-dev-
|
|
44
|
-
"@agoric/vow": "0.1.1-dev-
|
|
45
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
46
|
-
"@agoric/zone": "0.2.3-dev-
|
|
34
|
+
"@agoric/assert": "0.6.1-dev-980ff41.0+980ff41",
|
|
35
|
+
"@agoric/cosmic-proto": "0.4.1-dev-980ff41.0+980ff41",
|
|
36
|
+
"@agoric/ertp": "0.16.3-dev-980ff41.0+980ff41",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-980ff41.0+980ff41",
|
|
38
|
+
"@agoric/network": "0.1.1-dev-980ff41.0+980ff41",
|
|
39
|
+
"@agoric/notifier": "0.6.3-dev-980ff41.0+980ff41",
|
|
40
|
+
"@agoric/store": "0.9.3-dev-980ff41.0+980ff41",
|
|
41
|
+
"@agoric/time": "0.3.3-dev-980ff41.0+980ff41",
|
|
42
|
+
"@agoric/vat-data": "0.5.3-dev-980ff41.0+980ff41",
|
|
43
|
+
"@agoric/vats": "0.15.2-dev-980ff41.0+980ff41",
|
|
44
|
+
"@agoric/vow": "0.1.1-dev-980ff41.0+980ff41",
|
|
45
|
+
"@agoric/zoe": "0.26.3-dev-980ff41.0+980ff41",
|
|
46
|
+
"@agoric/zone": "0.2.3-dev-980ff41.0+980ff41",
|
|
47
47
|
"@endo/base64": "^1.0.5",
|
|
48
48
|
"@endo/far": "^1.1.2",
|
|
49
49
|
"@endo/marshal": "^1.5.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"access": "public"
|
|
84
84
|
},
|
|
85
85
|
"typeCoverage": {
|
|
86
|
-
"atLeast": 97.
|
|
86
|
+
"atLeast": 97.38
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "980ff41770a66215cd87f9ce6f12151fc4396fd6"
|
|
89
89
|
}
|
package/src/cosmos-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyJson } from '@agoric/cosmic-proto';
|
|
2
2
|
import type { Delegation, Redelegation, UnbondingDelegation } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
3
3
|
import type { TxBody } from '@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js';
|
|
4
|
-
import type { Brand, Payment, Purse } from '@agoric/ertp/
|
|
4
|
+
import type { Brand, Payment, Purse } from '@agoric/ertp/src/types.js';
|
|
5
5
|
import type { Port } from '@agoric/network';
|
|
6
6
|
import type { LocalIbcAddress, RemoteIbcAddress } from '@agoric/vats/tools/ibc-utils.js';
|
|
7
7
|
import type { AmountArg, ChainAddress, DenomAmount } from './types.js';
|
|
@@ -101,7 +101,7 @@ export interface StakingAccountActions {
|
|
|
101
101
|
* Undelegate multiple delegations (concurrently). To delegate independently, pass an array with one item.
|
|
102
102
|
* Resolves when the undelegation is complete and the tokens are no longer bonded. Note it may take weeks.
|
|
103
103
|
* The unbonding time is padded by 10 minutes to account for clock skew.
|
|
104
|
-
* @param
|
|
104
|
+
* @param delegations - the delegation to undelegate
|
|
105
105
|
*/
|
|
106
106
|
undelegate: (delegations: Delegation[]) => Promise<void>;
|
|
107
107
|
/**
|
|
@@ -132,8 +132,8 @@ export interface IcaAccount {
|
|
|
132
132
|
executeTx: (msgs: Proto3JSONMsg[]) => Promise<string>;
|
|
133
133
|
/**
|
|
134
134
|
* Submit a transaction on behalf of the remote account for execution on the remote chain.
|
|
135
|
-
* @param
|
|
136
|
-
* @param
|
|
135
|
+
* @param msgs - records for the transaction
|
|
136
|
+
* @param [opts] - optional parameters for the Tx, like `timeoutHeight` and `memo`
|
|
137
137
|
* @returns acknowledgement string
|
|
138
138
|
*/
|
|
139
139
|
executeEncodedTx: (msgs: AnyJson[], opts?: Partial<Omit<TxBody, 'messages'>>) => Promise<string>;
|
package/src/cosmos-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-api.d.ts","sourceRoot":"","sources":["cosmos-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cosmos-api.d.ts","sourceRoot":"","sources":["cosmos-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEvE,yCAAyC;AACzC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAG7B,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAA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,CAChB,IAAI,EAAE,OAAO,EAAE,EACf,IAAI,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,KACrC,OAAO,CAAC,MAAM,CAAC,CAAC;IACrB,6CAA6C;IAC7C,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C,sEAAsE;IACtE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B,eAAe,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3C,iDAAiD;IACjD,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;IACzC,gDAAgD;IAChD,eAAe,EAAE,MAAM,eAAe,CAAC;IACvC,oDAAoD;IACpD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD,CAAC"}
|
package/src/cosmos-api.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
UnbondingDelegation,
|
|
6
6
|
} from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js';
|
|
7
7
|
import type { TxBody } from '@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js';
|
|
8
|
-
import type { Brand, Payment, Purse } from '@agoric/ertp/
|
|
8
|
+
import type { Brand, Payment, Purse } from '@agoric/ertp/src/types.js';
|
|
9
9
|
import type { Port } from '@agoric/network';
|
|
10
10
|
import type {
|
|
11
11
|
LocalIbcAddress,
|
|
@@ -133,7 +133,7 @@ export interface StakingAccountActions {
|
|
|
133
133
|
* Undelegate multiple delegations (concurrently). To delegate independently, pass an array with one item.
|
|
134
134
|
* Resolves when the undelegation is complete and the tokens are no longer bonded. Note it may take weeks.
|
|
135
135
|
* The unbonding time is padded by 10 minutes to account for clock skew.
|
|
136
|
-
* @param
|
|
136
|
+
* @param delegations - the delegation to undelegate
|
|
137
137
|
*/
|
|
138
138
|
undelegate: (delegations: Delegation[]) => Promise<void>;
|
|
139
139
|
|
|
@@ -168,8 +168,8 @@ export interface IcaAccount {
|
|
|
168
168
|
executeTx: (msgs: Proto3JSONMsg[]) => Promise<string>;
|
|
169
169
|
/**
|
|
170
170
|
* Submit a transaction on behalf of the remote account for execution on the remote chain.
|
|
171
|
-
* @param
|
|
172
|
-
* @param
|
|
171
|
+
* @param msgs - records for the transaction
|
|
172
|
+
* @param [opts] - optional parameters for the Tx, like `timeoutHeight` and `memo`
|
|
173
173
|
* @returns acknowledgement string
|
|
174
174
|
*/
|
|
175
175
|
executeEncodedTx: (
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainAccountKit.d.ts","sourceRoot":"","sources":["chainAccountKit.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chainAccountKit.d.ts","sourceRoot":"","sources":["chainAccountKit.js"],"names":[],"mappings":"AAgCA;;;;;;;;;;;GAaG;AAcI;;QAqBC;;WAEG;;;;;;QAyBH;;;;;;WAMG;wFAFU,OAAO,CAAC,MAAM,CAAC;QAY5B;;WAEG;;;QAaH;;;WAGG;wBADQ,KAAK;;;;QAahB;;;;WAIG;;;;;GAyBR;qCAzJW,0BAA0B;;;;;4BAuBX,MAAM;;;;8BAoIrB,UAAU,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;0BAvK1C,mBAAmB;0BACP,iBAAiB;kCAKrB,aAAa;6BAHlB,sBAAsB;4BACvB,8CAA8C;gCAHpC,iBAAiB;4BAC3B,aAAa"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/** @file ChainAccount exo */
|
|
2
2
|
|
|
3
|
-
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
|
|
4
|
-
import '@agoric/network/exported.js';
|
|
5
|
-
|
|
6
3
|
import { NonNullish } from '@agoric/assert';
|
|
7
4
|
import { makeTracer } from '@agoric/internal';
|
|
8
5
|
import { V as E } from '@agoric/vow/vat.js';
|
|
@@ -5,7 +5,7 @@ export function prepareLocalchainAccountKit(baggage: import("@agoric/swingset-li
|
|
|
5
5
|
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit} makeRecorderKit
|
|
6
6
|
* @param {ZCF} zcf
|
|
7
7
|
*/
|
|
8
|
-
deposit(payment: Payment): Promise<import("@agoric/ertp/
|
|
8
|
+
deposit(payment: Payment): Promise<import("@agoric/ertp/src/types.js").NatAmount | import("@agoric/ertp/src/types.js").CopySetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/src/types.js").CopyBagAmount<import("@endo/patterns").Key>>;
|
|
9
9
|
executeTx<MT extends {
|
|
10
10
|
'@type': string;
|
|
11
11
|
}[]>(messages: MT): Promise<{ [K in keyof MT]: import("@agoric/cosmic-proto/vatsafe").ResponseTo<MT[K]>; }>;
|
|
@@ -19,7 +19,7 @@ export function prepareLocalchainAccountKit(baggage: import("@agoric/swingset-li
|
|
|
19
19
|
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit} makeRecorderKit
|
|
20
20
|
* @param {ZCF} zcf
|
|
21
21
|
*/
|
|
22
|
-
deposit(payment: Payment): Promise<import("@agoric/ertp/
|
|
22
|
+
deposit(payment: Payment): Promise<import("@agoric/ertp/src/types.js").NatAmount | import("@agoric/ertp/src/types.js").CopySetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/src/types.js").CopyBagAmount<import("@endo/patterns").Key>>;
|
|
23
23
|
executeTx<MT extends {
|
|
24
24
|
'@type': string;
|
|
25
25
|
}[]>(messages: MT): Promise<{ [K in keyof MT]: import("@agoric/cosmic-proto/vatsafe").ResponseTo<MT[K]>; }>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* - must not have chain-specific types without runtime narrowing by chain id
|
|
4
4
|
* - should remain relatively stable.
|
|
5
5
|
*/
|
|
6
|
-
import type { Amount, Brand, NatAmount, Payment } from '@agoric/ertp/
|
|
6
|
+
import type { Amount, Brand, NatAmount, Payment } from '@agoric/ertp/src/types.js';
|
|
7
7
|
import type { LocalChainAccount } from '@agoric/vats/src/localchain.js';
|
|
8
8
|
import type { Timestamp } from '@agoric/time';
|
|
9
9
|
import type { KnownChains } from './types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-api.d.ts","sourceRoot":"","sources":["orchestration-api.ts"],"names":[],"mappings":"AACA;;;;GAIG;AACH,OAAO,KAAK,EACV,MAAM,EACN,KAAK,EACL,SAAS,EACT,OAAO,EACR,MAAM,
|
|
1
|
+
{"version":3,"file":"orchestration-api.d.ts","sourceRoot":"","sources":["orchestration-api.ts"],"names":[],"mappings":"AACA;;;;GAIG;AACH,OAAO,KAAK,EACV,MAAM,EACN,KAAK,EACL,SAAS,EACT,OAAO,EACR,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAI3B;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,6EAA6E;AAC7E,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,MAAM,C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AK,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
package/src/orchestration-api.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
Brand,
|
|
10
10
|
NatAmount,
|
|
11
11
|
Payment,
|
|
12
|
-
} from '@agoric/ertp/
|
|
12
|
+
} from '@agoric/ertp/src/types.js';
|
|
13
13
|
import type { LocalChainAccount } from '@agoric/vats/src/localchain.js';
|
|
14
14
|
import type { Timestamp } from '@agoric/time';
|
|
15
15
|
import type { KnownChains } from './types.js';
|
package/src/service.d.ts
CHANGED
|
@@ -24,7 +24,13 @@ export function prepareOrchestrationTools(zone: Zone): {
|
|
|
24
24
|
provideICQConnection(controllerConnectionId: `connection-${number}`): Promise<import("@endo/exo").Guarded<{
|
|
25
25
|
getLocalAddress(): `/ibc-port/${string}`;
|
|
26
26
|
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
|
|
27
|
-
query(msgs: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto/tendermint/abci/types.js").RequestQuery>[]): Promise<import("@agoric/cosmic-proto").Base64Any<import("@agoric/cosmic-proto/tendermint/abci/types.js").ResponseQuery>[]>;
|
|
27
|
+
query(msgs: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto/tendermint/abci/types.js").RequestQuery>[]): Promise<import("@agoric/cosmic-proto").Base64Any<import("@agoric/cosmic-proto/tendermint/abci/types.js").ResponseQuery>[]>; /**
|
|
28
|
+
* @param {IBCConnectionID} hostConnectionId
|
|
29
|
+
* the counterparty connection_id
|
|
30
|
+
* @param {IBCConnectionID} controllerConnectionId
|
|
31
|
+
* self connection_id
|
|
32
|
+
* @returns {Promise<IcaAccount>}
|
|
33
|
+
*/
|
|
28
34
|
}>>;
|
|
29
35
|
};
|
|
30
36
|
}>;
|
|
@@ -47,7 +53,13 @@ export type ICQConnectionStore = import("@endo/pass-style").RemotableObject & im
|
|
|
47
53
|
connection: {
|
|
48
54
|
getLocalAddress(): `/ibc-port/${string}`;
|
|
49
55
|
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
|
|
50
|
-
query(msgs: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto/tendermint/abci/types.js").RequestQuery>[]): Promise<import("@agoric/cosmic-proto").Base64Any<import("@agoric/cosmic-proto/tendermint/abci/types.js").ResponseQuery>[]>;
|
|
56
|
+
query(msgs: import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto/tendermint/abci/types.js").RequestQuery>[]): Promise<import("@agoric/cosmic-proto").Base64Any<import("@agoric/cosmic-proto/tendermint/abci/types.js").ResponseQuery>[]>; /**
|
|
57
|
+
* @param {IBCConnectionID} hostConnectionId
|
|
58
|
+
* the counterparty connection_id
|
|
59
|
+
* @param {IBCConnectionID} controllerConnectionId
|
|
60
|
+
* self connection_id
|
|
61
|
+
* @returns {Promise<IcaAccount>}
|
|
62
|
+
*/
|
|
51
63
|
};
|
|
52
64
|
connectionHandler: {
|
|
53
65
|
onOpen(connection: import("@agoric/vow").Remote<import("@agoric/network").Connection>, localAddr: `/ibc-port/${string}`, remoteAddr: `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`): Promise<void>;
|
package/src/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["service.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["service.js"],"names":[],"mappings":"AAmDA;;;GAOG;AA4GI;;;;;;;YAzDC;;;;;;eAMG;;YAkBH;;;eAGG;;;;0QA3BH;;;;;;mBAMG;;;;EA6DV;;;;;;;;;;;;;;yBAjJY,QAAQ,CACpB,MAAU,mBAAmB,EAC7B,mBAAuB,CAAC,MAAM,mBAAmB,CAAC,CAC/C;;;;;kQA2EI;;;;;;WAMG;;;;;;;;iCAvDG;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,cAAc,EAAE,kBAAkB,CAAA;CAAE;iCAuH1D,UAAU,CAAC,OAAO,yBAAyB,CAAC;+BAC5C,UAAU,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;mCACtD,gBAAgB,CAAC,QAAQ,CAAC;0BAxKf,mBAAmB;gCAGoB,YAAY"}
|
package/src/service.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/** @file Orchestration service */
|
|
2
2
|
|
|
3
|
-
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
|
|
4
|
-
import '@agoric/network/exported.js';
|
|
5
|
-
|
|
6
3
|
import { V as E } from '@agoric/vow/vat.js';
|
|
7
4
|
import { M } from '@endo/patterns';
|
|
8
5
|
import { Shape as NetworkShape } from '@agoric/network';
|