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

@elli-wallet/sui-snap

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elli-wallet/sui-snap - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@elli-wallet/sui-snap",
"version": "1.0.1",
"version": "1.0.2",
"description": "The Sui Snap.",

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

{
"version": "1.0.1",
"version": "1.0.2",
"description": "The Sui Snap.",

@@ -10,3 +10,3 @@ "proposedName": "Sui Manager",

"source": {
"shasum": "aRZjBGPqMb5fh6reC8Qunm4A+r2WCLxp9OOXQD1MCqg=",
"shasum": "/6gQS72bsflSrrc75Dv87K3PYn/VBd7osujB4aLi1Uo=",
"location": {

@@ -13,0 +13,0 @@ "npm": {

@@ -26,7 +26,6 @@ import nacl from 'tweetnacl';

assertInput(derivationPath);
assertIsString(derivationPath);
assertIsBoolean(confirm);
const keyPair = await deriveKeyPair(derivationPath);
const pubkey = base64js.fromByteArray(keyPair.publicKey);

@@ -44,11 +43,10 @@

assertInput(derivationPath);
assertIsString(derivationPath);
assertInput(message);
assertIsString(message);
const keyPair = await deriveKeyPair(derivationPath);
const accepted = await renderSignTransaction(dappHost, message);
assertConfirmation(accepted);
const keyPair = await deriveKeyPair(derivationPath);
const messageBytes = base64js.toByteArray(message);

@@ -65,4 +63,2 @@ const hashedMessage = blake2b(messageBytes, { dkLen: 32 });

assertInput(derivationPath);
assertIsString(derivationPath);
assertInput(messages);

@@ -73,6 +69,7 @@ assertIsArray(messages);

const keyPair = await deriveKeyPair(derivationPath);
const accepted = await renderSignAllTransactions(dappHost, messages);
assertConfirmation(accepted);
const keyPair = await deriveKeyPair(derivationPath);
const signatures = messages

@@ -92,4 +89,2 @@ .map((message) => base64js.toByteArray(message))

assertInput(derivationPath);
assertIsString(derivationPath);
assertInput(message);

@@ -96,0 +91,0 @@ assertIsString(message);

Sorry, the diff of this file is too big to display

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