@stripe/stripe-js
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.15.0", | ||
version: "1.15.1", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.15.0", | ||
version: "1.15.1", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.15.0", | ||
version: "1.15.1", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.15.0", | ||
version: "1.15.1", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
@@ -32,3 +32,3 @@ declare module '@stripe/stripe-js' { | ||
eventType: 'ready', | ||
handler: () => any | ||
handler: (event: {elementType: 'afterpayClearpayMessage'}) => any | ||
): StripeAfterpayClearpayMessageElement; | ||
@@ -35,0 +35,0 @@ }; |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeAuBankAccountElement; | ||
once(eventType: 'ready', handler: () => any): StripeAuBankAccountElement; | ||
off(eventType: 'ready', handler?: () => any): StripeAuBankAccountElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeAuBankAccountElement; | ||
once(eventType: 'focus', handler: () => any): StripeAuBankAccountElement; | ||
off(eventType: 'focus', handler?: () => any): StripeAuBankAccountElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeAuBankAccountElement; | ||
once(eventType: 'blur', handler: () => any): StripeAuBankAccountElement; | ||
off(eventType: 'blur', handler?: () => any): StripeAuBankAccountElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeAuBankAccountElement; | ||
once(eventType: 'escape', handler: () => any): StripeAuBankAccountElement; | ||
off(eventType: 'escape', handler?: () => any): StripeAuBankAccountElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'auBankAccount'}) => any | ||
): StripeAuBankAccountElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeCardCvcElement; | ||
once(eventType: 'ready', handler: () => any): StripeCardCvcElement; | ||
off(eventType: 'ready', handler?: () => any): StripeCardCvcElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeCardCvcElement; | ||
once(eventType: 'focus', handler: () => any): StripeCardCvcElement; | ||
off(eventType: 'focus', handler?: () => any): StripeCardCvcElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeCardCvcElement; | ||
once(eventType: 'blur', handler: () => any): StripeCardCvcElement; | ||
off(eventType: 'blur', handler?: () => any): StripeCardCvcElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeCardCvcElement; | ||
once(eventType: 'escape', handler: () => any): StripeCardCvcElement; | ||
off(eventType: 'escape', handler?: () => any): StripeCardCvcElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'cardCvc'}) => any | ||
): StripeCardCvcElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeCardExpiryElement; | ||
once(eventType: 'ready', handler: () => any): StripeCardExpiryElement; | ||
off(eventType: 'ready', handler?: () => any): StripeCardExpiryElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeCardExpiryElement; | ||
once(eventType: 'focus', handler: () => any): StripeCardExpiryElement; | ||
off(eventType: 'focus', handler?: () => any): StripeCardExpiryElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeCardExpiryElement; | ||
once(eventType: 'blur', handler: () => any): StripeCardExpiryElement; | ||
off(eventType: 'blur', handler?: () => any): StripeCardExpiryElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeCardExpiryElement; | ||
once(eventType: 'escape', handler: () => any): StripeCardExpiryElement; | ||
off(eventType: 'escape', handler?: () => any): StripeCardExpiryElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'cardExpiry'}) => any | ||
): StripeCardExpiryElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeCardNumberElement; | ||
once(eventType: 'ready', handler: () => any): StripeCardNumberElement; | ||
off(eventType: 'ready', handler?: () => any): StripeCardNumberElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeCardNumberElement; | ||
once(eventType: 'focus', handler: () => any): StripeCardNumberElement; | ||
off(eventType: 'focus', handler?: () => any): StripeCardNumberElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeCardNumberElement; | ||
once(eventType: 'blur', handler: () => any): StripeCardNumberElement; | ||
off(eventType: 'blur', handler?: () => any): StripeCardNumberElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeCardNumberElement; | ||
once(eventType: 'escape', handler: () => any): StripeCardNumberElement; | ||
off(eventType: 'escape', handler?: () => any): StripeCardNumberElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'cardNumber'}) => any | ||
): StripeCardNumberElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeCardElement; | ||
once(eventType: 'ready', handler: () => any): StripeCardElement; | ||
off(eventType: 'ready', handler?: () => any): StripeCardElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeCardElement; | ||
once(eventType: 'focus', handler: () => any): StripeCardElement; | ||
off(eventType: 'focus', handler?: () => any): StripeCardElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeCardElement; | ||
once(eventType: 'blur', handler: () => any): StripeCardElement; | ||
off(eventType: 'blur', handler?: () => any): StripeCardElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeCardElement; | ||
once(eventType: 'escape', handler: () => any): StripeCardElement; | ||
off(eventType: 'escape', handler?: () => any): StripeCardElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'card'}) => any | ||
): StripeCardElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeEpsBankElement; | ||
once(eventType: 'ready', handler: () => any): StripeEpsBankElement; | ||
off(eventType: 'ready', handler: () => any): StripeEpsBankElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
off( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeEpsBankElement; | ||
once(eventType: 'focus', handler: () => any): StripeEpsBankElement; | ||
off(eventType: 'focus', handler: () => any): StripeEpsBankElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
off( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeEpsBankElement; | ||
once(eventType: 'blur', handler: () => any): StripeEpsBankElement; | ||
off(eventType: 'blur', handler: () => any): StripeEpsBankElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
off( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeEpsBankElement; | ||
once(eventType: 'escape', handler: () => any): StripeEpsBankElement; | ||
off(eventType: 'escape', handler: () => any): StripeEpsBankElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
off( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'epsBank'}) => any | ||
): StripeEpsBankElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeFpxBankElement; | ||
once(eventType: 'ready', handler: () => any): StripeFpxBankElement; | ||
off(eventType: 'ready', handler?: () => any): StripeFpxBankElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeFpxBankElement; | ||
once(eventType: 'focus', handler: () => any): StripeFpxBankElement; | ||
off(eventType: 'focus', handler?: () => any): StripeFpxBankElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeFpxBankElement; | ||
once(eventType: 'blur', handler: () => any): StripeFpxBankElement; | ||
off(eventType: 'blur', handler?: () => any): StripeFpxBankElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeFpxBankElement; | ||
once(eventType: 'escape', handler: () => any): StripeFpxBankElement; | ||
off(eventType: 'escape', handler?: () => any): StripeFpxBankElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'fpxBank'}) => any | ||
): StripeFpxBankElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeIbanElement; | ||
once(eventType: 'ready', handler: () => any): StripeIbanElement; | ||
off(eventType: 'ready', handler?: () => any): StripeIbanElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeIbanElement; | ||
once(eventType: 'focus', handler: () => any): StripeIbanElement; | ||
off(eventType: 'focus', handler?: () => any): StripeIbanElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeIbanElement; | ||
once(eventType: 'blur', handler: () => any): StripeIbanElement; | ||
off(eventType: 'blur', handler?: () => any): StripeIbanElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeIbanElement; | ||
once(eventType: 'escape', handler: () => any): StripeIbanElement; | ||
off(eventType: 'escape', handler?: () => any): StripeIbanElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'iban'}) => any | ||
): StripeIbanElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeIdealBankElement; | ||
once(eventType: 'ready', handler: () => any): StripeIdealBankElement; | ||
off(eventType: 'ready', handler?: () => any): StripeIdealBankElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeIdealBankElement; | ||
once(eventType: 'focus', handler: () => any): StripeIdealBankElement; | ||
off(eventType: 'focus', handler?: () => any): StripeIdealBankElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeIdealBankElement; | ||
once(eventType: 'blur', handler: () => any): StripeIdealBankElement; | ||
off(eventType: 'blur', handler?: () => any): StripeIdealBankElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeIdealBankElement; | ||
once(eventType: 'escape', handler: () => any): StripeIdealBankElement; | ||
off(eventType: 'escape', handler?: () => any): StripeIdealBankElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
off( | ||
eventType: 'escape', | ||
handler?: (event: {elementType: 'idealBank'}) => any | ||
): StripeIdealBankElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -24,5 +24,14 @@ ///<reference path='./base.d.ts' /> | ||
*/ | ||
on(eventType: 'ready', handler: () => any): StripeP24BankElement; | ||
once(eventType: 'ready', handler: () => any): StripeP24BankElement; | ||
off(eventType: 'ready', handler: () => any): StripeP24BankElement; | ||
on( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
once( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
off( | ||
eventType: 'ready', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
@@ -32,5 +41,14 @@ /** | ||
*/ | ||
on(eventType: 'focus', handler: () => any): StripeP24BankElement; | ||
once(eventType: 'focus', handler: () => any): StripeP24BankElement; | ||
off(eventType: 'focus', handler: () => any): StripeP24BankElement; | ||
on( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
once( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
off( | ||
eventType: 'focus', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
@@ -40,5 +58,14 @@ /** | ||
*/ | ||
on(eventType: 'blur', handler: () => any): StripeP24BankElement; | ||
once(eventType: 'blur', handler: () => any): StripeP24BankElement; | ||
off(eventType: 'blur', handler: () => any): StripeP24BankElement; | ||
on( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
once( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
off( | ||
eventType: 'blur', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
@@ -48,5 +75,14 @@ /** | ||
*/ | ||
on(eventType: 'escape', handler: () => any): StripeP24BankElement; | ||
once(eventType: 'escape', handler: () => any): StripeP24BankElement; | ||
off(eventType: 'escape', handler: () => any): StripeP24BankElement; | ||
on( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
once( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
off( | ||
eventType: 'escape', | ||
handler: (event: {elementType: 'p24Bank'}) => any | ||
): StripeP24BankElement; | ||
@@ -53,0 +89,0 @@ /** |
@@ -26,11 +26,11 @@ ///<reference path='./base.d.ts' /> | ||
eventType: 'ready', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
once( | ||
eventType: 'ready', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
off( | ||
eventType: 'ready', | ||
handler?: () => any | ||
handler?: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
@@ -43,11 +43,11 @@ | ||
eventType: 'focus', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
once( | ||
eventType: 'focus', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
off( | ||
eventType: 'focus', | ||
handler?: () => any | ||
handler?: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
@@ -60,11 +60,11 @@ | ||
eventType: 'blur', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
once( | ||
eventType: 'blur', | ||
handler: () => any | ||
handler: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
off( | ||
eventType: 'blur', | ||
handler?: () => any | ||
handler?: (event: {elementType: 'paymentRequestButton'}) => any | ||
): StripePaymentRequestButtonElement; | ||
@@ -71,0 +71,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
293987
7489
0