@acala-network/chopsticks-utils 0.9.13 → 0.10.0-1

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/dist/cjs/index.js CHANGED
@@ -145,7 +145,7 @@ const setupNetworks = async (networkOptions)=>{
145
145
  }
146
146
  const parachainList = Object.values(parachains).map((i)=>i.chain);
147
147
  if (parachainList.length > 0) {
148
- await (0, _chopsticks.connectParachains)(parachainList);
148
+ await (0, _chopsticks.connectParachains)(parachainList, _chopsticks.environment.DISABLE_AUTO_HRMP);
149
149
  }
150
150
  if (wasmOverriden) {
151
151
  // trigger runtime upgrade if needed (due to wasm override)
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiPromise, WsProvider } from '@polkadot/api';
2
- import { BuildBlockMode, connectParachains, connectVertical, defaultLogger, fetchConfig, setupWithServer } from '@acala-network/chopsticks';
2
+ import { BuildBlockMode, connectParachains, connectVertical, defaultLogger, environment, fetchConfig, setupWithServer } from '@acala-network/chopsticks';
3
3
  import { Keyring, createTestKeyring } from '@polkadot/keyring';
4
4
  const logger = defaultLogger.child({
5
5
  name: 'utils'
@@ -99,7 +99,7 @@ export const setupNetworks = async (networkOptions)=>{
99
99
  }
100
100
  const parachainList = Object.values(parachains).map((i)=>i.chain);
101
101
  if (parachainList.length > 0) {
102
- await connectParachains(parachainList);
102
+ await connectParachains(parachainList, environment.DISABLE_AUTO_HRMP);
103
103
  }
104
104
  if (wasmOverriden) {
105
105
  // trigger runtime upgrade if needed (due to wasm override)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks-utils",
3
- "version": "0.9.13",
3
+ "version": "0.10.0-1",
4
4
  "author": "Acala Developers <hello@acala.network>",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -11,7 +11,7 @@
11
11
  "build:esm": "swc ./src --config-file ../../.esmswcrc -d dist/esm && tsc -p tsconfig.json --declarationDir dist/esm"
12
12
  },
13
13
  "dependencies": {
14
- "@acala-network/chopsticks": "0.9.13",
14
+ "@acala-network/chopsticks": "0.10.0-1",
15
15
  "@polkadot/api": "^10.11.2",
16
16
  "@polkadot/types": "^10.11.2"
17
17
  },