@wf-financing/ui 4.7.5 → 4.7.6
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/CHANGELOG.md +11 -0
- package/dist/index.es.js +8 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @wf-financing/ui
|
|
2
2
|
|
|
3
|
+
## 4.7.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix double /financing in logger event API URLs
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @wf-financing/logger@2.2.3
|
|
11
|
+
- @wf-financing/headless@3.3.4
|
|
12
|
+
- @wf-financing/ui-assets@1.1.4
|
|
13
|
+
|
|
3
14
|
## 4.7.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.es.js
CHANGED
|
@@ -24273,7 +24273,7 @@ Ge(Uz).withConfig({
|
|
|
24273
24273
|
" !important;@media (min-width:640px){& > div{flex-grow:0 !important;width:auto !important;}}"
|
|
24274
24274
|
], ({ $alignEnd: e }) => e ? "flex-end" : "space-between");
|
|
24275
24275
|
var Qz = Object.defineProperty, Xz = (e, t, n) => t in e ? Qz(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ka = (e, t, n) => Xz(e, typeof t != "symbol" ? t + "" : t, n);
|
|
24276
|
-
const Zz = "https://api.wayflyer.com", Yz = "https://sandbox-api.wayflyer.com", Jz = (e) => {
|
|
24276
|
+
const Zz = "https://api.wayflyer.com/financing", Yz = "https://sandbox-api.wayflyer.com/financing", Jz = (e) => {
|
|
24277
24277
|
try {
|
|
24278
24278
|
return JSON.parse(atob(e.split(".")[1]));
|
|
24279
24279
|
} catch {
|
|
@@ -24282,8 +24282,8 @@ const Zz = "https://api.wayflyer.com", Yz = "https://sandbox-api.wayflyer.com",
|
|
|
24282
24282
|
}, e8 = {
|
|
24283
24283
|
"Content-Type": "application/json"
|
|
24284
24284
|
}, SE = {
|
|
24285
|
-
event: "/
|
|
24286
|
-
error: "/
|
|
24285
|
+
event: "/v1/company/event/",
|
|
24286
|
+
error: "/v1/error/"
|
|
24287
24287
|
}, EE = "wf_session_v1", t8 = 1800 * 1e3, n8 = 1440 * 60 * 1e3;
|
|
24288
24288
|
let r8 = class {
|
|
24289
24289
|
getSessionId() {
|
|
@@ -24435,7 +24435,7 @@ const i8 = "https://static.wayflyer.com/flyui-assets/styles/flyui-80d57d96.css",
|
|
|
24435
24435
|
rootName: "bannerRoot",
|
|
24436
24436
|
rootElement: "div",
|
|
24437
24437
|
rootElementId: "banner-root"
|
|
24438
|
-
}, u8 = [o8, a8, l8], R0 = "4.7.
|
|
24438
|
+
}, u8 = [o8, a8, l8], R0 = "4.7.6", c8 = (e) => u8.reduce((t, n) => {
|
|
24439
24439
|
const { rootElement: r, rootElementId: i, rootName: o } = n;
|
|
24440
24440
|
let l = e.getElementById(i);
|
|
24441
24441
|
return l || (l = document.createElement(r), l.id = i, e.appendChild(l)), {
|
|
@@ -26038,7 +26038,7 @@ var yi, Yk, z8 = (Yk = class extends Sh {
|
|
|
26038
26038
|
T(this, Et).clear(), T(this, Ws).clear();
|
|
26039
26039
|
}
|
|
26040
26040
|
}, Et = new WeakMap(), Ws = new WeakMap(), Gs = new WeakMap(), El = new WeakMap(), kl = new WeakMap(), qs = new WeakMap(), Cl = new WeakMap(), Tl = new WeakMap(), Jk);
|
|
26041
|
-
const V8 = "https://api.wayflyer.com/financing", U8 = "https://sandbox-api.wayflyer.com/financing", W8 = "/v1/company/cta/", G8 = "/v1/company/hosted-application/", q8 = "/v1/company/hosted-application/continue/", K8 = "/v1/company/cta/dismiss/", Q8 = "4.7.
|
|
26041
|
+
const V8 = "https://api.wayflyer.com/financing", U8 = "https://sandbox-api.wayflyer.com/financing", W8 = "/v1/company/cta/", G8 = "/v1/company/hosted-application/", q8 = "/v1/company/hosted-application/continue/", K8 = "/v1/company/cta/dismiss/", Q8 = "4.7.6";
|
|
26042
26042
|
class X8 extends Error {
|
|
26043
26043
|
constructor(t, n, r) {
|
|
26044
26044
|
super(r || `Request failed: ${t} ${n}`), this.status = t, this.statusText = n, this.name = "ApiError";
|
|
@@ -28914,7 +28914,7 @@ const Ji = L0({
|
|
|
28914
28914
|
}), o;
|
|
28915
28915
|
};
|
|
28916
28916
|
var j7 = Object.defineProperty, z7 = (e, t, n) => t in e ? j7(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Xa = (e, t, n) => z7(e, typeof t != "symbol" ? t + "" : t, n);
|
|
28917
|
-
const H7 = "https://api.wayflyer.com", V7 = "https://sandbox-api.wayflyer.com", U7 = (e) => {
|
|
28917
|
+
const H7 = "https://api.wayflyer.com/financing", V7 = "https://sandbox-api.wayflyer.com/financing", U7 = (e) => {
|
|
28918
28918
|
try {
|
|
28919
28919
|
return JSON.parse(atob(e.split(".")[1]));
|
|
28920
28920
|
} catch {
|
|
@@ -28923,8 +28923,8 @@ const H7 = "https://api.wayflyer.com", V7 = "https://sandbox-api.wayflyer.com",
|
|
|
28923
28923
|
}, W7 = {
|
|
28924
28924
|
"Content-Type": "application/json"
|
|
28925
28925
|
}, QE = {
|
|
28926
|
-
event: "/
|
|
28927
|
-
error: "/
|
|
28926
|
+
event: "/v1/company/event/",
|
|
28927
|
+
error: "/v1/error/"
|
|
28928
28928
|
}, XE = "wf_session_v1", G7 = 1800 * 1e3, q7 = 1440 * 60 * 1e3;
|
|
28929
28929
|
class K7 {
|
|
28930
28930
|
getSessionId() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wf-financing/ui",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.6",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./dist/index.es.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"react-intl": "^6.2.5",
|
|
38
38
|
"react-markdown": "^10.1.0",
|
|
39
39
|
"styled-components": "^6.1.19",
|
|
40
|
-
"@wf-financing/
|
|
41
|
-
"@wf-financing/
|
|
42
|
-
"@wf-financing/
|
|
43
|
-
"@wf-financing/
|
|
40
|
+
"@wf-financing/headless": "3.3.4",
|
|
41
|
+
"@wf-financing/logger": "2.2.3",
|
|
42
|
+
"@wf-financing/ui-assets": "1.1.4",
|
|
43
|
+
"@wf-financing/embedded-types": "1.1.1"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|