everest-npm-features 0.0.9 → 0.0.10

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/dist/main.js CHANGED
@@ -14,7 +14,7 @@ import { default as b } from "./components/RocketRamp/Player/SignIn/index.js";
14
14
  import { default as B } from "./components/RocketRamp/Player/SignUp/index.js";
15
15
  import { default as E } from "./components/RocketRamp/Player/Dashboard/index.js";
16
16
  import { default as M } from "./components/RocketRamp/Transactions/index.js";
17
- import { i as C } from "./index-BMhrzXlc.js";
17
+ import { i as C } from "./index-DNVjDI72.js";
18
18
  import { i as K } from "./index-Dxl09QM3.js";
19
19
  import { default as W } from "./components/RocketRamp/MinimalKyc/index.js";
20
20
  import { default as q } from "./components/RocketRamp/Store/SignUp/index.js";
@@ -67,6 +67,8 @@ export declare const LINKED_WALLET_TOOLTIP = "Linked Wallets make transactions e
67
67
  export declare const CONNECTED_WALLET_TOOLTIP = "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.";
68
68
  export declare const ESTIMATE_TOOLTIP_TEXT = "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.";
69
69
  export declare const RESEND_EMAIL_TIMER = 300;
70
+ export declare const USERNAME_TOOLTIP = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters";
71
+ export declare const USERNAME_SUFFIX = "_rr";
70
72
  export declare const PAYMENT_CARD = "credit_debit_card";
71
73
  export declare const PAYMENT_BANK = "sepa_bank_transfer";
72
74
  export declare const PLAYER_WEBSITE = "player";
@@ -1,8 +1,8 @@
1
- const n = "https://static-assets.everest.org", s = n + "/web/widget", _ = n + "/web/wallet/images", t = _ + "/new", e = t + "/back-btn.png", o = t + "/delete.png", E = t + "/history-buy.png", c = t + "/history-sell.png", T = t + "/history-swap.png", A = t + "/wallet-icon.png", a = t + "/stake-id.png", I = _ + "/stake-gem.png", S = t + "/icon-arrow.png", O = t + "/sepa-payment.png", N = t + "/sepa-payment-selected.png", i = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", R = t + "/sepa.png", r = t + "/visa.png", D = t + "/dialog-error.png", p = t + "/dialog-success.png", C = "railsbank", P = "open_payd", M = "checkout", d = "trustpayments", K = "$", Y = "€", g = "USD", l = "EUR", y = "Binance", h = "Polygon", B = "EverChain", m = "IDChain", u = "Ethereum", W = "Avalanche", U = "USD.c", k = "EUR.c", G = "BTC.c", w = "GEMS.c", v = "ID", b = "GEMS", V = "USDR.c", H = "fiat_to_token", F = "fiat_to_everid", f = "token_to_fiat", X = "token_to_token", j = "withdraw", x = "iban_creation", $ = "bank_transfer", q = "bank_deposit", z = "Created", J = "In Process", Q = "Completed", Z = "Failed", tt = "Awaiting Approved", nt = "Rejected", _t = "ID", st = "GEMS", et = 90, ot = 3, Et = 180, ct = 8, Tt = 365, At = 18, at = 365, It = 20, St = "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.", Ot = "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.", Nt = "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.", it = 300, Lt = "credit_debit_card", Rt = "sepa_bank_transfer", rt = "player", Dt = "store";
1
+ const n = "https://static-assets.everest.org", e = n + "/web/widget", _ = n + "/web/wallet/images", t = _ + "/new", s = t + "/back-btn.png", o = t + "/delete.png", E = t + "/history-buy.png", c = t + "/history-sell.png", T = t + "/history-swap.png", A = t + "/wallet-icon.png", a = t + "/stake-id.png", I = _ + "/stake-gem.png", S = t + "/icon-arrow.png", O = t + "/sepa-payment.png", N = t + "/sepa-payment-selected.png", r = t + "/visa-payment.png", R = t + "/visa-payment-selected.png", i = t + "/sepa.png", L = t + "/visa.png", D = t + "/dialog-error.png", p = t + "/dialog-success.png", M = "railsbank", P = "open_payd", C = "checkout", d = "trustpayments", K = "$", Y = "€", l = "USD", g = "EUR", y = "Binance", h = "Polygon", m = "EverChain", B = "IDChain", u = "Ethereum", U = "Avalanche", W = "USD.c", k = "EUR.c", G = "BTC.c", w = "GEMS.c", b = "ID", v = "GEMS", V = "USDR.c", H = "fiat_to_token", F = "fiat_to_everid", f = "token_to_fiat", X = "token_to_token", x = "withdraw", j = "iban_creation", $ = "bank_transfer", q = "bank_deposit", z = "Created", J = "In Process", Q = "Completed", Z = "Failed", tt = "Awaiting Approved", nt = "Rejected", _t = "ID", et = "GEMS", st = 90, ot = 3, Et = 180, ct = 8, Tt = 365, At = 18, at = 365, It = 20, St = "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.", Ot = "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.", Nt = "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.", rt = 300, Rt = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters", it = "_rr", Lt = "credit_debit_card", Dt = "sepa_bank_transfer", pt = "player", Mt = "store";
2
2
  export {
3
3
  S as ARROW_ICON,
4
- W as AVALANCHE_NETWORK,
5
- e as BACK_BTN_ICON,
4
+ U as AVALANCHE_NETWORK,
5
+ s as BACK_BTN_ICON,
6
6
  q as BANK_DEPOSIT,
7
7
  $ as BANK_TRANSFER,
8
8
  y as BINANCE_NETWORK,
@@ -13,33 +13,33 @@ export {
13
13
  p as DIALOG_SUCCESS_ICON,
14
14
  Nt as ESTIMATE_TOOLTIP_TEXT,
15
15
  u as ETHEREUM_NETWORK,
16
- l as EURO_ISO3,
16
+ g as EURO_ISO3,
17
17
  Y as EURO_SIGN,
18
- B as EVER_CHAIN_NETWORK,
18
+ m as EVER_CHAIN_NETWORK,
19
19
  F as FIAT_TO_EVER_ID,
20
20
  H as FIAT_TO_TOKEN,
21
- j as FIAT_WITHDRAW,
22
- st as GEMS_STAKE,
23
- b as GEMS_TOKEN_SYMBOL,
21
+ x as FIAT_WITHDRAW,
22
+ et as GEMS_STAKE,
23
+ v as GEMS_TOKEN_SYMBOL,
24
24
  w as GEM_SYNTHETIC_TOKEN_SYMBOL,
25
25
  E as HISTORY_BUY_ICON,
26
26
  c as HISTORY_SELL_ICON,
27
27
  T as HISTORY_SWAP_ICON,
28
- x as IBAN_CREATION,
29
- m as ID_CHAIN_NETWORK,
28
+ j as IBAN_CREATION,
29
+ B as ID_CHAIN_NETWORK,
30
30
  _t as ID_STAKE,
31
- v as ID_TOKEN_SYMBOL,
31
+ b as ID_TOKEN_SYMBOL,
32
32
  St as LINKED_WALLET_TOOLTIP,
33
- Rt as PAYMENT_BANK,
33
+ Dt as PAYMENT_BANK,
34
34
  Lt as PAYMENT_CARD,
35
- M as PAYMENT_PROVIDER_CHECKOUT,
35
+ C as PAYMENT_PROVIDER_CHECKOUT,
36
36
  P as PAYMENT_PROVIDER_OPENPAYD,
37
- C as PAYMENT_PROVIDER_RAILSBANK,
37
+ M as PAYMENT_PROVIDER_RAILSBANK,
38
38
  d as PAYMENT_PROVIDER_TRUST_PAYMENTS,
39
- rt as PLAYER_WEBSITE,
39
+ pt as PLAYER_WEBSITE,
40
40
  h as POLYGON_NETWORK,
41
- it as RESEND_EMAIL_TIMER,
42
- R as SEPA_ICON,
41
+ rt as RESEND_EMAIL_TIMER,
42
+ i as SEPA_ICON,
43
43
  O as SEPA_PAYMENT,
44
44
  N as SEPA_PAYMENT_ACTIVE,
45
45
  I as STAKE_GEM_ICON,
@@ -51,11 +51,11 @@ export {
51
51
  ct as STAKE_ID_MID_APY,
52
52
  Et as STAKE_ID_MID_DAYS,
53
53
  ot as STAKE_ID_MIN_APY,
54
- et as STAKE_ID_MIN_DAYS,
54
+ st as STAKE_ID_MIN_DAYS,
55
55
  n as STATIC_ASSETS_BASE_URL,
56
- Dt as STORE_WEBSITE,
56
+ Mt as STORE_WEBSITE,
57
57
  k as SYNTHETIC_EUR,
58
- U as SYNTHETIC_USD,
58
+ W as SYNTHETIC_USD,
59
59
  f as TOKEN_TO_FIAT,
60
60
  X as TOKEN_TO_TOKEN,
61
61
  Q as TS_COMPLETE_LABEL,
@@ -65,12 +65,14 @@ export {
65
65
  J as TS_PENDING_LABEL,
66
66
  tt as TS_WAIT_APPROVAL_LABEL,
67
67
  V as USDR_TOKEN_SYMBOL,
68
- g as US_DOLLAR_ISO3,
68
+ it as USERNAME_SUFFIX,
69
+ Rt as USERNAME_TOOLTIP,
70
+ l as US_DOLLAR_ISO3,
69
71
  K as US_DOLLAR_SIGN,
70
- r as VISA_ICON,
71
- i as VISA_PAYMENT,
72
- L as VISA_PAYMENT_ACTIVE,
72
+ L as VISA_ICON,
73
+ r as VISA_PAYMENT,
74
+ R as VISA_PAYMENT_ACTIVE,
73
75
  A as WALLET_ICON,
74
76
  _ as WALLET_IMAGES_URL,
75
- s as WIDGET_URL
77
+ e as WIDGET_URL
76
78
  };
@@ -146,7 +146,7 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxwAAAMcCAYAAADaB6MIAAA
146
146
  }
147
147
  return parseInt(f);
148
148
  }, q = (z = 12) => {
149
- const f = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
149
+ const f = "abcdefghijklmnopqrstuvwxyz0123456789";
150
150
  let c = "";
151
151
  for (let D = 0; D < z; D++)
152
152
  c += f.charAt(Math.floor(Math.random() * f.length));
@@ -1,3 +1,6 @@
1
1
  export declare const decimalNumbersWithCommaOrDot: RegExp;
2
2
  export declare const emailRegex: RegExp;
3
3
  export declare const nameRegex: RegExp;
4
+ export declare const userNameRegex: RegExp;
5
+ export declare const storeNameOnChangeRegex: RegExp;
6
+ export declare const storeNameRegex: RegExp;
@@ -1,6 +1,9 @@
1
- const e = /^(?!0*[.,]?0+$)\d*[.,]?\d+$/, a = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, m = /^[a-z ,.'-]+$/i;
1
+ const e = /^(?!0*[.,]?0+$)\d*[.,]?\d+$/, a = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, o = /^[a-z ,.'-]+$/i, t = /^[A-Za-z0-9_]{0,13}$/, s = /^[a-z0-9_]{0,50}$/, m = new RegExp("^(?!_)[a-z0-9_]+(?<!_)$");
2
2
  export {
3
3
  e as decimalNumbersWithCommaOrDot,
4
4
  a as emailRegex,
5
- m as nameRegex
5
+ o as nameRegex,
6
+ s as storeNameOnChangeRegex,
7
+ m as storeNameRegex,
8
+ t as userNameRegex
6
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "everest-npm-features",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Everest frontend features library.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",