Socket
Socket
Sign inDemoInstall

stytch

Package Overview
Dependencies
Maintainers
8
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 3.2.1 to 3.3.0

8

dist/magic_links.js

@@ -71,2 +71,10 @@ "use strict";

create(data) {
return (0, _shared.request)(this.client, {
method: "POST",
url: this.base_path,
data: data
});
}
authenticate(token, data) {

@@ -73,0 +81,0 @@ return (0, _shared.request)(this.client, {

2

package.json
{
"name": "stytch",
"version": "3.2.1",
"version": "3.3.0",
"description": "A wrapper for the Stytch API",

@@ -5,0 +5,0 @@ "types": "./types/lib/index.d.ts",

@@ -41,2 +41,11 @@ import { Session } from "./shared";

}
export interface CreateRequest {
user_id: string;
expiration_minutes?: number;
attributes?: Attributes;
}
export interface CreateResponse extends BaseResponse {
token: string;
user_id: string;
}
export interface AuthenticateRequest {

@@ -79,4 +88,5 @@ options?: {

private endpoint;
create(data: CreateRequest): Promise<CreateResponse>;
authenticate(token: string, data?: AuthenticateRequest): Promise<AuthenticateResponse>;
}
export {};
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