UNPKG

@dfinity/identity

Version:

JavaScript and TypeScript library to manage identity with the Internet Computer

78 lines (77 loc) 2 kB
{ "name": "@dfinity/identity", "version": "2.4.1", "author": "DFINITY Stiftung <sdk@dfinity.org>", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to manage identity with the Internet Computer", "homepage": "https://internetcomputer.org", "repository": { "type": "git", "url": "https://github.com/dfinity/agent-js.git", "directory": "packages/identity" }, "bugs": { "url": "https://github.com/dfinity/agent-js/issues" }, "keywords": [ "internet computer", "ic", "dfinity", "canister", "webauthn", "identity", "principal", "authentication", "dfx", "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/identity", "test": "jest", "test:coverage": "jest --collectCoverage" }, "peerDependencies": { "@dfinity/agent": "^2.4.1", "@dfinity/principal": "^2.4.1" }, "dependencies": { "@noble/curves": "^1.2.0", "@noble/hashes": "^1.3.1", "borc": "^2.1.1" }, "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", "idb-keyval": "^6.2.0", "jest": "^29.7.0", "size-limit": "^8.2.6", "text-encoding": "^0.7.0", "typedoc": "^0.22.11", "whatwg-fetch": "^3.0.0" }, "size-limit": [ { "path": "./dist/index.js", "limit": "1 mb", "webpack": false } ] }