@agoric/orchestration 0.1.1-dev-1321e4f.0.1321e4f → 0.1.1-dev-409d5b4.0.409d5b4

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 CHANGED
@@ -1,6 +1,6 @@
1
- /// <reference types="@agoric/internal/exported" />
2
- /// <reference types="@agoric/vats/src/core/types-ambient" />
3
- /// <reference types="@agoric/zoe/exported" />
1
+ /// <reference types="@agoric/internal/exported.js" />
2
+ /// <reference types="@agoric/vats/src/core/types-ambient.js" />
3
+ /// <reference types="@agoric/zoe/exported.js" />
4
4
 
5
5
  // eslint-disable-next-line import/export
6
6
  export * from './src/types-index.js'; // no named exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/orchestration",
3
- "version": "0.1.1-dev-1321e4f.0.1321e4f",
3
+ "version": "0.1.1-dev-409d5b4.0.409d5b4",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
37
37
  "dependencies": {
38
- "@agoric/async-flow": "0.1.1-dev-1321e4f.0.1321e4f",
39
- "@agoric/cosmic-proto": "0.4.1-dev-1321e4f.0.1321e4f",
40
- "@agoric/ertp": "0.16.3-dev-1321e4f.0.1321e4f",
41
- "@agoric/internal": "0.3.3-dev-1321e4f.0.1321e4f",
42
- "@agoric/network": "0.1.1-dev-1321e4f.0.1321e4f",
43
- "@agoric/notifier": "0.6.3-dev-1321e4f.0.1321e4f",
44
- "@agoric/store": "0.9.3-dev-1321e4f.0.1321e4f",
45
- "@agoric/time": "0.3.3-dev-1321e4f.0.1321e4f",
46
- "@agoric/vat-data": "0.5.3-dev-1321e4f.0.1321e4f",
47
- "@agoric/vats": "0.15.2-dev-1321e4f.0.1321e4f",
48
- "@agoric/vow": "0.1.1-dev-1321e4f.0.1321e4f",
49
- "@agoric/zoe": "0.26.3-dev-1321e4f.0.1321e4f",
50
- "@agoric/zone": "0.2.3-dev-1321e4f.0.1321e4f",
38
+ "@agoric/async-flow": "0.1.1-dev-409d5b4.0.409d5b4",
39
+ "@agoric/cosmic-proto": "0.4.1-dev-409d5b4.0.409d5b4",
40
+ "@agoric/ertp": "0.16.3-dev-409d5b4.0.409d5b4",
41
+ "@agoric/internal": "0.3.3-dev-409d5b4.0.409d5b4",
42
+ "@agoric/network": "0.1.1-dev-409d5b4.0.409d5b4",
43
+ "@agoric/notifier": "0.6.3-dev-409d5b4.0.409d5b4",
44
+ "@agoric/store": "0.9.3-dev-409d5b4.0.409d5b4",
45
+ "@agoric/time": "0.3.3-dev-409d5b4.0.409d5b4",
46
+ "@agoric/vat-data": "0.5.3-dev-409d5b4.0.409d5b4",
47
+ "@agoric/vats": "0.15.2-dev-409d5b4.0.409d5b4",
48
+ "@agoric/vow": "0.1.1-dev-409d5b4.0.409d5b4",
49
+ "@agoric/zoe": "0.26.3-dev-409d5b4.0.409d5b4",
50
+ "@agoric/zone": "0.2.3-dev-409d5b4.0.409d5b4",
51
51
  "@cosmjs/encoding": "^0.36.0",
52
52
  "@endo/base64": "^1.0.12",
53
53
  "@endo/errors": "^1.2.13",
@@ -59,7 +59,7 @@
59
59
  "bs58": "^6.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@agoric/swingset-liveslots": "0.10.3-dev-1321e4f.0.1321e4f",
62
+ "@agoric/swingset-liveslots": "0.10.3-dev-409d5b4.0.409d5b4",
63
63
  "@chain-registry/client": "^1.53.194",
64
64
  "@cosmjs/amino": "^0.36.0",
65
65
  "@cosmjs/proto-signing": "^0.36.0",
@@ -105,5 +105,5 @@
105
105
  "typeCoverage": {
106
106
  "atLeast": 97.46
107
107
  },
108
- "gitHead": "1321e4f23e1d88f8f5b35ae00273a5ba6001e46b"
108
+ "gitHead": "409d5b473e613fa67bb2fb022ee5e785f10d6b3d"
109
109
  }
@@ -2,7 +2,7 @@
2
2
  * sourced from https://developers.circle.com/stablecoins/supported-domains and
3
3
  * https://chainlist.org/ on 19 March 2025
4
4
  *
5
- * @satisfies {Record<string, import('./orchestration-api').BaseChainInfo>}
5
+ * @satisfies {Record<string, import('./orchestration-api.js').BaseChainInfo>}
6
6
  */
7
7
  export default /** @type {const} } */ ({
8
8
  ethereum: {
package/src/chain-info.js CHANGED
@@ -93,7 +93,7 @@ export const registerChain = async (
93
93
  .then(() => log(`registered agoricNames chain.${name}`)),
94
94
  ];
95
95
 
96
- const { chainId } = /** @type {import('./types').CosmosChainInfo} */ (
96
+ const { chainId } = /** @type {import('./types.js').CosmosChainInfo} */ (
97
97
  chainInfo
98
98
  );
99
99
  for (const [counterChainId, connInfo] of Object.entries(connections)) {
@@ -44,7 +44,7 @@ export type PacketOptions = {
44
44
  timeout?: PacketTimeout | undefined;
45
45
  meta?: Record<string, any> | undefined;
46
46
  };
47
- export type PacketTimeout = Pick<import("../cosmos-api").IBCMsgTransferOptions, "timeoutHeight" | "timeoutTimestamp">;
47
+ export type PacketTimeout = Pick<import("../cosmos-api.js").IBCMsgTransferOptions, "timeoutHeight" | "timeoutTimestamp">;
48
48
  export type PacketTools = Awaited<ReturnType<ReturnType<typeof preparePacketTools>>>;
49
49
  import type { VowTools } from '@agoric/vow';
50
50
  import type { Pattern } from '@endo/patterns';
@@ -1 +1 @@
1
- {"version":3,"file":"packet-tools.d.ts","sourceRoot":"","sources":["packet-tools.js"],"names":[],"mappings":"AAsEO,yCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ;;;;;;;;IAkGX;;OAEG;8BADQ,IAAI,CAAC,SAAS,CAAC;;;;8BA1IvB,KAAK,OAAO,CAAC,GACX,IAAI;QAAE,QAAQ,EAAE,YAAY,GAAG,CAAC,CAAC;QAAC,KAAK,EAAE,IAAI,GAAG,CAAC,CAAA;KAAE,CAAC;;IAoKzD;;;;OAIG;6CAHQ,OAAO,YAAY,CAAC,SACpB,aAAa,GACX,IAAI;Q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GAAG,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;GAwO5E;mCAhZU,KAAK,OAAO,CAAC,KACX,IAAI;IAAE,QAAQ,EAAE,YAAY,GAAG,CAAC,CAAC;IAAC,KAAK,EAAE,IAAI,GAAG,CAAC,CAAA;CAAE,CAAC;;gBAKnD,CACT,KAAK,EAAE,IAAI,SAAS,uBAAuB,CAAC,GAAG,SAAS,eAAe,CAAC,CAAC,EACzE,IAAI,EAAE,aAAa,KAChB,IAAI;QACP,YAAY,EAAE,OAAO,CAAC;QACtB,OAAO,EAAE,IAAI,GAAG,CAAC,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC3B,CAAC;;;;;;;4BAWQ,IAAI,CAChB,OAAW,kBAAkB,EAAE,qBAAqB,EACpD,eAAmB,GAAG,kBAAkB,CACrC;0BAyXS,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;8BA5ZZ,aAAa;6BAD9C,gBAAgB;+BAIM,mCAAmC;wCAAnC,mCAAmC;0BAHxB,aAAa;iCAAb,aAAa;yBAAb,aAAa;4BAAb,aAAa;8BAE1B,cAAc"}
@@ -52,7 +52,7 @@ const just = obj => {
52
52
 
53
53
  /**
54
54
  * @typedef {Pick<
55
- * import('../cosmos-api').IBCMsgTransferOptions,
55
+ * import('../cosmos-api.js').IBCMsgTransferOptions,
56
56
  * 'timeoutHeight' | 'timeoutTimestamp'
57
57
  * >} PacketTimeout
58
58
  */
@@ -1,4 +1,4 @@
1
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
1
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
2
2
 
3
3
  import {
4
4
  deeplyFulfilledObject,
@@ -5,7 +5,7 @@ import {
5
5
  } from '@agoric/internal';
6
6
  import { E } from '@endo/far';
7
7
 
8
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
8
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
9
9
 
10
10
  /**
11
11
  * @import {Installation} from '@agoric/zoe/src/zoeService/utils.js';
@@ -9,7 +9,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
9
9
  /**
10
10
  * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
11
11
  * @import {IBCConnectionID} from '@agoric/vats';
12
- * @import {StakeIcaSF, StakeIcaTerms} from '../examples/stake-ica.contract';
12
+ * @import {StakeIcaSF, StakeIcaTerms} from '../examples/stake-ica.contract.js';
13
13
  */
14
14
 
15
15
  const trace = makeTracer('StartStakeAtom', true);
@@ -9,7 +9,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
9
9
  /**
10
10
  * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
11
11
  * @import {IBCConnectionID} from '@agoric/vats';
12
- * @import {StakeIcaSF} from '../examples/stake-ica.contract';
12
+ * @import {StakeIcaSF} from '../examples/stake-ica.contract.js';
13
13
  */
14
14
 
15
15
  const trace = makeTracer('StartStakeOsmo', true);
@@ -5,7 +5,7 @@ import {
5
5
  } from '@agoric/internal';
6
6
  import { E } from '@endo/far';
7
7
 
8
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
8
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
9
9
 
10
10
  /**
11
11
  * @import {Installation} from '@agoric/zoe/src/zoeService/utils.js';
@@ -23,7 +23,7 @@ export function makeTimestampHelper(timer: Remote<TimerService>): {
23
23
  * @import {TimerService} from '@agoric/time';
24
24
  * @import {Remote} from '@agoric/internal';
25
25
  * @import {EReturn} from '@endo/far';
26
- * @import {IBCMsgTransferOptions} from '../cosmos-api';
26
+ * @import {IBCMsgTransferOptions} from '../cosmos-api.js';
27
27
  * @import {MsgTransfer} from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
28
28
  */
29
29
  export const SECONDS_PER_MINUTE: 60n;
@@ -33,6 +33,6 @@ export const NANOSECONDS_PER_SECOND: 1000000000n;
33
33
  export type TimestampHelper = EReturn<typeof makeTimestampHelper>;
34
34
  import type { TimerService } from '@agoric/time';
35
35
  import type { Remote } from '@agoric/internal';
36
- import type { IBCMsgTransferOptions } from '../cosmos-api';
36
+ import type { IBCMsgTransferOptions } from '../cosmos-api.js';
37
37
  import type { EReturn } from '@endo/far';
38
38
  //# sourceMappingURL=time.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["time.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,2CAFW,OAAO,YAAY,CAAC;IAI3B;;;;;;;;;;OAUG;4CAHQ,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC;IAc5B,4CAA4C;8BAAhC,qBAAqB;EAYpC;AAtDD;;;;;;GAMG;AAEH,iCAAkC,GAAG,CAAC;AACtC,sCAAuC,KAAK,CAAC;AAC7C,0CAA2C,QAAU,CAAC;AACtD,qCAAsC,WAAc,CAAC;8BA6CvC,QAAQ,OAAO,mBAAmB,CAAC;kCAvDlB,cAAc;4BACpB,kBAAkB;2CAEH,eAAe;6BAD7B,WAAW"}
1
+ {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["time.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,2CAFW,OAAO,YAAY,CAAC;IAI3B;;;;;;;;;;OAUG;4CAHQ,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC;IAc5B,4CAA4C;8BAAhC,qBAAqB;EAYpC;AAtDD;;;;;;GAMG;AAEH,iCAAkC,GAAG,CAAC;AACtC,sCAAuC,KAAK,CAAC;AAC7C,0CAA2C,QAAU,CAAC;AACtD,qCAAsC,WAAc,CAAC;8BA6CvC,QAAQ,OAAO,mBAAmB,CAAC;kCAvDlB,cAAc;4BACpB,kBAAkB;2CAEH,kBAAkB;6BADhC,WAAW"}
package/src/utils/time.js CHANGED
@@ -5,7 +5,7 @@ import { TimeMath } from '@agoric/time';
5
5
  * @import {TimerService} from '@agoric/time';
6
6
  * @import {Remote} from '@agoric/internal';
7
7
  * @import {EReturn} from '@endo/far';
8
- * @import {IBCMsgTransferOptions} from '../cosmos-api';
8
+ * @import {IBCMsgTransferOptions} from '../cosmos-api.js';
9
9
  * @import {MsgTransfer} from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
10
10
  */
11
11