UNPKG

@vonage/verify

Version:

Verify API provides a choice of routes for sending a code to a user. You can use this to confirm a user's contact information, as a second factor when authenticating users, or for step-up authentication.

74 lines (73 loc) 2.19 kB
{ "$schema": "https://json.schemastore.org/package.json", "name": "@vonage/verify", "version": "1.20.0", "description": "Verify API provides a choice of routes for sending a code to a user. You can use this to confirm a user's contact information, as a second factor when authenticating users, or for step-up authentication.", "keywords": [ "vonage", "verify", "cpass", "sms", "psd2", "otp" ], "homepage": "https://developer.vonage.com", "bugs": { "url": "https://github.com/Vonage/vonage-node-sdk/issues" }, "repository": { "type": "git", "url": "git+https://github.com/Vonage/vonage-node-sdk.git" }, "license": "Apache-2.0", "contributors": [ { "name": "Chris Tankersley", "url": "https://github.com/dragonmantank" }, { "name": "Chuck \"MANCHUCK\" Reeves", "url": "https://github.com/manchuck" } ], "type": "commonjs", "exports": { ".": { "browser": "./dist/unsupportedBrowser.cjs", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } } }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", "types": "./dist/cjs/index.d.ts", "files": [ "dist" ], "scripts": { "build": "npm run clean && npm run build:esm && npm run build:cjs", "postbuild": "node ../../scripts/copyUnsupported.cjs && node -e \"const fs=require('node:fs'),p='dist/cjs/package.json';fs.mkdirSync('dist/cjs',{recursive:true});fs.writeFileSync(p,JSON.stringify({type:'commonjs'},null,2));\"", "build:cjs": "tsup lib/** -d dist/cjs --dts --tsconfig tsconfig.tsup.json", "build:esm": "tsup lib/** -d dist/esm --format=esm --dts --tsconfig tsconfig.tsup.json", "check:pkg": "npx attw --pack .", "clean": "rimraf dist tsconfig.tsbuildinfo" }, "dependencies": { "@vonage/auth": "1.15.0", "@vonage/server-client": "1.20.0", "@vonage/vetch": "1.11.0" }, "engines": { "node": ">=20" }, "engineStrict": true, "publishConfig": { "access": "public" } }