Socket
Socket
Sign inDemoInstall

stytch

Package Overview
Dependencies
Maintainers
7
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stytch - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

lib/stytchClient.js

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc