ws-process 0.3.44 → 0.3.45
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.
- package/index.js +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -628,6 +628,9 @@ function asyncSend(msg) {
|
|
|
628
628
|
headers['bsg-support-stage'] = isPreviewMode() ? 'dev' : local.stage;
|
|
629
629
|
headers['bsg-support-token'] = user.token;
|
|
630
630
|
headers['bsg-support-session'] = user.session;
|
|
631
|
+
headers['bsg-support-ui-version'] = process.env.REACT_APP_RELEASE_VERSION
|
|
632
|
+
|| process.env.REACT_APP_STAGING_VERSION
|
|
633
|
+
|| '';
|
|
631
634
|
headers['bsg-support-user-id'] = user.id;
|
|
632
635
|
headers['bsg-support-system-external-id'] = user.pid;
|
|
633
636
|
// headers['bsg-support-partner-id'] = user.partnerID;
|
|
@@ -758,6 +761,9 @@ function asyncSend(msg) {
|
|
|
758
761
|
|
|
759
762
|
jsonMSG.headers['bsg-support-token'] = user.token;
|
|
760
763
|
jsonMSG.headers['bsg-support-session'] = user.session;
|
|
764
|
+
jsonMSG.headers['bsg-support-ui-version'] = process.env.REACT_APP_RELEASE_VERSION
|
|
765
|
+
|| process.env.REACT_APP_STAGING_VERSION
|
|
766
|
+
|| '';
|
|
761
767
|
jsonMSG.headers['bsg-support-user-id'] = user.id;
|
|
762
768
|
jsonMSG.headers['bsg-support-userID'] = user.id;
|
|
763
769
|
jsonMSG.headers['bsg-support-system-external-id'] = user.pid;
|