@polkadot/keyring
Advanced tools
Comparing version 0.34.1 to 0.34.2
@@ -1,2 +0,2 @@ | ||
import { KeyringInstance, KeyringPair, KeyringPair$Json, KeyringPair$Meta, KeyringOptions } from './types'; | ||
import { KeyringInstance, KeyringPair, KeyringPair$Json, KeyringPair$Meta, KeyringOptions, PairType } from './types'; | ||
import { decodeAddress, encodeAddress, setAddressPrefix } from './address'; | ||
@@ -27,2 +27,6 @@ /** | ||
/** | ||
* @description Returns the type of the keyring, either ed25519 of sr25519 | ||
*/ | ||
readonly type: PairType; | ||
/** | ||
* @name addPair | ||
@@ -29,0 +33,0 @@ * @signature addPair (pair: KeyringPair): KeyringPair |
@@ -74,2 +74,8 @@ "use strict"; | ||
/** | ||
* @description Returns the type of the keyring, either ed25519 of sr25519 | ||
*/ | ||
get type() { | ||
return this._type; | ||
} | ||
/** | ||
* @name addPair | ||
@@ -79,2 +85,4 @@ * @signature addPair (pair: KeyringPair): KeyringPair | ||
*/ | ||
addPair(pair) { | ||
@@ -81,0 +89,0 @@ return this._pairs.add(pair); |
{ | ||
"name": "@polkadot/keyring", | ||
"version": "0.34.1", | ||
"version": "0.34.2", | ||
"description": "Keyring management", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"@babel/runtime": "^7.2.0", | ||
"@polkadot/util": "^0.34.1", | ||
"@polkadot/util-crypto": "^0.34.1", | ||
"@polkadot/util": "^0.34.2", | ||
"@polkadot/util-crypto": "^0.34.2", | ||
"@types/bs58": "^4.0.0", | ||
@@ -38,0 +38,0 @@ "bs58": "^4.0.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67918
1124
Updated@polkadot/util@^0.34.2