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

kd100

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kd100 - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

14

lib/libs/build.js

@@ -37,4 +37,2 @@ "use strict";

_defineProperty(this, "callbackurl", '');
_defineProperty(this, "buildRequestParams", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {

@@ -110,14 +108,2 @@ var action,

case 'callbackurl':
if (!options[0][key] || typeof options[0][key] !== 'string') {
var _error3 = new Error();
_error3.name = 'E_API_CALL_BACK_URL_TYPE_WRONG';
_error3.message = 'Type of call back url should be a valide url';
throw _error3;
}
_this.callbackurl = options[0][key];
break;
default:

@@ -124,0 +110,0 @@ break;

3

lib/libs/track.js

@@ -56,2 +56,3 @@ "use strict";

number = options.number,
callbackurl = options.callbackurl,
from = options.from,

@@ -76,3 +77,3 @@ to = options.to,

parameters: {
callbackurl: _this.builder.callbackurl,
callbackurl: callbackurl,
salt: salt,

@@ -79,0 +80,0 @@ resultv2: resultv2,

{
"name": "kd100",
"version": "0.0.2",
"version": "0.0.3",
"description": "KuaiDi 100 api",

@@ -5,0 +5,0 @@ "main": "lib/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