UNPKG

@dfinity/oisy-wallet-signer

Version:

A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.

94 lines 2.91 kB
{ "name": "@dfinity/oisy-wallet-signer", "version": "6.0.0", "description": "A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer. ", "license": "Apache-2.0", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/dfinity/oisy-wallet-signer.git" }, "bugs": { "url": "https://github.com/dfinity/oisy-wallet-signer" }, "files": [ "README.md", "LICENSE", "**/*.js", "**/*.js.map", "**/*.d.ts", "**/*.d.ts.map" ], "keywords": [ "internet computer", "internet-computer", "ic", "icp", "dfinity", "internet-identity", "wallet" ], "sideEffects": false, "main": "index.js", "module": "index.js", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "import": "./index.js" }, "./relying-party": { "types": "./relying-party.d.ts", "import": "./relying-party.js" }, "./icp-wallet": { "types": "./icp-wallet.d.ts", "import": "./icp-wallet.js" }, "./icrc-wallet": { "types": "./icrc-wallet.d.ts", "import": "./icrc-wallet.js" }, "./signer": { "types": "./signer.d.ts", "import": "./signer.js" } }, "scripts": { "format": "prettier . --write", "format:check": "prettier --check .", "ts-declaration": "tsc --emitDeclarationOnly --outDir dist && ./scripts/copy-idl-ts", "build": "tsc --noEmit && node rmdir.mjs && node scripts/esbuild.mjs && npm run ts-declaration", "lint": "eslint --max-warnings 0 \"src/**/*\"", "test": "tsc --noEmit -p ./tsconfig.spec.json && vitest", "e2e": "NODE_ENV=development playwright test", "e2e:snapshots": "NODE_ENV=development playwright test --update-snapshots --reporter=list", "e2e:ci": "playwright test --reporter=html", "e2e:ci:snapshots": "playwright test --update-snapshots --reporter=html", "did": "./scripts/download-did && ./scripts/compile-idl-js", "prepublishOnly": "if [ $(basename $PWD) != 'dist' ]; then echo 'Publishing is only allowed from the dist directory.' && exit 1; fi", "i18n": "node scripts/i18n.mjs && prettier --write ./src/types/i18n.ts", "prepack": "node ../scripts/publish-strip-engines.mjs" }, "devDependencies": { "@dfinity/eslint-config-oisy-wallet": "^0.3.0", "@dfinity/internet-identity-playwright": "^3.0.0", "@icp-sdk/bindgen": "^0.3.0", "@playwright/test": "^1.58.2", "@types/jest": "^30.0.0", "@types/node": "^24.10.1", "esbuild": "^0.27.3", "jsdom": "^29.0.2", "prettier": "^3.8.1", "prettier-plugin-organize-imports": "^4.3.0", "typescript": "^5.9.3", "vitest": "^4.0.18" }, "peerDependencies": { "@dfinity/utils": "~4.0.3", "@dfinity/zod-schemas": "^3", "@icp-sdk/canisters": "~3.1.0", "@icp-sdk/core": "^4", "zod": "^4" } }