Merge pull request #28452 from kamagatos/webhooks-contructevent-tolerance

Add tolerance parameter to WebHooks.contructEvent
This commit is contained in:
Armando Aguirre
2018-08-28 13:04:28 -07:00
committed by GitHub
+1 -1
View File
@@ -7192,7 +7192,7 @@ declare namespace Stripe {
}
class WebHooks {
constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string): webhooks.StripeWebhookEvent<T>;
constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string, tolerance?: number): webhooks.StripeWebhookEvent<T>;
}
class EphemeralKeys {