@sesamy/sesamy-js 1.20.1 → 1.20.2
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 +1 -0
- package/dist/sesamy-js.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -509,6 +509,7 @@ Creates a checkout session with Sesamy. This function initializes a checkout pro
|
|
|
509
509
|
- phoneNumber (string, optional): The phone number.
|
|
510
510
|
- email (string, optional): The email address.
|
|
511
511
|
- isBusiness (boolean, optional): Indicates if the checkout is for a business.
|
|
512
|
+
- paymemtMethodsFilter (Array of objects, optional): The payment methods to be available in the checkout. The payment methods are an object with a provider and a method property, where the method is an optional array.
|
|
512
513
|
|
|
513
514
|
### Returns
|
|
514
515
|
|
package/dist/sesamy-js.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ export interface Item {
|
|
|
107
107
|
}
|
|
108
108
|
export interface PaymentMethod {
|
|
109
109
|
provider: string;
|
|
110
|
-
methods
|
|
110
|
+
methods?: string[];
|
|
111
111
|
}
|
|
112
112
|
export interface BaseCheckout {
|
|
113
113
|
items: Item[];
|
|
@@ -122,6 +122,7 @@ export interface BaseCheckout {
|
|
|
122
122
|
isBusiness?: boolean;
|
|
123
123
|
price?: number;
|
|
124
124
|
currency?: string;
|
|
125
|
+
paymemtMethodsFilter?: PaymentMethod[];
|
|
125
126
|
attribution?: Attribution;
|
|
126
127
|
}
|
|
127
128
|
export interface CreateCheckoutParams extends BaseCheckout {
|