@senior-agronegocio/angular-components 0.0.73-origination → 0.0.74-origination
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/bundles/senior-agronegocio-angular-components.umd.js +5 -5
- package/bundles/senior-agronegocio-angular-components.umd.js.map +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js.map +1 -1
- package/esm2015/common/agro-platform-utils.class.js +6 -6
- package/esm5/common/agro-platform-utils.class.js +6 -6
- package/fesm2015/senior-agronegocio-angular-components.js +5 -5
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +5 -5
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2636,7 +2636,7 @@
|
|
|
2636
2636
|
var _a;
|
|
2637
2637
|
var cookie = AgroCookieUtils.getCookie('com.senior.token');
|
|
2638
2638
|
if (cookie) {
|
|
2639
|
-
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie)) === null || _a === void 0 ? void 0 : _a.fullName;
|
|
2639
|
+
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie, true)) === null || _a === void 0 ? void 0 : _a.fullName;
|
|
2640
2640
|
if (str) {
|
|
2641
2641
|
return str;
|
|
2642
2642
|
}
|
|
@@ -2652,7 +2652,7 @@
|
|
|
2652
2652
|
var _a;
|
|
2653
2653
|
var cookie = AgroCookieUtils.getCookie('com.senior.token');
|
|
2654
2654
|
if (cookie) {
|
|
2655
|
-
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie)) === null || _a === void 0 ? void 0 : _a.email;
|
|
2655
|
+
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie, true)) === null || _a === void 0 ? void 0 : _a.email;
|
|
2656
2656
|
if (str) {
|
|
2657
2657
|
return str;
|
|
2658
2658
|
}
|
|
@@ -2668,7 +2668,7 @@
|
|
|
2668
2668
|
AgroPlatformUtils.getBaseURL = function () {
|
|
2669
2669
|
var cookie = AgroCookieUtils.getCookie('com.senior.base.url');
|
|
2670
2670
|
if (cookie) {
|
|
2671
|
-
return cookie;
|
|
2671
|
+
return decodeURIComponent(cookie);
|
|
2672
2672
|
}
|
|
2673
2673
|
throw new Error('Cookie: "com.senior.base.url" não encontrado.');
|
|
2674
2674
|
};
|
|
@@ -2680,7 +2680,7 @@
|
|
|
2680
2680
|
AgroPlatformUtils.getServicesURL = function () {
|
|
2681
2681
|
var cookie = AgroCookieUtils.getCookie('com.senior.services.url');
|
|
2682
2682
|
if (AgroStringUtils.isNotEmpty(cookie)) {
|
|
2683
|
-
return cookie;
|
|
2683
|
+
return decodeURIComponent(cookie);
|
|
2684
2684
|
}
|
|
2685
2685
|
throw new Error('Cookie: "com.senior.services.url" não encontrado.');
|
|
2686
2686
|
};
|
|
@@ -2692,7 +2692,7 @@
|
|
|
2692
2692
|
var _a;
|
|
2693
2693
|
var cookie = AgroCookieUtils.getCookie('com.senior.token');
|
|
2694
2694
|
if (cookie) {
|
|
2695
|
-
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie)) === null || _a === void 0 ? void 0 : _a.
|
|
2695
|
+
var str = (_a = AgroCookieUtils.parseCookieToObject(cookie, true)) === null || _a === void 0 ? void 0 : _a.access_token;
|
|
2696
2696
|
if (str) {
|
|
2697
2697
|
return str;
|
|
2698
2698
|
}
|