New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@helium/crypto-react-native

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helium/crypto-react-native - npm Package Compare versions

Comparing version 4.3.1 to 4.5.0

2

build/Keypair.d.ts

@@ -23,5 +23,5 @@ /// <reference types="node" />

static fromEntropy(entropy: Uint8Array | Buffer, netType?: NetType): Promise<Keypair>;
sign(message: string | Uint8Array): Promise<Buffer>;
sign(message: string | Uint8Array): Promise<Uint8Array>;
}
export {};
//# sourceMappingURL=Keypair.d.ts.map

@@ -65,3 +65,3 @@ "use strict";

const signature = await react_native_sodium_1.default.crypto_sign_detached(messageBuffer.toString('base64'), this.privateKey.toString('base64'));
return Buffer.from(signature, 'base64');
return Uint8Array.from(Buffer.from(signature, 'base64'));
}

@@ -68,0 +68,0 @@ }

{
"name": "@helium/crypto-react-native",
"version": "4.3.1",
"version": "4.5.0",
"description": "Cryptography utilities including mnemonics, keypairs and base58-check encoding for React Native",

@@ -35,3 +35,3 @@ "keywords": [

},
"gitHead": "8c5383e40ac2c1292481774384c8564bde72123a"
"gitHead": "d8a503d6e8fae57f5da90dd4beca25ea276e72cc"
}

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