pusher-platform-node
Advanced tools
Comparing version 0.8.2 to 0.8.3
{ | ||
"name": "pusher-platform-node", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"main": "./target/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./target/index.d.ts", |
@@ -46,4 +46,4 @@ import extend = require("extend"); | ||
if (!options.instanceId) throw new Error('Expected `instance` property in Instance options!'); | ||
if (options.instanceId.split(":").length !== 3) throw new Error('The instance property is in the wrong format!'); | ||
if (!options.instanceId) throw new Error('Expected `instanceId` property in Instance options!'); | ||
if (options.instanceId.split(":").length !== 3) throw new Error('The `instanceId` property is in the wrong format!'); | ||
if(!options.serviceName) throw new Error('Expected `serviceName` property in Instance options!'); | ||
@@ -50,0 +50,0 @@ if(!options.serviceVersion) throw new Error('Expected `serviceVersion` property in Instance otpions!'); |
@@ -11,5 +11,5 @@ "use strict"; | ||
if (!options.instanceId) | ||
throw new Error('Expected `instance` property in Instance options!'); | ||
throw new Error('Expected `instanceId` property in Instance options!'); | ||
if (options.instanceId.split(":").length !== 3) | ||
throw new Error('The instance property is in the wrong format!'); | ||
throw new Error('The `instanceId` property is in the wrong format!'); | ||
if (!options.serviceName) | ||
@@ -16,0 +16,0 @@ throw new Error('Expected `serviceName` property in Instance options!'); |
Sorry, the diff of this file is not supported yet
59985