@wazo/sdk 1.0.0-alpha.12 → 1.0.0-alpha.13

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.
@@ -117,7 +117,7 @@ export class Softphone extends EventEmitter {
117
117
  if (!this.client) {
118
118
  return;
119
119
  }
120
- this.client.attemptReconnection();
120
+ this.client.register();
121
121
  }
122
122
  async call(options) {
123
123
  logger.info('softphone - call', options);
@@ -143,7 +143,7 @@ class Softphone extends events_1.EventEmitter {
143
143
  if (!this.client) {
144
144
  return;
145
145
  }
146
- this.client.attemptReconnection();
146
+ this.client.register();
147
147
  }
148
148
  call(options) {
149
149
  return __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "1.0.0-alpha.12",
3
+ "version": "1.0.0-alpha.13",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -182,7 +182,7 @@ export class Softphone extends EventEmitter {
182
182
  return;
183
183
  }
184
184
 
185
- this.client.attemptReconnection();
185
+ this.client.register();
186
186
  }
187
187
 
188
188
  async call(options: CallOptions): Promise<Call | null> {