Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/keyring

Package Overview
Dependencies
Maintainers
1
Versions
1173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/keyring - npm Package Compare versions

Comparing version 0.34.1 to 0.34.2

6

index.d.ts

@@ -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);

6

package.json
{
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc