Comparing version 6.1.0 to 6.1.1
@@ -37,11 +37,7 @@ "use strict"; | ||
resetByEmail(token, password, data) { | ||
resetByEmail(data) { | ||
return (0, _shared.request)(this.fetchConfig, { | ||
method: "POST", | ||
url: this.endpoint("email/reset"), | ||
data: { | ||
token, | ||
password, | ||
...data | ||
} | ||
data: data | ||
}); | ||
@@ -48,0 +44,0 @@ } |
{ | ||
"name": "stytch", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "A wrapper for the Stytch API", | ||
@@ -5,0 +5,0 @@ "types": "./types/lib/index.d.ts", |
@@ -116,3 +116,3 @@ import { BaseResponse, fetchConfig } from "../shared"; | ||
resetByEmailStart(data: EmailResetStartRequest): Promise<EmailResetStartResponse>; | ||
resetByEmail(token: string, password: string, data?: EmailResetRequest): Promise<EmailResetResponse>; | ||
resetByEmail(data?: EmailResetRequest): Promise<EmailResetResponse>; | ||
resetByExistingPassword(data: ExistingPasswordResetRequest): Promise<ExistingPasswordResetResponse>; | ||
@@ -119,0 +119,0 @@ resetBySession(data: SessionResetRequest): Promise<SessionResetResponse>; |
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
123511
3648