Skip to content

Commit

Permalink
bump polkadot-js/api v4.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Apr 23, 2021
1 parent 897812b commit a3179bf
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 146 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@

## [0.1.5] - 20210416

* bump polkadot-js/api v4.5.1
* bump polkadot-js/api v4.5.1

## [0.1.6] - 20210423

* bump polkadot-js/api v4.6.2
* add NetworkStateData.genesisHash & PluginBasicData.genesisHash
12 changes: 6 additions & 6 deletions js_api/dist/main.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions js_api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"build-dev": "webpack -d --mode development"
},
"resolutions": {
"@polkadot/api": "^4.5.1"
"@polkadot/api": "^4.6.2"
},
"dependencies": {
"@polkadot/api": "^4.5.1",
"@polkadot/ui-shared": "0.70.1",
"@polkadot/api": "^4.6.2",
"@polkadot/ui-shared": "0.74.1",
"@walletconnect/client": "2.0.0-alpha.26",
"bn.js": "^5.1.2",
"oo7-substrate": "^0.8.0",
Expand Down
3 changes: 1 addition & 2 deletions js_api/src/service/staking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ function _extractSingleTarget (api: ApiPromise, derive: DeriveStakingElected | D
rankReward: 0,
skipRewards,
stakedReturn: 0,
stakedReturnCmp: 0,
validatorPrefs
stakedReturnCmp: 0
};
});

Expand Down
Loading

0 comments on commit a3179bf

Please sign in to comment.