@payos-inc/payos-react 1.0.42 → 1.2.0-staging.100
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/LICENSE +96 -0
- package/README.md +160 -0
- package/dist/THIRD_PARTY_NOTICES.txt +549 -0
- package/dist/payos-react.cjs +50 -0
- package/dist/payos-react.css +1 -1
- package/dist/payos-react.esm.js +18 -12
- package/dist/payos-react.min.js +2 -1
- package/dist/payos-react.mjs +50 -0
- package/dist/types/index.d.ts +1 -57
- package/dist/types/payos-passkey-js/src/api/ApiClient.d.ts +48 -0
- package/dist/types/payos-passkey-js/src/core/PayOSPasskey.d.ts +165 -0
- package/dist/types/payos-passkey-js/src/core/sessionFlow.d.ts +48 -0
- package/dist/types/payos-passkey-js/src/core/types.d.ts +183 -0
- package/dist/types/payos-passkey-js/src/index.d.ts +10 -0
- package/dist/types/payos-passkey-js/src/services/mastercard/MastercardSDKService.d.ts +61 -0
- package/dist/types/payos-passkey-js/src/services/visa/VisaSDKService.d.ts +90 -0
- package/dist/types/payos-passkey-js/src/utils/diagnostics.d.ts +30 -0
- package/dist/types/payos-passkey-js/src/utils/logger.d.ts +36 -0
- package/dist/types/payos-passkey-js/src/version.d.ts +5 -0
- package/dist/{components → types/payos-react/src/components}/payos/ActiveCardWidget.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/AgentRegistrationFlow.d.ts +1 -3
- package/dist/{components → types/payos-react/src/components}/payos/ConnectStripeLinkButton.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/IdentityVerificationFlow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/LinkPaymentFlow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/LinkSessionContent.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PayOSFooter.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PayWithLinkButton.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/PaymentMethodRow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/PaymentSheet.d.ts +3 -4
- package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetContent.d.ts +6 -4
- package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetPaymentFlow.d.ts +4 -2
- package/dist/{components → types/payos-react/src/components}/payos/PaymentSheetShell.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetStatusViews.d.ts +3 -2
- package/dist/types/{components → payos-react/src/components}/payos/PriceTag.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/ReceiptPanel.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/ViewHeader.d.ts +2 -1
- package/dist/types/{components → payos-react/src/components}/payos/drawer.d.ts +5 -2
- package/dist/{components → types/payos-react/src/components}/payos/order-summary.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/otp-input.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/phone-input.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/themeMode.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetDisplayData.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetLifecycle.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToAuth.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToLink.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/AgentRegistrationView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/CardAddView.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/payos/views/CheckoutView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/IdentityView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkBrand.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkCheckoutView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkConnectView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkDeniedView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkLoadingView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkSuccessView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/ManageThirdPartyView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/MethodListView.d.ts +8 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/OTPView.d.ts +0 -1
- package/dist/types/payos-react/src/components/payos/views/ShareCardsView.d.ts +28 -0
- package/dist/types/{components → payos-react/src/components}/payos/views/SuccessView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/VisaIframeView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/VisaMethodView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/VisaOtpView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/WelcomeBackView.d.ts +0 -1
- package/dist/types/payos-react/src/components/ui/CardArt.d.ts +22 -0
- package/dist/types/{components → payos-react/src/components}/ui/CardBrandIcon.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/ConfirmDialog.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/DigitalCard.d.ts +0 -1
- package/dist/types/payos-react/src/components/ui/HelpPopover.d.ts +17 -0
- package/dist/types/{components → payos-react/src/components}/ui/button.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/card.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/input.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/label.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/separator.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useBiometricType.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useBodyScrollLock.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useCardElement.d.ts +1 -2
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkAuth.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkDeviceAuthPoll.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkMethods.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useLinkSession.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useLinkSpendStatusPoll.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/usePasskeySDK.d.ts +2 -4
- package/dist/{hooks → types/payos-react/src/hooks}/useSession.d.ts +14 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useVisualViewport.d.ts +0 -1
- package/dist/{index.d.ts → types/payos-react/src/index.d.ts} +3 -4
- package/dist/{lib → types/payos-react/src/lib}/utils.d.ts +0 -1
- package/dist/{services → types/payos-react/src/services}/apiService.d.ts +14 -3
- package/dist/{services → types/payos-react/src/services}/linkTokenService.d.ts +0 -1
- package/dist/types/{cardElement.d.ts → payos-react/src/types/cardElement.d.ts} +2 -3
- package/dist/types/{drawer.d.ts → payos-react/src/types/drawer.d.ts} +0 -1
- package/dist/types/{types → payos-react/src/types}/index.d.ts +0 -1
- package/dist/types/{order.d.ts → payos-react/src/types/order.d.ts} +0 -1
- package/dist/types/{types → payos-react/src/types}/payment.d.ts +1 -2
- package/dist/types/{session.d.ts → payos-react/src/types/session.d.ts} +18 -2
- package/dist/types/{utils → payos-react/src/utils}/credentialStatus.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/deviceFingerprint.d.ts +0 -1
- package/dist/types/payos-react/src/utils/ensureSelectedCardAttached.d.ts +10 -0
- package/dist/types/{utils → payos-react/src/utils}/environment.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/formatting.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/linkPopup.d.ts +0 -1
- package/dist/types/payos-react/src/utils/organizationName.d.ts +8 -0
- package/dist/types/{utils → payos-react/src/utils}/selectCard.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/text.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/validation.d.ts +0 -1
- package/package.json +38 -13
- package/dist/components/identity/IdentityBar.d.ts +0 -8
- package/dist/components/identity/IdentityBar.d.ts.map +0 -1
- package/dist/components/order/OrderSummaryAccordion.d.ts +0 -9
- package/dist/components/order/OrderSummaryAccordion.d.ts.map +0 -1
- package/dist/components/order/ShipmentCard.d.ts +0 -8
- package/dist/components/order/ShipmentCard.d.ts.map +0 -1
- package/dist/components/payos/ActiveCardWidget.d.ts.map +0 -1
- package/dist/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
- package/dist/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
- package/dist/components/payos/IdentityVerificationFlow.d.ts +0 -26
- package/dist/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
- package/dist/components/payos/LinkPaymentFlow.d.ts.map +0 -1
- package/dist/components/payos/LinkSessionContent.d.ts.map +0 -1
- package/dist/components/payos/PayOSFooter.d.ts +0 -25
- package/dist/components/payos/PayOSFooter.d.ts.map +0 -1
- package/dist/components/payos/PayWithLinkButton.d.ts +0 -74
- package/dist/components/payos/PayWithLinkButton.d.ts.map +0 -1
- package/dist/components/payos/PaymentMethodRow.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheet.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetContent.d.ts +0 -80
- package/dist/components/payos/PaymentSheetContent.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetPaymentFlow.d.ts +0 -43
- package/dist/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetShell.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetStatusViews.d.ts +0 -28
- package/dist/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
- package/dist/components/payos/PriceTag.d.ts +0 -64
- package/dist/components/payos/PriceTag.d.ts.map +0 -1
- package/dist/components/payos/ReceiptPanel.d.ts +0 -67
- package/dist/components/payos/ReceiptPanel.d.ts.map +0 -1
- package/dist/components/payos/ViewHeader.d.ts +0 -9
- package/dist/components/payos/ViewHeader.d.ts.map +0 -1
- package/dist/components/payos/drawer.d.ts +0 -107
- package/dist/components/payos/drawer.d.ts.map +0 -1
- package/dist/components/payos/order-summary.d.ts.map +0 -1
- package/dist/components/payos/otp-input.d.ts.map +0 -1
- package/dist/components/payos/phone-input.d.ts +0 -30
- package/dist/components/payos/phone-input.d.ts.map +0 -1
- package/dist/components/payos/themeMode.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetDebug.d.ts +0 -22
- package/dist/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetDisplayData.d.ts +0 -29
- package/dist/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetLifecycle.d.ts +0 -39
- package/dist/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
- package/dist/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
- package/dist/components/payos/views/CardAddView.d.ts +0 -101
- package/dist/components/payos/views/CardAddView.d.ts.map +0 -1
- package/dist/components/payos/views/CheckoutView.d.ts +0 -95
- package/dist/components/payos/views/CheckoutView.d.ts.map +0 -1
- package/dist/components/payos/views/IdentityView.d.ts +0 -51
- package/dist/components/payos/views/IdentityView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkBrand.d.ts.map +0 -1
- package/dist/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkConnectView.d.ts +0 -18
- package/dist/components/payos/views/LinkConnectView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkDeniedView.d.ts +0 -13
- package/dist/components/payos/views/LinkDeniedView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkLoadingView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkSuccessView.d.ts +0 -11
- package/dist/components/payos/views/LinkSuccessView.d.ts.map +0 -1
- package/dist/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
- package/dist/components/payos/views/MethodListView.d.ts.map +0 -1
- package/dist/components/payos/views/OTPView.d.ts +0 -69
- package/dist/components/payos/views/OTPView.d.ts.map +0 -1
- package/dist/components/payos/views/SuccessView.d.ts +0 -49
- package/dist/components/payos/views/SuccessView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaIframeView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaMethodView.d.ts +0 -23
- package/dist/components/payos/views/VisaMethodView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaOtpView.d.ts.map +0 -1
- package/dist/components/payos/views/WelcomeBackView.d.ts.map +0 -1
- package/dist/components/ui/CardBrandIcon.d.ts +0 -10
- package/dist/components/ui/CardBrandIcon.d.ts.map +0 -1
- package/dist/components/ui/ConfirmDialog.d.ts +0 -25
- package/dist/components/ui/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/ui/DigitalCard.d.ts +0 -13
- package/dist/components/ui/DigitalCard.d.ts.map +0 -1
- package/dist/components/ui/InfoTooltip.d.ts +0 -8
- package/dist/components/ui/InfoTooltip.d.ts.map +0 -1
- package/dist/components/ui/PinInput.d.ts +0 -12
- package/dist/components/ui/PinInput.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -15
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -8
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useBiometricType.d.ts.map +0 -1
- package/dist/hooks/useBodyScrollLock.d.ts +0 -32
- package/dist/hooks/useBodyScrollLock.d.ts.map +0 -1
- package/dist/hooks/useCardElement.d.ts +0 -135
- package/dist/hooks/useCardElement.d.ts.map +0 -1
- package/dist/hooks/useCheckoutFlow.d.ts +0 -29
- package/dist/hooks/useCheckoutFlow.d.ts.map +0 -1
- package/dist/hooks/useDrawerState.d.ts +0 -4
- package/dist/hooks/useDrawerState.d.ts.map +0 -1
- package/dist/hooks/useLinkAuth.d.ts +0 -24
- package/dist/hooks/useLinkAuth.d.ts.map +0 -1
- package/dist/hooks/useLinkDeviceAuthPoll.d.ts +0 -29
- package/dist/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
- package/dist/hooks/useLinkMethods.d.ts +0 -28
- package/dist/hooks/useLinkMethods.d.ts.map +0 -1
- package/dist/hooks/useLinkSession.d.ts.map +0 -1
- package/dist/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
- package/dist/hooks/usePasskeySDK.d.ts +0 -103
- package/dist/hooks/usePasskeySDK.d.ts.map +0 -1
- package/dist/hooks/useSession.d.ts.map +0 -1
- package/dist/hooks/useVisualViewport.d.ts +0 -15
- package/dist/hooks/useVisualViewport.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/theme.d.ts +0 -53
- package/dist/lib/theme.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/mocks/index.d.ts +0 -3
- package/dist/mocks/index.d.ts.map +0 -1
- package/dist/mocks/mockCheckoutFlow.d.ts +0 -25
- package/dist/mocks/mockCheckoutFlow.d.ts.map +0 -1
- package/dist/mocks/mockData.d.ts +0 -6
- package/dist/mocks/mockData.d.ts.map +0 -1
- package/dist/mocks/mockSessionData.d.ts +0 -38
- package/dist/mocks/mockSessionData.d.ts.map +0 -1
- package/dist/services/apiService.d.ts.map +0 -1
- package/dist/services/linkTokenService.d.ts.map +0 -1
- package/dist/services/mockSessionService.d.ts +0 -65
- package/dist/services/mockSessionService.d.ts.map +0 -1
- package/dist/types/cardElement.d.ts.map +0 -1
- package/dist/types/components/identity/IdentityBar.d.ts +0 -8
- package/dist/types/components/identity/IdentityBar.d.ts.map +0 -1
- package/dist/types/components/order/OrderSummaryAccordion.d.ts +0 -9
- package/dist/types/components/order/OrderSummaryAccordion.d.ts.map +0 -1
- package/dist/types/components/order/ShipmentCard.d.ts +0 -8
- package/dist/types/components/order/ShipmentCard.d.ts.map +0 -1
- package/dist/types/components/payos/ActiveCardWidget.d.ts +0 -60
- package/dist/types/components/payos/ActiveCardWidget.d.ts.map +0 -1
- package/dist/types/components/payos/AgentRegistrationFlow.d.ts +0 -24
- package/dist/types/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
- package/dist/types/components/payos/ConnectStripeLinkButton.d.ts +0 -41
- package/dist/types/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
- package/dist/types/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
- package/dist/types/components/payos/LinkPaymentFlow.d.ts +0 -11
- package/dist/types/components/payos/LinkPaymentFlow.d.ts.map +0 -1
- package/dist/types/components/payos/LinkSessionContent.d.ts +0 -19
- package/dist/types/components/payos/LinkSessionContent.d.ts.map +0 -1
- package/dist/types/components/payos/PayOSFooter.d.ts.map +0 -1
- package/dist/types/components/payos/PayWithLinkButton.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentMethodRow.d.ts +0 -53
- package/dist/types/components/payos/PaymentMethodRow.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheet.d.ts +0 -121
- package/dist/types/components/payos/PaymentSheet.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetContent.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetShell.d.ts +0 -25
- package/dist/types/components/payos/PaymentSheetShell.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
- package/dist/types/components/payos/PriceTag.d.ts.map +0 -1
- package/dist/types/components/payos/ReceiptPanel.d.ts.map +0 -1
- package/dist/types/components/payos/ViewHeader.d.ts.map +0 -1
- package/dist/types/components/payos/drawer.d.ts.map +0 -1
- package/dist/types/components/payos/order-summary.d.ts +0 -44
- package/dist/types/components/payos/order-summary.d.ts.map +0 -1
- package/dist/types/components/payos/otp-input.d.ts +0 -45
- package/dist/types/components/payos/otp-input.d.ts.map +0 -1
- package/dist/types/components/payos/phone-input.d.ts.map +0 -1
- package/dist/types/components/payos/themeMode.d.ts +0 -6
- package/dist/types/components/payos/themeMode.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetDebug.d.ts +0 -22
- package/dist/types/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts +0 -18
- package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts +0 -14
- package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
- package/dist/types/components/payos/views/AgentRegistrationView.d.ts +0 -61
- package/dist/types/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
- package/dist/types/components/payos/views/CardAddView.d.ts.map +0 -1
- package/dist/types/components/payos/views/CheckoutView.d.ts.map +0 -1
- package/dist/types/components/payos/views/IdentityView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkBrand.d.ts +0 -13
- package/dist/types/components/payos/views/LinkBrand.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkCheckoutView.d.ts +0 -31
- package/dist/types/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkConnectView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkDeniedView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkLoadingView.d.ts +0 -11
- package/dist/types/components/payos/views/LinkLoadingView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkSuccessView.d.ts.map +0 -1
- package/dist/types/components/payos/views/ManageThirdPartyView.d.ts +0 -19
- package/dist/types/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
- package/dist/types/components/payos/views/MethodListView.d.ts +0 -116
- package/dist/types/components/payos/views/MethodListView.d.ts.map +0 -1
- package/dist/types/components/payos/views/OTPView.d.ts.map +0 -1
- package/dist/types/components/payos/views/SuccessView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaIframeView.d.ts +0 -16
- package/dist/types/components/payos/views/VisaIframeView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaMethodView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaOtpView.d.ts +0 -45
- package/dist/types/components/payos/views/VisaOtpView.d.ts.map +0 -1
- package/dist/types/components/payos/views/WelcomeBackView.d.ts +0 -34
- package/dist/types/components/payos/views/WelcomeBackView.d.ts.map +0 -1
- package/dist/types/components/ui/CardBrandIcon.d.ts.map +0 -1
- package/dist/types/components/ui/ConfirmDialog.d.ts.map +0 -1
- package/dist/types/components/ui/DigitalCard.d.ts.map +0 -1
- package/dist/types/components/ui/InfoTooltip.d.ts +0 -8
- package/dist/types/components/ui/InfoTooltip.d.ts.map +0 -1
- package/dist/types/components/ui/PinInput.d.ts +0 -12
- package/dist/types/components/ui/PinInput.d.ts.map +0 -1
- package/dist/types/components/ui/button.d.ts.map +0 -1
- package/dist/types/components/ui/card.d.ts.map +0 -1
- package/dist/types/components/ui/input.d.ts.map +0 -1
- package/dist/types/components/ui/label.d.ts.map +0 -1
- package/dist/types/components/ui/separator.d.ts.map +0 -1
- package/dist/types/drawer.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts +0 -8
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/useBiometricType.d.ts +0 -21
- package/dist/types/hooks/useBiometricType.d.ts.map +0 -1
- package/dist/types/hooks/useBodyScrollLock.d.ts.map +0 -1
- package/dist/types/hooks/useCardElement.d.ts.map +0 -1
- package/dist/types/hooks/useCheckoutFlow.d.ts +0 -29
- package/dist/types/hooks/useCheckoutFlow.d.ts.map +0 -1
- package/dist/types/hooks/useDrawerState.d.ts +0 -4
- package/dist/types/hooks/useDrawerState.d.ts.map +0 -1
- package/dist/types/hooks/useLinkAuth.d.ts.map +0 -1
- package/dist/types/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
- package/dist/types/hooks/useLinkMethods.d.ts.map +0 -1
- package/dist/types/hooks/useLinkSession.d.ts +0 -81
- package/dist/types/hooks/useLinkSession.d.ts.map +0 -1
- package/dist/types/hooks/useLinkSpendStatusPoll.d.ts +0 -28
- package/dist/types/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
- package/dist/types/hooks/usePasskeySDK.d.ts.map +0 -1
- package/dist/types/hooks/useSession.d.ts +0 -87
- package/dist/types/hooks/useSession.d.ts.map +0 -1
- package/dist/types/hooks/useVisualViewport.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lib/theme.d.ts +0 -53
- package/dist/types/lib/theme.d.ts.map +0 -1
- package/dist/types/lib/utils.d.ts +0 -3
- package/dist/types/lib/utils.d.ts.map +0 -1
- package/dist/types/mocks/index.d.ts +0 -3
- package/dist/types/mocks/index.d.ts.map +0 -1
- package/dist/types/mocks/mockCheckoutFlow.d.ts +0 -25
- package/dist/types/mocks/mockCheckoutFlow.d.ts.map +0 -1
- package/dist/types/mocks/mockData.d.ts +0 -6
- package/dist/types/mocks/mockData.d.ts.map +0 -1
- package/dist/types/mocks/mockSessionData.d.ts +0 -38
- package/dist/types/mocks/mockSessionData.d.ts.map +0 -1
- package/dist/types/order.d.ts.map +0 -1
- package/dist/types/payment.d.ts +0 -55
- package/dist/types/payment.d.ts.map +0 -1
- package/dist/types/services/apiService.d.ts +0 -406
- package/dist/types/services/apiService.d.ts.map +0 -1
- package/dist/types/services/linkTokenService.d.ts +0 -7
- package/dist/types/services/linkTokenService.d.ts.map +0 -1
- package/dist/types/services/mockSessionService.d.ts +0 -65
- package/dist/types/services/mockSessionService.d.ts.map +0 -1
- package/dist/types/session.d.ts.map +0 -1
- package/dist/types/types/cardElement.d.ts +0 -157
- package/dist/types/types/cardElement.d.ts.map +0 -1
- package/dist/types/types/drawer.d.ts +0 -33
- package/dist/types/types/drawer.d.ts.map +0 -1
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/order.d.ts +0 -25
- package/dist/types/types/order.d.ts.map +0 -1
- package/dist/types/types/payment.d.ts.map +0 -1
- package/dist/types/types/session.d.ts +0 -165
- package/dist/types/types/session.d.ts.map +0 -1
- package/dist/types/utils/credentialStatus.d.ts.map +0 -1
- package/dist/types/utils/deviceFingerprint.d.ts +0 -27
- package/dist/types/utils/deviceFingerprint.d.ts.map +0 -1
- package/dist/types/utils/environment.d.ts.map +0 -1
- package/dist/types/utils/formatting.d.ts +0 -41
- package/dist/types/utils/formatting.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -4
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/linkFormat.d.ts +0 -17
- package/dist/types/utils/linkFormat.d.ts.map +0 -1
- package/dist/types/utils/linkPopup.d.ts.map +0 -1
- package/dist/types/utils/selectCard.d.ts.map +0 -1
- package/dist/types/utils/text.d.ts.map +0 -1
- package/dist/types/utils/validation.d.ts +0 -90
- package/dist/types/utils/validation.d.ts.map +0 -1
- package/dist/utils/credentialStatus.d.ts +0 -8
- package/dist/utils/credentialStatus.d.ts.map +0 -1
- package/dist/utils/deviceFingerprint.d.ts.map +0 -1
- package/dist/utils/environment.d.ts +0 -22
- package/dist/utils/environment.d.ts.map +0 -1
- package/dist/utils/formatting.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/linkFormat.d.ts +0 -17
- package/dist/utils/linkFormat.d.ts.map +0 -1
- package/dist/utils/linkPopup.d.ts +0 -19
- package/dist/utils/linkPopup.d.ts.map +0 -1
- package/dist/utils/selectCard.d.ts +0 -18
- package/dist/utils/selectCard.d.ts.map +0 -1
- package/dist/utils/text.d.ts +0 -12
- package/dist/utils/text.d.ts.map +0 -1
- package/dist/utils/validation.d.ts.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* ConfirmDialog - Reusable confirmation modal
|
|
4
|
-
*
|
|
5
|
-
* Features:
|
|
6
|
-
* - Semi-transparent backdrop overlay
|
|
7
|
-
* - Centered modal card
|
|
8
|
-
* - Title, message, Cancel and Confirm buttons
|
|
9
|
-
* - variant='danger' for red confirm button (delete actions)
|
|
10
|
-
* - Loading state support
|
|
11
|
-
*/
|
|
12
|
-
interface ConfirmDialogProps {
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
title: string;
|
|
15
|
-
message: string;
|
|
16
|
-
confirmText?: string;
|
|
17
|
-
cancelText?: string;
|
|
18
|
-
onConfirm: () => void;
|
|
19
|
-
onCancel: () => void;
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
variant?: "danger" | "default";
|
|
22
|
-
}
|
|
23
|
-
export declare const ConfirmDialog: React.FC<ConfirmDialogProps>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;GASG;AAEH,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyEtD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface DigitalCardProps {
|
|
3
|
-
/** Card artwork URL or base64 data URL */
|
|
4
|
-
cardArtUrl?: string;
|
|
5
|
-
/** Card network */
|
|
6
|
-
network: 'visa' | 'mastercard';
|
|
7
|
-
/** Last 4 digits of card number */
|
|
8
|
-
last4: string;
|
|
9
|
-
/** Additional CSS classes */
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const DigitalCard: React.FC<DigitalCardProps>;
|
|
13
|
-
//# sourceMappingURL=DigitalCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalCard.d.ts","sourceRoot":"","sources":["../../../src/components/ui/DigitalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB;IACnB,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC/B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoElD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/InfoTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BlD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PinInputProps {
|
|
3
|
-
length: number;
|
|
4
|
-
value: string;
|
|
5
|
-
onChange: (value: string) => void;
|
|
6
|
-
onComplete?: () => void;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const PinInput: React.FC<PinInputProps>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../src/components/ui/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmF5C,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
loadingText?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export { Button, buttonVariants };
|
|
14
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,cAAc;;;mFA4BnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,MAAM,uFAuBX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
declare const cardVariants: (props?: ({
|
|
4
|
-
variant?: "flat" | "default" | "transparent" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
-
export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
7
|
-
}
|
|
8
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
11
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
12
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
15
|
-
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY;;mFAcjB,CAAC;AAEF,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,QAAA,MAAM,IAAI,kFAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,QAAA,MAAM,SAAS,uHAYb,CAAC;AAGH,QAAA,MAAM,eAAe,yHASnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAKf,CAAC;AAGH,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
}
|
|
4
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
5
|
-
export { Input };
|
|
6
|
-
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;CAAG;AAExD,QAAA,MAAM,KAAK,qFAeV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
import { type VariantProps } from "class-variance-authority";
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
-
export { Label };
|
|
6
|
-
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,QAAA,MAAM,KAAK,iQAUT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
-
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export { Separator };
|
|
5
|
-
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,SAAS,6JAoBd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './useCheckoutFlow';
|
|
2
|
-
export * from './useDrawerState';
|
|
3
|
-
export * from './useVisualViewport';
|
|
4
|
-
export * from './useBodyScrollLock';
|
|
5
|
-
export * from './useCardElement';
|
|
6
|
-
export * from './useSession';
|
|
7
|
-
export * from './usePasskeySDK';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBiometricType.d.ts","sourceRoot":"","sources":["../../src/hooks/useBiometricType.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC;AAE9E,MAAM,WAAW,aAAa;IAC5B,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8BAA8B;IAC9B,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CA2BhD"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useBodyScrollLock - Prevent body scroll and rubber banding on mobile
|
|
3
|
-
*
|
|
4
|
-
* This hook prevents scroll bleed to the background when a modal/drawer is open.
|
|
5
|
-
* It uses multiple techniques to handle iOS Safari quirks:
|
|
6
|
-
*
|
|
7
|
-
* 1. Sets `overflow: hidden` to prevent scroll
|
|
8
|
-
* 2. Sets `position: fixed` to prevent iOS elastic scrolling (rubber banding)
|
|
9
|
-
* 3. Preserves scroll position by setting `top: -scrollY`
|
|
10
|
-
* 4. Optionally sets `touch-action: none` for additional touch prevention
|
|
11
|
-
*
|
|
12
|
-
* **iOS Safari Issues Addressed:**
|
|
13
|
-
* - Scroll bleed: Background scrolling while drawer is open
|
|
14
|
-
* - Rubber banding: Elastic/bouncy overscroll effect
|
|
15
|
-
* - Layout shift: Maintains width to prevent content jump
|
|
16
|
-
*
|
|
17
|
-
* @param isLocked - Whether scroll should be locked
|
|
18
|
-
* @param options - Configuration options
|
|
19
|
-
* @param options.preventTouch - Whether to prevent all touch actions (default: false)
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* function Drawer({ open }) {
|
|
24
|
-
* useBodyScrollLock(open);
|
|
25
|
-
* // Body scroll is now locked when drawer is open
|
|
26
|
-
* }
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare function useBodyScrollLock(isLocked: boolean, options?: {
|
|
30
|
-
preventTouch?: boolean;
|
|
31
|
-
}): void;
|
|
32
|
-
//# sourceMappingURL=useBodyScrollLock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBodyScrollLock.d.ts","sourceRoot":"","sources":["../../src/hooks/useBodyScrollLock.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,OAAO,EACjB,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,IAAI,CAuDN"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { CardElementOptions, CardElementStyles, CardElementConfiguration, CardElementTokenizedEvent, CardElementChangeEvent, CardElementBinWarningRule, CardElementBinWarningEvent } from '../types/cardElement';
|
|
2
|
-
/**
|
|
3
|
-
* Options for the useCardElement hook
|
|
4
|
-
*/
|
|
5
|
-
export interface UseCardElementOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Link token for CardElement initialization (required)
|
|
8
|
-
*/
|
|
9
|
-
token: string;
|
|
10
|
-
/**
|
|
11
|
-
* Target environment
|
|
12
|
-
*/
|
|
13
|
-
environment?: 'sandbox' | 'production';
|
|
14
|
-
/**
|
|
15
|
-
* Optional custom styles for secure fields
|
|
16
|
-
*/
|
|
17
|
-
styles?: CardElementStyles;
|
|
18
|
-
/**
|
|
19
|
-
* Optional height override for the iframe
|
|
20
|
-
*/
|
|
21
|
-
height?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Custom base URL override for non-standard environments
|
|
24
|
-
*/
|
|
25
|
-
customBaseUrl?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Custom query params for testing
|
|
28
|
-
*/
|
|
29
|
-
customParams?: Record<string, string>;
|
|
30
|
-
/**
|
|
31
|
-
* BIN/IIN values that should emit a non-blocking warning when secure field BIN metadata is available.
|
|
32
|
-
*/
|
|
33
|
-
binsWarning?: CardElementBinWarningRule[];
|
|
34
|
-
/**
|
|
35
|
-
* Callback fired when card is tokenized successfully
|
|
36
|
-
*/
|
|
37
|
-
onTokenized?: (event: CardElementTokenizedEvent) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Callback fired when iframe is ready
|
|
40
|
-
*/
|
|
41
|
-
onReady?: () => void;
|
|
42
|
-
/**
|
|
43
|
-
* Callback fired on error
|
|
44
|
-
*/
|
|
45
|
-
onError?: (error: Error) => void;
|
|
46
|
-
/**
|
|
47
|
-
* Callback fired when form fields change
|
|
48
|
-
*/
|
|
49
|
-
onChange?: (event: CardElementChangeEvent) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Callback fired when the entered BIN/IIN matches or clears a configured warning.
|
|
52
|
-
*/
|
|
53
|
-
onBinWarning?: (event: CardElementBinWarningEvent | null) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Callback fired when user cancels the flow
|
|
56
|
-
*/
|
|
57
|
-
onCancel?: () => void;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Return type for the useCardElement hook
|
|
61
|
-
*/
|
|
62
|
-
export interface UseCardElementReturn {
|
|
63
|
-
/**
|
|
64
|
-
* Ref to attach to the container element
|
|
65
|
-
*/
|
|
66
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
67
|
-
/**
|
|
68
|
-
* Whether the CardElement iframe is ready
|
|
69
|
-
*/
|
|
70
|
-
isReady: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Whether the form is complete (all required fields valid)
|
|
73
|
-
*/
|
|
74
|
-
isComplete: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Whether the form is empty (no fields have values)
|
|
77
|
-
*/
|
|
78
|
-
isEmpty: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Current error message if any
|
|
81
|
-
*/
|
|
82
|
-
error: string | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Current BIN warning, if secure field BIN metadata matches a configured warning.
|
|
85
|
-
*/
|
|
86
|
-
binWarning: CardElementBinWarningEvent | null;
|
|
87
|
-
/**
|
|
88
|
-
* Trigger form submission (tokenization)
|
|
89
|
-
*/
|
|
90
|
-
submit: () => void;
|
|
91
|
-
/**
|
|
92
|
-
* Configure the CardElement with additional data
|
|
93
|
-
* (walletUserId, cardholderName, billingAddress)
|
|
94
|
-
*/
|
|
95
|
-
configure: (config: CardElementConfiguration) => void;
|
|
96
|
-
/**
|
|
97
|
-
* Update styles dynamically
|
|
98
|
-
*/
|
|
99
|
-
updateStyles: (styles: CardElementStyles) => void;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* React hook to manage the CardElementClient lifecycle
|
|
103
|
-
*
|
|
104
|
-
* Handles mounting/unmounting the iframe, message communication,
|
|
105
|
-
* and provides React-friendly state and callbacks.
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* ```tsx
|
|
109
|
-
* const { containerRef, isReady, isComplete, submit } = useCardElement({
|
|
110
|
-
* token: session.linkToken,
|
|
111
|
-
* onTokenized: (event) => {
|
|
112
|
-
* console.log('Card tokenized:', event.card);
|
|
113
|
-
* addPaymentCard({
|
|
114
|
-
* cardId: event.card?.id || '',
|
|
115
|
-
* last4: event.card?.last4 || '',
|
|
116
|
-
* brand: event.card?.brand || 'unknown',
|
|
117
|
-
* network: event.card?.brand || 'unknown',
|
|
118
|
-
* cardArtUrl: event.card?.artwork,
|
|
119
|
-
* });
|
|
120
|
-
* },
|
|
121
|
-
* });
|
|
122
|
-
*
|
|
123
|
-
* return (
|
|
124
|
-
* <div>
|
|
125
|
-
* <div ref={containerRef} style={{ minHeight: 400 }} />
|
|
126
|
-
* <button onClick={submit} disabled={!isComplete}>
|
|
127
|
-
* Add Card
|
|
128
|
-
* </button>
|
|
129
|
-
* </div>
|
|
130
|
-
* );
|
|
131
|
-
* ```
|
|
132
|
-
*/
|
|
133
|
-
export declare function useCardElement(options: UseCardElementOptions): UseCardElementReturn;
|
|
134
|
-
export type { CardElementOptions, CardElementStyles, CardElementConfiguration, CardElementTokenizedEvent, CardElementChangeEvent, CardElementBinWarningRule, CardElementBinWarningEvent, };
|
|
135
|
-
//# sourceMappingURL=useCardElement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCardElement.d.ts","sourceRoot":"","sources":["../../src/hooks/useCardElement.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAEvC;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAE1C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAEzD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEnD;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAElE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAE9C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B;;OAEG;IACH,UAAU,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAE9C;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB;;;OAGG;IACH,SAAS,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAEtD;;OAEG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACnD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,oBAAoB,CA+KnF;AAGD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,GAC3B,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { CheckoutState, CardData, BillingAddress, SavedCard, PaymentView } from '../types';
|
|
2
|
-
interface UseCheckoutFlowProps {
|
|
3
|
-
mode: 'standard' | 'agent';
|
|
4
|
-
amount: number;
|
|
5
|
-
savedCards?: SavedCard[];
|
|
6
|
-
onSuccess?: (result: any) => void;
|
|
7
|
-
onError?: (error: any) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function useCheckoutFlow({ mode, amount, savedCards, onSuccess, onError }: UseCheckoutFlowProps): {
|
|
10
|
-
state: CheckoutState;
|
|
11
|
-
selectedCardId: string | null;
|
|
12
|
-
paymentView: PaymentView;
|
|
13
|
-
cvc: string;
|
|
14
|
-
setCvc: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
15
|
-
submitPhone: (phone: string) => Promise<void>;
|
|
16
|
-
verifyOTP: (otp: string) => Promise<void>;
|
|
17
|
-
submitPayment: (email: string, cardData: CardData, billingAddress: BillingAddress | null) => Promise<void>;
|
|
18
|
-
selectCard: (cardId: string) => void;
|
|
19
|
-
addCard: (cardData: CardData) => Promise<void>;
|
|
20
|
-
logout: () => void;
|
|
21
|
-
setError: (error: string | null) => void;
|
|
22
|
-
showMethodList: () => void;
|
|
23
|
-
showAddCard: () => void;
|
|
24
|
-
returnToCheckout: () => void;
|
|
25
|
-
skipToPayment: () => void;
|
|
26
|
-
completeAgentRegistration: () => void;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=useCheckoutFlow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCheckoutFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useCheckoutFlow.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGhG,UAAU,oBAAoB;IAC5B,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,oBAAoB;;;;;;yBAkCtD,MAAM;qBAmBV,MAAM;2BAmCvC,MAAM,YACH,QAAQ,kBACF,cAAc,GAAG,IAAI;yBAuCC,MAAM;wBAOD,QAAQ;;sBA/GhB,MAAM,GAAG,IAAI;;;;;;EAuOnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDrawerState.d.ts","sourceRoot":"","sources":["../../src/hooks/useDrawerState.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI;;EA6ChE"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useLinkAuth — single fetch of the wallet user's Stripe Link auth status.
|
|
3
|
-
*
|
|
4
|
-
* Lightweight: reads from /api/wallet-users/:walletUserId/link/auth/status,
|
|
5
|
-
* which doesn't hit Stripe (just DB read). Use this on PaymentSheet open
|
|
6
|
-
* to decide between "Pay with Link" CTA vs. "Open Link wallet".
|
|
7
|
-
*/
|
|
8
|
-
import { LinkAuthStatus } from '../services/apiService';
|
|
9
|
-
interface UseLinkAuthArgs {
|
|
10
|
-
baseUrl: string;
|
|
11
|
-
token: string;
|
|
12
|
-
walletUserId: string | null;
|
|
13
|
-
/** If false, the hook stays idle until enabled. Default true. */
|
|
14
|
-
enabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface UseLinkAuthResult {
|
|
17
|
-
status: LinkAuthStatus | null;
|
|
18
|
-
loading: boolean;
|
|
19
|
-
error: Error | null;
|
|
20
|
-
refresh: () => Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export declare function useLinkAuth(args: UseLinkAuthArgs): UseLinkAuthResult;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=useLinkAuth.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkAuth.d.ts","sourceRoot":"","sources":["../../src/hooks/useLinkAuth.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAkB,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExE,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,GAAG,iBAAiB,CA8BpE"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useLinkDeviceAuthPoll — poll /auth/poll until terminal state.
|
|
3
|
-
*
|
|
4
|
-
* Backend already polls Stripe per-request; this hook just calls our endpoint
|
|
5
|
-
* on a 1.5s cadence. Stops on any non-pending status, surfaces the result
|
|
6
|
-
* via callbacks so the parent useSession can transition phases without
|
|
7
|
-
* forking the polling loop.
|
|
8
|
-
*
|
|
9
|
-
* Ported and generalized from
|
|
10
|
-
* packages/payos-react/playground/src/demos/IdentityViewDemo.tsx.
|
|
11
|
-
*/
|
|
12
|
-
import { LinkPollResponse } from '../services/apiService';
|
|
13
|
-
interface UseLinkDeviceAuthPollArgs {
|
|
14
|
-
baseUrl: string;
|
|
15
|
-
token: string;
|
|
16
|
-
walletUserId: string | null;
|
|
17
|
-
/** Start polling when true; stops on false. */
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
intervalMs?: number;
|
|
20
|
-
onApproved?: () => void;
|
|
21
|
-
onDenied?: (error?: string) => void;
|
|
22
|
-
onExpired?: (error?: string) => void;
|
|
23
|
-
onError?: (error?: string) => void;
|
|
24
|
-
/** Called on every tick with the raw response (status + optional error). */
|
|
25
|
-
onTick?: (resp: LinkPollResponse) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare function useLinkDeviceAuthPoll(args: UseLinkDeviceAuthPollArgs): void;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=useLinkDeviceAuthPoll.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkDeviceAuthPoll.d.ts","sourceRoot":"","sources":["../../src/hooks/useLinkDeviceAuthPoll.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAgB,gBAAgB,EAAkB,MAAM,wBAAwB,CAAC;AAExF,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,+CAA+C;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC3C;AAUD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,GAAG,IAAI,CAmD3E"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useLinkMethods — fetch the wallet user's PayOS cards including their
|
|
3
|
-
* Stripe Link methods (provider='stripe_link').
|
|
4
|
-
*
|
|
5
|
-
* Surfaces `linkSyncStatus` separately so the UI can show "Link is offline"
|
|
6
|
-
* vs. "you have no Link cards". Backend has a 30s sync TTL, so calling this
|
|
7
|
-
* frequently is cheap.
|
|
8
|
-
*/
|
|
9
|
-
import type { SavedCard } from '../types/session';
|
|
10
|
-
interface UseLinkMethodsArgs {
|
|
11
|
-
baseUrl: string;
|
|
12
|
-
token: string;
|
|
13
|
-
walletUserId: string | null;
|
|
14
|
-
/** If false, the hook stays idle until enabled. */
|
|
15
|
-
enabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
interface UseLinkMethodsResult {
|
|
18
|
-
cards: SavedCard[];
|
|
19
|
-
linkCards: SavedCard[];
|
|
20
|
-
payosCards: SavedCard[];
|
|
21
|
-
linkSyncStatus: string | null;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
error: Error | null;
|
|
24
|
-
refresh: () => Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
export declare function useLinkMethods(args: UseLinkMethodsArgs): UseLinkMethodsResult;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=useLinkMethods.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkMethods.d.ts","sourceRoot":"","sources":["../../src/hooks/useLinkMethods.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,O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-
* usePasskeySDK Hook
|
|
3
|
-
*
|
|
4
|
-
* Manages the PayOS Passkey SDK lifecycle and exposes passkey operations
|
|
5
|
-
* for registration and authentication flows.
|
|
6
|
-
*/
|
|
7
|
-
import { PayOSPasskey, RegisterResult, PasskeyResult, OTPSubmitResult } from '@payos-inc/payos-passkey-js';
|
|
8
|
-
/**
|
|
9
|
-
* Step-up verification method (for Visa OTP flow)
|
|
10
|
-
*/
|
|
11
|
-
export interface StepUpMethod {
|
|
12
|
-
id: string;
|
|
13
|
-
type: 'sms' | 'email';
|
|
14
|
-
maskedValue: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Configuration options for the passkey SDK hook
|
|
18
|
-
*/
|
|
19
|
-
export interface UsePasskeySDKOptions {
|
|
20
|
-
/** Session secret (JWT) - used as linkToken for the SDK */
|
|
21
|
-
sessionSecret: string;
|
|
22
|
-
/** Use sandbox environment */
|
|
23
|
-
sandbox?: boolean;
|
|
24
|
-
/** Enable debug logging */
|
|
25
|
-
debug?: boolean;
|
|
26
|
-
/** Container ID for Visa iframe placement */
|
|
27
|
-
visaContainerId?: string;
|
|
28
|
-
/** Backend API base URL (e.g., http://localhost:3001 or ngrok tunnel) */
|
|
29
|
-
apiBaseUrl?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Internal state for passkey operations
|
|
33
|
-
*/
|
|
34
|
-
export interface PasskeyState {
|
|
35
|
-
/** Current enrollment ID (for Visa step-up flow) */
|
|
36
|
-
enrollmentId: string | null;
|
|
37
|
-
/** Available step-up methods (Visa) */
|
|
38
|
-
stepUpMethods: StepUpMethod[];
|
|
39
|
-
/** Selected method description (e.g., "***-***-1234") */
|
|
40
|
-
selectedMethodDescription: string | null;
|
|
41
|
-
/** Loading state */
|
|
42
|
-
isLoading: boolean;
|
|
43
|
-
/** Error message */
|
|
44
|
-
error: string | null;
|
|
45
|
-
/** Whether user can retry OTP (false = locked out) */
|
|
46
|
-
canRetry: boolean;
|
|
47
|
-
/** Number of OTP attempts remaining */
|
|
48
|
-
attemptsRemaining?: number;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Return type for usePasskeySDK hook
|
|
52
|
-
*/
|
|
53
|
-
export interface UsePasskeySDKReturn {
|
|
54
|
-
/** SDK instance (for advanced use) */
|
|
55
|
-
sdk: PayOSPasskey | null;
|
|
56
|
-
/** Whether SDK is ready for operations */
|
|
57
|
-
isReady: boolean;
|
|
58
|
-
/** Current state */
|
|
59
|
-
state: PasskeyState;
|
|
60
|
-
/** Start registration flow for a card */
|
|
61
|
-
startRegistration: (cardId: string) => Promise<RegisterResult>;
|
|
62
|
-
/** Select step-up method (Visa) - sends OTP */
|
|
63
|
-
selectStepUpMethod: (methodIndex: number) => Promise<OTPSubmitResult>;
|
|
64
|
-
/** Submit OTP for Visa step-up verification (returns registrationContext on success) */
|
|
65
|
-
submitVisaOtp: (otp: string) => Promise<PasskeyResult>;
|
|
66
|
-
/** Complete Visa registration after iframe container is rendered */
|
|
67
|
-
completeVisaRegistration: (registrationContext: any) => Promise<PasskeyResult>;
|
|
68
|
-
/** Authenticate for VIC enrollment when passkey exists but VIC not enrolled */
|
|
69
|
-
authenticateForVicEnrollment: (enrollmentId: string, authenticationContext: any) => Promise<PasskeyResult>;
|
|
70
|
-
/** Authenticate a payment */
|
|
71
|
-
authenticate: (paymentIntentId: string, paymentId?: string) => Promise<PasskeyResult>;
|
|
72
|
-
/** Clear current error */
|
|
73
|
-
clearError: () => void;
|
|
74
|
-
/** Reset state (for restarting flows) */
|
|
75
|
-
resetState: () => void;
|
|
76
|
-
/** Remove Visa iframe from DOM while preserving session data */
|
|
77
|
-
removeVisaIframe: () => void;
|
|
78
|
-
/** Cleanup SDK resources */
|
|
79
|
-
cleanup: () => void;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Hook for managing PayOS Passkey SDK operations
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* ```tsx
|
|
86
|
-
* const passkey = usePasskeySDK({
|
|
87
|
-
* sessionSecret: session.secret,
|
|
88
|
-
* sandbox: true,
|
|
89
|
-
* debug: true,
|
|
90
|
-
* });
|
|
91
|
-
*
|
|
92
|
-
* // Registration
|
|
93
|
-
* const result = await passkey.startRegistration(cardId);
|
|
94
|
-
* if (result.requiresStepUp) {
|
|
95
|
-
* // Show Visa OTP flow
|
|
96
|
-
* }
|
|
97
|
-
*
|
|
98
|
-
* // Authentication
|
|
99
|
-
* const authResult = await passkey.authenticate(paymentIntentId);
|
|
100
|
-
* ```
|
|
101
|
-
*/
|
|
102
|
-
export declare function usePasskeySDK(options: UsePasskeySDKOptions): UsePasskeySDKReturn;
|
|
103
|
-
//# sourceMappingURL=usePasskeySDK.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePasskeySDK.d.ts","sourceRoot":"","sources":["../../src/hooks/usePasskeySDK.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,aAAa,EAAE,MAAM,CAAC;IACtB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,oDAAoD;IACpD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uCAAuC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