@acala-network/chopsticks-utils 1.4.2 → 1.5.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.
@@ -6,6 +6,7 @@ import type { SubmittableExtrinsic } from '@polkadot/api-base/types';
6
6
  import { Keyring } from '@polkadot/keyring';
7
7
  import type { Codec } from '@polkadot/types/types';
8
8
  import type { HexString } from '@polkadot/util/types';
9
+ export { type BridgeHandle, type ConnectBridgeHubsConfig, connectBridgeHubs } from '@acala-network/chopsticks';
9
10
  export * from './signFake.js';
10
11
  /**
11
12
  * Configuration options for setting up a blockchain network instance
package/dist/cjs/index.js CHANGED
@@ -9,6 +9,9 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
+ get connectBridgeHubs () {
13
+ return _chopsticks.connectBridgeHubs;
14
+ },
12
15
  get createConfig () {
13
16
  return createConfig;
14
17
  },
@@ -6,6 +6,7 @@ import type { SubmittableExtrinsic } from '@polkadot/api-base/types';
6
6
  import { Keyring } from '@polkadot/keyring';
7
7
  import type { Codec } from '@polkadot/types/types';
8
8
  import type { HexString } from '@polkadot/util/types';
9
+ export { type BridgeHandle, type ConnectBridgeHubsConfig, connectBridgeHubs } from '@acala-network/chopsticks';
9
10
  export * from './signFake.js';
10
11
  /**
11
12
  * Configuration options for setting up a blockchain network instance
package/dist/esm/index.js CHANGED
@@ -7,6 +7,8 @@ import { getPolkadotSigner } from 'polkadot-api/signer';
7
7
  const logger = defaultLogger.child({
8
8
  name: 'utils'
9
9
  });
10
+ // Re-exported from `@acala-network/chopsticks` (lives there because the CLI needs it).
11
+ export { connectBridgeHubs } from '@acala-network/chopsticks';
10
12
  export * from './signFake.js';
11
13
  /**
12
14
  * Creates a configuration object from setup options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks-utils",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "author": "Acala Developers <hello@acala.network>",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -13,8 +13,8 @@
13
13
  "depcheck": "npx depcheck"
14
14
  },
15
15
  "dependencies": {
16
- "@acala-network/chopsticks": "1.4.2",
17
- "@acala-network/chopsticks-core": "1.4.2",
16
+ "@acala-network/chopsticks": "1.5.0",
17
+ "@acala-network/chopsticks-core": "1.5.0",
18
18
  "@polkadot-labs/hdkd": "^0.0.19",
19
19
  "@polkadot-labs/hdkd-helpers": "^0.0.19",
20
20
  "@polkadot/api": "^16.4.1",