@types/recurly__recurly-js
Advanced tools
Comparing version 4.32.0 to 4.32.1
@@ -6,3 +6,3 @@ import { Address } from './address'; | ||
export type AlternativePaymentMethodType = 'boleto'; | ||
export type AlternativePaymentMethodType = 'boleto' | 'ideal' | 'sofort' | 'paypal' | 'cashapp' | 'bacs'; | ||
@@ -20,3 +20,3 @@ export type ChannelType = 'iOS' | 'Android' | 'Web'; | ||
/** | ||
* Indicate a test or a live environment. | ||
* Indicate a test or a live environment. Defaults to `"test"`. | ||
*/ | ||
@@ -26,6 +26,6 @@ env?: AdyenEnvironmentType, | ||
/** | ||
* Show or hides a Pay Button for each payment method. Defaults to false. | ||
* Show or hides a Pay Button for each payment method. Defaults to `false`. | ||
* When the button is disable you need to call the submit() function when the payment form is valid. | ||
*/ | ||
showPayButton?: false, | ||
showPayButton?: boolean, | ||
@@ -77,3 +77,3 @@ /** | ||
/** | ||
* The customer's locale. This is used to set the language rendered in the UI. | ||
* The customer's locale. This is used to set the language rendered in the UI. Defaults to `"en-US"`. | ||
*/ | ||
@@ -85,2 +85,3 @@ locale?: string; | ||
* This field can be used for filtering out payment methods that are only available on specific platforms. | ||
* Defaults to `"Web"`. | ||
*/ | ||
@@ -97,3 +98,8 @@ channel?: ChannelType, | ||
*/ | ||
customer?: CustomerOptions | ||
customer?: CustomerOptions, | ||
/** | ||
* The URL to return to after the shopper completes the payment. | ||
*/ | ||
returnURL?: string | ||
}; | ||
@@ -112,3 +118,3 @@ | ||
*/ | ||
start: (data: AlternativePaymentMethodStartOptions) => Promise<void>; | ||
start: () => Promise<void>; | ||
@@ -131,2 +137,2 @@ /** | ||
export type AlternativePaymentMethods = () => AlternativePaymentMethodsInstance; | ||
export type AlternativePaymentMethods = (config: AlternativePaymentMethodStartOptions) => AlternativePaymentMethodsInstance; |
{ | ||
"name": "@types/recurly__recurly-js", | ||
"version": "4.32.0", | ||
"version": "4.32.1", | ||
"description": "TypeScript definitions for @recurly/recurly-js", | ||
@@ -29,5 +29,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/recurly__recurly-js", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "283007e5d5f42303ac9f2ec56f49c066b76a27575de11177369cec0012e3736b", | ||
"typesPublisherContentHash": "05fb79a619da3d112559c48e9c0d8612594c9f29ab4b3c5fd7f5a351b445778a", | ||
"typeScriptVersion": "5.0", | ||
"nonNpm": true | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 29 Nov 2024 18:37:57 GMT | ||
* Last updated: Tue, 17 Dec 2024 17:35:31 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
65907
2007