Comparing version 3.5.0 to 3.5.1
{ | ||
"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; |
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
39329
1
976
99
- Removedrequest@^2.55.0
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.9.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
Updatedaxios@^0.21.4