@corva/ui 3.17.0-8 → 3.17.0-9

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.
@@ -1,2 +1,2 @@
1
- "use strict";function e(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("query-string")).parse(window.location.search),t=r.subscriptions_version||localStorage.getItem("subscriptions_version")||"1";localStorage.setItem("subscriptions_version",t);var s=function(){return"1"===t?"/":"/".concat(t)},o=process.env.REACT_APP_SUBSCRIPTIONS_URL||r.subscriptions_url||"https://subscriptions.qa.corva.ai",n="".concat(o).concat(s()),c=new RegExp("^/reports.*$");exports.IGNORED_ROUTES_REGEXP=c,exports.SUBSCRIPTIONS_URL=n,exports.getNamespace=s,exports.handleSubscriptionsVersion=function(e,r){return"1"===t?e:r};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("query-string"),r=require("../../utils/env.js");function t(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=t(e).parse(window.location.search),n=s.subscriptions_version||localStorage.getItem("subscriptions_version")||"1";localStorage.setItem("subscriptions_version",n);var o=function(){return"1"===n?"/":"/".concat(n)},i=process.env.REACT_APP_SUBSCRIPTIONS_URL||s.subscriptions_url||"https://subscriptions.qa.corva.ai",c="".concat(i).concat(o()),u=new RegExp("^/reports.*$");exports.IGNORED_ROUTES_REGEXP=u,exports.SUBSCRIPTIONS_URL=c,exports.getNamespace=o,exports.handleSubscriptionsVersion=function(e,t){return r.isDevOrQAEnv||"1"!==n?t:e};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/clients/subscriptions/constants.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,0BAA0B,GAAI,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,YAMhE,CAAC;AAEF,eAAO,MAAM,YAAY,cAKxB,CAAC;AAMF,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,QAA6B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/clients/subscriptions/constants.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,0BAA0B,GAAI,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,YAMhE,CAAC;AAEF,eAAO,MAAM,YAAY,cAKxB,CAAC;AAOF,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,QAA6B,CAAC"}
@@ -1,2 +1,2 @@
1
- import*as r from"query-string";var s=r.parse(window.location.search),o=s.subscriptions_version||localStorage.getItem("subscriptions_version")||"1";localStorage.setItem("subscriptions_version",o);var t=function(r,s){return"1"===o?r:s},n=function(){return"1"===o?"/":"/".concat(o)},e=process.env.REACT_APP_SUBSCRIPTIONS_URL||s.subscriptions_url||"https://subscriptions.qa.corva.ai",i="".concat(e).concat(n()),c=new RegExp("^/reports.*$");export{c as IGNORED_ROUTES_REGEXP,i as SUBSCRIPTIONS_URL,n as getNamespace,t as handleSubscriptionsVersion};
1
+ import*as r from"query-string";import{isDevOrQAEnv as s}from"../../utils/env.js";var o=r.parse(window.location.search),t=o.subscriptions_version||localStorage.getItem("subscriptions_version")||"1";localStorage.setItem("subscriptions_version",t);var n=function(r,o){return s||"1"!==t?o:r},i=function(){return"1"===t?"/":"/".concat(t)},e=process.env.REACT_APP_SUBSCRIPTIONS_URL||o.subscriptions_url||"https://subscriptions.qa.corva.ai",c="".concat(e).concat(i()),a=new RegExp("^/reports.*$");export{a as IGNORED_ROUTES_REGEXP,c as SUBSCRIPTIONS_URL,i as getNamespace,n as handleSubscriptionsVersion};
2
2
  //# sourceMappingURL=constants.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "3.17.0-8",
3
+ "version": "3.17.0-9",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"