@wf-financing/ui 3.13.4 → 3.13.5

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @wf-financing/ui
2
2
 
3
+ ## 3.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Add request url and `userAgent` to error log
8
+
9
+ - Updated dependencies []:
10
+ - @wf-financing/ui-assets@0.3.5
11
+
3
12
  ## 3.13.4
4
13
 
5
14
  ### Patch Changes
package/dist/index.es.js CHANGED
@@ -23940,7 +23940,7 @@ const em = {
23940
23940
  "8124d71d-1de6-4a39-8cff-dd2ce96c8363": "rocketFuel",
23941
23941
  "0e553c21-13a7-461f-bf4d-5a92fad4a403": "reveni",
23942
23942
  "bb9f8122-66ff-41bd-a8c0-52a9af0b3b4f": "reveni"
23943
- }, i7 = "3.13.4", o7 = "https://static.wayflyer.com/flyui-assets/styles/flyui-f0765dfb.css", tm = {
23943
+ }, i7 = "3.13.5", o7 = "https://static.wayflyer.com/flyui-assets/styles/flyui-f0765dfb.css", tm = {
23944
23944
  styles: o7
23945
23945
  }, lS = "wf-flyui-styles", s7 = async ({ shadow: e, onStylesLoad: t, onStylesLoadError: n }) => {
23946
23946
  if (!tm || !("styles" in tm))
@@ -26944,7 +26944,8 @@ const f8 = async (e) => {
26944
26944
  const l = await a.json();
26945
26945
  return J7(l, r);
26946
26946
  } catch (a) {
26947
- throw l8.logError(`Error in partner copy loading: ${a}`), a;
26947
+ const l = navigator.userAgent;
26948
+ throw l8.logError(`Error in partner copy loading from ${o} by userAgent: ${l}: ${a}`), a;
26948
26949
  }
26949
26950
  }, v_ = Oi.extend({
26950
26951
  mainText: Ye().trim().min(1).max(160).refine(bv(["amount"]), {
@@ -27018,7 +27019,8 @@ const C_ = () => {
27018
27019
  refetchOnWindowFocus: !1,
27019
27020
  refetchOnMount: !1,
27020
27021
  staleTime: 600 * 1e3,
27021
- gcTime: 600 * 1e3
27022
+ gcTime: 600 * 1e3,
27023
+ retry: 1
27022
27024
  });
27023
27025
  }, RS = ({ isOnDarkTheme: e, buttonAction: t, buttonText: n }) => {
27024
27026
  const { isMobile: r } = Ps();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wf-financing/ui",
3
- "version": "3.13.4",
3
+ "version": "3.13.5",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/index.es.js",
@@ -37,8 +37,8 @@
37
37
  "react-intl": "^6.2.5",
38
38
  "react-markdown": "^10.1.0",
39
39
  "styled-components": "^6.1.19",
40
+ "@wf-financing/ui-assets": "0.3.5",
40
41
  "@wf-financing/embedded-types": "0.7.1",
41
- "@wf-financing/ui-assets": "0.3.4",
42
42
  "@wf-financing/logger": "1.1.3"
43
43
  },
44
44
  "publishConfig": {
@@ -26,5 +26,6 @@ export const useCopy = () => {
26
26
  refetchOnMount: false,
27
27
  staleTime: 10 * 60 * 1000,
28
28
  gcTime: 10 * 60 * 1000,
29
+ retry: 1,
29
30
  });
30
31
  };