@zerohash-sdk/travel-rule-react 0.1.2 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ const $ = {
23
23
  } catch {
24
24
  return null;
25
25
  }
26
- }, I = (e, t) => V(t) !== "eu" ? e : e === "cert" ? "eu-cert" : e === "prod" ? "eu-prod" : e, P = (e) => {
26
+ }, U = (e, t) => V(t) !== "eu" ? e : e === "cert" ? "eu-cert" : e === "prod" ? "eu-prod" : e, P = (e) => {
27
27
  if (!e || typeof e != "string")
28
28
  return {};
29
29
  const t = e.split(".");
@@ -41,10 +41,10 @@ const $ = {
41
41
  return {};
42
42
  }
43
43
  }, L = (e, t, o) => {
44
- const r = I(t, o);
44
+ const r = U(t, o);
45
45
  return e[r] ?? e[t] ?? e.prod;
46
46
  }, J = (e, t, o) => {
47
- const r = I(t, o);
47
+ const r = U(t, o);
48
48
  return e[r] ?? e[t];
49
49
  }, x = () => {
50
50
  }, H = () => {
@@ -104,14 +104,14 @@ const $ = {
104
104
  }, k = (p, y, i) => {
105
105
  if (f)
106
106
  return;
107
- const U = Math.round(performance.now() - w), N = {
107
+ const I = Math.round(performance.now() - w), N = {
108
108
  webComponentTag: t,
109
109
  appName: o,
110
110
  env: n,
111
111
  scriptUrl: y,
112
112
  reason: p,
113
113
  triedFallback: i,
114
- elapsedMs: U,
114
+ elapsedMs: I,
115
115
  claims: S
116
116
  };
117
117
  v(N);
@@ -230,7 +230,7 @@ const b = {
230
230
  ...m
231
231
  }) => {
232
232
  const g = M(null);
233
- X(g, { theme: r, onCompleted: a, onError: l, onClose: c, onLoaded: n, onEvent: s });
233
+ X(g, { theme: r, depositId: t, onCompleted: a, onError: l, onClose: c, onLoaded: n, onEvent: s });
234
234
  const { loadFailed: h, retry: d } = Y({
235
235
  webComponentTag: A,
236
236
  scriptUrls: ee,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerohash-sdk/travel-rule-react",
3
- "version": "0.1.2",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",