Socket
Socket
Sign inDemoInstall

stytch

Package Overview
Dependencies
Maintainers
10
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.5.0 to 3.5.1

33

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

@@ -22,2 +22,4 @@ "types": "./types/lib/index.d.ts",

"build": "rm -rf dist types && babel lib --out-dir dist --extensions '.ts' && tsc --declaration --outDir types --emitDeclarationOnly",
"format": "prettier --write lib",
"check-format": "prettier --check lib",
"lint": "eslint lib",

@@ -33,19 +35,18 @@ "test": "jest",

"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.4",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"jest": "^27.0.5",
"prettier": "2.3.1",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^27.0.2",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"jest": "^27.2.4",
"prettier": "2.4.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"dependencies": {
"axios": "^0.21.3",
"request": "^2.55.0"
"axios": "^0.21.4"
},

@@ -52,0 +53,0 @@ "eslintConfig": {

@@ -19,2 +19,13 @@ # Stytch Node.js Library

This client library supports all of Stytch's live products:
- [x] [Email Magic Links](https://stytch.com/docs/api/send-by-email)
- [x] [Embeddable Magic Links](https://stytch.com/docs/api/create-magic-link-overview)
- [x] [OAuth logins](https://stytch.com/docs/api/oauth-overview)
- [x] [SMS passcodes](https://stytch.com/docs/api/send-otp-by-sms)
- [x] [WhatsApp passcodes](https://stytch.com/docs/api/whatsapp-send)
- [x] [Email passcodes](https://stytch.com/docs/api/send-otp-by-email)
- [x] [Session Management (Beta)](https://stytch.com/docs/api/sessions-overview)
- [ ] [WebAuthn (Coming soon)](https://stytch.com/docs/api/webauthn-overview)
### Example usage
Create an API client:

@@ -21,0 +32,0 @@ ```javascript

@@ -24,2 +24,3 @@ import type { AxiosInstance, AxiosRequestConfig } from "axios";

type: string;
last_authenticated_at: Date;
email_factor: {

@@ -33,2 +34,3 @@ email_id: string;

type: string;
last_authenticated_at: Date;
phone_number_factor: {

@@ -42,2 +44,3 @@ phone_id: string;

type: string;
last_authenticated_at: string;
google_oauth_factor: {

@@ -44,0 +47,0 @@ id: string;

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