Socket
Socket
Sign inDemoInstall

dispatch-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dispatch-node-sdk - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

14

dist/lib/dispatch.js

@@ -82,3 +82,4 @@ 'use strict';

appointments: new _Collection2.default(this, endpoints.APPOINTMENTS),
users: new _Collection2.default(this, endpoints.USERS)
users: new _Collection2.default(this, endpoints.USERS),
accounts: new _Collection2.default(this, endpoints.ACCOUNTS)
};

@@ -226,2 +227,11 @@ }

}
}, {
key: 'requestPasswordReset',
value: function requestPasswordReset(email) {
return this.getAppClient().then(function (client) {
return client.post('/v1/password_resets', {
email: email
});
});
}

@@ -342,4 +352,2 @@ /**

console.log('Doing request with:', client);
return new Promise(function (resolve, reject) {

@@ -346,0 +354,0 @@ req.do(client).then(resolve).catch(function (err) {

@@ -34,2 +34,3 @@ import _ from 'underscore';

users: new Collection(this, endpoints.USERS),
accounts: new Collection(this, endpoints.ACCOUNTS),
};

@@ -150,2 +151,8 @@ }

requestPasswordReset(email) {
return this.getAppClient().then(client => client.post('/v1/password_resets', {
email,
}));
}
/**

@@ -152,0 +159,0 @@ * Log the user in with their phone number and verification code

{
"name": "dispatch-node-sdk",
"version": "0.0.26",
"version": "0.0.27",
"description": "High- and low-level libraries for interacting with the Dispatch API",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc