unismsgateway 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,13 @@ class smsPlatform {
32
32
  init() {
33
33
  if (this._settings.platformId === 'route') {
34
34
  // this._sms = routesms;
35
- this._sms = new routemobilesms_1.routeSms({ host: 'rslr.connectbind.com', username: 'nety-dntc', password: '@Alpha12', protocol: 'http', port: 8080 });
35
+ this._sms = new routemobilesms_1.routeSms({
36
+ host: this._settings.param.host,
37
+ username: this._settings.param.username,
38
+ password: this._settings.param.password,
39
+ protocol: 'http',
40
+ port: 8080
41
+ });
36
42
  // this._sms = routeSms;
37
43
  // console.log(this._sms, this._sms.connection)
38
44
  // this._sms.connection = this._settings.param;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unismsgateway",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A unified sms gateway library that brings access to multiple sms gateways under a single API",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",