ws-process 0.3.47 → 0.3.49

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 +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -782,6 +782,7 @@ function asyncSend(msg) {
782
782
  jsonMSG.headers.requestTimestamp = cProcessItemRoot.requestTime;
783
783
  jsonMSG.headers['request-datetime'] = cProcessItemRoot.requestTime;
784
784
  jsonMSG.headers.href = window.location.href;
785
+ jsonMSG.headers.origin = window.location.origin;
785
786
 
786
787
  if (jsonMSG.action === 'requestodata') {
787
788
  jsonMSG.headers.authorization = `Basic ${btoa(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws-process",
3
- "version": "0.3.47",
3
+ "version": "0.3.49",
4
4
  "description": "Process Management for Web Socket Client",
5
5
  "main": "index.js",
6
6
  "scripts": {