@tuwaio/nova-payments 0.5.0 → 0.6.0
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/chunk-BZLZLS4M.js +1 -0
- package/dist/chunk-GYQQA7PP.cjs +1 -0
- package/dist/de-7KHJV7AA.cjs +1 -0
- package/dist/de-P3LQGPPB.js +1 -0
- package/dist/es-2VTQFYQ3.cjs +1 -0
- package/dist/es-FOTJ6TZM.js +1 -0
- package/dist/evm/index.cjs +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.d.cts +2 -2
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +31 -9
- package/dist/index.d.ts +31 -9
- package/dist/index.js +2 -2
- package/dist/it-UMWTJDZC.js +1 -0
- package/dist/it-X7ZZ26HA.cjs +1 -0
- package/dist/{locales-fU-NVESw.d.cts → locales-ktZpTqwO.d.cts} +10 -0
- package/dist/{locales-fU-NVESw.d.ts → locales-ktZpTqwO.d.ts} +10 -0
- package/dist/{types-DQDwgCpt.d.ts → types-CratTkKj.d.cts} +19 -3
- package/dist/{types-DQDwgCpt.d.cts → types-CratTkKj.d.ts} +19 -3
- package/dist/uk-BHFSEFI5.cjs +1 -0
- package/dist/uk-K3ZCK3VC.js +1 -0
- package/dist/zhCN-JPT6UGTX.js +1 -0
- package/dist/zhCN-QI3WCAPE.cjs +1 -0
- package/package.json +3 -2
- package/dist/chunk-BPBRT7WV.cjs +0 -1
- package/dist/chunk-SB5LW2OQ.js +0 -1
- package/dist/de-PVPQNE4K.js +0 -1
- package/dist/de-RZFQ3674.cjs +0 -1
- package/dist/es-GOJORJOI.js +0 -1
- package/dist/es-LRJYQNXS.cjs +0 -1
- package/dist/it-AHKP5KMI.cjs +0 -1
- package/dist/it-AYCHUHO5.js +0 -1
- package/dist/uk-3MU32HNY.js +0 -1
- package/dist/uk-ITONA5SG.cjs +0 -1
- package/dist/zhCN-EOV4NMX5.js +0 -1
- package/dist/zhCN-W2PLK7SO.cjs +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PaymentsAdapter, a as PaymentFamily, C as CheckoutWallet, N as NativeFee } from './types-
|
|
2
|
-
export { b as PulsarTransactionParams, c as canPayWithQr, d as connectedWallet, f as familyOf, i as isWalletIconUrl, m as methodFamily, e as methodToken, n as networkName, p as payerFor, g as priceAdjustment, w as walletLabel } from './types-
|
|
1
|
+
import { P as PaymentsAdapter, a as PaymentFamily, C as CheckoutWallet, N as NativeFee } from './types-CratTkKj.cjs';
|
|
2
|
+
export { b as PulsarTransactionParams, c as canPayWithQr, d as connectedWallet, f as familyOf, i as isWalletIconUrl, m as methodFamily, e as methodToken, n as networkName, p as payerFor, g as priceAdjustment, w as walletLabel } from './types-CratTkKj.cjs';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode, ComponentType, ButtonHTMLAttributes, Context } from 'react';
|
|
5
|
-
import { CheckoutMethod, CheckoutView, CheckoutPhase, CheckoutQuote, CheckoutError, CheckoutState, PaymentInstructions, CheckoutApi, EventSourceConstructor, CheckoutStore, PayeeRefusal, PayeeCheck, PayeeVerifier, RefundPhase, RefundState, RefundStore, PayeeOptions, PayerProofMessage, CheckoutMerchant } from '@tuwaio/quasar-sdk/checkout';
|
|
5
|
+
import { CheckoutMethod, CheckoutView, CheckoutPhase, CheckoutQuote, CheckoutError, CheckoutState, PaymentInstructions, CheckoutApi, EventSourceConstructor, CheckoutStore, PayeeRefusal, PayeeCheck, InvoiceAddressVerifier, PayeeVerifier, RefundPhase, RefundState, RefundStore, PayeeOptions, PayerProofMessage, CheckoutMerchant } from '@tuwaio/quasar-sdk/checkout';
|
|
6
6
|
import { NovaPaymentsLabels, CheckoutLocale, NovaPaymentsLabelOverrides } from './i18n/index.cjs';
|
|
7
7
|
import { Transaction } from '@tuwaio/pulsar-core';
|
|
8
8
|
import { StatusTone, StatusEdgeProps } from '@tuwaio/nova-core';
|
|
@@ -1046,7 +1046,8 @@ interface PaymentCheckoutProps {
|
|
|
1046
1046
|
* part of a `payUrl` the server SDK made with `payoutAddresses`): the checkout refuses to show or pay a quote whose
|
|
1047
1047
|
* address is not among them, whatever Quasar's database says. Without them the checkout still requires the address's
|
|
1048
1048
|
* own signature of its payout record, which a swap in Quasar's database could carry for its own wallet. EVM addresses
|
|
1049
|
-
* in any letter case. A change makes the checkout read the invoice again.
|
|
1049
|
+
* in any letter case. A change makes the checkout read the invoice again. A `payUrl` without pins of its own gets
|
|
1050
|
+
* them for the phone it is handed to (the QR code of an EVM method).
|
|
1050
1051
|
*/
|
|
1051
1052
|
payoutAddresses?: readonly string[];
|
|
1052
1053
|
/**
|
|
@@ -1437,8 +1438,9 @@ declare function LocaleSwitcher({ locale, labels, receiptIssued, onSelect, class
|
|
|
1437
1438
|
* wallet in this browser or with a QR code on a phone. The connected wallet's network comes first and is marked, the
|
|
1438
1439
|
* merchant's Popular methods next; a discount or markup of a method shows on it. Paying from a wallet needs the chain
|
|
1439
1440
|
* adapter of the method's family (`adapters` of `NovaPaymentsProvider`). "Continue" locks the price for the connected
|
|
1440
|
-
* wallet (or connects one first), locks it without a payer for a Solana Pay QR code
|
|
1441
|
-
*
|
|
1441
|
+
* wallet (or connects one first), locks it without a payer for a Solana Pay QR code or the EIP-681 QR code of an
|
|
1442
|
+
* invoice's own address (`ownAddress`), or shows the QR code of the payment page for another EVM method paid on a
|
|
1443
|
+
* phone; a wallet that must confirm the invoice first (an EVM payment it sends
|
|
1442
1444
|
* itself) goes to the step that confirms it before the price. A consent the seller asks (`checkout.consent`) is a box the buyer
|
|
1443
1445
|
* ticks under the ways to pay; a required one keeps "Continue" off until it is ticked, and the quote carries it.
|
|
1444
1446
|
*
|
|
@@ -1507,6 +1509,25 @@ declare function payeeVerified(state: {
|
|
|
1507
1509
|
* @returns Whether the signature holds, or `null` when no adapter of the family checks signatures.
|
|
1508
1510
|
*/
|
|
1509
1511
|
declare function verifyPayeeWith(adapters: readonly PaymentsAdapter[] | undefined, params: Parameters<PayeeVerifier>[0]): Promise<boolean | null>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Checks an invoice's own address with the adapter of its chain family (`verifyInvoiceAddress`, EVM): the
|
|
1514
|
+
* {@link InvoiceAddressVerifier} of a checkout over its adapters. Reads nothing from the network.
|
|
1515
|
+
*
|
|
1516
|
+
* @param adapters - The checkout's payment adapters.
|
|
1517
|
+
* @param params - The invoice's address, the address of the quote's instructions and the network (CAIP-2).
|
|
1518
|
+
* @returns Whether the address comes from the signed meta-address, or `null` when no adapter of the family checks it.
|
|
1519
|
+
*/
|
|
1520
|
+
declare function verifyInvoiceAddressWith(adapters: readonly PaymentsAdapter[] | undefined, params: Parameters<InvoiceAddressVerifier>[0]): Promise<boolean | null>;
|
|
1521
|
+
/**
|
|
1522
|
+
* The payment page a phone opens (the QR code of an EVM method), with the merchant's pinned payout addresses: a link
|
|
1523
|
+
* that carries none gets those of the checkout, so the checkout on the phone refuses the same addresses as this one. A
|
|
1524
|
+
* link with pins of its own (from the server SDK) stays as it is.
|
|
1525
|
+
*
|
|
1526
|
+
* @param payUrl - The payment page of the invoice, if the app has it.
|
|
1527
|
+
* @param payoutAddresses - The merchant's pinned payout addresses of the checkout (`payoutAddresses`).
|
|
1528
|
+
* @returns The link to hand over.
|
|
1529
|
+
*/
|
|
1530
|
+
declare function handOffPayUrl(payUrl: string | null | undefined, payoutAddresses: readonly string[] | undefined): string | null | undefined;
|
|
1510
1531
|
|
|
1511
1532
|
/**
|
|
1512
1533
|
* What the pay and QR steps show instead of the payment until the checkout store verified the payee of the quote. While
|
|
@@ -1550,8 +1571,9 @@ declare function PayScreen(): react.JSX.Element | null;
|
|
|
1550
1571
|
/**
|
|
1551
1572
|
* The QR code step. For Solana, a Solana Pay transfer request a phone wallet scans (or opens with "Open in wallet
|
|
1552
1573
|
* app"), with the exact amount, the recipient, the price lock and a warning against paying from an exchange; the page
|
|
1553
|
-
* waits for the payment, which Quasar finds by the reference key. For an EVM
|
|
1554
|
-
*
|
|
1574
|
+
* waits for the payment, which Quasar finds by the reference key. For an EVM quote to an invoice's own address, an
|
|
1575
|
+
* EIP-681 request of the same kind, which an exchange may pay too: Quasar finds the payment by the address. For another
|
|
1576
|
+
* EVM method, the QR code of the payment page opens this checkout on the phone, before any price.
|
|
1555
1577
|
*
|
|
1556
1578
|
* @returns The QR code step.
|
|
1557
1579
|
*/
|
|
@@ -3084,5 +3106,5 @@ declare function invoiceTotals(invoice: CheckoutView['invoice']): {
|
|
|
3084
3106
|
total: string;
|
|
3085
3107
|
};
|
|
3086
3108
|
|
|
3087
|
-
export { AmountStep, BuyerScreen, CheckoutContext, CheckoutContextProvider, CheckoutFrame, CheckoutHeader, CheckoutPageRoot, CheckoutStepper, CheckoutSummary, CheckoutWallet, CompactSummary, ConfirmScreen, ConfirmStep, ConfirmWalletScreen, ContactLink, DEADLINE_ANNOUNCEMENTS, DeadlineTimer, Disclosure, FailedScreen, FailedStep, LeaveDialog, LocaleSwitcher, MerchantBadge, MethodScreen, MobileSteps, NativeFee, NovaPaymentsContext, NovaPaymentsProvider, OPEN_REQUEST_MS, OrderLines, OrderTotal, OutcomeScreen, PaidScreen, PayScreen, PayeeScreen, PaymentCheckout, PaymentFamily, PaymentWalletError, PaymentsAdapter, QUOTE_WARNING_MS, QrScreen, RefundButton, RefundDialog, RefundSteps, ScreenBody, SellerDetailsContent, SummaryFooter, WalletPrompt, addressOfWallet, balanceShortfall, baseUnitsToDecimal, buyerFields, buyerIssues, checkoutClassName, checkoutScreen, checkoutSteps, cleanBuyer, contactHref, countryOptions, deadlineAnnouncement, deadlineState, failedPaymentTx, formatCountdown, formatFeeAmount, formatFiat, formatTokenAmount, groupMethodsByToken, handOverPayment, instructionsChainId, invoiceTotals, isConfirmationError, isFinalPaymentFailure, isInvoicePaymentOnTheWay, isInvoicePaymentUnresolved, isMovedMoneyFailure, isPaidElsewhere, isPayerProofError, isPaymentAccepted, isPaymentOnTheWay, isQuoteEnding, isSameWallet, isSlow, isSmartWallet, leftTheWalletText, lockPrice, lockedPriceOnWallet, methodErrorText, minorToDecimal, needsLeaveConfirm, needsPayerProof, needsTheClock, paidSteps, payInvoice, payPath, payeeStatus, payeeVerified, payerProofErrorText, paymentFailedText, qrPath, quoteAmounts, quoteRate, receivedAmount, refundRateMoved, refundTransfer, refusalText, restRateText, screensPayingWallets, sentBeforeDeadline, shownLocale, unconfirmedFollowUp, unconfirmedTxKey, underpaidRest, useAsyncValue, useAutoReturn, useCheckoutContext, useCheckoutEvents, useCheckoutState, useCheckoutStore, useConnectedWallet, useNovaPayments, useNow, useOptionalCheckoutContext, usePaidCallback, usePayerProof, usePayment, usePaymentFacts, usePaymentHandOver, usePaymentsConnection, usePaymentsLabels, useRefund, useRereadValue, useWalletConnection, verifyPayeeWith, walletErrorKind, walletOnConfirmStep };
|
|
3109
|
+
export { AmountStep, BuyerScreen, CheckoutContext, CheckoutContextProvider, CheckoutFrame, CheckoutHeader, CheckoutPageRoot, CheckoutStepper, CheckoutSummary, CheckoutWallet, CompactSummary, ConfirmScreen, ConfirmStep, ConfirmWalletScreen, ContactLink, DEADLINE_ANNOUNCEMENTS, DeadlineTimer, Disclosure, FailedScreen, FailedStep, LeaveDialog, LocaleSwitcher, MerchantBadge, MethodScreen, MobileSteps, NativeFee, NovaPaymentsContext, NovaPaymentsProvider, OPEN_REQUEST_MS, OrderLines, OrderTotal, OutcomeScreen, PaidScreen, PayScreen, PayeeScreen, PaymentCheckout, PaymentFamily, PaymentWalletError, PaymentsAdapter, QUOTE_WARNING_MS, QrScreen, RefundButton, RefundDialog, RefundSteps, ScreenBody, SellerDetailsContent, SummaryFooter, WalletPrompt, addressOfWallet, balanceShortfall, baseUnitsToDecimal, buyerFields, buyerIssues, checkoutClassName, checkoutScreen, checkoutSteps, cleanBuyer, contactHref, countryOptions, deadlineAnnouncement, deadlineState, failedPaymentTx, formatCountdown, formatFeeAmount, formatFiat, formatTokenAmount, groupMethodsByToken, handOffPayUrl, handOverPayment, instructionsChainId, invoiceTotals, isConfirmationError, isFinalPaymentFailure, isInvoicePaymentOnTheWay, isInvoicePaymentUnresolved, isMovedMoneyFailure, isPaidElsewhere, isPayerProofError, isPaymentAccepted, isPaymentOnTheWay, isQuoteEnding, isSameWallet, isSlow, isSmartWallet, leftTheWalletText, lockPrice, lockedPriceOnWallet, methodErrorText, minorToDecimal, needsLeaveConfirm, needsPayerProof, needsTheClock, paidSteps, payInvoice, payPath, payeeStatus, payeeVerified, payerProofErrorText, paymentFailedText, qrPath, quoteAmounts, quoteRate, receivedAmount, refundRateMoved, refundTransfer, refusalText, restRateText, screensPayingWallets, sentBeforeDeadline, shownLocale, unconfirmedFollowUp, unconfirmedTxKey, underpaidRest, useAsyncValue, useAutoReturn, useCheckoutContext, useCheckoutEvents, useCheckoutState, useCheckoutStore, useConnectedWallet, useNovaPayments, useNow, useOptionalCheckoutContext, usePaidCallback, usePayerProof, usePayment, usePaymentFacts, usePaymentHandOver, usePaymentsConnection, usePaymentsLabels, useRefund, useRereadValue, useWalletConnection, verifyInvoiceAddressWith, verifyPayeeWith, walletErrorKind, walletOnConfirmStep };
|
|
3088
3110
|
export type { BalanceShortfall, BuyerCollect, BuyerField, BuyerIssue, CheckoutContextValue, CheckoutHeaderProps, CheckoutNetworkOptionProps, CheckoutPartState, CheckoutPrimaryButtonProps, CheckoutQrCodeProps, CheckoutScreen, CheckoutScreenChoices, CheckoutScreenProps, CheckoutStatusIconProps, CheckoutStep, CheckoutStepperProps, CheckoutTokenGroup, CheckoutTokenOptionProps, ConfirmProblem, HandOverParams, LocaleSwitcherProps, LockPriceStore, NovaPaymentsLabelsContext, NovaPaymentsOwnConnection, NovaPaymentsProviderCustomization, NovaPaymentsProviderProps, NovaPaymentsSettings, OutcomeKind, PayInvoiceParams, PayPath, PayeeStatus, PayerProofFlow, PayerProofProblem, PayerProofStep, Payment, PaymentCheckoutChildCustomizations, PaymentCheckoutClassNames, PaymentCheckoutComponents, PaymentCheckoutConfig, PaymentCheckoutCustomization, PaymentCheckoutDisplay, PaymentCheckoutHandlers, PaymentCheckoutProps, PaymentHandOverState, PaymentStatus, PaymentTransfer, PaymentWalletErrorKind, PaymentsConnectionMode, PaymentsPulsar, QuoteAmounts, RefundButtonProps, RefundDialogProps, RefundFlow, RefundInstructions, RefundProblem, RefundRequest, RefundStep, SentBeforeDeadlineParams, SentPayment, UnconfirmedFollowUp, UseAutoReturnParams, UseCheckoutEventsParams, UseCheckoutStoreOptions, UsePayerProofParams, UsePaymentHandOverParams, UsePaymentParams, UseRefundParams, WalletConnection, WalletPromptKind, WalletPromptProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PaymentsAdapter, a as PaymentFamily, C as CheckoutWallet, N as NativeFee } from './types-
|
|
2
|
-
export { b as PulsarTransactionParams, c as canPayWithQr, d as connectedWallet, f as familyOf, i as isWalletIconUrl, m as methodFamily, e as methodToken, n as networkName, p as payerFor, g as priceAdjustment, w as walletLabel } from './types-
|
|
1
|
+
import { P as PaymentsAdapter, a as PaymentFamily, C as CheckoutWallet, N as NativeFee } from './types-CratTkKj.js';
|
|
2
|
+
export { b as PulsarTransactionParams, c as canPayWithQr, d as connectedWallet, f as familyOf, i as isWalletIconUrl, m as methodFamily, e as methodToken, n as networkName, p as payerFor, g as priceAdjustment, w as walletLabel } from './types-CratTkKj.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode, ComponentType, ButtonHTMLAttributes, Context } from 'react';
|
|
5
|
-
import { CheckoutMethod, CheckoutView, CheckoutPhase, CheckoutQuote, CheckoutError, CheckoutState, PaymentInstructions, CheckoutApi, EventSourceConstructor, CheckoutStore, PayeeRefusal, PayeeCheck, PayeeVerifier, RefundPhase, RefundState, RefundStore, PayeeOptions, PayerProofMessage, CheckoutMerchant } from '@tuwaio/quasar-sdk/checkout';
|
|
5
|
+
import { CheckoutMethod, CheckoutView, CheckoutPhase, CheckoutQuote, CheckoutError, CheckoutState, PaymentInstructions, CheckoutApi, EventSourceConstructor, CheckoutStore, PayeeRefusal, PayeeCheck, InvoiceAddressVerifier, PayeeVerifier, RefundPhase, RefundState, RefundStore, PayeeOptions, PayerProofMessage, CheckoutMerchant } from '@tuwaio/quasar-sdk/checkout';
|
|
6
6
|
import { NovaPaymentsLabels, CheckoutLocale, NovaPaymentsLabelOverrides } from './i18n/index.js';
|
|
7
7
|
import { Transaction } from '@tuwaio/pulsar-core';
|
|
8
8
|
import { StatusTone, StatusEdgeProps } from '@tuwaio/nova-core';
|
|
@@ -1046,7 +1046,8 @@ interface PaymentCheckoutProps {
|
|
|
1046
1046
|
* part of a `payUrl` the server SDK made with `payoutAddresses`): the checkout refuses to show or pay a quote whose
|
|
1047
1047
|
* address is not among them, whatever Quasar's database says. Without them the checkout still requires the address's
|
|
1048
1048
|
* own signature of its payout record, which a swap in Quasar's database could carry for its own wallet. EVM addresses
|
|
1049
|
-
* in any letter case. A change makes the checkout read the invoice again.
|
|
1049
|
+
* in any letter case. A change makes the checkout read the invoice again. A `payUrl` without pins of its own gets
|
|
1050
|
+
* them for the phone it is handed to (the QR code of an EVM method).
|
|
1050
1051
|
*/
|
|
1051
1052
|
payoutAddresses?: readonly string[];
|
|
1052
1053
|
/**
|
|
@@ -1437,8 +1438,9 @@ declare function LocaleSwitcher({ locale, labels, receiptIssued, onSelect, class
|
|
|
1437
1438
|
* wallet in this browser or with a QR code on a phone. The connected wallet's network comes first and is marked, the
|
|
1438
1439
|
* merchant's Popular methods next; a discount or markup of a method shows on it. Paying from a wallet needs the chain
|
|
1439
1440
|
* adapter of the method's family (`adapters` of `NovaPaymentsProvider`). "Continue" locks the price for the connected
|
|
1440
|
-
* wallet (or connects one first), locks it without a payer for a Solana Pay QR code
|
|
1441
|
-
*
|
|
1441
|
+
* wallet (or connects one first), locks it without a payer for a Solana Pay QR code or the EIP-681 QR code of an
|
|
1442
|
+
* invoice's own address (`ownAddress`), or shows the QR code of the payment page for another EVM method paid on a
|
|
1443
|
+
* phone; a wallet that must confirm the invoice first (an EVM payment it sends
|
|
1442
1444
|
* itself) goes to the step that confirms it before the price. A consent the seller asks (`checkout.consent`) is a box the buyer
|
|
1443
1445
|
* ticks under the ways to pay; a required one keeps "Continue" off until it is ticked, and the quote carries it.
|
|
1444
1446
|
*
|
|
@@ -1507,6 +1509,25 @@ declare function payeeVerified(state: {
|
|
|
1507
1509
|
* @returns Whether the signature holds, or `null` when no adapter of the family checks signatures.
|
|
1508
1510
|
*/
|
|
1509
1511
|
declare function verifyPayeeWith(adapters: readonly PaymentsAdapter[] | undefined, params: Parameters<PayeeVerifier>[0]): Promise<boolean | null>;
|
|
1512
|
+
/**
|
|
1513
|
+
* Checks an invoice's own address with the adapter of its chain family (`verifyInvoiceAddress`, EVM): the
|
|
1514
|
+
* {@link InvoiceAddressVerifier} of a checkout over its adapters. Reads nothing from the network.
|
|
1515
|
+
*
|
|
1516
|
+
* @param adapters - The checkout's payment adapters.
|
|
1517
|
+
* @param params - The invoice's address, the address of the quote's instructions and the network (CAIP-2).
|
|
1518
|
+
* @returns Whether the address comes from the signed meta-address, or `null` when no adapter of the family checks it.
|
|
1519
|
+
*/
|
|
1520
|
+
declare function verifyInvoiceAddressWith(adapters: readonly PaymentsAdapter[] | undefined, params: Parameters<InvoiceAddressVerifier>[0]): Promise<boolean | null>;
|
|
1521
|
+
/**
|
|
1522
|
+
* The payment page a phone opens (the QR code of an EVM method), with the merchant's pinned payout addresses: a link
|
|
1523
|
+
* that carries none gets those of the checkout, so the checkout on the phone refuses the same addresses as this one. A
|
|
1524
|
+
* link with pins of its own (from the server SDK) stays as it is.
|
|
1525
|
+
*
|
|
1526
|
+
* @param payUrl - The payment page of the invoice, if the app has it.
|
|
1527
|
+
* @param payoutAddresses - The merchant's pinned payout addresses of the checkout (`payoutAddresses`).
|
|
1528
|
+
* @returns The link to hand over.
|
|
1529
|
+
*/
|
|
1530
|
+
declare function handOffPayUrl(payUrl: string | null | undefined, payoutAddresses: readonly string[] | undefined): string | null | undefined;
|
|
1510
1531
|
|
|
1511
1532
|
/**
|
|
1512
1533
|
* What the pay and QR steps show instead of the payment until the checkout store verified the payee of the quote. While
|
|
@@ -1550,8 +1571,9 @@ declare function PayScreen(): react.JSX.Element | null;
|
|
|
1550
1571
|
/**
|
|
1551
1572
|
* The QR code step. For Solana, a Solana Pay transfer request a phone wallet scans (or opens with "Open in wallet
|
|
1552
1573
|
* app"), with the exact amount, the recipient, the price lock and a warning against paying from an exchange; the page
|
|
1553
|
-
* waits for the payment, which Quasar finds by the reference key. For an EVM
|
|
1554
|
-
*
|
|
1574
|
+
* waits for the payment, which Quasar finds by the reference key. For an EVM quote to an invoice's own address, an
|
|
1575
|
+
* EIP-681 request of the same kind, which an exchange may pay too: Quasar finds the payment by the address. For another
|
|
1576
|
+
* EVM method, the QR code of the payment page opens this checkout on the phone, before any price.
|
|
1555
1577
|
*
|
|
1556
1578
|
* @returns The QR code step.
|
|
1557
1579
|
*/
|
|
@@ -3084,5 +3106,5 @@ declare function invoiceTotals(invoice: CheckoutView['invoice']): {
|
|
|
3084
3106
|
total: string;
|
|
3085
3107
|
};
|
|
3086
3108
|
|
|
3087
|
-
export { AmountStep, BuyerScreen, CheckoutContext, CheckoutContextProvider, CheckoutFrame, CheckoutHeader, CheckoutPageRoot, CheckoutStepper, CheckoutSummary, CheckoutWallet, CompactSummary, ConfirmScreen, ConfirmStep, ConfirmWalletScreen, ContactLink, DEADLINE_ANNOUNCEMENTS, DeadlineTimer, Disclosure, FailedScreen, FailedStep, LeaveDialog, LocaleSwitcher, MerchantBadge, MethodScreen, MobileSteps, NativeFee, NovaPaymentsContext, NovaPaymentsProvider, OPEN_REQUEST_MS, OrderLines, OrderTotal, OutcomeScreen, PaidScreen, PayScreen, PayeeScreen, PaymentCheckout, PaymentFamily, PaymentWalletError, PaymentsAdapter, QUOTE_WARNING_MS, QrScreen, RefundButton, RefundDialog, RefundSteps, ScreenBody, SellerDetailsContent, SummaryFooter, WalletPrompt, addressOfWallet, balanceShortfall, baseUnitsToDecimal, buyerFields, buyerIssues, checkoutClassName, checkoutScreen, checkoutSteps, cleanBuyer, contactHref, countryOptions, deadlineAnnouncement, deadlineState, failedPaymentTx, formatCountdown, formatFeeAmount, formatFiat, formatTokenAmount, groupMethodsByToken, handOverPayment, instructionsChainId, invoiceTotals, isConfirmationError, isFinalPaymentFailure, isInvoicePaymentOnTheWay, isInvoicePaymentUnresolved, isMovedMoneyFailure, isPaidElsewhere, isPayerProofError, isPaymentAccepted, isPaymentOnTheWay, isQuoteEnding, isSameWallet, isSlow, isSmartWallet, leftTheWalletText, lockPrice, lockedPriceOnWallet, methodErrorText, minorToDecimal, needsLeaveConfirm, needsPayerProof, needsTheClock, paidSteps, payInvoice, payPath, payeeStatus, payeeVerified, payerProofErrorText, paymentFailedText, qrPath, quoteAmounts, quoteRate, receivedAmount, refundRateMoved, refundTransfer, refusalText, restRateText, screensPayingWallets, sentBeforeDeadline, shownLocale, unconfirmedFollowUp, unconfirmedTxKey, underpaidRest, useAsyncValue, useAutoReturn, useCheckoutContext, useCheckoutEvents, useCheckoutState, useCheckoutStore, useConnectedWallet, useNovaPayments, useNow, useOptionalCheckoutContext, usePaidCallback, usePayerProof, usePayment, usePaymentFacts, usePaymentHandOver, usePaymentsConnection, usePaymentsLabels, useRefund, useRereadValue, useWalletConnection, verifyPayeeWith, walletErrorKind, walletOnConfirmStep };
|
|
3109
|
+
export { AmountStep, BuyerScreen, CheckoutContext, CheckoutContextProvider, CheckoutFrame, CheckoutHeader, CheckoutPageRoot, CheckoutStepper, CheckoutSummary, CheckoutWallet, CompactSummary, ConfirmScreen, ConfirmStep, ConfirmWalletScreen, ContactLink, DEADLINE_ANNOUNCEMENTS, DeadlineTimer, Disclosure, FailedScreen, FailedStep, LeaveDialog, LocaleSwitcher, MerchantBadge, MethodScreen, MobileSteps, NativeFee, NovaPaymentsContext, NovaPaymentsProvider, OPEN_REQUEST_MS, OrderLines, OrderTotal, OutcomeScreen, PaidScreen, PayScreen, PayeeScreen, PaymentCheckout, PaymentFamily, PaymentWalletError, PaymentsAdapter, QUOTE_WARNING_MS, QrScreen, RefundButton, RefundDialog, RefundSteps, ScreenBody, SellerDetailsContent, SummaryFooter, WalletPrompt, addressOfWallet, balanceShortfall, baseUnitsToDecimal, buyerFields, buyerIssues, checkoutClassName, checkoutScreen, checkoutSteps, cleanBuyer, contactHref, countryOptions, deadlineAnnouncement, deadlineState, failedPaymentTx, formatCountdown, formatFeeAmount, formatFiat, formatTokenAmount, groupMethodsByToken, handOffPayUrl, handOverPayment, instructionsChainId, invoiceTotals, isConfirmationError, isFinalPaymentFailure, isInvoicePaymentOnTheWay, isInvoicePaymentUnresolved, isMovedMoneyFailure, isPaidElsewhere, isPayerProofError, isPaymentAccepted, isPaymentOnTheWay, isQuoteEnding, isSameWallet, isSlow, isSmartWallet, leftTheWalletText, lockPrice, lockedPriceOnWallet, methodErrorText, minorToDecimal, needsLeaveConfirm, needsPayerProof, needsTheClock, paidSteps, payInvoice, payPath, payeeStatus, payeeVerified, payerProofErrorText, paymentFailedText, qrPath, quoteAmounts, quoteRate, receivedAmount, refundRateMoved, refundTransfer, refusalText, restRateText, screensPayingWallets, sentBeforeDeadline, shownLocale, unconfirmedFollowUp, unconfirmedTxKey, underpaidRest, useAsyncValue, useAutoReturn, useCheckoutContext, useCheckoutEvents, useCheckoutState, useCheckoutStore, useConnectedWallet, useNovaPayments, useNow, useOptionalCheckoutContext, usePaidCallback, usePayerProof, usePayment, usePaymentFacts, usePaymentHandOver, usePaymentsConnection, usePaymentsLabels, useRefund, useRereadValue, useWalletConnection, verifyInvoiceAddressWith, verifyPayeeWith, walletErrorKind, walletOnConfirmStep };
|
|
3088
3110
|
export type { BalanceShortfall, BuyerCollect, BuyerField, BuyerIssue, CheckoutContextValue, CheckoutHeaderProps, CheckoutNetworkOptionProps, CheckoutPartState, CheckoutPrimaryButtonProps, CheckoutQrCodeProps, CheckoutScreen, CheckoutScreenChoices, CheckoutScreenProps, CheckoutStatusIconProps, CheckoutStep, CheckoutStepperProps, CheckoutTokenGroup, CheckoutTokenOptionProps, ConfirmProblem, HandOverParams, LocaleSwitcherProps, LockPriceStore, NovaPaymentsLabelsContext, NovaPaymentsOwnConnection, NovaPaymentsProviderCustomization, NovaPaymentsProviderProps, NovaPaymentsSettings, OutcomeKind, PayInvoiceParams, PayPath, PayeeStatus, PayerProofFlow, PayerProofProblem, PayerProofStep, Payment, PaymentCheckoutChildCustomizations, PaymentCheckoutClassNames, PaymentCheckoutComponents, PaymentCheckoutConfig, PaymentCheckoutCustomization, PaymentCheckoutDisplay, PaymentCheckoutHandlers, PaymentCheckoutProps, PaymentHandOverState, PaymentStatus, PaymentTransfer, PaymentWalletErrorKind, PaymentsConnectionMode, PaymentsPulsar, QuoteAmounts, RefundButtonProps, RefundDialogProps, RefundFlow, RefundInstructions, RefundProblem, RefundRequest, RefundStep, SentBeforeDeadlineParams, SentPayment, UnconfirmedFollowUp, UseAutoReturnParams, UseCheckoutEventsParams, UseCheckoutStoreOptions, UsePayerProofParams, UsePaymentHandOverParams, UsePaymentParams, UseRefundParams, WalletConnection, WalletPromptKind, WalletPromptProps };
|