Skip to content

Commit 85e6351

Browse files
add-types-for-verifyNotificationSignature (#555)
1 parent 9a0d860 commit 85e6351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,8 @@ declare module 'cloudinary' {
715715

716716
function api_sign_request(params_to_sign: object, api_secret: string): string;
717717

718+
function verifyNotificationSignature(body: string, timestamp: number, signature: string, valid_for?: number): boolean;
719+
718720
function api_url(action?: string, options?: ConfigAndUrlOptions): string;
719721

720722
function url(public_id?: string, options?: TransformationOptions | ConfigAndUrlOptions): string;

0 commit comments

Comments
 (0)