@coin-voyage/paykit 2.2.7-beta.2 → 2.2.7-beta.4

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/components/Pages/About/index.js +86 -80
  2. package/dist/components/Pages/Confirmation/index.js +8 -7
  3. package/dist/components/Pages/PayToAddress/copyable-info.d.ts +8 -0
  4. package/dist/components/Pages/PayToAddress/copyable-info.js +11 -0
  5. package/dist/components/Pages/PayToAddress/index.d.ts +1 -0
  6. package/dist/components/Pages/PayToAddress/index.js +77 -0
  7. package/dist/components/Pages/PayToAddress/styles.d.ts +7 -0
  8. package/dist/components/Pages/PayToAddress/styles.js +36 -0
  9. package/dist/components/Pages/PayWithToken/index.js +19 -18
  10. package/dist/components/Pages/SelectChain/index.d.ts +1 -0
  11. package/dist/components/Pages/SelectChain/index.js +30 -0
  12. package/dist/components/Pages/SelectMethod/index.js +4 -9
  13. package/dist/components/Pages/SelectPayToAddressChain/index.d.ts +1 -0
  14. package/dist/components/Pages/SelectPayToAddressChain/index.js +14 -0
  15. package/dist/components/Pages/SelectPayToAddressToken/index.d.ts +1 -0
  16. package/dist/components/Pages/SelectPayToAddressToken/index.js +10 -0
  17. package/dist/components/Pages/SelectToken/index.js +11 -15
  18. package/dist/components/pay-modal/index.js +18 -4
  19. package/dist/components/ui/CircleTimer/index.d.ts +11 -0
  20. package/dist/components/ui/CircleTimer/index.js +40 -0
  21. package/dist/components/ui/CopyableInfo/index.d.ts +9 -0
  22. package/dist/components/ui/CopyableInfo/index.js +25 -0
  23. package/dist/components/ui/CopyableInfo/styles.d.ts +8 -0
  24. package/dist/components/ui/CopyableInfo/styles.js +63 -0
  25. package/dist/components/ui/CountDownTimer/index.d.ts +6 -0
  26. package/dist/components/ui/CountDownTimer/index.js +14 -0
  27. package/dist/components/ui/CountDownTimer/styles.d.ts +2 -0
  28. package/dist/components/ui/CountDownTimer/styles.js +12 -0
  29. package/dist/components/ui/CustomQRCode/styles.js +1 -1
  30. package/dist/components/ui/Modal/index.js +1 -0
  31. package/dist/components/ui/Modal/useModalTransition.d.ts +16 -2
  32. package/dist/components/ui/Modal/useModalTransition.js +72 -4
  33. package/dist/components/ui/SelectAnotherMethod/index.d.ts +6 -0
  34. package/dist/components/ui/SelectAnotherMethod/index.js +6 -0
  35. package/dist/config/route-config.js +40 -4
  36. package/dist/hooks/useChainOptions.d.ts +12 -0
  37. package/dist/hooks/useChainOptions.js +107 -0
  38. package/dist/hooks/useCountdown.d.ts +1 -0
  39. package/dist/hooks/useCountdown.js +23 -0
  40. package/dist/hooks/useDepositAddressQuery.d.ts +6 -0
  41. package/dist/hooks/useDepositAddressQuery.js +35 -0
  42. package/dist/hooks/useLockBodyScroll.js +11 -27
  43. package/dist/hooks/useMethodOptions.d.ts +3 -5
  44. package/dist/hooks/useMethodOptions.js +31 -101
  45. package/dist/hooks/usePayOrderQuotes.d.ts +3 -3
  46. package/dist/hooks/usePayToAddress.d.ts +10 -0
  47. package/dist/hooks/usePayToAddress.js +22 -0
  48. package/dist/hooks/usePayToAddressChainOptions.d.ts +14 -0
  49. package/dist/hooks/usePayToAddressChainOptions.js +31 -0
  50. package/dist/hooks/usePayToAddressTokens.d.ts +9 -0
  51. package/dist/hooks/usePayToAddressTokens.js +36 -0
  52. package/dist/hooks/usePayWithToken.d.ts +5 -4
  53. package/dist/hooks/usePayWithToken.js +29 -34
  54. package/dist/hooks/usePaymentState.d.ts +14 -5
  55. package/dist/hooks/usePaymentState.js +24 -8
  56. package/dist/hooks/useTokenOptions.js +2 -2
  57. package/dist/hooks/useWalletConnectUri.js +1 -1
  58. package/dist/lib/api/payment-details.d.ts +3 -0
  59. package/dist/lib/api/payment-details.js +9 -0
  60. package/dist/lib/localizations/locales/ar-AE.js +14 -0
  61. package/dist/lib/localizations/locales/ca-AD.js +14 -0
  62. package/dist/lib/localizations/locales/de-DE.d.ts +14 -0
  63. package/dist/lib/localizations/locales/de-DE.js +14 -0
  64. package/dist/lib/localizations/locales/ee-EE.js +14 -0
  65. package/dist/lib/localizations/locales/en-US.d.ts +14 -0
  66. package/dist/lib/localizations/locales/en-US.js +14 -0
  67. package/dist/lib/localizations/locales/es-ES.js +14 -0
  68. package/dist/lib/localizations/locales/fa-IR.js +14 -0
  69. package/dist/lib/localizations/locales/fr-FR.js +14 -0
  70. package/dist/lib/localizations/locales/ja-JP.js +14 -0
  71. package/dist/lib/localizations/locales/pt-BR.js +14 -0
  72. package/dist/lib/localizations/locales/ru-RU.js +14 -0
  73. package/dist/lib/localizations/locales/tr-TR.js +14 -0
  74. package/dist/lib/localizations/locales/vi-VN.js +14 -0
  75. package/dist/lib/localizations/locales/zh-CN.js +14 -0
  76. package/dist/providers/paykit-provider.js +25 -4
  77. package/dist/types/enums.d.ts +4 -0
  78. package/dist/types/enums.js +5 -0
  79. package/dist/types/payment-details.d.ts +6 -0
  80. package/dist/types/payment-details.js +1 -0
  81. package/dist/types/route-config.d.ts +10 -4
  82. package/dist/types/routes.d.ts +4 -0
  83. package/dist/types/routes.js +4 -0
  84. package/dist/types/state.d.ts +4 -1
  85. package/dist/types.d.ts +5 -0
  86. package/dist/utils/index.d.ts +1 -0
  87. package/dist/utils/index.js +5 -0
  88. package/package.json +3 -3
  89. package/dist/components/Pages/SelectMethod/styles.d.ts +0 -9
  90. package/dist/components/Pages/SelectMethod/styles.js +0 -237
@@ -1,7 +1,9 @@
1
1
  import { WalletProps } from "@coin-voyage/crypto/types/wallet";
2
- import { ChainType, type CurrencyWithAmount, type PayOrder } from "@coin-voyage/shared/types";
3
- import { PayOrderParams } from "@coin-voyage/shared/types/api";
2
+ import { ChainId, ChainType, Currency, CurrencyBase, type PayOrder } from "@coin-voyage/shared/types";
3
+ import { PaymentDetails, PayOrderParams } from "@coin-voyage/shared/types/api";
4
+ import { PaymentMethod } from "../types/enums";
4
5
  import { ROUTES } from "../types/routes";
6
+ import { CurrencyAndQuoteID } from "../types/state";
5
7
  import { usePayOrderQuotes } from "./usePayOrderQuotes";
6
8
  /** Loads a PayOrder + manages the corresponding modal. */
7
9
  export interface PaymentState {
@@ -10,16 +12,23 @@ export interface PaymentState {
10
12
  copyDepositPayOrder: () => Promise<void>;
11
13
  clearUserSelection: () => void;
12
14
  payOrder: PayOrder | undefined;
15
+ paymentMethod: PaymentMethod | undefined;
16
+ setPaymentMethod: React.Dispatch<React.SetStateAction<PaymentMethod | undefined>>;
13
17
  connectorChainType: ChainType | undefined;
14
18
  setConnectorChainType: React.Dispatch<React.SetStateAction<ChainType | undefined>>;
15
19
  selectedWallet: WalletProps | undefined;
16
20
  setSelectedWallet: React.Dispatch<React.SetStateAction<WalletProps | undefined>>;
17
21
  payOrderQuotes: ReturnType<typeof usePayOrderQuotes>;
18
- selectedTokenOption: CurrencyWithAmount | undefined;
19
- setSelectedTokenOption: (option: CurrencyWithAmount | undefined) => void;
20
- payWithToken: (tokenAmount: CurrencyWithAmount) => Promise<string | undefined>;
22
+ selectedCurrencyOption: CurrencyAndQuoteID | undefined;
23
+ setSelectedCurrencyOption: (option: CurrencyAndQuoteID | undefined) => void;
24
+ payFromWallet: (currency: CurrencyAndQuoteID) => Promise<string | undefined>;
25
+ payToAddress: (currency: CurrencyBase) => Promise<PaymentDetails | undefined>;
21
26
  refreshOrder: () => Promise<void>;
22
27
  senderEnsName: string | undefined;
28
+ payToAddressChainId: ChainId | undefined;
29
+ setPayToAddressChainId: React.Dispatch<React.SetStateAction<ChainId | undefined>>;
30
+ payToAddressCurrency: Currency | undefined;
31
+ setPayToAddressCurrency: React.Dispatch<React.SetStateAction<Currency | undefined>>;
23
32
  }
24
33
  export declare function usePaymentState({ payOrder, setPayOrder, setRoute, log, }: {
25
34
  payOrder: PayOrder | undefined;
@@ -1,6 +1,6 @@
1
1
  import { useAccount } from "@coin-voyage/crypto/hooks";
2
2
  import { zPayOrder } from "@coin-voyage/shared/common";
3
- import { ChainType, PayOrderMode, } from "@coin-voyage/shared/types";
3
+ import { ChainType, PayOrderMode } from "@coin-voyage/shared/types";
4
4
  import { useResolveSuiNSName } from "@mysten/dapp-kit";
5
5
  import { useCallback, useState } from "react";
6
6
  import { mainnet } from "viem/chains";
@@ -8,7 +8,8 @@ import { useEnsName } from "wagmi";
8
8
  import { useBackendApi } from "../components/contexts/api";
9
9
  import { ROUTES } from "../types/routes";
10
10
  import { usePayOrderQuotes } from "./usePayOrderQuotes";
11
- import { usePayWithToken } from "./usePayWithToken";
11
+ import { usePayToAddress } from "./usePayToAddress";
12
+ import { usePayFromWallet } from "./usePayWithToken";
12
13
  export function usePaymentState({ payOrder, setPayOrder, setRoute, log, }) {
13
14
  const api = useBackendApi();
14
15
  const [connectorChainType, setConnectorChainType] = useState();
@@ -32,14 +33,22 @@ export function usePaymentState({ payOrder, setPayOrder, setRoute, log, }) {
32
33
  address: senderAccount.address,
33
34
  chainType: connectorChainType,
34
35
  });
35
- const [selectedTokenOption, setSelectedTokenOption] = useState();
36
- const { payWithToken } = usePayWithToken({
36
+ const [selectedCurrencyOption, setSelectedCurrencyOption] = useState();
37
+ const [paymentMethod, setPaymentMethod] = useState();
38
+ const [payToAddressChainId, setPayToAddressChainId] = useState();
39
+ const [payToAddressCurrency, setPayToAddressCurrency] = useState();
40
+ const { payFromWallet } = usePayFromWallet({
37
41
  senderAddr: senderAccount.address,
38
42
  payOrder,
39
43
  setPayOrder,
40
44
  chainType: connectorChainType,
41
45
  log,
42
46
  });
47
+ const { payToAddress } = usePayToAddress({
48
+ payOrder,
49
+ setPayOrder,
50
+ log,
51
+ });
43
52
  const fetchPayOrder = useCallback(async (id) => {
44
53
  const { data: order, error } = await api.getPayOrder(id);
45
54
  if (!order || error) {
@@ -118,7 +127,7 @@ export function usePaymentState({ payOrder, setPayOrder, setRoute, log, }) {
118
127
  }
119
128
  }, [api, setPayOrder, log]);
120
129
  const clearUserSelection = useCallback(() => {
121
- setSelectedTokenOption(undefined);
130
+ setSelectedCurrencyOption(undefined);
122
131
  setConnectorChainType(undefined);
123
132
  setSelectedWallet(undefined);
124
133
  setRoute(ROUTES.SELECT_METHOD);
@@ -129,15 +138,22 @@ export function usePaymentState({ payOrder, setPayOrder, setRoute, log, }) {
129
138
  copyDepositPayOrder,
130
139
  clearUserSelection,
131
140
  payOrder,
141
+ paymentMethod,
142
+ setPaymentMethod,
132
143
  connectorChainType,
133
144
  setConnectorChainType,
134
145
  selectedWallet,
135
146
  setSelectedWallet,
136
- selectedTokenOption,
137
- setSelectedTokenOption,
147
+ selectedCurrencyOption,
148
+ setSelectedCurrencyOption,
138
149
  payOrderQuotes,
139
- payWithToken,
150
+ payFromWallet,
151
+ payToAddress,
140
152
  refreshOrder,
141
153
  senderEnsName: evmEnsName ?? suiEnsName ?? undefined,
154
+ payToAddressChainId,
155
+ setPayToAddressChainId,
156
+ payToAddressCurrency,
157
+ setPayToAddressCurrency,
142
158
  };
143
159
  }
@@ -5,7 +5,7 @@ import TokenChainLogo from "../components/ui/TokenChainLogo";
5
5
  import { ROUTES } from "../types/routes";
6
6
  export function useTokenOptions(disabled) {
7
7
  const { paymentState, setRoute } = usePayContext();
8
- const { setSelectedTokenOption, payOrderQuotes } = paymentState;
8
+ const { setSelectedCurrencyOption, payOrderQuotes } = paymentState;
9
9
  const filteredAndSortedQuotes = payOrderQuotes.quotes
10
10
  ?.filter((q) => q.balance?.value_usd !== 0)
11
11
  .sort((a, b) => {
@@ -36,7 +36,7 @@ export function useTokenOptions(disabled) {
36
36
  _jsx(TokenChainLogo, { src: quote.image_uri, alt: quote.ticker, chainId: quote.chain_id }, quote.ticker + quote.chain_id),
37
37
  ],
38
38
  onClick: () => {
39
- setSelectedTokenOption(quote);
39
+ setSelectedCurrencyOption(quote);
40
40
  setRoute(ROUTES.PAY_WITH_TOKEN);
41
41
  },
42
42
  };
@@ -73,6 +73,6 @@ export function useWalletConnectUri({ enabled } = { enabled: true }) {
73
73
  }
74
74
  };
75
75
  connectWalletConnect();
76
- }, [enabled, wcConnector, account.isConnected, connectorChainType]);
76
+ }, [enabled, wcConnector, account.isConnected, connectorChainType, connect, log]);
77
77
  return { uri };
78
78
  }
@@ -0,0 +1,3 @@
1
+ import type { PayOrder, PaymentDetails, PaymentDetailsParams } from "@coin-voyage/shared/types";
2
+ import { ApiClient } from "@coin-voyage/shared/api";
3
+ export declare function fetchPaymentDetails(api: ApiClient, params: PaymentDetailsParams, payOrder: PayOrder | undefined): Promise<PaymentDetails>;
@@ -0,0 +1,9 @@
1
+ import { assert } from "@coin-voyage/shared/common";
2
+ export async function fetchPaymentDetails(api, params, payOrder) {
3
+ assert(payOrder != undefined, "PayOrder is required for payment");
4
+ const { data: paymentDetails, error } = await api.payOrderPaymentDetails(params);
5
+ if (!paymentDetails || paymentDetails.payorder_id !== payOrder.id) {
6
+ throw new Error(`[CHECKOUT] unable to generate a final quote for ${payOrder?.id}: ${JSON.stringify(error)}`);
7
+ }
8
+ return paymentDetails;
9
+ }
@@ -87,6 +87,13 @@ const arAE = {
87
87
  profileScreen_heading: "متصل",
88
88
  switchNetworkScreen_heading: "تبديل الشبكات",
89
89
  selectMethodScreen_heading: "حدد الطريقة",
90
+ selectPayToAddressChainScreen_heading: "حدد الشبكة",
91
+ selectPayToAddressTokenScreen_heading: "حدد الرمز",
92
+ payToAddressWaitingScreen_heading: "بانتظار الدفع",
93
+ selectPayToAddressWaitingScreen_unavailable_h1: "غير متاح",
94
+ selectPayToAddressWaitingScreen_unavailable_p: "لا يمكننا معالجة الدفعات لهذه الشبكة حاليًا. يرجى تحديد شبكة أخرى.",
95
+ payToAddressScreen_generatingDepositAddress: "يتم إنشاء عنوان الإيداع...",
96
+ selectChainScreen_heading: "حدد الشبكة",
90
97
  selectTokenScreen_heading: "حدد الرمز",
91
98
  selectTokenScreen_selectAnotherWallet: "حدد محفظة أخرى",
92
99
  selectTokenScreen_selectAnotherMethod: "حدد طريقة أخرى",
@@ -108,5 +115,12 @@ const arAE = {
108
115
  confirmationScreen_confirming: "تأكيد...",
109
116
  confirmationScreen_executing: "تنفيذ...",
110
117
  confirmationScreen_completed: "تم الدفع بنجاح",
118
+ sendOnlyOnce: "أرسل فقط مرة واحدة",
119
+ refresh: "تحديث",
120
+ sendExactly: "أرسل بالضبط",
121
+ depositAddress: "عنوان الإيداع",
122
+ showQR: "عرض الQR",
123
+ hideQR: "إخفاء الQR",
124
+ expired: "انتهت صلاحية",
111
125
  };
112
126
  export default arAE;
@@ -85,6 +85,13 @@ const caAD = {
85
85
  profileScreen_heading: "Connectat",
86
86
  switchNetworkScreen_heading: "Canvi de xarxa",
87
87
  selectMethodScreen_heading: "Seleccioneu Mètode",
88
+ selectPayToAddressChainScreen_heading: "Selecciona una xarxa",
89
+ selectPayToAddressTokenScreen_heading: "Selecciona un token",
90
+ payToAddressWaitingScreen_heading: "Esperant pagament",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "No disponible",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "No podem processar pagaments per aquesta xarxa en aquest moment. Si us plau, selecciona una altra xarxa.",
93
+ payToAddressScreen_generatingDepositAddress: "Generant l'adreça de depòsit...",
94
+ selectChainScreen_heading: "Selecciona una xarxa",
88
95
  selectTokenScreen_heading: "Selecciona un token",
89
96
  selectTokenScreen_selectAnotherWallet: "Selecciona una altra cartera",
90
97
  selectTokenScreen_selectAnotherMethod: "Selecciona un altre mètode",
@@ -106,5 +113,12 @@ const caAD = {
106
113
  confirmationScreen_confirming: "Confirmant...",
107
114
  confirmationScreen_executing: "Executant...",
108
115
  confirmationScreen_completed: "Pagament completat",
116
+ sendOnlyOnce: "Envia només una vegada",
117
+ refresh: "Refresca",
118
+ sendExactly: "Envia exactament",
119
+ depositAddress: "Adreça de depòsit",
120
+ showQR: "Mostra QR",
121
+ hideQR: "Oculta QR",
122
+ expired: "Caducat",
109
123
  };
110
124
  export default caAD;
@@ -84,6 +84,13 @@ declare const deDE: {
84
84
  injectionScreen_notconnected_p: string;
85
85
  profileScreen_heading: string;
86
86
  selectMethodScreen_heading: string;
87
+ selectPayToAddressChainScreen_heading: string;
88
+ selectPayToAddressTokenScreen_heading: string;
89
+ payToAddressWaitingScreen_heading: string;
90
+ selectPayToAddressWaitingScreen_unavailable_h1: string;
91
+ selectPayToAddressWaitingScreen_unavailable_p: string;
92
+ payToAddressScreen_generatingDepositAddress: string;
93
+ selectChainScreen_heading: string;
87
94
  selectTokenScreen_heading: string;
88
95
  selectTokenScreen_selectAnotherWallet: string;
89
96
  selectTokenScreen_selectAnotherMethod: string;
@@ -106,5 +113,12 @@ declare const deDE: {
106
113
  confirmationScreen_confirming: string;
107
114
  confirmationScreen_executing: string;
108
115
  confirmationScreen_completed: string;
116
+ sendOnlyOnce: string;
117
+ refresh: string;
118
+ sendExactly: string;
119
+ depositAddress: string;
120
+ showQR: string;
121
+ hideQR: string;
122
+ expired: string;
109
123
  };
110
124
  export default deDE;
@@ -84,6 +84,13 @@ const deDE = {
84
84
  injectionScreen_notconnected_p: "Bitte melde dich bei deiner {{ CONNECTORNAME }}-Erweiterung an, um fortzufahren.",
85
85
  profileScreen_heading: "Verbunden",
86
86
  selectMethodScreen_heading: "Methode auswählen",
87
+ selectPayToAddressChainScreen_heading: "Netzwerk auswählen",
88
+ selectPayToAddressTokenScreen_heading: "Token auswählen",
89
+ payToAddressWaitingScreen_heading: "Warte auf Zahlung",
90
+ selectPayToAddressWaitingScreen_unavailable_h1: "Nicht verfügbar",
91
+ selectPayToAddressWaitingScreen_unavailable_p: "Wir können derzeit keine Zahlungen für diese Chain verarbeiten. Bitte wählen Sie eine andere Chain.",
92
+ payToAddressScreen_generatingDepositAddress: "Einzahlungsadresse wird generiert...",
93
+ selectChainScreen_heading: "Netzwerk auswählen",
87
94
  selectTokenScreen_heading: "Token auswählen",
88
95
  selectTokenScreen_selectAnotherWallet: "Anderen Wallet auswählen",
89
96
  selectTokenScreen_selectAnotherMethod: "Andere Methode auswählen",
@@ -106,5 +113,12 @@ const deDE = {
106
113
  confirmationScreen_confirming: "Zahlung wird bestätigt",
107
114
  confirmationScreen_executing: "Zahlung wird ausgeführt",
108
115
  confirmationScreen_completed: "Zahlung abgeschlossen",
116
+ sendOnlyOnce: "Senden Sie nur einmal",
117
+ refresh: "Aktualisieren",
118
+ sendExactly: "Senden Sie genau",
119
+ depositAddress: "Einzahlungsadresse",
120
+ showQR: "Zeige QR",
121
+ hideQR: "QR ausblenden",
122
+ expired: "Abgelaufen",
109
123
  };
110
124
  export default deDE;
@@ -85,6 +85,13 @@ const eeEE = {
85
85
  profileScreen_heading: "Ühendatud",
86
86
  switchNetworkScreen_heading: "Võrkude vahetamine",
87
87
  selectMethodScreen_heading: "Valige meetod",
88
+ selectPayToAddressChainScreen_heading: "Valige võrk",
89
+ selectPayToAddressTokenScreen_heading: "Valige token",
90
+ payToAddressWaitingScreen_heading: "Ootel makse",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Puudub",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Me ei saa praegu makseid selle võrgu jaoks töödelda. Palun valige teine võrk.",
93
+ payToAddressScreen_generatingDepositAddress: "Sissemakse aadressi genereerimine...",
94
+ selectChainScreen_heading: "Valige võrk",
88
95
  selectTokenScreen_heading: "Valige token",
89
96
  selectTokenScreen_selectAnotherWallet: "Vali teine rahakott",
90
97
  selectTokenScreen_selectAnotherMethod: "Vali teine meetod",
@@ -106,5 +113,12 @@ const eeEE = {
106
113
  confirmationScreen_confirming: "Makse kinnitamine",
107
114
  confirmationScreen_executing: "Makse täitmine",
108
115
  confirmationScreen_completed: "Makse lõpetatud",
116
+ sendOnlyOnce: "Saada ainult üks kord",
117
+ refresh: "Värskenda",
118
+ sendExactly: "Saada täpselt",
119
+ depositAddress: "Sissemakse aadress",
120
+ showQR: "Näita QR",
121
+ hideQR: "Peida QR",
122
+ expired: "Aegunud",
109
123
  };
110
124
  export default eeEE;
@@ -84,6 +84,13 @@ declare const enUS: {
84
84
  injectionScreen_notconnected_p: string;
85
85
  profileScreen_heading: string;
86
86
  selectMethodScreen_heading: string;
87
+ selectPayToAddressChainScreen_heading: string;
88
+ selectPayToAddressTokenScreen_heading: string;
89
+ payToAddressWaitingScreen_heading: string;
90
+ selectPayToAddressWaitingScreen_unavailable_h1: string;
91
+ selectPayToAddressWaitingScreen_unavailable_p: string;
92
+ payToAddressScreen_generatingDepositAddress: string;
93
+ selectChainScreen_heading: string;
87
94
  selectTokenScreen_heading: string;
88
95
  selectTokenScreen_selectAnotherWallet: string;
89
96
  selectTokenScreen_selectAnotherMethod: string;
@@ -106,5 +113,12 @@ declare const enUS: {
106
113
  confirmationScreen_confirming: string;
107
114
  confirmationScreen_executing: string;
108
115
  confirmationScreen_completed: string;
116
+ sendOnlyOnce: string;
117
+ refresh: string;
118
+ sendExactly: string;
119
+ depositAddress: string;
120
+ showQR: string;
121
+ hideQR: string;
122
+ expired: string;
109
123
  };
110
124
  export default enUS;
@@ -84,6 +84,13 @@ const enUS = {
84
84
  injectionScreen_notconnected_p: "To continue, please login to your {{ CONNECTORNAME }} extension.",
85
85
  profileScreen_heading: "Connected",
86
86
  selectMethodScreen_heading: "Select Method",
87
+ selectPayToAddressChainScreen_heading: "Select Chain",
88
+ selectPayToAddressTokenScreen_heading: "Select Token",
89
+ payToAddressWaitingScreen_heading: "Waiting for Payment",
90
+ selectPayToAddressWaitingScreen_unavailable_h1: "Unavailable",
91
+ selectPayToAddressWaitingScreen_unavailable_p: "We're unable to process payments for this chain at this time. Please select another chain.",
92
+ payToAddressScreen_generatingDepositAddress: "Generating deposit address...",
93
+ selectChainScreen_heading: "Select Chain",
87
94
  selectTokenScreen_heading: "Select Token",
88
95
  selectTokenScreen_selectAnotherWallet: "Select Another Wallet",
89
96
  selectTokenScreen_selectAnotherMethod: "Select Another Method",
@@ -106,5 +113,12 @@ const enUS = {
106
113
  confirmationScreen_confirming: "Confirming",
107
114
  confirmationScreen_executing: "Executing",
108
115
  confirmationScreen_completed: "Payment Completed",
116
+ sendOnlyOnce: "Send only once",
117
+ refresh: "Refresh",
118
+ sendExactly: "Send exactly",
119
+ depositAddress: "Deposit Address",
120
+ showQR: "Show QR",
121
+ hideQR: "Hide QR",
122
+ expired: "Expired",
109
123
  };
110
124
  export default enUS;
@@ -85,6 +85,13 @@ const esES = {
85
85
  profileScreen_heading: "Conectado",
86
86
  switchNetworkScreen_heading: "Cambio de red",
87
87
  selectMethodScreen_heading: "Selecciona un método",
88
+ selectPayToAddressChainScreen_heading: "Selecciona una red",
89
+ selectPayToAddressTokenScreen_heading: "Selecciona un token",
90
+ payToAddressWaitingScreen_heading: "Esperando pago",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "No disponible",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "No podemos procesar pagos para esta red en este momento. Por favor, selecciona otra red.",
93
+ payToAddressScreen_generatingDepositAddress: "Generando dirección de depósito...",
94
+ selectChainScreen_heading: "Selecciona una red",
88
95
  selectTokenScreen_heading: "Selecciona un token",
89
96
  selectTokenScreen_selectAnotherWallet: "Selecciona otra cartera",
90
97
  selectTokenScreen_selectAnotherMethod: "Selecciona otro método",
@@ -106,5 +113,12 @@ const esES = {
106
113
  confirmationScreen_confirming: "Confirmando pago",
107
114
  confirmationScreen_executing: "Ejecutando pago",
108
115
  confirmationScreen_completed: "Pago completado",
116
+ sendOnlyOnce: "Enviar solo una vez",
117
+ refresh: "Actualizar",
118
+ sendExactly: "Enviar exactamente",
119
+ depositAddress: "Dirección de depósito",
120
+ showQR: "Mostrar QR",
121
+ hideQR: "Ocultar QR",
122
+ expired: "Expirado",
109
123
  };
110
124
  export default esES;
@@ -85,6 +85,13 @@ const faIR = {
85
85
  profileScreen_heading: "اتصال‌ها",
86
86
  switchNetworkScreen_heading: "تغییر شبکه‌ها",
87
87
  selectMethodScreen_heading: "روش را انتخاب کنید",
88
+ selectPayToAddressChainScreen_heading: "شبکه را انتخاب کنید",
89
+ selectPayToAddressTokenScreen_heading: "توکن را انتخاب کنید",
90
+ payToAddressWaitingScreen_heading: "در انتظار پرداخت",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "موجود نیست",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "ما در حال حاضر پرداخت‌های برای این شبکه را پردازش نمی‌کنیم. لطفاً یک شبکه دیگر انتخاب کنید.",
93
+ payToAddressScreen_generatingDepositAddress: "آدرس سپرده در حال تولید است...",
94
+ selectChainScreen_heading: "شبکه را انتخاب کنید",
88
95
  selectTokenScreen_heading: "انتخاب توکن",
89
96
  selectTokenScreen_selectAnotherWallet: "یک کیف پول دیگر انتخاب کنید",
90
97
  selectTokenScreen_selectAnotherMethod: "انتخاب روش دیگر",
@@ -106,5 +113,12 @@ const faIR = {
106
113
  confirmationScreen_confirming: "در حال تأیید پرداخت...",
107
114
  confirmationScreen_executing: "در حال اجرای پرداخت...",
108
115
  confirmationScreen_completed: "پرداخت انجام شد",
116
+ sendOnlyOnce: "فقط یک بار ارسال کنید",
117
+ refresh: "به روز رسانی",
118
+ sendExactly: "ارسال به صورت دقیق",
119
+ depositAddress: "آدرس سپرده",
120
+ showQR: "نمایش QR",
121
+ hideQR: "پنهان کردن QR",
122
+ expired: "منقضی شده",
109
123
  };
110
124
  export default faIR;
@@ -85,6 +85,13 @@ const frFR = {
85
85
  profileScreen_heading: "Connecté",
86
86
  switchNetworkScreen_heading: "Changer de réseau",
87
87
  selectMethodScreen_heading: "Sélectionnez une méthode",
88
+ selectPayToAddressChainScreen_heading: "Sélectionnez une chaîne",
89
+ selectPayToAddressTokenScreen_heading: "Sélectionnez un jeton",
90
+ payToAddressWaitingScreen_heading: "En attente de paiement",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Non disponible",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Nous ne pouvons pas traiter les paiements pour cette chaîne pour le moment. Veuillez sélectionner une autre chaîne.",
93
+ payToAddressScreen_generatingDepositAddress: "Génération de l'adresse de dépôt...",
94
+ selectChainScreen_heading: "Sélectionnez une chaîne",
88
95
  selectTokenScreen_heading: "Sélectionnez un jeton",
89
96
  selectTokenScreen_selectAnotherWallet: "Sélectionnez un autre portefeuille",
90
97
  selectTokenScreen_selectAnotherMethod: "Sélectionnez une autre méthode",
@@ -106,5 +113,12 @@ const frFR = {
106
113
  confirmationScreen_confirming: "Confirmation du paiement",
107
114
  confirmationScreen_executing: "Exécution du paiement",
108
115
  confirmationScreen_completed: "Paiement effectué",
116
+ sendOnlyOnce: "Envoyer uniquement une fois",
117
+ refresh: "Actualiser",
118
+ sendExactly: "Envoyer exactement",
119
+ depositAddress: "Adresse de dépôt",
120
+ showQR: "Afficher le QR",
121
+ hideQR: "Masquer QR",
122
+ expired: "Expiré",
109
123
  };
110
124
  export default frFR;
@@ -85,6 +85,13 @@ const jaJP = {
85
85
  profileScreen_heading: "接続されました",
86
86
  switchNetworkScreen_heading: "ネットワークの切り替え",
87
87
  selectMethodScreen_heading: "メソッドを選択",
88
+ selectPayToAddressChainScreen_heading: "チェーンを選択",
89
+ selectPayToAddressTokenScreen_heading: "トークンを選択",
90
+ payToAddressWaitingScreen_heading: "支払いを待っています",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "利用できません",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "現在、このチェーンの支払いを処理できません。別のチェーンを選択してください。",
93
+ payToAddressScreen_generatingDepositAddress: "入金アドレスを生成中...",
94
+ selectChainScreen_heading: "チェーンを選択",
88
95
  selectTokenScreen_heading: "トークンを選択",
89
96
  selectTokenScreen_selectAnotherWallet: "別のウォレットを選択",
90
97
  selectTokenScreen_selectAnotherMethod: "別のメソッドを選択",
@@ -106,5 +113,12 @@ const jaJP = {
106
113
  confirmationScreen_confirming: "支払いを確認中",
107
114
  confirmationScreen_executing: "支払いを実行中",
108
115
  confirmationScreen_completed: "支払いが完了しました",
116
+ sendOnlyOnce: "一度だけ送信",
117
+ refresh: "更新",
118
+ sendExactly: "正確に送信",
119
+ depositAddress: "入金アドレス",
120
+ showQR: "QR を表示",
121
+ hideQR: "QR を非表示",
122
+ expired: "期限切れ",
109
123
  };
110
124
  export default jaJP;
@@ -85,6 +85,13 @@ const ptBR = {
85
85
  profileScreen_heading: "Conectado",
86
86
  switchNetworkScreen_heading: "Alternar rede",
87
87
  selectMethodScreen_heading: "Selecione o método",
88
+ selectPayToAddressChainScreen_heading: "Selecione a rede",
89
+ selectPayToAddressTokenScreen_heading: "Selecione o token",
90
+ payToAddressWaitingScreen_heading: "Aguardando pagamento",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Não disponível",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Não podemos processar pagamentos para esta rede no momento. Por favor, selecione outra rede.",
93
+ payToAddressScreen_generatingDepositAddress: "Gerando endereço de depósito...",
94
+ selectChainScreen_heading: "Selecione a rede",
88
95
  selectTokenScreen_heading: "Selecione o token",
89
96
  selectTokenScreen_selectAnotherWallet: "Selecione outra carteira",
90
97
  selectTokenScreen_selectAnotherMethod: "Selecione outro método",
@@ -106,5 +113,12 @@ const ptBR = {
106
113
  confirmationScreen_confirming: "Confirmando pagamento",
107
114
  confirmationScreen_executing: "Executando pagamento",
108
115
  confirmationScreen_completed: "Pagamento concluído",
116
+ sendOnlyOnce: "Enviar apenas uma vez",
117
+ refresh: "Atualizar",
118
+ sendExactly: "Enviar exatamente",
119
+ depositAddress: "Endereço de depósito",
120
+ showQR: "Mostrar o QR",
121
+ hideQR: "Ocultar QR",
122
+ expired: "Expirado",
109
123
  };
110
124
  export default ptBR;
@@ -85,6 +85,13 @@ const ruRU = {
85
85
  profileScreen_heading: "Кошелек подключен",
86
86
  switchNetworkScreen_heading: "Переключение сетей",
87
87
  selectMethodScreen_heading: "Выберите метод",
88
+ selectPayToAddressChainScreen_heading: "Выберите сеть",
89
+ selectPayToAddressTokenScreen_heading: "Выберите токен",
90
+ payToAddressWaitingScreen_heading: "Ожидание платежа",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Недоступно",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Мы не можем обработать платежи для этой сети в настоящее время. Пожалуйста, выберите другую сеть.",
93
+ payToAddressScreen_generatingDepositAddress: "Генерация адреса внесения...",
94
+ selectChainScreen_heading: "Выберите сеть",
88
95
  selectTokenScreen_heading: "Выберите токен",
89
96
  selectTokenScreen_selectAnotherWallet: "Выберите другой кошелек",
90
97
  selectTokenScreen_selectAnotherMethod: "Выберите другой метод",
@@ -106,5 +113,12 @@ const ruRU = {
106
113
  confirmationScreen_confirming: "Подтверждение платежа",
107
114
  confirmationScreen_executing: "Выполнение платежа",
108
115
  confirmationScreen_completed: "Платеж выполнен",
116
+ sendOnlyOnce: "Отправить только один раз",
117
+ refresh: "Обновить",
118
+ sendExactly: "Отправить точно",
119
+ depositAddress: "Адрес внесения",
120
+ showQR: "Показать QR-код",
121
+ hideQR: "Скрыть QR",
122
+ expired: "Истек",
109
123
  };
110
124
  export default ruRU;
@@ -85,6 +85,13 @@ const trTR = {
85
85
  profileScreen_heading: "Bağlandı",
86
86
  switchNetworkScreen_heading: "Ağ Değiştir",
87
87
  selectMethodScreen_heading: "Yöntemi Seç",
88
+ selectPayToAddressChainScreen_heading: "Zinciri Seç",
89
+ selectPayToAddressTokenScreen_heading: "Token Seç",
90
+ payToAddressWaitingScreen_heading: "Ödeme Bekleniyor",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Mevcut Değil",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Bu zincir için ödeme işlemek için şu anda mümkün değil. Lütfen başka bir zincir seçin.",
93
+ payToAddressScreen_generatingDepositAddress: "Depozito adresi oluşturuluyor...",
94
+ selectChainScreen_heading: "Zinciri Seç",
88
95
  selectTokenScreen_heading: "Token Seç",
89
96
  selectTokenScreen_selectAnotherWallet: "Başka bir cüzdan seç",
90
97
  selectTokenScreen_selectAnotherMethod: "Başka bir yöntem seçin",
@@ -106,5 +113,12 @@ const trTR = {
106
113
  confirmationScreen_confirming: "Ödeme Onaylanıyor",
107
114
  confirmationScreen_executing: "Ödeme İşleniyor",
108
115
  confirmationScreen_completed: "Ödeme Tamamlandı",
116
+ sendOnlyOnce: "Yalnızca bir kez gönder",
117
+ refresh: "Yenile",
118
+ sendExactly: "Tam olarak gönder",
119
+ depositAddress: "Depozito Adresi",
120
+ showQR: "QR'yi Göster",
121
+ hideQR: "QR'yi Gizle",
122
+ expired: "Süresi Doldu",
109
123
  };
110
124
  export default trTR;
@@ -85,6 +85,13 @@ const viVN = {
85
85
  profileScreen_heading: "Đã kết nối",
86
86
  switchNetworkScreen_heading: "Đổi mạng",
87
87
  selectMethodScreen_heading: "Chọn phương thức",
88
+ selectPayToAddressChainScreen_heading: "Chọn chuỗi",
89
+ selectPayToAddressTokenScreen_heading: "Chọn token",
90
+ payToAddressWaitingScreen_heading: "Chờ thanh toán",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "Không khả dụng",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "Chúng tôi không thể xử lý thanh toán cho chuỗi này tại thời điểm hiện tại. Vui lòng chọn chuỗi khác.",
93
+ payToAddressScreen_generatingDepositAddress: "Đang tạo địa chỉ nhận thanh toán...",
94
+ selectChainScreen_heading: "Chọn chuỗi",
88
95
  selectTokenScreen_heading: "Chọn token",
89
96
  selectTokenScreen_selectAnotherWallet: "Chọn ví khác",
90
97
  selectTokenScreen_selectAnotherMethod: "Chọn phương thức khác",
@@ -106,5 +113,12 @@ const viVN = {
106
113
  confirmationScreen_confirming: "Đang xác nhận thanh toán",
107
114
  confirmationScreen_executing: "Đang thực hiện thanh toán",
108
115
  confirmationScreen_completed: "Thanh toán đã hoàn thành",
116
+ sendOnlyOnce: "Gửi chỉ một lần",
117
+ refresh: "Cập nhật",
118
+ sendExactly: "Gửi chính xác",
119
+ depositAddress: "Địa chỉ nhận",
120
+ showQR: "Hiển thị QR-code",
121
+ hideQR: "Ẩn QR",
122
+ expired: "Đã hết hạn",
109
123
  };
110
124
  export default viVN;
@@ -85,6 +85,13 @@ const zhCN = {
85
85
  profileScreen_heading: "已绑定",
86
86
  switchNetworkScreen_heading: "切换网络",
87
87
  selectMethodScreen_heading: "选择方法",
88
+ selectPayToAddressChainScreen_heading: "选择链",
89
+ selectPayToAddressTokenScreen_heading: "选择代币",
90
+ payToAddressWaitingScreen_heading: "等待支付",
91
+ selectPayToAddressWaitingScreen_unavailable_h1: "不可用",
92
+ selectPayToAddressWaitingScreen_unavailable_p: "我们目前无法处理此链的付款。请选择另一个链。",
93
+ payToAddressScreen_generatingDepositAddress: "正在生成存款地址...",
94
+ selectChainScreen_heading: "选择链",
88
95
  selectTokenScreen_heading: "选择代币",
89
96
  selectTokenScreen_selectAnotherWallet: "选择另一个钱包",
90
97
  selectTokenScreen_selectAnotherMethod: "选择另一种方法",
@@ -106,5 +113,12 @@ const zhCN = {
106
113
  confirmationScreen_confirming: "正在确认付款",
107
114
  confirmationScreen_executing: "正在执行付款",
108
115
  confirmationScreen_completed: "付款已完成",
116
+ sendOnlyOnce: "只发送一次",
117
+ refresh: "刷新",
118
+ sendExactly: "精确发送",
119
+ depositAddress: "存款地址",
120
+ showQR: "显示二维码",
121
+ hideQR: "隐藏 QR",
122
+ expired: "已过期",
109
123
  };
110
124
  export default zhCN;