mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #28452 from kamagatos/webhooks-contructevent-tolerance
Add tolerance parameter to WebHooks.contructEvent
This commit is contained in:
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user