@lmnto/h-mall-shared 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmnto/h-mall-shared",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -10,8 +10,6 @@ import {
10
10
  import React, { useEffect, useState } from "react";
11
11
 
12
12
  import ButtonCustom from "../../components/Button";
13
- import CustomNextLink from "../../components/CustomNextLink";
14
- import { ROUTES } from "../../constants/routes";
15
13
  import { _useScopedI18n } from "../../i18n/client";
16
14
 
17
15
  export type NowpaymentsDepositNoticeDialogProps = {
@@ -39,7 +37,7 @@ export function NowpaymentsDepositNoticeDialog({
39
37
  return (
40
38
  <Dialog
41
39
  open={open}
42
- size="lg"
40
+ size="xs"
43
41
  handler={() => {
44
42
  if (!actionLoading) setOpen(false);
45
43
  }}
@@ -88,18 +86,9 @@ export function NowpaymentsDepositNoticeDialog({
88
86
  {scopeT("p3")}
89
87
  </Typography>
90
88
  <Typography className="text-xs md:text-sm text-black-500 font-medium">
91
- {scopeT("p4a")}
92
- <CustomNextLink
93
- href={ROUTES.dashboard.support}
94
- target="_blank"
95
- onClick={undefined}
96
- className="text-xs md:text-sm font-semibold text-purple-500 hover:text-purple-400 underline inline"
97
- >
98
- {scopeT("supportLinkText")}
99
- </CustomNextLink>
100
- {scopeT("p4b")}
89
+ {scopeT("p4")}
101
90
  </Typography>
102
- <div className="flex items-start gap-2 pt-2">
91
+ <div className="flex items-center gap-2 pt-2">
103
92
  <Checkbox
104
93
  color="green"
105
94
  checked={confirmed}
@@ -202,7 +202,7 @@ export function RequestProcessingWithCancelConfirm({
202
202
  >
203
203
  {cancelT("title")}
204
204
  </Typography>
205
- <Typography className="text-sm text-slate-600">
205
+ <Typography className="whitespace-pre-line text-sm text-slate-600">
206
206
  {cancelT("message")}
207
207
  </Typography>
208
208
  </DialogBody>
@@ -348,9 +348,9 @@ export default {
348
348
  retryBtn: "Click here to retry",
349
349
  },
350
350
  cancelPaymentConfirm: {
351
- title: "Leave this screen?",
351
+ title: "WARNING LEAVING THIS PAGE",
352
352
  message:
353
- "If you complete your payment here, you're all set. If you leave now, this payment address won't be shown again, and your order will be cancelled.",
353
+ "If you leave this page, this deposit address will be invalidated immediately and must not be used again.\n\nAny funds sent to this address after you leave this page will not be credited to your order and may be unrecoverable. HMall accepts no responsibility for funds transferred to an invalidated address.\n\nIf you wish to complete your purchase using cryptocurrency, you will need to return to your cart and restart the payment process. A new deposit address will be generated at that time.",
354
354
  cancelBtn: "Close",
355
355
  stayBtn: "Stay and pay",
356
356
  leaveBtn: "Leave without paying",
@@ -377,16 +377,13 @@ export default {
377
377
  regenerateLoading: "Generating…",
378
378
  },
379
379
  nowpaymentsDepositNoticeDialog: {
380
- header: "Please read before sending funds",
381
- p1: "This is a one-time deposit address generated exclusively for this order. It is valid for 10 minutes once shown (a countdown will appear on the next screen).",
382
- p2: "You must send the exact amount shown to this address within the 10-minute window.",
383
- p3: "If you send funds after the timer expires, HMall will be unable to automatically credit your order. HMall cannot guarantee that late deposits will be identified, attributed to your order, or manually processed. HMall accepts no liability for unattributed or late transfers.",
384
- p4a:
385
- "If you believe you have made a late or incorrect transfer, please contact ",
386
- supportLinkText: "HMall support",
387
- p4b: " with your Order ID and transaction hash. Manual review is at HMall's sole discretion and is not guaranteed.",
380
+ header: "IMPORTANT ONE-TIME DEPOSIT ADDRESS",
381
+ p1: "This deposit address is unique to this transaction and is valid for 10 minutes only (see timer).",
382
+ p2: "You must send exactly the amount shown, in the selected cryptocurrency, within the time window. Do not send any other amount or currency to this address.",
383
+ p3: "After the timer expires, this address is no longer valid. Any funds sent to this address after expiry will not be automatically credited to your order. HMall cannot guarantee recovery or manual reconciliation of late deposits, and such funds may be treated as unrecoverable.",
384
+ p4: "HMall accepts no liability for losses arising from deposits made outside the valid window, deposits of incorrect amounts or currencies, or network delays beyond HMall's reasonable control.",
388
385
  checkbox:
389
- "I confirm I have read and understood the above before proceeding.",
386
+ "By proceeding, you confirm that you have read and understood these conditions.",
390
387
  nextBtn: "Next",
391
388
  },
392
389
  disclaimerAlertDialog: {
@@ -337,9 +337,9 @@ export default {
337
337
  retryBtn: "Clicca qui per riprovare",
338
338
  },
339
339
  cancelPaymentConfirm: {
340
- title: "Uscire da questa schermata?",
340
+ title: "ATTENZIONE USCITA DA QUESTA PAGINA",
341
341
  message:
342
- "Se completi il pagamento qui, non devi fare altro. Se esci ora, questo indirizzo di pagamento non verrà più mostrato e l'ordine verrà annullato.",
342
+ "Se lasci questa pagina, questo indirizzo di deposito verrà immediatamente invalidato e non dovrà più essere utilizzato.\n\nQualsiasi importo inviato a questo indirizzo dopo aver lasciato la pagina non verrà accreditato sul tuo ordine e potrebbe essere irrecuperabile. HMall non si assume alcuna responsabilità per fondi trasferiti verso un indirizzo invalidato.\n\nSe desideri completare l'acquisto in criptovaluta, dovrai tornare al carrello e riavviare il processo di pagamento. In quel momento verrà generato un nuovo indirizzo di deposito.",
343
343
  cancelBtn: "Chiudi",
344
344
  stayBtn: "Resta e paga",
345
345
  leaveBtn: "Esci senza pagare",
@@ -367,16 +367,13 @@ export default {
367
367
  regenerateLoading: "Generazione…",
368
368
  },
369
369
  nowpaymentsDepositNoticeDialog: {
370
- header: "Leggi attentamente prima di inviare fondi",
371
- p1: "Questo è un indirizzo di deposito monouso generato esclusivamente per questo ordine. È valido per 10 minuti dal momento in cui viene mostrato (un conto alla rovescia apparirà nella schermata successiva).",
372
- p2: "Devi inviare l'importo esatto indicato a questo indirizzo entro la finestra di 10 minuti.",
373
- p3: "Se invii fondi dopo la scadenza del timer, HMall non potrà accreditare automaticamente il tuo ordine. HMall non garantisce che i depositi in ritardo vengano identificati, attribuiti al tuo ordine o elaborati manualmente. HMall non accetta responsabilità per trasferimenti non attribuiti o in ritardo.",
374
- p4a:
375
- "Se ritieni di aver effettuato un bonifico in ritardo o errato, contatta ",
376
- supportLinkText: "assistenza HMall",
377
- p4b: " con l'ID ordine e l'hash della transazione. La revisione manuale è a esclusiva discrezione di HMall e non è garantita.",
370
+ header: "IMPORTANTE INDIRIZZO DI DEPOSITO MONOUSO",
371
+ p1: "Questo indirizzo di deposito è univoco per questa transazione ed è valido solo per 10 minuti (vedi timer).",
372
+ p2: "Devi inviare esattamente l'importo indicato, nella criptovaluta selezionata, entro la finestra temporale. Non inviare altri importi o altre valute a questo indirizzo.",
373
+ p3: "Dopo la scadenza del timer, questo indirizzo non è più valido. Qualsiasi fondo inviato a questo indirizzo dopo la scadenza non verrà accreditato automaticamente sul tuo ordine. HMall non può garantire il recupero o la riconciliazione manuale dei depositi tardivi; tali fondi possono essere considerati irrecuperabili.",
374
+ p4: "HMall non accetta responsabilità per perdite derivanti da depositi effettuati al di fuori della finestra valida, da importi o valute errati, o da ritardi di rete al di fuori del ragionevole controllo di HMall.",
378
375
  checkbox:
379
- "Confermo di aver letto e compreso quanto sopra prima di procedere.",
376
+ "Procedendo, confermi di aver letto e compreso queste condizioni.",
380
377
  nextBtn: "Avanti",
381
378
  },
382
379
  disclaimerAlertDialog: {