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

sdk-base

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdk-base - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

History.md
3.0.1 / 2017-01-12
==================
* fix: initMethod should be lazy executed (#6)
3.0.0 / 2017-01-12

@@ -3,0 +8,0 @@ ==================

9

index.js

@@ -17,6 +17,9 @@ 'use strict';

co(this[options.initMethod].bind(this))
.then(() => this.ready(true))
.catch(err => this.ready(err));
process.nextTick(() => {
co(this[options.initMethod].bind(this))
.then(() => this.ready(true))
.catch(err => this.ready(err));
});
}
this.options = options || {};
this._ready = false;

@@ -23,0 +26,0 @@ this._readyError = null;

{
"name": "sdk-base",
"version": "3.0.0",
"version": "3.0.1",
"description": "a base class for sdk with default error handler",

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

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