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

gridplus-sdk

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridplus-sdk - npm Package Compare versions

Comparing version 0.2.1-dev to 0.2.2-dev

2

package.json
{
"name": "gridplus-sdk",
"version": "0.2.1-dev",
"version": "0.2.2-dev",
"description": "SDK to interact with GridPlus Lattice1 device",

@@ -5,0 +5,0 @@ "scripts": {

@@ -438,21 +438,23 @@ const superagent = require('superagent');

let off = 65;
// Internal first
let hasActiveWallet = false;
walletUID = res.slice(off, off+32);
if (!walletUID.equals(EMPTY_WALLET_UID)) {
this.activeWallets.internal.uid = walletUID;
this.activeWallets.internal.capabilities = res.readUInt32BE(off+32);
this.activeWallets.internal.name = res.slice(off+36, off+walletDescriptorLen);
this.activeWallets.internal.uid = walletUID;
this.activeWallets.internal.capabilities = res.readUInt32BE(off+32);
this.activeWallets.internal.name = res.slice(off+36, off+walletDescriptorLen);
if (!walletUID.equals(EMPTY_WALLET_UID))
hasActiveWallet = true;
}
// Offset the first item
off += walletDescriptorLen;
// External
walletUID = res.slice(off, off+32);
if (!walletUID.equals(EMPTY_WALLET_UID)) {
this.activeWallets.external.uid = walletUID;
this.activeWallets.external.capabilities = res.readUInt32BE(off+32);
this.activeWallets.external.name = res.slice(off+36, off+walletDescriptorLen);
this.activeWallets.external.uid = walletUID;
this.activeWallets.external.capabilities = res.readUInt32BE(off+32);
this.activeWallets.external.name = res.slice(off+36, off+walletDescriptorLen);
if (!walletUID.equals(EMPTY_WALLET_UID))
hasActiveWallet = true;
}
if (hasActiveWallet === true)

@@ -459,0 +461,0 @@ return null;

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