Cater for signature over hash (with version checks) (#655)

* Cater for signature over hash (with version checks)

* Allow Submittable signAndSend

* isUndefined for nonce check

* .sign with backwards compat

* e2e tests started

* Work around optional callback for Promise

* Commit actual e2e test

* Promise allows for submitExtrinsic

* e2e tests are passing

* Bump version, update CHANGELOG
This commit is contained in:
Jaco Greeff
2019-01-31 18:01:14 +01:00
committed by GitHub
parent 8da2b1c451
commit c1a6f0230c
23 changed files with 153 additions and 66 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "0.41.14",
"version": "0.42.0",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"keywords": [
@@ -31,8 +31,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/api": "^0.41.14",
"@polkadot/types": "^0.41.14",
"@polkadot/api": "^0.42.0",
"@polkadot/types": "^0.42.0",
"@types/memoizee": "^0.4.2",
"@types/rx": "^4.1.1",
"memoizee": "^0.4.14",