everest-npm-features 0.0.58 → 0.0.59

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 (90) hide show
  1. package/dist/{PlayArrow-BRz9FV4L.js → PlayArrow-BlkZJiHn.js} +1 -1
  2. package/dist/{auth-CD7qxhDF.js → auth-WhDJHZtr.js} +1 -1
  3. package/dist/{bank-C2LtDonX.js → bank-BaOrdTcI.js} +1 -1
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.js +5 -4
  25. package/dist/components/Shared/FullKyc/index.js +4 -4
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  29. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  30. package/dist/components/Shared/Sumsub/index.d.ts +5 -0
  31. package/dist/components/Shared/Sumsub/index.js +83 -0
  32. package/dist/components/Wallet/Account/createIban.js +4 -3
  33. package/dist/components/Wallet/Account/ibanItem.js +5 -4
  34. package/dist/components/Wallet/Account/index.js +6 -5
  35. package/dist/components/Wallet/Account/sendIban.js +11 -11
  36. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -5
  37. package/dist/components/Wallet/Buy/form.js +4 -4
  38. package/dist/components/Wallet/Buy/index.js +6 -6
  39. package/dist/components/Wallet/Deposit/index.js +4 -3
  40. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
  41. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  42. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
  43. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
  44. package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
  45. package/dist/components/Wallet/History/index.js +2 -2
  46. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +12 -11
  47. package/dist/components/Wallet/Portfolio/index.js +7 -6
  48. package/dist/components/Wallet/Profile/documents.js +15 -15
  49. package/dist/components/Wallet/Profile/index.js +4 -3
  50. package/dist/components/Wallet/Profile/storage.js +12 -12
  51. package/dist/components/Wallet/Receive/index.js +2 -2
  52. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -4
  53. package/dist/components/Wallet/Sell/form.js +4 -4
  54. package/dist/components/Wallet/Sell/index.js +6 -6
  55. package/dist/components/Wallet/Send/index.js +14 -13
  56. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  57. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  58. package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
  59. package/dist/components/Wallet/Shared/addBank.js +5 -4
  60. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  61. package/dist/components/Wallet/Shared/manualSend.js +5 -4
  62. package/dist/components/Wallet/SignIn/index.js +2 -2
  63. package/dist/components/Wallet/SignUp/index.js +2 -2
  64. package/dist/components/Wallet/Stake/index.js +6 -5
  65. package/dist/components/Wallet/Swap/form.js +7 -6
  66. package/dist/components/Wallet/Swap/index.js +5 -5
  67. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  68. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  69. package/dist/components/Wallet/Withdraw/form.js +4 -4
  70. package/dist/components/Wallet/Withdraw/index.js +5 -5
  71. package/dist/{constants-Styrbvke.js → constants-DREDnCMu.js} +482 -481
  72. package/dist/{cryptoAssets-CFtzXGbk.js → cryptoAssets-DbyDgq4J.js} +1 -1
  73. package/dist/{index-DAla2tRU.js → index-BXutc9ik.js} +8 -7
  74. package/dist/index-CWoxdH_Z.js +543 -0
  75. package/dist/{index-Du_jGnyO.js → index-CuPCW3XC.js} +29 -29
  76. package/dist/{index-DM6mBQ7L.js → index-DJ7xuxBy.js} +9 -8
  77. package/dist/{index-AVcxYfIV.js → index-DV1dVcrY.js} +31 -30
  78. package/dist/{index-Da-BlrMH.js → index-DYP5Ex_T.js} +9 -8
  79. package/dist/{index-CKjKCXeQ.js → index-PoMNqntN.js} +4 -4
  80. package/dist/index.esm-I_Bp2YLf.js +224 -0
  81. package/dist/kyc-D4s_B9Cf.js +33 -0
  82. package/dist/main.js +7 -7
  83. package/dist/{order-uVUTqaQ2.js → order-DGBbo_Ox.js} +1 -1
  84. package/dist/{stake-Dgx86wzO.js → stake-CdMc5H7D.js} +1 -1
  85. package/dist/util/constants.d.ts +4 -0
  86. package/dist/util/constants.js +104 -101
  87. package/dist/{wallet-BkdExH6h.js → wallet-DvfdQOju.js} +1 -1
  88. package/package.json +4 -2
  89. package/dist/index-g4Gy1BHB.js +0 -503
  90. package/dist/kyc-Ee4qAZby.js +0 -26
@@ -0,0 +1,224 @@
1
+ import { g as E } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import N from "react";
3
+ function O(i) {
4
+ if (i && i.__esModule) return i;
5
+ var o = /* @__PURE__ */ Object.create(null);
6
+ return i && Object.keys(i).forEach(function(t) {
7
+ if (t !== "default") {
8
+ var e = Object.getOwnPropertyDescriptor(i, t);
9
+ Object.defineProperty(o, t, e.get ? e : { enumerable: !0, get: function() {
10
+ return i[t];
11
+ } });
12
+ }
13
+ }), o.default = i, Object.freeze(o);
14
+ }
15
+ var C = O(N), I = function(i, o) {
16
+ return I = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, e) {
17
+ t.__proto__ = e;
18
+ } || function(t, e) {
19
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
20
+ }, I(i, o);
21
+ }, S = function() {
22
+ return S = Object.assign || function(i) {
23
+ for (var o, t = 1, e = arguments.length; t < e; t++) for (var n in o = arguments[t]) Object.prototype.hasOwnProperty.call(o, n) && (i[n] = o[n]);
24
+ return i;
25
+ }, S.apply(this, arguments);
26
+ };
27
+ function T(i) {
28
+ return i.endsWith("-v2") ? 2 : 1;
29
+ }
30
+ var M = function() {
31
+ function i(o, t, e, n) {
32
+ var s = this;
33
+ this.iframe = null, this.iframeId = null, this.sessionId = "", this.$container = null, this.initialized = !1, this.scrollPosition = -1, this.scrollElement = null, this.onMessage = function(a) {
34
+ s.onSdkMessage(a);
35
+ }, this.baseUrl = o || this.getCurrentBaseUrl("https://in.sumsub.com", t.accessToken), this.config = t, this.config.packageVersion = this.getVersion(), this.config.origin = location.origin, this.callbacks = e, this.options = n;
36
+ }
37
+ return i.prototype.getVersion = function() {
38
+ return "2.5.0";
39
+ }, i.prototype.getCurrentBaseUrl = function(o, t) {
40
+ var e = ["_act-sbx-jwt-", "_act-jwt-"].find(function(r) {
41
+ return t.startsWith(r);
42
+ });
43
+ if (e) for (var n = 0, s = t.replace(e, "").replace("-v2", "").split(".").map(function(r) {
44
+ try {
45
+ return atob(r);
46
+ } catch {
47
+ return r;
48
+ }
49
+ }).map(function(r) {
50
+ try {
51
+ return JSON.parse(r);
52
+ } catch {
53
+ return r;
54
+ }
55
+ }); n < s.length; n++) {
56
+ var a = s[n];
57
+ if (a != null && a.url) return a.url;
58
+ }
59
+ return o;
60
+ }, i.prototype.getIframeId = function() {
61
+ if (this.config.version === 2) try {
62
+ return btoa(this.config.accessToken);
63
+ } catch {
64
+ return this.config.accessToken;
65
+ }
66
+ return String(Math.floor(1e8 * Math.random()));
67
+ }, i.prototype.launch = function(o) {
68
+ this.options.addViewportTag && this.addViewportTag(), this.iframe = this.createIframe(o), this.sessionId = "", this.iframeId = "id_" + this.getIframeId(), this.iframe && this.config ? (this.registerEventListener(), this.iframe.src = this.getIframeSrc()) : console.error("Idensic was not initialized since either provided element was not found in the DOM or invalid config");
69
+ }, i.prototype.addViewportTag = function() {
70
+ var o = document.getElementsByName("viewport");
71
+ if (!o || o.length === 0) {
72
+ var t = document.createElement("meta");
73
+ t.setAttribute("name", "viewport"), t.setAttribute("content", "width=device-width,user-scalable=yes"), document.head.appendChild(t);
74
+ }
75
+ }, i.prototype.createIframe = function(o) {
76
+ var t = typeof o == "string" ? document.querySelector(o) : o;
77
+ if (!t) return console.error("Provide a valid selector for the iframe container"), null;
78
+ this.$container = t;
79
+ var e = document.createElement("iframe");
80
+ for (e.width = "100%", e.scrolling = "no", e.allow = "camera; microphone; geolocation; clipboard-write", e.setAttribute("frameborder", "0"); t.firstChild; ) t.removeChild(t.firstChild);
81
+ return t.appendChild(e), e;
82
+ }, i.prototype.getIframeSrc = function() {
83
+ var o = "?_=" + this.iframeId, t = this.config.version === 2 ? "/websdk" : "/idensic", e = this.baseUrl + t + "/websdk.html";
84
+ return this.config.version === 2 && this.config.theme && (o += "&theme=" + this.config.theme), this.config.version === 2 && this.config.customizationName && (o += "&customizationName=" + encodeURIComponent(this.config.customizationName)), this.config.version === 2 && this.config.translationName && (o += "&translationName=" + encodeURIComponent(this.config.translationName)), e + o;
85
+ }, i.prototype.registerEventListener = function() {
86
+ window.addEventListener("message", this.onMessage);
87
+ }, i.prototype.onSdkMessage = function(o) {
88
+ var t;
89
+ if (this.baseUrl === o.origin) {
90
+ var e = o.data;
91
+ if (e.method && ~e.method.indexOf("idCheck") && (!this.sessionId || this.sessionId === e.sessionId) && (!((t = this.iframe) === null || t === void 0) && t.contentWindow)) {
92
+ if (e.method == "idCheck.onReady" && e.frameId === this.iframeId) {
93
+ this.sessionId = e.sessionId;
94
+ var n = { options: { adaptIframeHeight: this.options.adaptIframeHeight, enableScrollIntoView: this.options.enableScrollIntoView } };
95
+ this.iframe.contentWindow.postMessage(S(S({ method: "idCheck.init" }, this.config), n), "*");
96
+ }
97
+ if (e.method == "idCheck.onInitialized" && (this.initialized = !0), e.method == "idCheck.onResize" && this.options.adaptIframeHeight && (this.iframe.style.height = e.height + "px"), e.method == "idCheck.scrollTo" && this.options.adaptIframeHeight) this.scrollTo(e.top);
98
+ else if (e.method != "idCheck.getScrollPosition") if (e.method != "idCheck.restoreScrollPosition") {
99
+ var s = e.method;
100
+ delete e.method, delete e.frameId, delete e.sessionId, s === "idCheck.onError" && e.code === "invalid-token" ? this.callExpirationHandler() : s === "idCheck.onError" && typeof this.callbacks.onError == "function" ? this.callbacks.onError(e) : typeof this.callbacks.onMessage == "function" && this.callbacks.onMessage(s, e);
101
+ } else this.restoreScrollPosition();
102
+ else this.getScrollPosition();
103
+ }
104
+ }
105
+ }, i.prototype.callExpirationHandler = function() {
106
+ var o = this, t = this.callbacks.expirationHandler;
107
+ t.legacy ? t.handler(function(e) {
108
+ return o.updateAccessTokenOrReinitialize(e);
109
+ }) : t.handler().then(function(e) {
110
+ return o.updateAccessTokenOrReinitialize(e);
111
+ }, function(e) {
112
+ e != null || (e = "Failed to update access token"), e.message && (e = e.message), typeof e != "string" && (e = String(e)), o.updateAccessToken(null, e);
113
+ });
114
+ }, i.prototype.updateAccessTokenOrReinitialize = function(o) {
115
+ var t = o ? T(o) : this.config.version;
116
+ if (o && this.iframe && !this.initialized && this.config.version != t) return this.sessionId = "", this.config.accessToken = o, this.config.version = t, this.baseUrl = this.getCurrentBaseUrl(this.baseUrl, o), this.iframeId = "id_" + this.getIframeId(), void (this.iframe.src = this.getIframeSrc());
117
+ this.updateAccessToken(o);
118
+ }, i.prototype.getScrolledElement = function() {
119
+ for (var o, t = (o = this.iframe) === null || o === void 0 ? void 0 : o.parentElement; (t == null ? void 0 : t.scrollTop) === 0 && (t == null ? void 0 : t.tagName) !== "BODY"; ) t = t == null ? void 0 : t.parentElement;
120
+ return t;
121
+ }, i.prototype.getScrollPosition = function() {
122
+ var o, t, e = this.getScrolledElement();
123
+ this.scrollPosition = (e == null ? void 0 : e.scrollTop) || -1, this.scrollElement = this.scrollPosition > 0 && e ? e : null, (t = (o = this.iframe) === null || o === void 0 ? void 0 : o.contentWindow) === null || t === void 0 || t.postMessage({ method: "idCheck.scrollPositionStored" }, "*");
124
+ }, i.prototype.restoreScrollPosition = function() {
125
+ this.scrollElement && this.scrollPosition >= 0 && (this.scrollElement.scrollTop = this.scrollPosition), this.scrollPosition = -1, this.scrollElement = null;
126
+ }, i.prototype.scrollTo = function(o) {
127
+ var t;
128
+ if (this.options.enableScrollIntoView) {
129
+ var e = this.getScrolledElement();
130
+ if ((e == null ? void 0 : e.scrollTop) === 0 && (e == null ? void 0 : e.tagName) === "BODY") {
131
+ var n = ((t = this.iframe) === null || t === void 0 ? void 0 : t.getBoundingClientRect().top) || 0;
132
+ window.scrollTo({ top: n + o, behavior: "smooth" });
133
+ } else e == null || e.scrollTo({ top: o, behavior: "smooth" });
134
+ }
135
+ }, i.prototype.updateAccessToken = function(o, t) {
136
+ var e, n;
137
+ (n = (e = this.iframe) === null || e === void 0 ? void 0 : e.contentWindow) === null || n === void 0 || n.postMessage({ method: "idCheck.updateAccessToken", accessToken: o, error: t }, "*");
138
+ }, i.prototype.destroy = function() {
139
+ for (window.removeEventListener("message", this.onMessage); this.$container && this.$container.firstChild; ) this.$container.removeChild(this.$container.firstChild);
140
+ this.$container = null;
141
+ }, i.prototype.navigateBack = function() {
142
+ var o, t;
143
+ (t = (o = this.iframe) === null || o === void 0 ? void 0 : o.contentWindow) === null || t === void 0 || t.postMessage({ method: "idCheck.callNavigationBack" }, "*");
144
+ }, i.prototype.singleStepNext = function(o) {
145
+ var t, e;
146
+ (e = (t = this.iframe) === null || t === void 0 ? void 0 : t.contentWindow) === null || e === void 0 || e.postMessage({ method: "idCheck.callSingleStepNext", step: o }, "*");
147
+ }, i.prototype.setLanguage = function(o) {
148
+ var t, e;
149
+ (e = (t = this.iframe) === null || t === void 0 ? void 0 : t.contentWindow) === null || e === void 0 || e.postMessage({ method: "idCheck.callSetLanguage", language: o }, "*");
150
+ }, i.prototype.setTheme = function(o) {
151
+ var t, e;
152
+ (e = (t = this.iframe) === null || t === void 0 ? void 0 : t.contentWindow) === null || e === void 0 || e.postMessage({ method: "idCheck.callSetTheme", theme: o }, "*");
153
+ }, i;
154
+ }(), W = function() {
155
+ function i(o, t) {
156
+ if (this.config = null, this.eventHandlers = {}, this.anyEventHandler = null, this.options = { adaptIframeHeight: !0, addViewportTag: !0, enableScrollIntoView: !0 }, typeof o != "string") throw new Error("Access token must be a string");
157
+ if (typeof t != "function") throw new Error("updateAccessToken callback is required");
158
+ this.accessToken = o, this.updateAccessToken = t;
159
+ }
160
+ return i.prototype.onTestEnv = function() {
161
+ return this;
162
+ }, i.prototype.withBaseUrl = function(o) {
163
+ return this.baseUrl = o, this;
164
+ }, i.prototype.withConf = function(o) {
165
+ return this.config = o, this;
166
+ }, i.prototype.withOptions = function(o) {
167
+ var t;
168
+ return o.hasOwnProperty("adaptIframeHeight") && (this.options.adaptIframeHeight = o.adaptIframeHeight), o.hasOwnProperty("addViewportTag") && (this.options.addViewportTag = o.addViewportTag), this.options.enableScrollIntoView = (t = o.enableScrollIntoView) === null || t === void 0 || t, this;
169
+ }, i.prototype.on = function(o, t) {
170
+ return this.eventHandlers[o] = t, this;
171
+ }, i.prototype.onMessage = function(o) {
172
+ return this.anyEventHandler = o, this;
173
+ }, i.prototype.onNavigationUiControlsStateChanged = function(o) {
174
+ return this.eventHandlers["idCheck.onNavigationUiControlsStateChanged"] = o, this;
175
+ }, i.prototype.build = function() {
176
+ var o, t, e, n, s, a, r, c, d, h, u, f, p, v, g, y = this, w = T(this.accessToken);
177
+ return new M(this.baseUrl, { version: w, theme: (o = this.config) === null || o === void 0 ? void 0 : o.theme, customizationName: (t = this.config) === null || t === void 0 ? void 0 : t.customizationName, translationName: (e = this.config) === null || e === void 0 ? void 0 : e.translationName, accessToken: this.accessToken, lang: (n = this.config) === null || n === void 0 ? void 0 : n.lang, email: (s = this.config) === null || s === void 0 ? void 0 : s.email, phone: (a = this.config) === null || a === void 0 ? void 0 : a.phone, country: (r = this.config) === null || r === void 0 ? void 0 : r.country, uiConf: (c = this.config) === null || c === void 0 ? void 0 : c.uiConf, i18n: (d = this.config) === null || d === void 0 ? void 0 : d.i18n, documentsByCountries: (h = this.config) === null || h === void 0 ? void 0 : h.documentsByCountries, documentDefinitions: (u = this.config) === null || u === void 0 ? void 0 : u.documentDefinitions, autoSelectDocumentDefinitions: (f = this.config) === null || f === void 0 ? void 0 : f.autoSelectDocumentDefinitions, controlledNavigationBack: (p = this.config) === null || p === void 0 ? void 0 : p.controlledNavigationBack, singleStep: (v = this.config) === null || v === void 0 ? void 0 : v.singleStep, preferredCameras: (g = this.config) === null || g === void 0 ? void 0 : g.preferredCameras }, { expirationHandler: { legacy: !1, handler: this.updateAccessToken }, onMessage: function(k, b) {
178
+ var m, l = y.eventHandlers[k];
179
+ l ? l(b) : (m = y.anyEventHandler) === null || m === void 0 || m.call(y, k, b);
180
+ } }, this.options);
181
+ }, i;
182
+ }(), P = function(i, o) {
183
+ return new W(i, o);
184
+ }, U = function(i) {
185
+ function o(t) {
186
+ var e = i.call(this, t) || this;
187
+ return e.div = C.createRef(), e;
188
+ }
189
+ return function(t, e) {
190
+ if (typeof e != "function" && e !== null) throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
191
+ function n() {
192
+ this.constructor = t;
193
+ }
194
+ I(t, e), t.prototype = e === null ? Object.create(e) : (n.prototype = e.prototype, new n());
195
+ }(o, i), o.prototype.shouldComponentUpdate = function(t) {
196
+ return !!t.force;
197
+ }, o.prototype.componentDidMount = function() {
198
+ this.renderSDK();
199
+ }, o.prototype.componentWillUnmount = function() {
200
+ var t;
201
+ (t = this.snsWebSdk) === null || t === void 0 || t.destroy();
202
+ }, o.prototype.renderSDK = function() {
203
+ var t = function(n) {
204
+ var s = n.expirationHandler, a = n.accessToken, r = n.config, c = r === void 0 ? null : r, d = n.options, h = d === void 0 ? null : d, u = n.onError, f = u === void 0 ? null : u, p = n.onMessage, v = p === void 0 ? null : p, g = n.testEnv, y = g !== void 0 && g, w = n.baseUrl, k = w === void 0 ? null : w, b = n.onNavigationUiControlsStateChanged, m = b === void 0 ? null : b, l = P(a, s);
205
+ return c && l.withConf(c), h && l.withOptions(h), y && l.onTestEnv(), k && l.withBaseUrl(k), f && l.on("idCheck.onError", f), v && l.onMessage(v), m && l.onNavigationUiControlsStateChanged(m), l;
206
+ }(this.props), e = this.div.current;
207
+ this.snsWebSdk = t.build(), this.snsWebSdk.launch(e);
208
+ }, o.prototype.navigateBack = function() {
209
+ this.snsWebSdk && this.snsWebSdk.navigateBack();
210
+ }, o.prototype.singleStepNext = function(t) {
211
+ this.snsWebSdk && this.snsWebSdk.singleStepNext(t);
212
+ }, o.prototype.setLanguage = function(t) {
213
+ this.snsWebSdk && this.snsWebSdk.setLanguage(t);
214
+ }, o.prototype.setTheme = function(t) {
215
+ this.snsWebSdk && this.snsWebSdk.setTheme(t);
216
+ }, o.prototype.render = function() {
217
+ var t = this.props, e = t.style, n = e === void 0 ? {} : e, s = t.className, a = s === void 0 ? "" : s;
218
+ return C.createElement("div", { style: n, className: a, ref: this.div });
219
+ }, o;
220
+ }(C.Component), H = U;
221
+ const x = /* @__PURE__ */ E(H);
222
+ export {
223
+ x as S
224
+ };
@@ -0,0 +1,33 @@
1
+ import { a5 as s, a6 as e, a7 as t, a8 as E, a9 as _, aa as o, ab as c, ac as S } from "./constants-DREDnCMu.js";
2
+ const p = (a) => ({
3
+ type: _,
4
+ payload: a
5
+ }), T = () => ({
6
+ type: t
7
+ }), U = () => ({
8
+ type: E
9
+ }), R = () => ({
10
+ type: s
11
+ }), u = (a) => ({
12
+ type: e,
13
+ payload: a
14
+ }), n = (a) => ({
15
+ type: o,
16
+ payload: a
17
+ }), A = (a) => ({
18
+ type: c,
19
+ payload: a
20
+ }), D = (a) => ({
21
+ type: S,
22
+ payload: a
23
+ });
24
+ export {
25
+ n as a,
26
+ u as b,
27
+ U as c,
28
+ D as d,
29
+ R as g,
30
+ A as k,
31
+ T as r,
32
+ p as u
33
+ };
package/dist/main.js CHANGED
@@ -11,13 +11,13 @@ import { default as g } from "./components/Wallet/Account/index.js";
11
11
  import { default as P } from "./components/Wallet/Stake/index.js";
12
12
  import { default as w } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
13
13
  import { default as C } from "./components/Wallet/SwapAndUniSwap/index.js";
14
- import { i as M } from "./index-DM6mBQ7L.js";
15
- import { i as E } from "./index-DAla2tRU.js";
16
- import { i as b } from "./index-CKjKCXeQ.js";
17
- import { i as F } from "./index-Da-BlrMH.js";
14
+ import { i as M } from "./index-DJ7xuxBy.js";
15
+ import { i as E } from "./index-BXutc9ik.js";
16
+ import { i as b } from "./index-PoMNqntN.js";
17
+ import { i as F } from "./index-DYP5Ex_T.js";
18
18
  import { default as I } from "./components/Wallet/EnterpriseKyc/index.js";
19
19
  import { default as W } from "./components/Wallet/Deposit/index.js";
20
- import { F as j } from "./index-g4Gy1BHB.js";
20
+ import { F as j } from "./index-CWoxdH_Z.js";
21
21
  import { useSnackBar as z } from "./hooks/useSnackBar.js";
22
22
  import { SnackBarContext as J, useSnackBarContext as L } from "./context/snackBarContext.js";
23
23
  import { useDialog as Q } from "./hooks/useDialog/index.js";
@@ -26,8 +26,8 @@ import { default as _ } from "./components/RocketRamp/Player/SignIn/index.js";
26
26
  import { default as oo } from "./components/RocketRamp/Player/SignUp/index.js";
27
27
  import { default as ao } from "./components/RocketRamp/Player/Dashboard/index.js";
28
28
  import { default as to } from "./components/RocketRamp/Transactions/index.js";
29
- import { i as po } from "./index-Du_jGnyO.js";
30
- import { i as so } from "./index-AVcxYfIV.js";
29
+ import { i as po } from "./index-CuPCW3XC.js";
30
+ import { i as so } from "./index-DV1dVcrY.js";
31
31
  import { default as xo } from "./components/RocketRamp/MinimalKyc/index.js";
32
32
  import { default as io } from "./components/RocketRamp/Store/SignUp/index.js";
33
33
  import { default as Ro } from "./components/RocketRamp/Store/Dashboard/index.js";
@@ -1,4 +1,4 @@
1
- import { O as s, x as t, y as E, z as R, B as o, C as r, D as _, E as p, G as T, H as y, I as d, J as S, M as D } from "./constants-Styrbvke.js";
1
+ import { O as s, x as t, y as E, z as R, B as o, C as r, D as _, E as p, G as T, H as y, I as d, J as S, M as D } from "./constants-DREDnCMu.js";
2
2
  const O = (e) => ({
3
3
  type: d,
4
4
  payload: e
@@ -1,4 +1,4 @@
1
- import { S as t, N as a, P as e, Q as S } from "./constants-Styrbvke.js";
1
+ import { S as t, N as a, P as e, Q as S } from "./constants-DREDnCMu.js";
2
2
  const T = () => ({
3
3
  type: t
4
4
  }), o = (s) => ({
@@ -104,3 +104,7 @@ export declare const KYC_APROVED_TOOLTIP = "You are allowed to transact up to $1
104
104
  export declare const KYC_ELITE_TOOLTIP = "You are allowed to transact more than $10,000";
105
105
  export declare const FEATURE_EWALLET = "eWallet";
106
106
  export declare const FEATURE_VIRTUAL_IBAN = "Virtual IBAN";
107
+ export declare const KYC_PROVIDER_INCODE: "incode";
108
+ export declare const KYC_PROVIDER_SUMSUB: "sumsub";
109
+ export type KycProviderType = typeof KYC_PROVIDER_INCODE | typeof KYC_PROVIDER_SUMSUB;
110
+ export declare const KYC_PROVIDER: KycProviderType;
@@ -1,109 +1,112 @@
1
- const _ = "https://static-assets.everest.org", o = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", E = t + "/sell-withdraw.png", e = t + "/back-btn.png", c = t + "/delete.png", T = n + "/history-buy.svg", A = n + "/history-sell.svg", a = n + "/history-swap.svg", I = t + "/wallet-icon.png", O = t + "/stake-id.png", N = s + "/stake-gem.png", S = n + "/swap-receive-down-arrow.svg", R = t + "/sepa-payment.png", r = t + "/sepa-payment-selected.png", i = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", P = t + "/sepa.png", C = t + "/visa.png", D = t + "/dialog-error.png", d = t + "/dialog-success.png", p = n + "/expand-down-arrow.svg", Y = n + "/expand-right-arrow.svg", M = n + "/back-arrow.svg", g = n + "/right-arrow.svg", l = n + "/radio-button.svg", K = n + "/radio-button-selected.svg", U = n + "/sepa.png", B = n + "/sepa-selected.png", u = n + "/visa.png", h = n + "/visa-selected.png", v = t + "/cloud-icon.png", W = t + "/storage-success.png", y = "railsbank", m = "open_payd", w = "checkout", G = "trustpayments", V = "paysafe", b = "cardcorp", k = "plaid", H = "$", F = "€", f = "USD", $ = "EUR", X = "GBP", x = "Binance", j = "Polygon", z = "EverChain", Z = "IDChain", q = "Ethereum", J = "Avalanche", Q = "USD.c", tt = "EUR.c", nt = "EURE.c", _t = "GBP.c", st = "BTC.c", ot = "GEMS.c", Et = "ID", et = "GEMS", ct = "USDR.c", Tt = "fiat_to_token", At = "fiat_to_everid", at = "token_to_fiat", It = "token_to_token", Ot = "withdraw", Nt = "iban_creation", St = "bank_transfer", Rt = "bank_deposit", rt = "Created", it = "In Process", Lt = "Completed", Pt = "Failed", Ct = "Awaiting Approved", Dt = "Rejected", dt = "ID", pt = "GEMS", Yt = 90, Mt = 3, gt = 180, lt = 8, Kt = 365, Ut = 18, Bt = 365, ut = 20, ht = "Linked Wallets make transactions easier, automating the signing process during Sell, Swap, Stake, Send and Remit transactions because you have backed up your Private Key with Everest.", vt = "Connected Wallets are those that you have demonstrated you control, but you must manually move tokens as the system can not do so without the Private Key.", Wt = "The rate shown here is an estimate and the rate you receive will be determined at the time when your payment is settled. The time taken for your payment to settle can vary depending on currency and payment method.", yt = 300, mt = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters", wt = "_rr", Gt = "credit_debit_card", Vt = "sepa_bank_transfer", bt = "player", kt = "store", Ht = "login_screen", Ft = "register_screen", ft = "Individual", $t = "Organization", Xt = "Over $100,000", xt = "Over $1,000 & Under $100,000", jt = "Under $1,000", zt = "Declined", Zt = "You are allowed to transact up to $10,000", qt = "You are allowed to transact more than $10,000", Jt = "eWallet", Qt = "Virtual IBAN";
1
+ const _ = "https://static-assets.everest.org", E = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", e = t + "/sell-withdraw.png", c = t + "/back-btn.png", T = t + "/delete.png", A = n + "/history-buy.svg", a = n + "/history-sell.svg", I = n + "/history-swap.svg", O = t + "/wallet-icon.png", N = t + "/stake-id.png", S = s + "/stake-gem.png", R = n + "/swap-receive-down-arrow.svg", r = t + "/sepa-payment.png", i = t + "/sepa-payment-selected.png", P = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", C = t + "/sepa.png", D = t + "/visa.png", d = t + "/dialog-error.png", Y = t + "/dialog-success.png", p = n + "/expand-down-arrow.svg", M = n + "/expand-right-arrow.svg", g = n + "/back-arrow.svg", l = n + "/right-arrow.svg", K = n + "/radio-button.svg", U = n + "/radio-button-selected.svg", B = n + "/sepa.png", u = n + "/sepa-selected.png", h = n + "/visa.png", v = n + "/visa-selected.png", W = t + "/cloud-icon.png", y = t + "/storage-success.png", m = "railsbank", w = "open_payd", G = "checkout", V = "trustpayments", b = "paysafe", k = "cardcorp", H = "plaid", F = "$", f = "€", $ = "USD", X = "EUR", x = "GBP", j = "Binance", z = "Polygon", Z = "EverChain", q = "IDChain", J = "Ethereum", Q = "Avalanche", tt = "USD.c", nt = "EUR.c", _t = "EURE.c", st = "GBP.c", ot = "BTC.c", Et = "GEMS.c", et = "ID", ct = "GEMS", Tt = "USDR.c", At = "fiat_to_token", at = "fiat_to_everid", It = "token_to_fiat", Ot = "token_to_token", Nt = "withdraw", St = "iban_creation", Rt = "bank_transfer", rt = "bank_deposit", it = "Created", Pt = "In Process", Lt = "Completed", Ct = "Failed", Dt = "Awaiting Approved", dt = "Rejected", Yt = "ID", pt = "GEMS", Mt = 90, gt = 3, lt = 180, Kt = 8, Ut = 365, Bt = 18, ut = 365, ht = 20, vt = "Linked Wallets make transactions easier, automating the signing process during Sell, Swap, Stake, Send and Remit transactions because you have backed up your Private Key with Everest.", Wt = "Connected Wallets are those that you have demonstrated you control, but you must manually move tokens as the system can not do so without the Private Key.", yt = "The rate shown here is an estimate and the rate you receive will be determined at the time when your payment is settled. The time taken for your payment to settle can vary depending on currency and payment method.", mt = 300, wt = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters", Gt = "_rr", Vt = "credit_debit_card", bt = "sepa_bank_transfer", kt = "player", Ht = "store", Ft = "login_screen", ft = "register_screen", $t = "Individual", Xt = "Organization", xt = "Over $100,000", jt = "Over $1,000 & Under $100,000", zt = "Under $1,000", Zt = "Declined", qt = "You are allowed to transact up to $10,000", Jt = "You are allowed to transact more than $10,000", Qt = "eWallet", tn = "Virtual IBAN", nn = "incode", o = "sumsub", _n = o;
2
2
  export {
3
- S as ARROW_ICON,
4
- J as AVALANCHE_NETWORK,
5
- M as BACK_ARROW,
6
- e as BACK_BTN_ICON,
7
- Rt as BANK_DEPOSIT,
8
- St as BANK_TRANSFER,
9
- x as BINANCE_NETWORK,
10
- st as BTC_TOKEN_SYMBOL,
11
- zt as CARD_PAYMENT_DECLINE,
12
- v as CLOUD_ICON,
13
- vt as CONNECTED_WALLET_TOOLTIP,
14
- c as DELETE_ICON,
15
- D as DIALOG_ERROR_ICON,
16
- d as DIALOG_SUCCESS_ICON,
17
- U as ENT_SEPA_PAYMENT,
18
- B as ENT_SEPA_PAYMENT_ACTIVE,
19
- u as ENT_VISA_PAYMENT,
20
- h as ENT_VISA_PAYMENT_ACTIVE,
21
- Wt as ESTIMATE_TOOLTIP_TEXT,
22
- q as ETHEREUM_NETWORK,
23
- $ as EURO_ISO3,
24
- F as EURO_SIGN,
25
- z as EVER_CHAIN_NETWORK,
26
- Jt as FEATURE_EWALLET,
27
- Qt as FEATURE_VIRTUAL_IBAN,
28
- At as FIAT_TO_EVER_ID,
29
- Tt as FIAT_TO_TOKEN,
30
- Ot as FIAT_WITHDRAW,
31
- X as GBP_ISO3,
3
+ R as ARROW_ICON,
4
+ Q as AVALANCHE_NETWORK,
5
+ g as BACK_ARROW,
6
+ c as BACK_BTN_ICON,
7
+ rt as BANK_DEPOSIT,
8
+ Rt as BANK_TRANSFER,
9
+ j as BINANCE_NETWORK,
10
+ ot as BTC_TOKEN_SYMBOL,
11
+ Zt as CARD_PAYMENT_DECLINE,
12
+ W as CLOUD_ICON,
13
+ Wt as CONNECTED_WALLET_TOOLTIP,
14
+ T as DELETE_ICON,
15
+ d as DIALOG_ERROR_ICON,
16
+ Y as DIALOG_SUCCESS_ICON,
17
+ B as ENT_SEPA_PAYMENT,
18
+ u as ENT_SEPA_PAYMENT_ACTIVE,
19
+ h as ENT_VISA_PAYMENT,
20
+ v as ENT_VISA_PAYMENT_ACTIVE,
21
+ yt as ESTIMATE_TOOLTIP_TEXT,
22
+ J as ETHEREUM_NETWORK,
23
+ X as EURO_ISO3,
24
+ f as EURO_SIGN,
25
+ Z as EVER_CHAIN_NETWORK,
26
+ Qt as FEATURE_EWALLET,
27
+ tn as FEATURE_VIRTUAL_IBAN,
28
+ at as FIAT_TO_EVER_ID,
29
+ At as FIAT_TO_TOKEN,
30
+ Nt as FIAT_WITHDRAW,
31
+ x as GBP_ISO3,
32
32
  pt as GEMS_STAKE,
33
- et as GEMS_TOKEN_SYMBOL,
34
- ot as GEM_SYNTHETIC_TOKEN_SYMBOL,
35
- T as HISTORY_BUY_ICON,
36
- A as HISTORY_SELL_ICON,
37
- a as HISTORY_SWAP_ICON,
38
- Nt as IBAN_CREATION,
39
- Z as ID_CHAIN_NETWORK,
40
- dt as ID_STAKE,
41
- Et as ID_TOKEN_SYMBOL,
42
- ft as INDIVIDUAL_KYC_TYPE,
43
- Zt as KYC_APROVED_TOOLTIP,
44
- xt as KYC_BETWEEN_TRANSATION,
45
- qt as KYC_ELITE_TOOLTIP,
46
- Xt as KYC_OVER_TRANSATION,
47
- jt as KYC_UNDER_TRANSATION,
48
- ht as LINKED_WALLET_TOOLTIP,
49
- Ht as LOGIN_SCREEN,
50
- $t as ORGANIZATION_KYC_TYPE,
51
- Vt as PAYMENT_BANK,
52
- Gt as PAYMENT_CARD,
53
- b as PAYMENT_PROVIDER_CARDCORP,
54
- w as PAYMENT_PROVIDER_CHECKOUT,
55
- m as PAYMENT_PROVIDER_OPENPAYD,
56
- V as PAYMENT_PROVIDER_PAYSAFE,
57
- k as PAYMENT_PROVIDER_PLAID,
58
- y as PAYMENT_PROVIDER_RAILSBANK,
59
- G as PAYMENT_PROVIDER_TRUST_PAYMENTS,
60
- bt as PLAYER_WEBSITE,
61
- j as POLYGON_NETWORK,
33
+ ct as GEMS_TOKEN_SYMBOL,
34
+ Et as GEM_SYNTHETIC_TOKEN_SYMBOL,
35
+ A as HISTORY_BUY_ICON,
36
+ a as HISTORY_SELL_ICON,
37
+ I as HISTORY_SWAP_ICON,
38
+ St as IBAN_CREATION,
39
+ q as ID_CHAIN_NETWORK,
40
+ Yt as ID_STAKE,
41
+ et as ID_TOKEN_SYMBOL,
42
+ $t as INDIVIDUAL_KYC_TYPE,
43
+ qt as KYC_APROVED_TOOLTIP,
44
+ jt as KYC_BETWEEN_TRANSATION,
45
+ Jt as KYC_ELITE_TOOLTIP,
46
+ xt as KYC_OVER_TRANSATION,
47
+ _n as KYC_PROVIDER,
48
+ nn as KYC_PROVIDER_INCODE,
49
+ o as KYC_PROVIDER_SUMSUB,
50
+ zt as KYC_UNDER_TRANSATION,
51
+ vt as LINKED_WALLET_TOOLTIP,
52
+ Ft as LOGIN_SCREEN,
53
+ Xt as ORGANIZATION_KYC_TYPE,
54
+ bt as PAYMENT_BANK,
55
+ Vt as PAYMENT_CARD,
56
+ k as PAYMENT_PROVIDER_CARDCORP,
57
+ G as PAYMENT_PROVIDER_CHECKOUT,
58
+ w as PAYMENT_PROVIDER_OPENPAYD,
59
+ b as PAYMENT_PROVIDER_PAYSAFE,
60
+ H as PAYMENT_PROVIDER_PLAID,
61
+ m as PAYMENT_PROVIDER_RAILSBANK,
62
+ V as PAYMENT_PROVIDER_TRUST_PAYMENTS,
63
+ kt as PLAYER_WEBSITE,
64
+ z as POLYGON_NETWORK,
62
65
  p as PORTFOLIO_TOKEN_DOWN_ARROW,
63
- Y as PORTFOLIO_TOKEN_RIGHT_ARROW,
64
- l as RADIO_BUTTON,
65
- K as RADIO_BUTTON_SELECTED,
66
- Ft as REGISTER_SCREEN,
67
- yt as RESEND_EMAIL_TIMER,
68
- g as RIGHT_ARROW,
69
- E as SELL_WITHDRAW_ICON,
70
- P as SEPA_ICON,
71
- R as SEPA_PAYMENT,
72
- r as SEPA_PAYMENT_ACTIVE,
73
- N as STAKE_GEM_ICON,
74
- ut as STAKE_GEM_MAX_APY,
75
- Bt as STAKE_GEM_MAX_DAYS,
76
- O as STAKE_ID_ICON,
77
- Ut as STAKE_ID_MAX_APY,
78
- Kt as STAKE_ID_MAX_DAYS,
79
- lt as STAKE_ID_MID_APY,
80
- gt as STAKE_ID_MID_DAYS,
81
- Mt as STAKE_ID_MIN_APY,
82
- Yt as STAKE_ID_MIN_DAYS,
66
+ M as PORTFOLIO_TOKEN_RIGHT_ARROW,
67
+ K as RADIO_BUTTON,
68
+ U as RADIO_BUTTON_SELECTED,
69
+ ft as REGISTER_SCREEN,
70
+ mt as RESEND_EMAIL_TIMER,
71
+ l as RIGHT_ARROW,
72
+ e as SELL_WITHDRAW_ICON,
73
+ C as SEPA_ICON,
74
+ r as SEPA_PAYMENT,
75
+ i as SEPA_PAYMENT_ACTIVE,
76
+ S as STAKE_GEM_ICON,
77
+ ht as STAKE_GEM_MAX_APY,
78
+ ut as STAKE_GEM_MAX_DAYS,
79
+ N as STAKE_ID_ICON,
80
+ Bt as STAKE_ID_MAX_APY,
81
+ Ut as STAKE_ID_MAX_DAYS,
82
+ Kt as STAKE_ID_MID_APY,
83
+ lt as STAKE_ID_MID_DAYS,
84
+ gt as STAKE_ID_MIN_APY,
85
+ Mt as STAKE_ID_MIN_DAYS,
83
86
  _ as STATIC_ASSETS_BASE_URL,
84
- W as STORAGE_SUCCESS,
85
- kt as STORE_WEBSITE,
86
- tt as SYNTHETIC_EUR,
87
- nt as SYNTHETIC_EURE,
88
- _t as SYNTHETIC_GBP,
89
- Q as SYNTHETIC_USD,
90
- at as TOKEN_TO_FIAT,
91
- It as TOKEN_TO_TOKEN,
87
+ y as STORAGE_SUCCESS,
88
+ Ht as STORE_WEBSITE,
89
+ nt as SYNTHETIC_EUR,
90
+ _t as SYNTHETIC_EURE,
91
+ st as SYNTHETIC_GBP,
92
+ tt as SYNTHETIC_USD,
93
+ It as TOKEN_TO_FIAT,
94
+ Ot as TOKEN_TO_TOKEN,
92
95
  Lt as TS_COMPLETE_LABEL,
93
- rt as TS_CREATED_LABEL,
94
- Pt as TS_FAIL_LABEL,
95
- Dt as TS_NOT_APPROVAL_LABEL,
96
- it as TS_PENDING_LABEL,
97
- Ct as TS_WAIT_APPROVAL_LABEL,
98
- ct as USDR_TOKEN_SYMBOL,
99
- wt as USERNAME_SUFFIX,
100
- mt as USERNAME_TOOLTIP,
101
- f as US_DOLLAR_ISO3,
102
- H as US_DOLLAR_SIGN,
103
- C as VISA_ICON,
104
- i as VISA_PAYMENT,
96
+ it as TS_CREATED_LABEL,
97
+ Ct as TS_FAIL_LABEL,
98
+ dt as TS_NOT_APPROVAL_LABEL,
99
+ Pt as TS_PENDING_LABEL,
100
+ Dt as TS_WAIT_APPROVAL_LABEL,
101
+ Tt as USDR_TOKEN_SYMBOL,
102
+ Gt as USERNAME_SUFFIX,
103
+ wt as USERNAME_TOOLTIP,
104
+ $ as US_DOLLAR_ISO3,
105
+ F as US_DOLLAR_SIGN,
106
+ D as VISA_ICON,
107
+ P as VISA_PAYMENT,
105
108
  L as VISA_PAYMENT_ACTIVE,
106
- I as WALLET_ICON,
109
+ O as WALLET_ICON,
107
110
  s as WALLET_IMAGES_URL,
108
- o as WIDGET_URL
111
+ E as WIDGET_URL
109
112
  };
@@ -1,4 +1,4 @@
1
- import { F as a, U as e, p as t, q as E, r as T, s as A, t as _, u as o, v as S, w as l } from "./constants-Styrbvke.js";
1
+ import { F as a, U as e, p as t, q as E, r as T, s as A, t as _, u as o, v as S, w as l } from "./constants-DREDnCMu.js";
2
2
  const L = () => ({
3
3
  type: e
4
4
  }), d = () => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "everest-npm-features",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Everest frontend features library.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -31,8 +31,9 @@
31
31
  "@metamask/sdk-react": "^0.29.2",
32
32
  "@mui/icons-material": "^7.2.0",
33
33
  "@mui/material": "^7.2.0",
34
+ "@sumsub/websdk-react": "^2.5.0",
34
35
  "@walletconnect/ethereum-provider": "^2.17.1",
35
- "everest-npm-api": "^0.0.41",
36
+ "everest-npm-api": "^0.0.43",
36
37
  "frames-react": "^1.2.2",
37
38
  "moment": "^2.30.1",
38
39
  "mui-one-time-password-input": "^5.0.0",
@@ -40,6 +41,7 @@
40
41
  "qrcode.react": "^4.0.1",
41
42
  "react-plaid-link": "^3.6.0",
42
43
  "react-webcam": "^7.2.0",
44
+ "redux-saga": "^1.4.2",
43
45
  "uuid": "^10.0.0",
44
46
  "web3": "^4.13.0"
45
47
  },