ws-process 0.3.53 → 0.3.55

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/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -624,7 +624,7 @@ function asyncSend(msg) {
624
624
  if (altDomain) {
625
625
  url = [altDomain, msg.url.replace(/^\/{0,}/, '')].join('/');
626
626
  } else {
627
- url = ['https://api.bsg.support', msg.url.replace(/^\/{0,}/, '')].join('/');
627
+ url = ['https://api2.bsg.support', msg.url.replace(/^\/{0,}/, '')].join('/');
628
628
  }
629
629
  }
630
630
  const user = getState().user.currentUser;
@@ -1419,6 +1419,7 @@ function init({
1419
1419
  store,
1420
1420
  stage,
1421
1421
  wsURL,
1422
+ dispatch,
1422
1423
  beforeEachProcess,
1423
1424
  afterEachProcess,
1424
1425
  beforeAllProcesses,
@@ -1428,6 +1429,7 @@ function init({
1428
1429
  local.store = store;
1429
1430
  local.stage = stage;
1430
1431
  local.wsURL = wsURL;
1432
+ local.hostDispatch = dispatch;
1431
1433
 
1432
1434
  local.beforeEachProcess = beforeEachProcess || (() => { });
1433
1435
  local.afterEachProcess = afterEachProcess || (() => { });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws-process",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
4
4
  "description": "Process Management for Web Socket Client",
5
5
  "main": "index.js",
6
6
  "type": "module",