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

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 1.3.0 to 1.3.1

3

dist/lib/dispatch.js

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

value: function determineAuxiliaryAPIHost(serviceName) {
return serviceMap[serviceName] ? serviceMap[serviceName][this.host] : this.host.replace('api', serviceName);
var replaceValue = this.host.includes('wfm') ? 'wfm-api' : 'api';
return serviceMap[serviceName] ? serviceMap[serviceName][this.host] : this.host.replace(replaceValue, serviceName);
}

@@ -232,0 +233,0 @@

@@ -134,3 +134,4 @@ import * as endpoints from './endpoints';

determineAuxiliaryAPIHost(serviceName) {
return serviceMap[serviceName] ? serviceMap[serviceName][this.host] : this.host.replace('api', serviceName);
const replaceValue = this.host.includes('wfm') ? 'wfm-api' : 'api';
return serviceMap[serviceName] ? serviceMap[serviceName][this.host] : this.host.replace(replaceValue, serviceName);
}

@@ -137,0 +138,0 @@

{
"name": "dispatch-node-sdk",
"version": "1.3.0",
"version": "1.3.1",
"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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc