UNPKG

@dfinity/auth-client

Version:

JavaScript and TypeScript library to provide a simple integration with an IC Internet Identity

81 lines (80 loc) 2.12 kB
{ "name": "@dfinity/auth-client", "version": "2.4.0", "author": "DFINITY Stiftung <sdk@dfinity.org>", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to provide a simple integration with an IC Internet Identity", "homepage": "https://internetcomputer.org", "repository": { "type": "git", "url": "https://github.com/dfinity/agent-js.git", "directory": "packages/auth-client" }, "bugs": { "url": "https://github.com/dfinity/agent-js/issues" }, "keywords": [ "internet computer", "ic", "dfinity", "canister", "webauthn", "identity", "principal", "authentication", "dfx", "candid", "motoko", "javascript", "typescript", "blockchain", "crypto", "distributed", "api" ], "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "unpkg": "./lib/esm/index", "scripts": { "build": "tsc -b && tsc -p tsconfig-cjs.json", "bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js", "size-limit": "size-limit", "lint": "eslint 'src' --ext '.js,.jsx,.ts,.tsx'", "lint:fix": "npm run lint -- --fix", "make:docs/reference": "typedoc src/index.ts --out ../../docs/auth-client --excludeInternal", "test": "jest", "test:coverage": "jest --collectCoverage" }, "peerDependencies": { "@dfinity/agent": "^2.4.0", "@dfinity/identity": "^2.4.0", "@dfinity/principal": "^2.4.0" }, "dependencies": { "idb": "^7.0.2" }, "devDependencies": { "@peculiar/webcrypto": "^1.4.0", "@types/jest": "^29.5.5", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5", "esbuild": "^0.25.1", "eslint": "^8.19.0", "fake-indexeddb": "^5.0.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "size-limit": "^8.2.6", "stream": "^0.0.2", "text-encoding": "^0.7.0", "ts-node": "^10.8.2", "typedoc": "^0.22.11", "whatwg-fetch": "^3.0.0" }, "size-limit": [ { "path": "./dist/index.js", "limit": "320 kB", "webpack": false } ] }