Skip to content

Commit

Permalink
fix(deps): update pjs api (#906)
Browse files Browse the repository at this point in the history
* fix(deps): update pjs api

* update apps-config

* update pjs deps

* fix mock test data

* update small script to install packages for you
  • Loading branch information
TarikGul committed May 2, 2022
1 parent ce48c14 commit 528420c
Show file tree
Hide file tree
Showing 4 changed files with 299 additions and 1,063 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ All the commits in this repo follow the [Conventional Commits spec](https://www.
### Updating polkadot-js dependencies

1. Every Monday the polkadot-js ecosystem will usually come out with a new release. It's important that we keep up,
and read the release notes for any breaking changes or high priority updates. In order to update all the dependencies and resolutions run `yarn update-pjs-deps && yarn`.
and read the release notes for any breaking changes or high priority updates. In order to update all the dependencies and resolutions run `yarn update-pjs-deps`.

- @polkadot/api [release notes](https://github.com/polkadot-js/api/releases)
- @polkadot/apps-config [release notes](https://github.com/polkadot-js/apps/releases)
Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
"lint:scripts": "cd scripts && substrate-dev-run-lint",
"start:test-release": "yarn build:scripts && node scripts/build/runYarnPack.js",
"test:test-release": "yarn start:test-release",
"update-pjs-deps": "substrate-update-pjs-deps"
"update-pjs-deps": "substrate-update-pjs-deps && yarn"
},
"dependencies": {
"@polkadot/api": "^8.1.1",
"@polkadot/apps-config": "^0.112.1",
"@polkadot/util-crypto": "^9.0.1",
"@polkadot/api": "8.3.1",
"@polkadot/apps-config": "0.113.1",
"@polkadot/util-crypto": "9.1.1",
"@substrate/calc": "^0.2.8",
"argparse": "^2.0.1",
"confmgr": "1.0.7",
Expand All @@ -79,27 +79,27 @@
"tsc-watch": "^4.4.0"
},
"resolutions": {
"@polkadot/api": "8.1.1",
"@polkadot/api-augment": "8.1.1",
"@polkadot/api-base": "8.1.1",
"@polkadot/api-derive": "8.1.1",
"@polkadot/rpc-core": "8.1.1",
"@polkadot/rpc-augment": "8.1.1",
"@polkadot/rpc-provider": "8.1.1",
"@polkadot/types": "8.1.1",
"@polkadot/types-augment": "8.1.1",
"@polkadot/types-codec": "8.1.1",
"@polkadot/types-create": "8.1.1",
"@polkadot/types-support": "8.1.1",
"@polkadot/types-known": "8.1.1",
"@polkadot/keyring": "9.0.1",
"@polkadot/networks": "9.0.1",
"@polkadot/util": "9.0.1",
"@polkadot/util-crypto": "9.0.1",
"@polkadot/x-fetch": "9.0.1",
"@polkadot/x-global": "9.0.1",
"@polkadot/x-bigint": "9.0.1",
"@polkadot/x-ws": "9.0.1",
"@polkadot/api": "8.3.1",
"@polkadot/api-augment": "8.3.1",
"@polkadot/api-base": "8.3.1",
"@polkadot/api-derive": "8.3.1",
"@polkadot/rpc-core": "8.3.1",
"@polkadot/rpc-augment": "8.3.1",
"@polkadot/rpc-provider": "8.3.1",
"@polkadot/types": "8.3.1",
"@polkadot/types-augment": "8.3.1",
"@polkadot/types-codec": "8.3.1",
"@polkadot/types-create": "8.3.1",
"@polkadot/types-support": "8.3.1",
"@polkadot/types-known": "8.3.1",
"@polkadot/keyring": "9.1.1",
"@polkadot/networks": "9.1.1",
"@polkadot/util": "9.1.1",
"@polkadot/util-crypto": "9.1.1",
"@polkadot/x-fetch": "9.1.1",
"@polkadot/x-global": "9.1.1",
"@polkadot/x-bigint": "9.1.1",
"@polkadot/x-ws": "9.1.1",
"@polkadot/wasm-crypto": "6.0.1",
"bn.js": "5.2.0",
"node-fetch": "2.6.7",
Expand Down
2 changes: 1 addition & 1 deletion src/test-helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export const MAX_H512 =
'0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H256 =
'0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H160 = '0xffffffffffffffffffffffffffffffffffffffffffffffff';
export const MAX_H160 = '0xffffffffffffffffffffffffffffffffffffffff';
Loading

0 comments on commit 528420c

Please sign in to comment.