Bump common (#1807)

* Bump common

* yarn.lock
This commit is contained in:
Jaco Greeff
2020-02-04 16:12:18 +01:00
committed by GitHub
parent 14194a363e
commit 8889e69341
8 changed files with 36 additions and 29 deletions
+3 -3
View File
@@ -31,14 +31,14 @@
"dependencies": {
"@babel/runtime": "^7.8.3",
"@polkadot/api-derive": "^1.1.0-beta.16",
"@polkadot/keyring": "^2.1.0-beta.1",
"@polkadot/keyring": "^2.1.1",
"@polkadot/metadata": "^1.1.0-beta.16",
"@polkadot/rpc-core": "^1.1.0-beta.16",
"@polkadot/rpc-provider": "^1.1.0-beta.16",
"@polkadot/types": "^1.1.0-beta.16",
"@polkadot/util-crypto": "^2.1.0-beta.1"
"@polkadot/util-crypto": "^2.1.1"
},
"devDependencies": {
"@polkadot/keyring": "^2.1.0-beta.1"
"@polkadot/keyring": "^2.1.1"
}
}
+7
View File
@@ -116,6 +116,13 @@ async function tx (api: ApiPromise, keyring: TestKeyringMap): Promise<void> {
unsub2();
});
// it allows for query & then using the submittable
const second = api.tx.democracy.second(123);
second.signAndSend('123', (result): void => {
console.log(result);
});
}
async function main (): Promise<void> {