flintn-checkout 0.0.13 → 0.0.15

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/README.md CHANGED
@@ -10,7 +10,7 @@ npm install flintn-checkout
10
10
 
11
11
  ## Iframe Checkout
12
12
 
13
- Full checkout UI rendered inside a single iframe. Includes card form, express payments (Apple Pay, Google Pay, PayPal), and 3DS handling.
13
+ Full checkout UI rendered inside a single iframe. Includes card form, express payments (Apple Pay, PayPal), and 3DS handling.
14
14
 
15
15
  **React**
16
16
 
@@ -242,8 +242,9 @@ Do **not** set a fixed `height` on the container — it will leave empty space b
242
242
  | Property | Type | Required | Description |
243
243
  |----------|------|----------|-------------|
244
244
  | `clientSessionId` | `string` | Yes | Client session ID from backend |
245
- | `formFields` | `FormFields` | No | Form field visibility and requirements |
246
- | `styles` | `FormStyles` | No | Custom styles for the checkout form |
245
+ | `formFields` | `FormFields` | No | Form display options — layout via `formVariant`. Field visibility and requirements are controlled by the merchant session configuration, not SDK options |
246
+ | `styles` | `FormStyles` | No | Custom styles (colors, border radius, text) for the checkout form |
247
+ | `placeholders` | `FormPlaceholders` | No | Per-field placeholder text overrides (see `FormPlaceholders`) |
247
248
  | `successRedirectUrl` | `string` | No | Redirect URL after successful payment |
248
249
 
249
250
  ### React Hook Return Values
@@ -597,28 +598,53 @@ interface FieldsValidationResult {
597
598
  ### FormFields
598
599
  ```typescript
599
600
  interface FormFields {
600
- isEmailVisible?: boolean; // Primer only
601
- isCardholderNameRequired?: boolean; // Primer only
602
601
  formVariant?: 'DEFAULT' | 'LIST' | 'RADIO';
603
602
  }
604
603
  ```
605
604
 
605
+ > **Note:** form field visibility and requirements (e.g. email, cardholder
606
+ > name) are controlled by the merchant's session configuration, not by SDK
607
+ > options. Use `formVariant` to control the checkout layout.
608
+
606
609
  ### FormStyles
607
610
  ```typescript
608
611
  interface FormStyles {
609
612
  loaderColor?: string;
610
613
  backgroundColor?: string;
614
+ lightLogos?: boolean;
611
615
  expressButtonsSpacing?: string;
616
+ expressButtonsBorderRadius?: string;
612
617
  inputBackgroundColor?: string;
613
618
  inputBorderRadius?: string;
614
619
  inputBorderColor?: string;
615
620
  inputBorderHoverColor?: string;
616
621
  inputBorderFocusColor?: string;
617
622
  inputBorderErrorColor?: string;
623
+ inputTextColor?: string;
624
+ inputFontSize?: string;
625
+ inputHeight?: string;
626
+ placeholderColor?: string;
618
627
  errorMessageColor?: string;
628
+ labelColor?: string;
629
+ labelFontSize?: string;
630
+ dividerColor?: string;
631
+ dividerTextColor?: string;
632
+ safeCheckoutAccentColor?: string;
633
+ safeCheckoutTextColor?: string;
634
+ radioOptionBorderColor?: string;
635
+ radioOptionBorderRadius?: string;
636
+ radioOptionBackgroundColor?: string;
637
+ radioOptionActiveBackgroundColor?: string;
638
+ radioOptionTitleColor?: string;
639
+ radioButtonColor?: string;
640
+ radioButtonActiveColor?: string;
641
+ fastCheckoutText?: string;
642
+ cardPaymentText?: string;
619
643
  buttonColor?: string;
620
644
  buttonHoverColor?: string;
621
645
  buttonBorderRadius?: string;
646
+ buttonHeight?: string;
647
+ buttonFontSize?: string;
622
648
  buttonText?: string;
623
649
  cardButtonColor?: string;
624
650
  cardButtonHoverColor?: string;
@@ -626,23 +652,70 @@ interface FormStyles {
626
652
  }
627
653
  ```
628
654
 
655
+ ### FormPlaceholders
656
+
657
+ ```typescript
658
+ interface FormPlaceholders {
659
+ email?: string;
660
+ cardNumber?: string;
661
+ expiry?: string;
662
+ cvv?: string;
663
+ cardholderName?: string;
664
+ addressLine1?: string;
665
+ addressLine2?: string;
666
+ city?: string;
667
+ state?: string;
668
+ postalCode?: string;
669
+ country?: string;
670
+ }
671
+ ```
672
+
673
+ Per-field placeholder text overrides for the **iframe checkout** form, passed as
674
+ `config.placeholders` (not under `styles` — placeholder text is field content, not
675
+ visual styling). Any field left undefined keeps its built-in default placeholder.
676
+ For **hosted fields**, set placeholder text per field via the `placeholder` option
677
+ on `createField` (or the `fields` prop of `useFlintNFields`) instead.
678
+
629
679
  ### FormStyles Reference
630
680
 
631
681
  | Property | Iframe Checkout | Hosted Fields | Description |
632
682
  |----------|:-:|:-:|-------------|
633
683
  | `loaderColor` | ✅ | — | Loading spinner color |
634
684
  | `backgroundColor` | ✅ | — | Form background color |
685
+ | `lightLogos` | ✅ | — | Use light logo variants in the safe-checkout row (for dark backgrounds) |
635
686
  | `expressButtonsSpacing` | ✅ | — | Spacing between express payment buttons |
687
+ | `expressButtonsBorderRadius` | ✅ | — | Corner radius for express buttons — Apple Pay, Google Pay, PayPal, and the "Credit or debit card" button in the LIST variant (e.g. `8px`) |
636
688
  | `inputBackgroundColor` | ✅ | ✅ | Input field background color |
637
689
  | `inputBorderRadius` | ✅ | ✅ | Input field border radius |
638
690
  | `inputBorderColor` | ✅ | ✅ | Default input border color |
639
691
  | `inputBorderHoverColor` | ✅ | ✅ | Input border color on hover |
640
692
  | `inputBorderFocusColor` | ✅ | ✅ | Input border color on focus |
641
693
  | `inputBorderErrorColor` | ✅ | ✅ | Input border color in error state |
694
+ | `inputTextColor` | ✅ | ✅ | Input text (typed value) color |
695
+ | `inputFontSize` | ✅ | ✅ | Input text font size (e.g. `16px`) |
696
+ | `inputHeight` | ✅ | ✅ | Total input field height, border included (e.g. `48px`; default `40px`) |
697
+ | `placeholderColor` | ✅ | ✅ | Input placeholder text color |
642
698
  | `errorMessageColor` | ✅ | — | Error message text color |
699
+ | `labelColor` | ✅ | — | Field label text color |
700
+ | `labelFontSize` | ✅ | — | Field label font size (e.g. `14px`) |
701
+ | `dividerColor` | ✅ | — | Divider line color ("or" + "safe checkout" dividers) |
702
+ | `dividerTextColor` | ✅ | — | "or" divider text color |
703
+ | `safeCheckoutAccentColor` | ✅ | — | "Safe" accent word color (defaults to theme success) |
704
+ | `safeCheckoutTextColor` | ✅ | — | "Checkout" word color in the safe-checkout divider |
705
+ | `radioOptionBorderColor` | ✅ | — | Radio option card border color (RADIO variant) |
706
+ | `radioOptionBorderRadius` | ✅ | — | Radio option card border radius (RADIO variant) |
707
+ | `radioOptionBackgroundColor` | ✅ | — | Radio option card background, inactive (RADIO variant) |
708
+ | `radioOptionActiveBackgroundColor` | ✅ | — | Radio option card background, active (RADIO variant) |
709
+ | `radioOptionTitleColor` | ✅ | — | Radio option title text color (RADIO variant) |
710
+ | `radioButtonColor` | ✅ | — | Radio button color, unselected (RADIO variant) |
711
+ | `radioButtonActiveColor` | ✅ | — | Radio button color, selected (RADIO variant) |
712
+ | `fastCheckoutText` | ✅ | — | Custom "Fast checkout" option label (RADIO variant) |
713
+ | `cardPaymentText` | ✅ | — | Custom "Card payment" option label (RADIO variant) |
643
714
  | `buttonColor` | ✅ | — | Submit button background color |
644
715
  | `buttonHoverColor` | ✅ | — | Submit button hover color |
645
716
  | `buttonBorderRadius` | ✅ | — | Submit button border radius |
717
+ | `buttonHeight` | ✅ | — | Submit button height (e.g. `48px`; default `40px`) |
718
+ | `buttonFontSize` | ✅ | — | Submit button text font size (e.g. `16px`; default `14px`) |
646
719
  | `buttonText` | ✅ | — | Custom submit button text |
647
720
  | `cardButtonColor` | ✅ | — | Card button color (LIST variant) |
648
721
  | `cardButtonHoverColor` | ✅ | — | Card button hover color (LIST variant) |
@@ -677,7 +750,6 @@ Every cancellation still emits a `CANCELLED` `onEvent` regardless of variant, so
677
750
  ### Iframe Checkout
678
751
  - Credit/Debit Cards (Visa, Mastercard, Amex, Discover)
679
752
  - Apple Pay
680
- - Google Pay
681
753
  - PayPal
682
754
 
683
755
  ### Hosted Fields
package/dist/index.d.mts CHANGED
@@ -18,24 +18,58 @@ declare const CheckoutFormVariant: {
18
18
  };
19
19
  type TCheckoutFormVariant = (typeof CheckoutFormVariant)[keyof typeof CheckoutFormVariant];
20
20
  interface FormFields {
21
- isEmailVisible?: boolean;
22
- isCardholderNameRequired?: boolean;
23
21
  formVariant?: TCheckoutFormVariant;
24
22
  }
23
+ interface FormPlaceholders {
24
+ email?: string;
25
+ cardNumber?: string;
26
+ expiry?: string;
27
+ cvv?: string;
28
+ cardholderName?: string;
29
+ addressLine1?: string;
30
+ addressLine2?: string;
31
+ city?: string;
32
+ state?: string;
33
+ postalCode?: string;
34
+ country?: string;
35
+ }
25
36
  interface FormStyles {
26
37
  loaderColor?: string;
27
38
  backgroundColor?: string;
39
+ lightLogos?: boolean;
28
40
  expressButtonsSpacing?: string;
41
+ expressButtonsBorderRadius?: string;
29
42
  inputBackgroundColor?: string;
30
43
  inputBorderRadius?: string;
31
44
  inputBorderColor?: string;
32
45
  inputBorderHoverColor?: string;
33
46
  inputBorderFocusColor?: string;
34
47
  inputBorderErrorColor?: string;
48
+ inputTextColor?: string;
49
+ inputFontSize?: string;
50
+ inputHeight?: string;
51
+ placeholderColor?: string;
35
52
  errorMessageColor?: string;
53
+ labelColor?: string;
54
+ labelFontSize?: string;
55
+ dividerColor?: string;
56
+ dividerTextColor?: string;
57
+ safeCheckoutAccentColor?: string;
58
+ safeCheckoutTextColor?: string;
59
+ radioOptionBorderColor?: string;
60
+ radioOptionBorderRadius?: string;
61
+ radioOptionBackgroundColor?: string;
62
+ radioOptionActiveBackgroundColor?: string;
63
+ radioOptionTitleColor?: string;
64
+ radioButtonColor?: string;
65
+ radioButtonActiveColor?: string;
66
+ fastCheckoutText?: string;
67
+ cardPaymentText?: string;
36
68
  buttonColor?: string;
37
69
  buttonHoverColor?: string;
38
70
  buttonBorderRadius?: string;
71
+ buttonHeight?: string;
72
+ buttonFontSize?: string;
39
73
  buttonText?: string;
40
74
  cardButtonColor?: string;
41
75
  cardButtonHoverColor?: string;
@@ -45,6 +79,7 @@ interface FlintNConfig {
45
79
  clientSessionId: string;
46
80
  formFields?: FormFields;
47
81
  styles?: FormStyles;
82
+ placeholders?: FormPlaceholders;
48
83
  successRedirectUrl?: string;
49
84
  }
50
85
  declare const PaymentMethod: {
@@ -230,4 +265,4 @@ declare const validateConfig: (config: {
230
265
  }) => void;
231
266
  declare const sanitizeToken: (token: string) => string;
232
267
 
233
- export { type CheckoutEvent, CheckoutFormVariant, CheckoutView, EventType, type FieldChangeEvent, FieldEventType, type FieldOptions, type FieldState, FieldType, type FieldValidationResult, type FieldsValidationResult, type FlintNConfig, type FlintNField, type FlintNFieldInternalCallbacks, type FlintNFields, type FlintNFieldsConfig, type FlintNFieldsOptions, type FlintNPayment, type FlintNPaymentOptions, type FormFields, type FormStyles, type PaymentAttempt, PaymentAttemptResult, type PaymentError, PaymentMethod, type PaymentResult, type PaymentUI, PaymentUIEvent, type SubmitOptions, type TCheckoutFormVariant, type TCheckoutView, type TEventType, type TFieldEventType, type TFieldType, type TPaymentAttemptResult, type TPaymentMethod, type TPaymentUIEvent, buildIframeSrc, createFlintNField, createFlintNFields, createFlintNPayment, createIframeElement, isAttemptEvent, isUIEvent, parseOrigin, sanitizeToken, validateConfig };
268
+ export { type CheckoutEvent, CheckoutFormVariant, CheckoutView, EventType, type FieldChangeEvent, FieldEventType, type FieldOptions, type FieldState, FieldType, type FieldValidationResult, type FieldsValidationResult, type FlintNConfig, type FlintNField, type FlintNFieldInternalCallbacks, type FlintNFields, type FlintNFieldsConfig, type FlintNFieldsOptions, type FlintNPayment, type FlintNPaymentOptions, type FormFields, type FormPlaceholders, type FormStyles, type PaymentAttempt, PaymentAttemptResult, type PaymentError, PaymentMethod, type PaymentResult, type PaymentUI, PaymentUIEvent, type SubmitOptions, type TCheckoutFormVariant, type TCheckoutView, type TEventType, type TFieldEventType, type TFieldType, type TPaymentAttemptResult, type TPaymentMethod, type TPaymentUIEvent, buildIframeSrc, createFlintNField, createFlintNFields, createFlintNPayment, createIframeElement, isAttemptEvent, isUIEvent, parseOrigin, sanitizeToken, validateConfig };
package/dist/index.d.ts CHANGED
@@ -18,24 +18,58 @@ declare const CheckoutFormVariant: {
18
18
  };
19
19
  type TCheckoutFormVariant = (typeof CheckoutFormVariant)[keyof typeof CheckoutFormVariant];
20
20
  interface FormFields {
21
- isEmailVisible?: boolean;
22
- isCardholderNameRequired?: boolean;
23
21
  formVariant?: TCheckoutFormVariant;
24
22
  }
23
+ interface FormPlaceholders {
24
+ email?: string;
25
+ cardNumber?: string;
26
+ expiry?: string;
27
+ cvv?: string;
28
+ cardholderName?: string;
29
+ addressLine1?: string;
30
+ addressLine2?: string;
31
+ city?: string;
32
+ state?: string;
33
+ postalCode?: string;
34
+ country?: string;
35
+ }
25
36
  interface FormStyles {
26
37
  loaderColor?: string;
27
38
  backgroundColor?: string;
39
+ lightLogos?: boolean;
28
40
  expressButtonsSpacing?: string;
41
+ expressButtonsBorderRadius?: string;
29
42
  inputBackgroundColor?: string;
30
43
  inputBorderRadius?: string;
31
44
  inputBorderColor?: string;
32
45
  inputBorderHoverColor?: string;
33
46
  inputBorderFocusColor?: string;
34
47
  inputBorderErrorColor?: string;
48
+ inputTextColor?: string;
49
+ inputFontSize?: string;
50
+ inputHeight?: string;
51
+ placeholderColor?: string;
35
52
  errorMessageColor?: string;
53
+ labelColor?: string;
54
+ labelFontSize?: string;
55
+ dividerColor?: string;
56
+ dividerTextColor?: string;
57
+ safeCheckoutAccentColor?: string;
58
+ safeCheckoutTextColor?: string;
59
+ radioOptionBorderColor?: string;
60
+ radioOptionBorderRadius?: string;
61
+ radioOptionBackgroundColor?: string;
62
+ radioOptionActiveBackgroundColor?: string;
63
+ radioOptionTitleColor?: string;
64
+ radioButtonColor?: string;
65
+ radioButtonActiveColor?: string;
66
+ fastCheckoutText?: string;
67
+ cardPaymentText?: string;
36
68
  buttonColor?: string;
37
69
  buttonHoverColor?: string;
38
70
  buttonBorderRadius?: string;
71
+ buttonHeight?: string;
72
+ buttonFontSize?: string;
39
73
  buttonText?: string;
40
74
  cardButtonColor?: string;
41
75
  cardButtonHoverColor?: string;
@@ -45,6 +79,7 @@ interface FlintNConfig {
45
79
  clientSessionId: string;
46
80
  formFields?: FormFields;
47
81
  styles?: FormStyles;
82
+ placeholders?: FormPlaceholders;
48
83
  successRedirectUrl?: string;
49
84
  }
50
85
  declare const PaymentMethod: {
@@ -230,4 +265,4 @@ declare const validateConfig: (config: {
230
265
  }) => void;
231
266
  declare const sanitizeToken: (token: string) => string;
232
267
 
233
- export { type CheckoutEvent, CheckoutFormVariant, CheckoutView, EventType, type FieldChangeEvent, FieldEventType, type FieldOptions, type FieldState, FieldType, type FieldValidationResult, type FieldsValidationResult, type FlintNConfig, type FlintNField, type FlintNFieldInternalCallbacks, type FlintNFields, type FlintNFieldsConfig, type FlintNFieldsOptions, type FlintNPayment, type FlintNPaymentOptions, type FormFields, type FormStyles, type PaymentAttempt, PaymentAttemptResult, type PaymentError, PaymentMethod, type PaymentResult, type PaymentUI, PaymentUIEvent, type SubmitOptions, type TCheckoutFormVariant, type TCheckoutView, type TEventType, type TFieldEventType, type TFieldType, type TPaymentAttemptResult, type TPaymentMethod, type TPaymentUIEvent, buildIframeSrc, createFlintNField, createFlintNFields, createFlintNPayment, createIframeElement, isAttemptEvent, isUIEvent, parseOrigin, sanitizeToken, validateConfig };
268
+ export { type CheckoutEvent, CheckoutFormVariant, CheckoutView, EventType, type FieldChangeEvent, FieldEventType, type FieldOptions, type FieldState, FieldType, type FieldValidationResult, type FieldsValidationResult, type FlintNConfig, type FlintNField, type FlintNFieldInternalCallbacks, type FlintNFields, type FlintNFieldsConfig, type FlintNFieldsOptions, type FlintNPayment, type FlintNPaymentOptions, type FormFields, type FormPlaceholders, type FormStyles, type PaymentAttempt, PaymentAttemptResult, type PaymentError, PaymentMethod, type PaymentResult, type PaymentUI, PaymentUIEvent, type SubmitOptions, type TCheckoutFormVariant, type TCheckoutView, type TEventType, type TFieldEventType, type TFieldType, type TPaymentAttemptResult, type TPaymentMethod, type TPaymentUIEvent, buildIframeSrc, createFlintNField, createFlintNFields, createFlintNPayment, createIframeElement, isAttemptEvent, isUIEvent, parseOrigin, sanitizeToken, validateConfig };
package/dist/react.d.mts CHANGED
@@ -17,24 +17,58 @@ declare const CheckoutFormVariant: {
17
17
  };
18
18
  type TCheckoutFormVariant = (typeof CheckoutFormVariant)[keyof typeof CheckoutFormVariant];
19
19
  interface FormFields {
20
- isEmailVisible?: boolean;
21
- isCardholderNameRequired?: boolean;
22
20
  formVariant?: TCheckoutFormVariant;
23
21
  }
22
+ interface FormPlaceholders {
23
+ email?: string;
24
+ cardNumber?: string;
25
+ expiry?: string;
26
+ cvv?: string;
27
+ cardholderName?: string;
28
+ addressLine1?: string;
29
+ addressLine2?: string;
30
+ city?: string;
31
+ state?: string;
32
+ postalCode?: string;
33
+ country?: string;
34
+ }
24
35
  interface FormStyles {
25
36
  loaderColor?: string;
26
37
  backgroundColor?: string;
38
+ lightLogos?: boolean;
27
39
  expressButtonsSpacing?: string;
40
+ expressButtonsBorderRadius?: string;
28
41
  inputBackgroundColor?: string;
29
42
  inputBorderRadius?: string;
30
43
  inputBorderColor?: string;
31
44
  inputBorderHoverColor?: string;
32
45
  inputBorderFocusColor?: string;
33
46
  inputBorderErrorColor?: string;
47
+ inputTextColor?: string;
48
+ inputFontSize?: string;
49
+ inputHeight?: string;
50
+ placeholderColor?: string;
34
51
  errorMessageColor?: string;
52
+ labelColor?: string;
53
+ labelFontSize?: string;
54
+ dividerColor?: string;
55
+ dividerTextColor?: string;
56
+ safeCheckoutAccentColor?: string;
57
+ safeCheckoutTextColor?: string;
58
+ radioOptionBorderColor?: string;
59
+ radioOptionBorderRadius?: string;
60
+ radioOptionBackgroundColor?: string;
61
+ radioOptionActiveBackgroundColor?: string;
62
+ radioOptionTitleColor?: string;
63
+ radioButtonColor?: string;
64
+ radioButtonActiveColor?: string;
65
+ fastCheckoutText?: string;
66
+ cardPaymentText?: string;
35
67
  buttonColor?: string;
36
68
  buttonHoverColor?: string;
37
69
  buttonBorderRadius?: string;
70
+ buttonHeight?: string;
71
+ buttonFontSize?: string;
38
72
  buttonText?: string;
39
73
  cardButtonColor?: string;
40
74
  cardButtonHoverColor?: string;
@@ -44,6 +78,7 @@ interface FlintNConfig {
44
78
  clientSessionId: string;
45
79
  formFields?: FormFields;
46
80
  styles?: FormStyles;
81
+ placeholders?: FormPlaceholders;
47
82
  successRedirectUrl?: string;
48
83
  }
49
84
  declare const PaymentMethod: {
package/dist/react.d.ts CHANGED
@@ -17,24 +17,58 @@ declare const CheckoutFormVariant: {
17
17
  };
18
18
  type TCheckoutFormVariant = (typeof CheckoutFormVariant)[keyof typeof CheckoutFormVariant];
19
19
  interface FormFields {
20
- isEmailVisible?: boolean;
21
- isCardholderNameRequired?: boolean;
22
20
  formVariant?: TCheckoutFormVariant;
23
21
  }
22
+ interface FormPlaceholders {
23
+ email?: string;
24
+ cardNumber?: string;
25
+ expiry?: string;
26
+ cvv?: string;
27
+ cardholderName?: string;
28
+ addressLine1?: string;
29
+ addressLine2?: string;
30
+ city?: string;
31
+ state?: string;
32
+ postalCode?: string;
33
+ country?: string;
34
+ }
24
35
  interface FormStyles {
25
36
  loaderColor?: string;
26
37
  backgroundColor?: string;
38
+ lightLogos?: boolean;
27
39
  expressButtonsSpacing?: string;
40
+ expressButtonsBorderRadius?: string;
28
41
  inputBackgroundColor?: string;
29
42
  inputBorderRadius?: string;
30
43
  inputBorderColor?: string;
31
44
  inputBorderHoverColor?: string;
32
45
  inputBorderFocusColor?: string;
33
46
  inputBorderErrorColor?: string;
47
+ inputTextColor?: string;
48
+ inputFontSize?: string;
49
+ inputHeight?: string;
50
+ placeholderColor?: string;
34
51
  errorMessageColor?: string;
52
+ labelColor?: string;
53
+ labelFontSize?: string;
54
+ dividerColor?: string;
55
+ dividerTextColor?: string;
56
+ safeCheckoutAccentColor?: string;
57
+ safeCheckoutTextColor?: string;
58
+ radioOptionBorderColor?: string;
59
+ radioOptionBorderRadius?: string;
60
+ radioOptionBackgroundColor?: string;
61
+ radioOptionActiveBackgroundColor?: string;
62
+ radioOptionTitleColor?: string;
63
+ radioButtonColor?: string;
64
+ radioButtonActiveColor?: string;
65
+ fastCheckoutText?: string;
66
+ cardPaymentText?: string;
35
67
  buttonColor?: string;
36
68
  buttonHoverColor?: string;
37
69
  buttonBorderRadius?: string;
70
+ buttonHeight?: string;
71
+ buttonFontSize?: string;
38
72
  buttonText?: string;
39
73
  cardButtonColor?: string;
40
74
  cardButtonHoverColor?: string;
@@ -44,6 +78,7 @@ interface FlintNConfig {
44
78
  clientSessionId: string;
45
79
  formFields?: FormFields;
46
80
  styles?: FormStyles;
81
+ placeholders?: FormPlaceholders;
47
82
  successRedirectUrl?: string;
48
83
  }
49
84
  declare const PaymentMethod: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flintn-checkout",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "FlintN Payment SDK — drop-in iframe checkout for card payments and wallets with localization and theming.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",