@lmnto/h-mall-shared 1.0.8 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmnto/h-mall-shared",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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 = {
@@ -88,16 +86,7 @@ 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
91
  <div className="flex items-center gap-2 pt-2">
103
92
  <Checkbox
@@ -202,8 +202,19 @@ export function RequestProcessingWithCancelConfirm({
202
202
  >
203
203
  {cancelT("title")}
204
204
  </Typography>
205
- <Typography className="text-sm text-slate-600">
206
- {cancelT("message")}
205
+ <ul className="list-disc space-y-3 pl-5 text-sm leading-relaxed text-slate-600 marker:text-slate-500">
206
+ <li>{cancelT("completedItem")}</li>
207
+ <li>
208
+ <span className="block">{cancelT("notSentIntro")}</span>
209
+ <ul className="mt-2 list-[circle] space-y-2 pl-5 marker:text-slate-400">
210
+ <li>{cancelT("notSentSub1")}</li>
211
+ <li>{cancelT("notSentSub2")}</li>
212
+ <li>{cancelT("notSentSub3")}</li>
213
+ </ul>
214
+ </li>
215
+ </ul>
216
+ <Typography className="text-sm leading-relaxed text-slate-600">
217
+ {cancelT("closing")}
207
218
  </Typography>
208
219
  </DialogBody>
209
220
  <DialogFooter className="flex flex-col-reverse gap-2 p-0 pt-2 sm:flex-row sm:justify-end">
@@ -348,9 +348,18 @@ export default {
348
348
  retryBtn: "Click here to retry",
349
349
  },
350
350
  cancelPaymentConfirm: {
351
- title: "Leave this screen?",
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.",
351
+ title: "Before you leave — have you completed your transfer?",
352
+ completedItem:
353
+ "If you have already completed the transfer: You can safely close this page or wait few minutes (time depends on network conditions) for the status to get updated automatically once the transaction is confirmed on the blockchain.",
354
+ notSentIntro:
355
+ "If you have not yet sent the funds and you close this page: Do not use this deposit address anymore.",
356
+ notSentSub1: "This address will be invalidated",
357
+ notSentSub2:
358
+ "Any funds sent to it will not be credited against your order",
359
+ notSentSub3:
360
+ "To use this payment method you will need to return to your cart and restart the process — a new address will be generated.",
361
+ closing:
362
+ "HMall accepts no responsibility for funds sent to an address invalidated by the closing of this page.",
354
363
  cancelBtn: "Close",
355
364
  stayBtn: "Stay and pay",
356
365
  leaveBtn: "Leave without paying",
@@ -377,16 +386,13 @@ export default {
377
386
  regenerateLoading: "Generating…",
378
387
  },
379
388
  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.",
389
+ header: "IMPORTANT ONE-TIME DEPOSIT ADDRESS",
390
+ p1: "This deposit address is unique to this transaction and is valid for 10 minutes only (see timer).",
391
+ 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.",
392
+ 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.",
393
+ 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
394
  checkbox:
389
- "I confirm I have read and understood the above before proceeding.",
395
+ "By proceeding, you confirm that you have read and understood these conditions.",
390
396
  nextBtn: "Next",
391
397
  },
392
398
  disclaimerAlertDialog: {
@@ -337,9 +337,18 @@ export default {
337
337
  retryBtn: "Clicca qui per riprovare",
338
338
  },
339
339
  cancelPaymentConfirm: {
340
- title: "Uscire da questa schermata?",
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.",
340
+ title: "Prima di uscire — hai completato il trasferimento?",
341
+ completedItem:
342
+ "Se hai già completato il trasferimento: puoi chiudere questa pagina in tutta sicurezza oppure attendere alcuni minuti (i tempi dipendono dalle condizioni della rete) affinché lo stato si aggiorni automaticamente una volta che la transazione risulti confermata sulla blockchain.",
343
+ notSentIntro:
344
+ "Se non hai ancora inviato i fondi e chiudi questa pagina: non utilizzare più questo indirizzo di deposito.",
345
+ notSentSub1: "Questo indirizzo verrà invalidato",
346
+ notSentSub2:
347
+ "Qualsiasi fondo inviato non verrà accreditato sul tuo ordine",
348
+ notSentSub3:
349
+ "Per utilizzare questo metodo di pagamento dovrai tornare al carrello e riavviare il processo — verrà generato un nuovo indirizzo.",
350
+ closing:
351
+ "HMall non si assume alcuna responsabilità per fondi inviati a un indirizzo invalidato dalla chiusura di questa pagina.",
343
352
  cancelBtn: "Chiudi",
344
353
  stayBtn: "Resta e paga",
345
354
  leaveBtn: "Esci senza pagare",
@@ -367,16 +376,13 @@ export default {
367
376
  regenerateLoading: "Generazione…",
368
377
  },
369
378
  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.",
379
+ header: "IMPORTANTE INDIRIZZO DI DEPOSITO MONOUSO",
380
+ p1: "Questo indirizzo di deposito è univoco per questa transazione ed è valido solo per 10 minuti (vedi timer).",
381
+ p2: "Devi inviare esattamente l'importo indicato, nella criptovaluta selezionata, entro la finestra temporale. Non inviare altri importi o altre valute a questo indirizzo.",
382
+ 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.",
383
+ 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
384
  checkbox:
379
- "Confermo di aver letto e compreso quanto sopra prima di procedere.",
385
+ "Procedendo, confermi di aver letto e compreso queste condizioni.",
380
386
  nextBtn: "Avanti",
381
387
  },
382
388
  disclaimerAlertDialog: {