@appdevshop/push-service-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -19,2 +19,1 @@ interface OptionsType { | ||
export default _default; | ||
8 |
@@ -13,2 +13,5 @@ 'use strict'; | ||
initialize(options) { | ||
if (!options.host || !options.port) { | ||
throw new Error('Push service initialization error: host or port fields not provided'); | ||
} | ||
if (!options.host.includes('http')) { | ||
@@ -15,0 +18,0 @@ options.host = `http://${options.host}`; |
{ | ||
"name": "@appdevshop/push-service-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"scripts": { | ||
@@ -62,3 +62,3 @@ "build": "tsc -p .", | ||
"license": "MIT", | ||
"description": "" | ||
"description": "Push service client for node.js" | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
6000
5
86
1
17