Comparing version 1.2.0 to 1.2.1
@@ -89,5 +89,5 @@ 'use strict'; | ||
Client.prototype.deleteUserEmail = | ||
function(user_id, email, cb) { | ||
function(email_id, cb) { | ||
return this._authenticatedRequest({ | ||
path: `users/${user_id}/emails/${email}`, | ||
path: `users/emails/${email_id}`, | ||
},'DELETE', cb); | ||
@@ -94,0 +94,0 @@ }; |
{ | ||
"name": "stytch", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A wrapper for the Stytch API", | ||
@@ -5,0 +5,0 @@ "main": "lib/stytch.js", |
@@ -110,3 +110,2 @@ declare module 'stytch' { | ||
user_id: string; | ||
email: string; | ||
} | ||
@@ -281,8 +280,6 @@ | ||
deleteUserEmail( | ||
user_id: string, | ||
email: string | ||
email_id: string | ||
): Promise<DeleteUserEmailResponse>; | ||
deleteUserEmail( | ||
user_id: string, | ||
email: string, | ||
email_id: string, | ||
cb: Callback<DeleteUserEmailResponse>, | ||
@@ -292,6 +289,6 @@ ): void; | ||
deleteUserPhoneNumber( | ||
phone_number: string | ||
phone_id: string | ||
): Promise<DeleteUserPhoneNumberResponse>; | ||
deleteUserPhoneNumber( | ||
phone_number: string, | ||
phone_id: string, | ||
cb: Callback<DeleteUserPhoneNumberResponse> | ||
@@ -298,0 +295,0 @@ ): void; |
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
22657
596