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.2-dev to 0.2.3-dev

2

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

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

@@ -126,2 +126,3 @@ const superagent = require('superagent');

getAddresses(opts, cb) {

@@ -210,2 +211,11 @@ const { startPath, n } = opts;

// Get the current set of active wallets from the device and update state.
refreshWallets(cb) {
this._getActiveWallet((err) => {
if (err) return cb(err);
return cb(null, this.getActiveWallet());
}, true)
}
//=======================================================================

@@ -221,4 +231,4 @@ // INTERNAL FUNCTIONS

// returns cb(err) -- err is a string
_getActiveWallet(cb) {
if (this.hasActiveWallet() === true || this.isPaired !== true) {
_getActiveWallet(cb, forceRefresh=false) {
if (forceRefresh !== true && (this.hasActiveWallet() === true || this.isPaired !== true)) {
// If the active wallet already exists, or if we are not paired, skip the request

@@ -225,0 +235,0 @@ return cb(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