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

@polkadot/util-crypto

Package Overview
Dependencies
Maintainers
1
Versions
1357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util-crypto - npm Package Compare versions

Comparing version 0.14.11 to 0.15.1

4

nacl/keypairFromSeed.js

@@ -10,3 +10,3 @@ 'use strict';

var isHex = require('@polkadot/util/is/hex');
var isUint8Array = require('@polkadot/util/is/uint8Array');
var isU8a = require('@polkadot/util/is/u8a');
var u8aFromString = require('@polkadot/util/u8a/fromString');

@@ -26,3 +26,3 @@

module.exports = function naclKeypairFromSeed(seed) {
if (isUint8Array(seed)) {
if (isU8a(seed)) {
// $FlowFixMe type has been determined

@@ -29,0 +29,0 @@ return nacl.sign.keyPair.fromSeed(seed);

{
"name": "@polkadot/util-crypto",
"version": "0.14.11",
"version": "0.15.1",
"description": "A collection of useful crypto utilities for @polkadot",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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