From 85dfa8da1654ef945a88eb01eb11ab1bec3ab50d Mon Sep 17 00:00:00 2001
From: krpeacock <16298804+krpeacock@users.noreply.github.com>
Date: Mon, 27 Nov 2023 21:11:30 +0000
Subject: [PATCH] Release 0.20.2
---
docs/generated/changelog.html | 2 +
e2e/browser/package.json | 36 +-----
e2e/node/package.json | 49 +-------
package-lock.json | 4 +-
package.json | 151 +----------------------
packages/agent/package.json | 86 +------------
packages/assets/package.json | 85 +------------
packages/auth-client/package.json | 81 +-----------
packages/bls-verify/package.json | 67 +---------
packages/candid/package.json | 76 +-----------
packages/identity-secp256k1/package.json | 30 +----
packages/identity/package.json | 78 +-----------
packages/principal/package.json | 71 +----------
13 files changed, 15 insertions(+), 801 deletions(-)
diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html
index 4a8fb591..492079f9 100644
--- a/docs/generated/changelog.html
+++ b/docs/generated/changelog.html
@@ -13,6 +13,8 @@
Agent-JS Changelog
Version x.x.x
Version 0.20.2
+
+ Version 0.20.2
- chore: lowering prettier version for CI
- fix: restoring localhost to list of known hosts
diff --git a/e2e/browser/package.json b/e2e/browser/package.json
index 5d5b0dc8..8d5a3c8a 100644
--- a/e2e/browser/package.json
+++ b/e2e/browser/package.json
@@ -1,35 +1 @@
-{
- "private": true,
- "name": "@do-not-publish/ic-cypress-e2e-tests",
- "version": "0.20.1",
- "scripts": {
- "ci": "npm run e2e",
- "setup": "dfx deploy; dfx generate; pm2 --name parcel start npm -- start",
- "cypress": "cypress run",
- "e2e": "npm run cypress",
- "poste2e": "pm2 kill",
- "eslint:fix": "npm run lint -- --fix",
- "eslint": "eslint --ext '.js,.jsx,.ts,.tsx' cypress *.js",
- "lint": "npm run eslint",
- "build": "",
- "lint:fix": "npm run lint -- --fix",
- "test:coverage": "",
- "test": "",
- "start": "parcel src/index.html"
- },
- "devDependencies": {
- "@types/node": "^18.0.6",
- "concurrently": "^7.3.0",
- "cypress": "^13.2.0",
- "esbuild": "^0.15.16",
- "parcel": "^2.6.2",
- "pm2": "^5.3.0",
- "size-limit": "^8.1.0"
- },
- "dependencies": {
- "@dfinity/agent": "^0.20.1",
- "@dfinity/identity": "^0.20.1",
- "@dfinity/principal": "^0.20.1",
- "idb-keyval": "^6.2.0"
- }
-}
+{"private":true,"name":"@do-not-publish/ic-cypress-e2e-tests","version":"0.20.2","scripts":{"ci":"npm run e2e","setup":"dfx deploy; dfx generate; pm2 --name parcel start npm -- start","cypress":"cypress run","e2e":"npm run cypress","poste2e":"pm2 kill","eslint:fix":"npm run lint -- --fix","eslint":"eslint --ext '.js,.jsx,.ts,.tsx' cypress *.js","lint":"npm run eslint","build":"","lint:fix":"npm run lint -- --fix","test:coverage":"","test":"","start":"parcel src/index.html"},"devDependencies":{"@types/node":"^18.0.6","concurrently":"^7.3.0","cypress":"^13.2.0","esbuild":"^0.15.16","parcel":"^2.6.2","pm2":"^5.3.0","size-limit":"^8.1.0"},"dependencies":{"@dfinity/agent":"^0.20.2","@dfinity/identity":"^0.20.2","@dfinity/principal":"^0.20.2","idb-keyval":"^6.2.0"}}
\ No newline at end of file
diff --git a/e2e/node/package.json b/e2e/node/package.json
index b964baac..9a474278 100644
--- a/e2e/node/package.json
+++ b/e2e/node/package.json
@@ -1,48 +1 @@
-{
- "private": true,
- "name": "@do-not-publish/ic-node-e2e-tests",
- "version": "0.20.1",
- "type": "module",
- "scripts": {
- "ci": "npm run e2e",
- "e2e": "vitest",
- "eslint:fix": "npm run lint -- --fix",
- "eslint": "eslint --ext '.js,.jsx,.ts,.tsx' basic canisters utils *.ts",
- "lint": "npm run eslint",
- "mitm": "MITM=true vitest ./basic/mitm.test.ts",
- "build": "",
- "lint:fix": "npm run lint -- --fix",
- "test:coverage": "",
- "test": ""
- },
- "dependencies": {
- "@dfinity/agent": "^0.20.1",
- "@dfinity/assets": "^0.20.1",
- "@dfinity/identity": "^0.20.1",
- "@dfinity/principal": "^0.20.1",
- "whatwg-fetch": "^3.6.2"
- },
- "devDependencies": {
- "@peculiar/webcrypto": "^1.4.0",
- "@trust/webcrypto": "^0.9.2",
- "@tsconfig/node16": "^1.0.3",
- "@tsconfig/node17": "^1.0.1",
- "@types/base64-js": "^1.3.0",
- "@types/isomorphic-fetch": "^0.0.36",
- "@types/text-encoding": "^0.0.36",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "esbuild": "^0.15.16",
- "eslint": "^8.19.0",
- "eslint-plugin-jsdoc": "^39.3.3",
- "isomorphic-fetch": "^3.0.0",
- "locus": "^2.0.4",
- "node-webcrypto-p11": "^2.5.0",
- "size-limit": "^8.2.6",
- "text-encoding": "^0.7.0",
- "ts-node": "^10.8.2",
- "typescript": "^5.2.2",
- "vitest": "^0.34.6",
- "webcrypto-core": "^1.7.5"
- }
-}
+{"private":true,"name":"@do-not-publish/ic-node-e2e-tests","version":"0.20.2","type":"module","scripts":{"ci":"npm run e2e","e2e":"vitest","eslint:fix":"npm run lint -- --fix","eslint":"eslint --ext '.js,.jsx,.ts,.tsx' basic canisters utils *.ts","lint":"npm run eslint","mitm":"MITM=true vitest ./basic/mitm.test.ts","build":"","lint:fix":"npm run lint -- --fix","test:coverage":"","test":""},"dependencies":{"@dfinity/agent":"^0.20.2","@dfinity/assets":"^0.20.2","@dfinity/identity":"^0.20.2","@dfinity/principal":"^0.20.2","whatwg-fetch":"^3.6.2"},"devDependencies":{"@peculiar/webcrypto":"^1.4.0","@trust/webcrypto":"^0.9.2","@tsconfig/node16":"^1.0.3","@tsconfig/node17":"^1.0.1","@types/base64-js":"^1.3.0","@types/isomorphic-fetch":"^0.0.36","@types/text-encoding":"^0.0.36","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","esbuild":"^0.15.16","eslint":"^8.19.0","eslint-plugin-jsdoc":"^39.3.3","isomorphic-fetch":"^3.0.0","locus":"^2.0.4","node-webcrypto-p11":"^2.5.0","size-limit":"^8.2.6","text-encoding":"^0.7.0","ts-node":"^10.8.2","typescript":"^5.2.2","vitest":"^0.34.6","webcrypto-core":"^1.7.5"}}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 1601d915..3f9ec480 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@dfinity/agent-monorepo",
- "version": "0.20.1",
+ "version": "0.20.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@dfinity/agent-monorepo",
- "version": "0.20.1",
+ "version": "0.20.2",
"license": "Apache-2.0",
"devDependencies": {
"@jest/types": "^29.6.3",
diff --git a/package.json b/package.json
index 1c9d0922..b32b170e 100644
--- a/package.json
+++ b/package.json
@@ -1,150 +1 @@
-{
- "name": "@dfinity/agent-monorepo",
- "version": "0.20.1",
- "private": true,
- "description": "Use an Agent to interact with the Internet Computer from your JavaScript program.",
- "workspaces": {
- "packages": [
- "packages/principal",
- "packages/candid",
- "packages/agent",
- "packages/bls-verify",
- "packages/identity",
- "packages/auth-client",
- "packages/assets",
- "packages/identity-secp256k1",
- "e2e/browser",
- "e2e/node"
- ]
- },
- "devDependencies": {
- "@jest/types": "^29.6.3",
- "@size-limit/preset-small-lib": "^9.0.0",
- "@types/jest": "^29.5.5",
- "@types/node": "^20.8.6",
- "@typescript-eslint/eslint-plugin": "^6.8.0",
- "@typescript-eslint/parser": "^6.8.0",
- "eslint": "^8.51.0",
- "eslint-plugin-cypress": "^2.15.1",
- "eslint-plugin-jsdoc": "^46.8.2",
- "eslint-plugin-prettier": "^4.2.1",
- "fs": "^0.0.1-security",
- "husky": "^8.0.3",
- "jest": "^29.7.0",
- "jest-cli": "^29.7.0",
- "jest-environment-jsdom": "29.7.0",
- "jest-environment-node": "^29.7.0",
- "os": "^0.1.2",
- "path": "^0.12.7",
- "prettier": "^2.8.8",
- "pretty-quick": "^3.1.3",
- "release-it": "^16.2.1",
- "size-limit": "^10.0.2",
- "size-limit-node-esbuild": "^0.2.0",
- "ts-jest": "^29.1.1",
- "ts-node": "^10.9.1",
- "typedoc": "^0.25.2",
- "typescript": "^5.2.2",
- "url": "^0.11.3",
- "webcrypto-core": "^1.7.7",
- "yargs": "^17.7.2"
- },
- "engines": {
- "node": "^12 || ^14 || ^16 || >=17",
- "npm": "^7.17 || >=8"
- },
- "scripts": {
- "lint:e2e": "eslint --cache --cache-location node_modules/.cache/eslint 'e2e/*/**/*.ts*'",
- "build": "npm run build --workspaces --if-present; npm run bundle --workspaces --if-present",
- "lint:fix": "",
- "make:docs": "npm run make:docs/reference --workspaces --if-present; ",
- "release": "release-it",
- "size": "size-limit --json",
- "test:coverage": "",
- "test": "jest",
- "test-size": "esbuild",
- "prepare": "husky install",
- "prettier:check": "npx -p prettier -p pretty-quick pretty-quick --check",
- "prettier:format": "npx -p prettier -p pretty-quick pretty-quick",
- "postversion": "npm run prettier:format"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/dfinity-lab/agent-js.git"
- },
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "bugs": {
- "url": "https://github.com/dfinity-lab/agent-js/issues"
- },
- "homepage": "https://github.com/dfinity-lab/agent-js#readme",
- "size-limit": [
- {
- "name": "@dfinity/agent",
- "path": "./packages/agent/dist/index.js",
- "limit": "105 kB"
- },
- {
- "name": "@dfinity/candid",
- "path": "./packages/candid/dist/index.js",
- "limit": "20 kb"
- },
- {
- "name": "@dfinity/principal",
- "path": "./packages/principal/dist/index.js",
- "limit": "10 kB"
- },
- {
- "name": "@dfinity/auth-client",
- "path": "./packages/auth-client/dist/index.js",
- "limit": "320 kB"
- },
- {
- "name": "@dfinity/assets",
- "path": "./packages/assets/dist/index.js",
- "limit": "100 kB"
- },
- {
- "name": "@dfinity/identity",
- "path": "./packages/identity/dist/index.js",
- "limit": "100 kB"
- },
- {
- "name": "@dfinity/identity-secp256k1",
- "path": "./packages/identity-secp256k1/dist/index.js",
- "limit": "265 kB"
- }
- ],
- "release-it": {
- "hooks": {
- "after:bump": [
- "ts-node bin/version.ts ${version}",
- "ts-node bin/roll-changelog.ts ${version}"
- ],
- "before:release": [
- "git pull",
- "git checkout release/${version} 2>/dev/null || git checkout -b release/${version}",
- "git merge main",
- "git push --set-upstream origin release/${version}"
- ],
- "after:release": [
- "gh pr create --base main --title 'chore: release ${version}' --body 'GitHub Release: ${releaseUrl}\nNPM release: https://www.npmjs.com/package/@dfinity/agent/v/${version}'"
- ]
- },
- "git": {
- "requireBranch": "main",
- "tagName": "v${version}",
- "pushArgs": [
- "--force-with-lease"
- ]
- },
- "npm": {
- "publish": false
- },
- "github": {
- "release": true,
- "draft": true,
- "autoGenerate": true
- }
- }
-}
+{"name":"@dfinity/agent-monorepo","version":"0.20.2","private":true,"description":"Use an Agent to interact with the Internet Computer from your JavaScript program.","workspaces":{"packages":["packages/principal","packages/candid","packages/agent","packages/bls-verify","packages/identity","packages/auth-client","packages/assets","packages/identity-secp256k1","e2e/browser","e2e/node"]},"devDependencies":{"@jest/types":"^29.6.3","@size-limit/preset-small-lib":"^9.0.0","@types/jest":"^29.5.5","@types/node":"^20.8.6","@typescript-eslint/eslint-plugin":"^6.8.0","@typescript-eslint/parser":"^6.8.0","eslint":"^8.51.0","eslint-plugin-cypress":"^2.15.1","eslint-plugin-jsdoc":"^46.8.2","eslint-plugin-prettier":"^4.2.1","fs":"^0.0.1-security","husky":"^8.0.3","jest":"^29.7.0","jest-cli":"^29.7.0","jest-environment-jsdom":"29.7.0","jest-environment-node":"^29.7.0","os":"^0.1.2","path":"^0.12.7","prettier":"^2.8.8","pretty-quick":"^3.1.3","release-it":"^16.2.1","size-limit":"^10.0.2","size-limit-node-esbuild":"^0.2.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.2","typescript":"^5.2.2","url":"^0.11.3","webcrypto-core":"^1.7.7","yargs":"^17.7.2"},"engines":{"node":"^12 || ^14 || ^16 || >=17","npm":"^7.17 || >=8"},"scripts":{"lint:e2e":"eslint --cache --cache-location node_modules/.cache/eslint 'e2e/*/**/*.ts*'","build":"npm run build --workspaces --if-present; npm run bundle --workspaces --if-present","lint:fix":"","make:docs":"npm run make:docs/reference --workspaces --if-present; ","release":"release-it","size":"size-limit --json","test:coverage":"","test":"jest","test-size":"esbuild","prepare":"husky install","prettier:check":"npx -p prettier -p pretty-quick pretty-quick --check","prettier:format":"npx -p prettier -p pretty-quick pretty-quick","postversion":"npm run prettier:format"},"repository":{"type":"git","url":"git+https://github.com/dfinity-lab/agent-js.git"},"author":"DFINITY Stiftung ","license":"Apache-2.0","bugs":{"url":"https://github.com/dfinity-lab/agent-js/issues"},"homepage":"https://github.com/dfinity-lab/agent-js#readme","size-limit":[{"name":"@dfinity/agent","path":"./packages/agent/dist/index.js","limit":"105 kB"},{"name":"@dfinity/candid","path":"./packages/candid/dist/index.js","limit":"20 kb"},{"name":"@dfinity/principal","path":"./packages/principal/dist/index.js","limit":"10 kB"},{"name":"@dfinity/auth-client","path":"./packages/auth-client/dist/index.js","limit":"320 kB"},{"name":"@dfinity/assets","path":"./packages/assets/dist/index.js","limit":"100 kB"},{"name":"@dfinity/identity","path":"./packages/identity/dist/index.js","limit":"100 kB"},{"name":"@dfinity/identity-secp256k1","path":"./packages/identity-secp256k1/dist/index.js","limit":"265 kB"}],"release-it":{"hooks":{"after:bump":["ts-node bin/version.ts ${version}","ts-node bin/roll-changelog.ts ${version}"],"before:release":["git pull","git checkout release/${version} 2>/dev/null || git checkout -b release/${version}","git merge main","git push --set-upstream origin release/${version}"],"after:release":["gh pr create --base main --title 'chore: release ${version}' --body 'GitHub Release: ${releaseUrl}\nNPM release: https://www.npmjs.com/package/@dfinity/agent/v/${version}'"]},"git":{"requireBranch":"main","tagName":"v${version}","pushArgs":["--force-with-lease"]},"npm":{"publish":false},"github":{"release":true,"draft":true,"autoGenerate":true}}}
\ No newline at end of file
diff --git a/packages/agent/package.json b/packages/agent/package.json
index 84295aae..e6b16ebf 100644
--- a/packages/agent/package.json
+++ b/packages/agent/package.json
@@ -1,85 +1 @@
-{
- "name": "@dfinity/agent",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "JavaScript and TypeScript library to interact with the Internet Computer",
- "homepage": "https://internetcomputer.org",
- "repository": {
- "type": "git",
- "url": "https://github.com/dfinity/agent-js.git",
- "directory": "packages/agent"
- },
- "bugs": {
- "url": "https://github.com/dfinity/agent-js/issues"
- },
- "keywords": [
- "internet computer",
- "internet-computer",
- "ic",
- "dfinity",
- "agent",
- "actor",
- "dfx",
- "canister",
- "candid",
- "motoko",
- "javascript",
- "typescript",
- "blockchain",
- "crypto",
- "distributed",
- "api",
- "sdk"
- ],
- "main": "./lib/cjs/index",
- "module": "./lib/esm/index",
- "unpkg": "./lib/esm/index",
- "scripts": {
- "build": "tsc -b && tsc -p tsconfig-cjs.json",
- "build:watch": "tsc -b --watch",
- "bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js",
- "eslint:fix": "npm run lint -- --fix",
- "eslint": "eslint --ext '.js,.jsx,.ts,.tsx' src/index.ts src/auth.ts src/request_id.ts src/request_id.test.ts",
- "lint": "npm run eslint",
- "make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/agent --excludeInternal",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "peerDependencies": {
- "@dfinity/candid": "^0.20.1",
- "@dfinity/principal": "^0.20.1"
- },
- "dependencies": {
- "@noble/curves": "^1.2.0",
- "@noble/hashes": "^1.3.1",
- "base64-arraybuffer": "^0.2.0",
- "borc": "^2.1.1",
- "buffer": "^6.0.3",
- "simple-cbor": "^0.4.1"
- },
- "devDependencies": {
- "@dfinity/utils": "^0.0.22",
- "@peculiar/webcrypto": "^1.4.3",
- "@trust/webcrypto": "^0.9.2",
- "@types/jest": "^29.5.5",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "esbuild": "^0.15.16",
- "eslint": "^8.19.0",
- "isomorphic-fetch": "^3.0.0",
- "jest": "^29.7.0",
- "size-limit": "^8.2.6",
- "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": "100 kB",
- "webpack": false
- }
- ]
-}
+{"name":"@dfinity/agent","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"JavaScript and TypeScript library to interact with the Internet Computer","homepage":"https://internetcomputer.org","repository":{"type":"git","url":"https://github.com/dfinity/agent-js.git","directory":"packages/agent"},"bugs":{"url":"https://github.com/dfinity/agent-js/issues"},"keywords":["internet computer","internet-computer","ic","dfinity","agent","actor","dfx","canister","candid","motoko","javascript","typescript","blockchain","crypto","distributed","api","sdk"],"main":"./lib/cjs/index","module":"./lib/esm/index","unpkg":"./lib/esm/index","scripts":{"build":"tsc -b && tsc -p tsconfig-cjs.json","build:watch":"tsc -b --watch","bundle":"esbuild --bundle src/index.ts --outfile=dist/index.js","eslint:fix":"npm run lint -- --fix","eslint":"eslint --ext '.js,.jsx,.ts,.tsx' src/index.ts src/auth.ts src/request_id.ts src/request_id.test.ts","lint":"npm run eslint","make:docs/reference":"typedoc src/index.ts --out ../../docs/generated/agent --excludeInternal","test":"jest","test:coverage":"jest --collectCoverage"},"peerDependencies":{"@dfinity/candid":"^0.20.2","@dfinity/principal":"^0.20.2"},"dependencies":{"@noble/curves":"^1.2.0","@noble/hashes":"^1.3.1","base64-arraybuffer":"^0.2.0","borc":"^2.1.1","buffer":"^6.0.3","simple-cbor":"^0.4.1"},"devDependencies":{"@dfinity/utils":"^0.0.22","@peculiar/webcrypto":"^1.4.3","@trust/webcrypto":"^0.9.2","@types/jest":"^29.5.5","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","esbuild":"^0.15.16","eslint":"^8.19.0","isomorphic-fetch":"^3.0.0","jest":"^29.7.0","size-limit":"^8.2.6","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":"100 kB","webpack":false}]}
\ No newline at end of file
diff --git a/packages/assets/package.json b/packages/assets/package.json
index 7cc316d2..4c9c9b78 100644
--- a/packages/assets/package.json
+++ b/packages/assets/package.json
@@ -1,84 +1 @@
-{
- "name": "@dfinity/assets",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "JavaScript and TypeScript library to manage assets on the Internet Computer",
- "homepage": "https://internetcomputer.org",
- "repository": {
- "type": "git",
- "url": "https://github.com/dfinity/agent-js.git",
- "directory": "packages/assets"
- },
- "bugs": {
- "url": "https://github.com/dfinity/agent-js/issues"
- },
- "keywords": [
- "internet computer",
- "internet-computer",
- "ic",
- "dfinity",
- "assets",
- "asset",
- "file",
- "upload",
- "agent",
- "actor",
- "dfx",
- "canister",
- "motoko",
- "javascript",
- "typescript",
- "blockchain",
- "crypto",
- "distributed",
- "api",
- "sdk"
- ],
- "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/generated/assets",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "peerDependencies": {
- "@dfinity/agent": "^0.20.1",
- "@dfinity/principal": "^0.20.1",
- "@noble/hashes": "^1.3.1"
- },
- "dependencies": {
- "base64-arraybuffer": "^1.0.2",
- "mime": "^3.0.0"
- },
- "devDependencies": {
- "@peculiar/webcrypto": "^1.4.0",
- "@types/jest": "^29.5.5",
- "@types/mime": "^2.0.3",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "@web-std/file": "^3.0.2",
- "esbuild": "^0.15.16",
- "eslint": "^8.19.0",
- "jest": "^29.7.0",
- "size-limit": "^8.2.6",
- "typedoc": "^0.22.11"
- },
- "browser": {
- "fs": "./lib/cjs/utils/browserShim.js",
- "path": "./lib/cjs/utils/browserShim.js"
- },
- "size-limit": [
- {
- "path": "./dist/index.js",
- "limit": "100 kB",
- "webpack": false
- }
- ]
-}
+{"name":"@dfinity/assets","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"JavaScript and TypeScript library to manage assets on the Internet Computer","homepage":"https://internetcomputer.org","repository":{"type":"git","url":"https://github.com/dfinity/agent-js.git","directory":"packages/assets"},"bugs":{"url":"https://github.com/dfinity/agent-js/issues"},"keywords":["internet computer","internet-computer","ic","dfinity","assets","asset","file","upload","agent","actor","dfx","canister","motoko","javascript","typescript","blockchain","crypto","distributed","api","sdk"],"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/generated/assets","test":"jest","test:coverage":"jest --collectCoverage"},"peerDependencies":{"@dfinity/agent":"^0.20.2","@dfinity/principal":"^0.20.2","@noble/hashes":"^1.3.1"},"dependencies":{"base64-arraybuffer":"^1.0.2","mime":"^3.0.0"},"devDependencies":{"@peculiar/webcrypto":"^1.4.0","@types/jest":"^29.5.5","@types/mime":"^2.0.3","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","@web-std/file":"^3.0.2","esbuild":"^0.15.16","eslint":"^8.19.0","jest":"^29.7.0","size-limit":"^8.2.6","typedoc":"^0.22.11"},"browser":{"fs":"./lib/cjs/utils/browserShim.js","path":"./lib/cjs/utils/browserShim.js"},"size-limit":[{"path":"./dist/index.js","limit":"100 kB","webpack":false}]}
\ No newline at end of file
diff --git a/packages/auth-client/package.json b/packages/auth-client/package.json
index af71c6ce..1df42a9a 100644
--- a/packages/auth-client/package.json
+++ b/packages/auth-client/package.json
@@ -1,80 +1 @@
-{
- "name": "@dfinity/auth-client",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "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/generated/auth-client --excludeInternal",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "peerDependencies": {
- "@dfinity/agent": "^0.20.1",
- "@dfinity/identity": "^0.20.1",
- "@dfinity/principal": "^0.20.1"
- },
- "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.15.16",
- "eslint": "^8.19.0",
- "fake-indexeddb": "^4.0.0",
- "jest": "^29.7.0",
- "jest-environment-jsdom": "^28.1.2",
- "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
- }
- ]
-}
+{"name":"@dfinity/auth-client","version":"0.20.2","author":"DFINITY Stiftung ","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/generated/auth-client --excludeInternal","test":"jest","test:coverage":"jest --collectCoverage"},"peerDependencies":{"@dfinity/agent":"^0.20.2","@dfinity/identity":"^0.20.2","@dfinity/principal":"^0.20.2"},"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.15.16","eslint":"^8.19.0","fake-indexeddb":"^4.0.0","jest":"^29.7.0","jest-environment-jsdom":"^28.1.2","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}]}
\ No newline at end of file
diff --git a/packages/bls-verify/package.json b/packages/bls-verify/package.json
index 86d89e24..3d12f45c 100644
--- a/packages/bls-verify/package.json
+++ b/packages/bls-verify/package.json
@@ -1,66 +1 @@
-{
- "name": "@dfinity/bls-verify",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "bls verification strategy in JavaScript",
- "homepage": "https://internetcomputer.org",
- "repository": {
- "type": "git",
- "url": "https://github.com/dfinity/agent-js.git",
- "directory": "packages/bls-verify"
- },
- "bugs": {
- "url": "https://github.com/dfinity/agent-js/issues"
- },
- "type": "module",
- "keywords": [
- "internet computer",
- "ic",
- "dfinity",
- "canister",
- "webauthn",
- "identity",
- "principal",
- "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 --platform=node",
- "size-limit": "size-limit",
- "ci": "npm run prettier && npm run lint && npm run test",
- "lint": "eslint 'src' --ext '.js,.jsx,.ts,.tsx'",
- "lint:fix": "npm run lint -- --fix",
- "make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/bls-verify --excludeInternal",
- "test": "jest",
- "prettier": "prettier --check \"src/**/*.ts\"",
- "prettier:write": "npm run prettier -- --write"
- },
- "dependencies": {
- "amcl-js": "file:src/vendor/amcl-js"
- },
- "devDependencies": {
- "@types/jest": "^29.5.5",
- "esbuild": "^0.15.16",
- "jest": "^29.7.0",
- "size-limit": "^8.1.0"
- },
- "size-limit": [
- {
- "path": "./dist/index.js",
- "limit": "100 kB",
- "webpack": false
- }
- ]
-}
+{"name":"@dfinity/bls-verify","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"bls verification strategy in JavaScript","homepage":"https://internetcomputer.org","repository":{"type":"git","url":"https://github.com/dfinity/agent-js.git","directory":"packages/bls-verify"},"bugs":{"url":"https://github.com/dfinity/agent-js/issues"},"type":"module","keywords":["internet computer","ic","dfinity","canister","webauthn","identity","principal","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 --platform=node","size-limit":"size-limit","ci":"npm run prettier && npm run lint && npm run test","lint":"eslint 'src' --ext '.js,.jsx,.ts,.tsx'","lint:fix":"npm run lint -- --fix","make:docs/reference":"typedoc src/index.ts --out ../../docs/generated/bls-verify --excludeInternal","test":"jest","prettier":"prettier --check \"src/**/*.ts\"","prettier:write":"npm run prettier -- --write"},"dependencies":{"amcl-js":"file:src/vendor/amcl-js"},"devDependencies":{"@types/jest":"^29.5.5","esbuild":"^0.15.16","jest":"^29.7.0","size-limit":"^8.1.0"},"size-limit":[{"path":"./dist/index.js","limit":"100 kB","webpack":false}]}
\ No newline at end of file
diff --git a/packages/candid/package.json b/packages/candid/package.json
index d80cf09b..7e1ee300 100644
--- a/packages/candid/package.json
+++ b/packages/candid/package.json
@@ -1,75 +1 @@
-{
- "name": "@dfinity/candid",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "JavaScript and TypeScript library to work with candid interfaces",
- "homepage": "https://internetcomputer.org",
- "repository": {
- "type": "git",
- "url": "https://github.com/dfinity/agent-js.git",
- "directory": "packages/candid"
- },
- "bugs": {
- "url": "https://github.com/dfinity/agent-js/issues"
- },
- "keywords": [
- "internet computer",
- "ic",
- "dfinity",
- "canister",
- "webauthn",
- "identity",
- "principal",
- "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",
- "ci": "npm run prettier && npm run lint && npm run test",
- "lint": "eslint 'src' --ext '.js,.jsx,.ts,.tsx'",
- "lint:fix": "npm run lint -- --fix",
- "make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/candid --excludeInternal",
- "prettier": "prettier --check \"src/**/*.ts\"",
- "prettier:write": "npm run prettier -- --write",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "peerDependencies": {
- "@dfinity/principal": "^0.20.1"
- },
- "devDependencies": {
- "@types/jest": "^29.5.5",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "esbuild": "^0.15.16",
- "eslint": "^8.19.0",
- "jest": "^29.7.0",
- "jest-diff": "^27.3.1",
- "prettier": "^2.0.5",
- "size-limit": "^8.2.6",
- "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": "100 kB",
- "webpack": false
- }
- ]
-}
+{"name":"@dfinity/candid","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"JavaScript and TypeScript library to work with candid interfaces","homepage":"https://internetcomputer.org","repository":{"type":"git","url":"https://github.com/dfinity/agent-js.git","directory":"packages/candid"},"bugs":{"url":"https://github.com/dfinity/agent-js/issues"},"keywords":["internet computer","ic","dfinity","canister","webauthn","identity","principal","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","ci":"npm run prettier && npm run lint && npm run test","lint":"eslint 'src' --ext '.js,.jsx,.ts,.tsx'","lint:fix":"npm run lint -- --fix","make:docs/reference":"typedoc src/index.ts --out ../../docs/generated/candid --excludeInternal","prettier":"prettier --check \"src/**/*.ts\"","prettier:write":"npm run prettier -- --write","test":"jest","test:coverage":"jest --collectCoverage"},"peerDependencies":{"@dfinity/principal":"^0.20.2"},"devDependencies":{"@types/jest":"^29.5.5","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","esbuild":"^0.15.16","eslint":"^8.19.0","jest":"^29.7.0","jest-diff":"^27.3.1","prettier":"^2.0.5","size-limit":"^8.2.6","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":"100 kB","webpack":false}]}
\ No newline at end of file
diff --git a/packages/identity-secp256k1/package.json b/packages/identity-secp256k1/package.json
index d49c70a0..9a904cb1 100644
--- a/packages/identity-secp256k1/package.json
+++ b/packages/identity-secp256k1/package.json
@@ -1,29 +1 @@
-{
- "name": "@dfinity/identity-secp256k1",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "JavaScript and TypeScript library to manage Secp256k1KeyIdentities for use with the Internet Computer",
- "main": "./lib/cjs/index.js",
- "scripts": {
- "build": "tsc -b && tsc -p tsconfig-cjs.json",
- "eslint": "eslint --ext '.js,.jsx,.ts,.tsx'",
- "make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/identity-secp256k1 --excludeInternal",
- "bundle": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "dependencies": {
- "@dfinity/agent": "^0.20.1",
- "@noble/hashes": "^1.3.1",
- "bip39": "^3.1.0",
- "bs58check": "^3.0.1",
- "hdkey": "^2.1.0",
- "secp256k1": "^5.0.0"
- },
- "devDependencies": {
- "@types/bs58check": "^2.1.0",
- "@types/hdkey": "^2.0.3",
- "@types/secp256k1": "^4.0.6"
- }
-}
+{"name":"@dfinity/identity-secp256k1","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"JavaScript and TypeScript library to manage Secp256k1KeyIdentities for use with the Internet Computer","main":"./lib/cjs/index.js","scripts":{"build":"tsc -b && tsc -p tsconfig-cjs.json","eslint":"eslint --ext '.js,.jsx,.ts,.tsx'","make:docs/reference":"typedoc src/index.ts --out ../../docs/generated/identity-secp256k1 --excludeInternal","bundle":"esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node","test":"jest","test:coverage":"jest --collectCoverage"},"dependencies":{"@dfinity/agent":"^0.20.2","@noble/hashes":"^1.3.1","bip39":"^3.1.0","bs58check":"^3.0.1","hdkey":"^2.1.0","secp256k1":"^5.0.0"},"devDependencies":{"@types/bs58check":"^2.1.0","@types/hdkey":"^2.0.3","@types/secp256k1":"^4.0.6"}}
\ No newline at end of file
diff --git a/packages/identity/package.json b/packages/identity/package.json
index 6b36acca..2746c1a0 100644
--- a/packages/identity/package.json
+++ b/packages/identity/package.json
@@ -1,77 +1 @@
-{
- "name": "@dfinity/identity",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "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/generated/identity",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "peerDependencies": {
- "@dfinity/agent": "^0.20.1",
- "@dfinity/principal": "^0.20.1",
- "@peculiar/webcrypto": "^1.4.0"
- },
- "dependencies": {
- "@noble/curves": "^1.2.0",
- "@noble/hashes": "^1.3.1",
- "borc": "^2.1.1"
- },
- "devDependencies": {
- "@types/jest": "^29.5.5",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "esbuild": "^0.15.16",
- "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
- }
- ]
-}
+{"name":"@dfinity/identity","version":"0.20.2","author":"DFINITY Stiftung ","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/generated/identity","test":"jest","test:coverage":"jest --collectCoverage"},"peerDependencies":{"@dfinity/agent":"^0.20.2","@dfinity/principal":"^0.20.2","@peculiar/webcrypto":"^1.4.0"},"dependencies":{"@noble/curves":"^1.2.0","@noble/hashes":"^1.3.1","borc":"^2.1.1"},"devDependencies":{"@types/jest":"^29.5.5","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","esbuild":"^0.15.16","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}]}
\ No newline at end of file
diff --git a/packages/principal/package.json b/packages/principal/package.json
index 449b73f6..9f9e0185 100644
--- a/packages/principal/package.json
+++ b/packages/principal/package.json
@@ -1,70 +1 @@
-{
- "name": "@dfinity/principal",
- "version": "0.20.1",
- "author": "DFINITY Stiftung ",
- "license": "Apache-2.0",
- "description": "JavaScript and TypeScript library to work with Internet Computer principals",
- "homepage": "https://internetcomputer.org",
- "repository": {
- "type": "git",
- "url": "https://github.com/dfinity/agent-js.git",
- "directory": "packages/principal"
- },
- "bugs": {
- "url": "https://github.com/dfinity/agent-js/issues"
- },
- "keywords": [
- "internet computer",
- "ic",
- "dfinity",
- "canister",
- "webauthn",
- "identity",
- "principal",
- "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/generated/principal --excludeInternal",
- "test": "jest",
- "test:coverage": "jest --collectCoverage"
- },
- "devDependencies": {
- "@types/jest": "^29.5.5",
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "esbuild": "^0.15.16",
- "eslint": "^8.19.0",
- "jest": "^29.7.0",
- "size-limit": "^8.2.6",
- "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": "100 kB",
- "webpack": false
- }
- ],
- "dependencies": {
- "@noble/hashes": "^1.3.1"
- }
-}
+{"name":"@dfinity/principal","version":"0.20.2","author":"DFINITY Stiftung ","license":"Apache-2.0","description":"JavaScript and TypeScript library to work with Internet Computer principals","homepage":"https://internetcomputer.org","repository":{"type":"git","url":"https://github.com/dfinity/agent-js.git","directory":"packages/principal"},"bugs":{"url":"https://github.com/dfinity/agent-js/issues"},"keywords":["internet computer","ic","dfinity","canister","webauthn","identity","principal","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/generated/principal --excludeInternal","test":"jest","test:coverage":"jest --collectCoverage"},"devDependencies":{"@types/jest":"^29.5.5","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","esbuild":"^0.15.16","eslint":"^8.19.0","jest":"^29.7.0","size-limit":"^8.2.6","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":"100 kB","webpack":false}],"dependencies":{"@noble/hashes":"^1.3.1"}}
\ No newline at end of file