@remix_labs/hub-client 2.12923.0-dev → 2.12931.0-dev

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.
Files changed (2) hide show
  1. package/common.js +2 -2
  2. package/package.json +1 -1
package/common.js CHANGED
@@ -388,7 +388,7 @@ class Channel {
388
388
  })
389
389
  }
390
390
 
391
- unsubscribeClient(clientName) {
391
+ disconnect(clientName) {
392
392
  return new Promise((resolve, reject) => {
393
393
  let reqId = this.reqId + 1;
394
394
  this.reqId = reqId;
@@ -400,7 +400,7 @@ class Channel {
400
400
  reject(resp.data);
401
401
  }));
402
402
  let unsubMsg =
403
- { _rmx_type: "msg_hub_unsubscribeClient",
403
+ { _rmx_type: "msg_hub_disconnect",
404
404
  reqId: reqId,
405
405
  clientName: clientName
406
406
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix_labs/hub-client",
3
- "version": "2.12923.0-dev",
3
+ "version": "2.12931.0-dev",
4
4
  "description": "talk to the Hub web worker",
5
5
  "main": "node.js",
6
6
  "browser": "index.js",