@privy-io/js-sdk-core
Version:
Vanilla JS client for the Privy Auth API
124 lines (123 loc) • 3.42 kB
JSON
{
"name": "@privy-io/js-sdk-core",
"version": "0.47.0",
"description": "Vanilla JS client for the Privy Auth API",
"keywords": [
"authentication",
"authorization",
"identity",
"privacy",
"privy",
"user data",
"web3"
],
"license": "Apache-2.0",
"author": "privy.io",
"sideEffects": false,
"type": "commonjs",
"exports": {
".": {
"require": {
"types": "./dist/dts/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/dts/index.d.mts",
"default": "./dist/esm/index.mjs"
}
},
"./smart-wallets": {
"require": {
"types": "./dist/dts/smart-wallets.d.ts",
"default": "./dist/cjs/smart-wallets.js"
},
"import": {
"types": "./dist/dts/smart-wallets.d.mts",
"default": "./dist/esm/smart-wallets.mjs"
}
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/dts/index.d.ts",
"files": [
"dist/**/*",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rollup --config rollup.types.mjs && rollup --config rollup.build.mjs",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist .turbo",
"d//": "To parallelize types and code build output rollup recommends running multiple instances",
"dev": "concurrently --prefix=none \"rollup --config rollup.types.mjs --watch\" \"rollup --config rollup.dev.mjs --watch\"",
"format": "eslint src --fix",
"lint": "eslint src",
"test": "jest",
"test:watch": "npm run test -- --watch"
},
"browserslist": [
"defaults",
"not op_mini all"
],
"dependencies": {
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/transactions": "^5.7.0",
"@ethersproject/units": "^5.7.0",
"@privy-io/api-base": "1.4.5",
"@privy-io/public-api": "2.20.5",
"canonicalize": "^2.0.0",
"@privy-io/chains": "0.0.1",
"eventemitter3": "^5.0.1",
"fetch-retry": "^6.0.0",
"jose": "^4.15.5",
"js-cookie": "^3.0.5",
"libphonenumber-js": "^1.10.44",
"set-cookie-parser": "^2.6.0",
"uuid": ">=8 <10"
},
"devDependencies": {
"@privy-io/build-config": "*",
"@privy-io/eslint-config-custom": "*",
"@privy-io/tsconfig": "*",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@simplewebauthn/types": "9.0.1",
"@solana/web3.js": "^1.98.0",
"@swc/core": "^1.10.0",
"@swc/plugin-styled-components": "^6.0.1",
"@tsconfig/node16-strictest-esm": "^1.0.3",
"@types/jest": "^29.5.11",
"@types/set-cookie-parser": "^2.4.7",
"@types/text-encoding": "^0.0.37",
"glob": "^10.3.12",
"msw": "^2.0.13",
"rollup": "^4.28.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"text-encoding": "^0.7.0",
"ts-jest": "^29.1.1",
"typescript": "~5.5.3"
},
"peerDependencies": {
"permissionless": "^0.2.10",
"viem": "^2.21.36"
},
"peerDependenciesMeta": {
"permissionless": {
"optional": true
},
"viem": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}