@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "0.52.0-beta.5",
|
||||
"version": "0.52.0",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -30,12 +30,12 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/api-derive": "^0.52.0-beta.5",
|
||||
"@polkadot/extrinsics": "^0.52.0-beta.5",
|
||||
"@polkadot/rpc-provider": "^0.52.0-beta.5",
|
||||
"@polkadot/rpc-rx": "^0.52.0-beta.5",
|
||||
"@polkadot/storage": "^0.52.0-beta.5",
|
||||
"@polkadot/types": "^0.52.0-beta.5",
|
||||
"@polkadot/util-crypto": "^0.42.0-beta.2"
|
||||
"@polkadot/api-derive": "^0.52.0",
|
||||
"@polkadot/extrinsics": "^0.52.0",
|
||||
"@polkadot/rpc-provider": "^0.52.0",
|
||||
"@polkadot/rpc-rx": "^0.52.0",
|
||||
"@polkadot/storage": "^0.52.0",
|
||||
"@polkadot/types": "^0.52.0",
|
||||
"@polkadot/util-crypto": "^0.42.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,14 @@ describe.skip('alex queries', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('derives a list of the controllers', (done) => {
|
||||
api.derive.staking.controllers((res) => {
|
||||
console.log('api.derive.staking.controllers:', JSON.stringify(res));
|
||||
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it.skip('retrieves the list of nominators', (done) => {
|
||||
let count = 0;
|
||||
api.query.staking.nominators((res) => {
|
||||
|
||||
Reference in New Issue
Block a user