@pandait.tech/payment-nuvei 0.1.0 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import * as react from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  /** Card brand codes as returned by Nuvei (Paymentez). */
4
4
  type CardBrand = "vi" | "mc" | "ax" | "di" | "dc" | "up" | "cs" | "unknown";
@@ -64,7 +64,7 @@ interface CardVisualProps {
64
64
  * to brand network colors). */
65
65
  binDatabaseEndpoint?: string | null;
66
66
  }
67
- declare function CardVisual({ bin, brand, last4, holderName, expiryMonth, expiryYear, variant, binInfo: preResolvedBinInfo, binDatabaseEndpoint, }: CardVisualProps): react.JSX.Element;
67
+ declare function CardVisual({ bin, brand, last4, holderName, expiryMonth, expiryYear, variant, binInfo: preResolvedBinInfo, binDatabaseEndpoint, }: CardVisualProps): react_jsx_runtime.JSX.Element;
68
68
 
69
69
  interface SavedCardsProps {
70
70
  onSelectCard: (card: SavedCard, cvc: string) => void;
@@ -74,7 +74,7 @@ interface SavedCardsProps {
74
74
  * Default: "/api/bins". Set to null to disable bank-color lookups. */
75
75
  binDatabaseEndpoint?: string | null;
76
76
  }
77
- declare function SavedCards({ onSelectCard, selectedToken, onAddNewCard, binDatabaseEndpoint, }: SavedCardsProps): react.JSX.Element;
77
+ declare function SavedCards({ onSelectCard, selectedToken, onAddNewCard, binDatabaseEndpoint, }: SavedCardsProps): react_jsx_runtime.JSX.Element;
78
78
 
79
79
  interface TokenizedCardInfo {
80
80
  type?: string;
@@ -111,7 +111,7 @@ interface NuveiPaymentFormProps {
111
111
  /** Hex color for the SDK form icons. Default: reads var(--color-primary) from the DOM. */
112
112
  iconColor?: string;
113
113
  }
114
- declare function NuveiPaymentForm({ uid, email, onTokenSuccess, disabled, buttonLabel, showSaveCardCheckbox, processingLabel, nuveiAppCode, nuveiAppKey, nuveiEnv, defaultCountry, exclusiveCardTypes, iconColor, }: NuveiPaymentFormProps): react.JSX.Element;
114
+ declare function NuveiPaymentForm({ uid, email, onTokenSuccess, disabled, buttonLabel, showSaveCardCheckbox, processingLabel, nuveiAppCode, nuveiAppKey, nuveiEnv, defaultCountry, exclusiveCardTypes, iconColor, }: NuveiPaymentFormProps): react_jsx_runtime.JSX.Element;
115
115
 
116
116
  /**
117
117
  * Loads the BIN database. Uses memory cache → localStorage cache → network.
@@ -1,4 +1,4 @@
1
- import * as react from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  /** Card brand codes as returned by Nuvei (Paymentez). */
4
4
  type CardBrand = "vi" | "mc" | "ax" | "di" | "dc" | "up" | "cs" | "unknown";
@@ -64,7 +64,7 @@ interface CardVisualProps {
64
64
  * to brand network colors). */
65
65
  binDatabaseEndpoint?: string | null;
66
66
  }
67
- declare function CardVisual({ bin, brand, last4, holderName, expiryMonth, expiryYear, variant, binInfo: preResolvedBinInfo, binDatabaseEndpoint, }: CardVisualProps): react.JSX.Element;
67
+ declare function CardVisual({ bin, brand, last4, holderName, expiryMonth, expiryYear, variant, binInfo: preResolvedBinInfo, binDatabaseEndpoint, }: CardVisualProps): react_jsx_runtime.JSX.Element;
68
68
 
69
69
  interface SavedCardsProps {
70
70
  onSelectCard: (card: SavedCard, cvc: string) => void;
@@ -74,7 +74,7 @@ interface SavedCardsProps {
74
74
  * Default: "/api/bins". Set to null to disable bank-color lookups. */
75
75
  binDatabaseEndpoint?: string | null;
76
76
  }
77
- declare function SavedCards({ onSelectCard, selectedToken, onAddNewCard, binDatabaseEndpoint, }: SavedCardsProps): react.JSX.Element;
77
+ declare function SavedCards({ onSelectCard, selectedToken, onAddNewCard, binDatabaseEndpoint, }: SavedCardsProps): react_jsx_runtime.JSX.Element;
78
78
 
79
79
  interface TokenizedCardInfo {
80
80
  type?: string;
@@ -111,7 +111,7 @@ interface NuveiPaymentFormProps {
111
111
  /** Hex color for the SDK form icons. Default: reads var(--color-primary) from the DOM. */
112
112
  iconColor?: string;
113
113
  }
114
- declare function NuveiPaymentForm({ uid, email, onTokenSuccess, disabled, buttonLabel, showSaveCardCheckbox, processingLabel, nuveiAppCode, nuveiAppKey, nuveiEnv, defaultCountry, exclusiveCardTypes, iconColor, }: NuveiPaymentFormProps): react.JSX.Element;
114
+ declare function NuveiPaymentForm({ uid, email, onTokenSuccess, disabled, buttonLabel, showSaveCardCheckbox, processingLabel, nuveiAppCode, nuveiAppKey, nuveiEnv, defaultCountry, exclusiveCardTypes, iconColor, }: NuveiPaymentFormProps): react_jsx_runtime.JSX.Element;
115
115
 
116
116
  /**
117
117
  * Loads the BIN database. Uses memory cache → localStorage cache → network.