Socket
Socket
Sign inDemoInstall

dispatch-node-sdk

Package Overview
Dependencies
Maintainers
3
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 2.3.0 to 2.4.0

dist/lib/entities/appointment.js

4

dist/lib/analytics.js

@@ -13,2 +13,6 @@ 'use strict';

UNABLE_TO_ADD_TECH: 'add_tech_error', // 'Unable to add tech'
APPOINTMENT_SCHEDULED: 'appointment_scheduled', // Appointment scheduled
APPOINTMENT_ENROUTE: 'appointment_enroute', // en route to appointment
APPOINTMENT_STARTED: 'appointment_started', // Appointment started
APPOINTMENT_CANCELED: 'appointment_canceled', // Appointment started

@@ -15,0 +19,0 @@ // Jobs

@@ -23,2 +23,6 @@ 'use strict';

var _appointment = require('./entities/appointment');
var _appointment2 = _interopRequireDefault(_appointment);
var _attachment = require('./entities/attachment');

@@ -132,2 +136,3 @@

accounts: new _Collection2.default(this, endpoints.ACCOUNTS),
appointment: (0, _appointment2.default)(this),
appointments: new _Collection2.default(this, endpoints.APPOINTMENTS),

@@ -134,0 +139,0 @@ attachment: (0, _attachment2.default)(this),

@@ -8,2 +8,6 @@ const Analytics = {

UNABLE_TO_ADD_TECH: 'add_tech_error', // 'Unable to add tech'
APPOINTMENT_SCHEDULED: 'appointment_scheduled', // Appointment scheduled
APPOINTMENT_ENROUTE: 'appointment_enroute', // en route to appointment
APPOINTMENT_STARTED: 'appointment_started', // Appointment started
APPOINTMENT_CANCELED: 'appointment_canceled', // Appointment started

@@ -10,0 +14,0 @@ // Jobs

import * as endpoints from './endpoints';
import * as queryString from './queryString';
import _ from 'underscore';
import appointmentMethods from './entities/appointment';
import attachmentMethods from './entities/attachment';

@@ -52,2 +53,3 @@ import Collection from './entities/Collection';

accounts: new Collection(this, endpoints.ACCOUNTS),
appointment: appointmentMethods(this),
appointments: new Collection(this, endpoints.APPOINTMENTS),

@@ -54,0 +56,0 @@ attachment: attachmentMethods(this),

2

package.json
{
"name": "dispatch-node-sdk",
"version": "2.3.0",
"version": "2.4.0",
"description": "High- and low-level libraries for interacting with the Dispatch API",

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

@@ -283,1 +283,13 @@ Dispatch JavaScript SDK

```
## Publishing
Once you have commited all your changes and pushed to your respective branch, the steps to publishing to NPM are as follows:
1. Update the package version in `package.json`
2. Run `npm publish`
3. Commit your changes with a comment describing the updated version eg. "Bumped version to 1.2.3"
4. Tag the release with the respective version, eg.
* `git tag 1.2.3`
* `git push origin --tags`
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