diff --git a/demos/taco-demo/package.json b/demos/taco-demo/package.json index 79e22f3d7..3a10f4a1d 100644 --- a/demos/taco-demo/package.json +++ b/demos/taco-demo/package.json @@ -12,8 +12,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@nucypher/taco": "0.1.0-rc.6", - "@nucypher/shared": "0.1.0-rc.4", + "@nucypher/taco": "^0.1.0-rc.6", + "@nucypher/shared": "^0.1.0-rc.4", "@usedapp/core": "^1.2.13", "buffer": "^6.0.3", "ethers": "^5.7.1", diff --git a/demos/taco-nft-demo/package.json b/demos/taco-nft-demo/package.json index 1bf14e0a2..f970ff03b 100644 --- a/demos/taco-nft-demo/package.json +++ b/demos/taco-nft-demo/package.json @@ -12,8 +12,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@nucypher/taco": "0.1.0-rc.6", - "@nucypher/shared": "0.1.0-rc.4", + "@nucypher/taco": "^0.1.0-rc.6", + "@nucypher/shared": "^0.1.0-rc.4", "@usedapp/core": "^1.2.13", "buffer": "^6.0.3", "ethers": "^5.7.1", diff --git a/examples/pre/nextjs/package.json b/examples/pre/nextjs/package.json index 10889df9d..eaa1c5dcb 100644 --- a/examples/pre/nextjs/package.json +++ b/examples/pre/nextjs/package.json @@ -19,11 +19,6 @@ "ethers": "^5.7.2", "next": "14.0.3", "react": "18.2.0", - "react-dom": "18.2.0", - "typescript": "5.2.2" - }, - "peerDependencies": { - "ethers": "^5.7.2", - "typescript": "5.2.2" + "react-dom": "18.2.0" } } diff --git a/examples/pre/nodejs/package.json b/examples/pre/nodejs/package.json index dff9ae870..35a479f94 100644 --- a/examples/pre/nodejs/package.json +++ b/examples/pre/nodejs/package.json @@ -11,9 +11,7 @@ }, "dependencies": { "@nucypher/pre": "workspace:*", - "dotenv": "^16.3.1" - }, - "peerDependencies": { + "dotenv": "^16.3.1", "ethers": "^5.7.2" } } diff --git a/examples/pre/react/package.json b/examples/pre/react/package.json index b282e428d..ee1ec43fd 100644 --- a/examples/pre/react/package.json +++ b/examples/pre/react/package.json @@ -25,15 +25,13 @@ "dependencies": { "@nucypher/pre": "workspace:*", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "ethers": "^5.7.2" }, "devDependencies": { "@types/node": "^16.18.50", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.14", "react-scripts": "^5.0.1" - }, - "peerDependencies": { - "ethers": "^5.7.2" } } diff --git a/examples/pre/webpack-5/package.json b/examples/pre/webpack-5/package.json index a3863a3b5..14a0f6413 100644 --- a/examples/pre/webpack-5/package.json +++ b/examples/pre/webpack-5/package.json @@ -19,9 +19,7 @@ "esbuild-loader": "^2.11.0", "webpack": "^5.4.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.7.4" - }, - "peerDependencies": { + "webpack-dev-server": "^4.7.4", "ethers": "^5.7.2" } } diff --git a/examples/pre/webpack-5/src/index.ts b/examples/pre/webpack-5/src/index.ts index 4d132918a..eb555dc06 100644 --- a/examples/pre/webpack-5/src/index.ts +++ b/examples/pre/webpack-5/src/index.ts @@ -7,7 +7,7 @@ import { SecretKey, } from '@nucypher/pre'; import { ethers } from 'ethers'; -import { hexlify } from "ethers/lib/utils"; +import { hexlify } from 'ethers/lib/utils'; declare global { interface Window { diff --git a/examples/taco/nextjs/package.json b/examples/taco/nextjs/package.json index 80a36a531..2b4dfb69a 100644 --- a/examples/taco/nextjs/package.json +++ b/examples/taco/nextjs/package.json @@ -21,9 +21,5 @@ "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.2.2" - }, - "peerDependencies": { - "ethers": "^5.7.2", - "typescript": "5.2.2" } } diff --git a/examples/taco/nodejs/package.json b/examples/taco/nodejs/package.json index aa9eef320..ecf9cdb3b 100644 --- a/examples/taco/nodejs/package.json +++ b/examples/taco/nodejs/package.json @@ -11,9 +11,7 @@ }, "dependencies": { "@nucypher/taco": "workspace:*", - "dotenv": "^16.3.1" - }, - "peerDependencies": { + "dotenv": "^16.3.1", "ethers": "^5.7.2" } } diff --git a/examples/taco/webpack-5/src/index.ts b/examples/taco/webpack-5/src/index.ts index 09f9704e1..ebf81dd5c 100644 --- a/examples/taco/webpack-5/src/index.ts +++ b/examples/taco/webpack-5/src/index.ts @@ -9,7 +9,7 @@ import { toBytes, } from '@nucypher/taco'; import { ethers } from 'ethers'; -import { hexlify } from "ethers/lib/utils"; +import { hexlify } from 'ethers/lib/utils'; // eslint-disable-next-line @typescript-eslint/no-explicit-any declare const window: any; diff --git a/package.json b/package.json index 3a6a55ef5..08f4cc6a9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@changesets/cli": "^2.26.2", - "@nucypher/nucypher-core": "0.13.0-alpha.1" + "@nucypher/nucypher-core": "^0.13.0-alpha.1" }, "devDependencies": { "@skypack/package-check": "^0.2.2", diff --git a/packages/pre/package.json b/packages/pre/package.json index f094f91e2..82b475a75 100644 --- a/packages/pre/package.json +++ b/packages/pre/package.json @@ -38,15 +38,13 @@ "typedoc": "typedoc" }, "dependencies": { - "@nucypher/nucypher-core": "0.13.0-alpha.1", - "@nucypher/shared": "workspace:*" + "@nucypher/nucypher-core": "^0.13.0-alpha.1", + "@nucypher/shared": "workspace:*", + "ethers": "^5.7.2" }, "devDependencies": { "@nucypher/test-utils": "workspace:*" }, - "peerDependencies": { - "ethers": "^5.7.2" - }, "engines": { "node": ">=18", "pnpm": ">=8.0.0" diff --git a/packages/shared/package.json b/packages/shared/package.json index bf72346b1..bd36e52b2 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -42,8 +42,8 @@ "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/providers": "^5.7.2", - "@nucypher/nucypher-contracts": "0.12.0", - "@nucypher/nucypher-core": "0.13.0-alpha.1", + "@nucypher/nucypher-contracts": "^0.12.0", + "@nucypher/nucypher-core": "^0.13.0-alpha.1", "axios": "^1.6.2", "deep-equal": "^2.2.1", "ethers": "^5.7.2", diff --git a/packages/shared/scripts/typechain.ts b/packages/shared/scripts/typechain.ts index f7b2b1d35..c214dbf97 100644 --- a/packages/shared/scripts/typechain.ts +++ b/packages/shared/scripts/typechain.ts @@ -11,7 +11,6 @@ import { import * as tmp from 'tmp'; import { glob, runTypeChain } from 'typechain'; - const parseContractRegistry = (registry: ContractRegistry): Contract[] => Object.keys(registry) .map((chainId) => { diff --git a/packages/shared/src/contracts/agents/coordinator.ts b/packages/shared/src/contracts/agents/coordinator.ts index e4e65b6d6..71721cc6e 100644 --- a/packages/shared/src/contracts/agents/coordinator.ts +++ b/packages/shared/src/contracts/agents/coordinator.ts @@ -1,4 +1,4 @@ -import { getContract } from '@nucypher/nucypher-contracts' +import { getContract } from '@nucypher/nucypher-contracts'; import { DkgPublicKey, SessionStaticKey, diff --git a/packages/taco/package.json b/packages/taco/package.json index 549600ff2..23573d607 100644 --- a/packages/taco/package.json +++ b/packages/taco/package.json @@ -40,8 +40,9 @@ }, "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", - "@nucypher/nucypher-core": "0.13.0-alpha.1", - "@nucypher/shared": "0.1.0-rc.4", + "@nucypher/nucypher-core": "^0.13.0-alpha.1", + "@nucypher/shared": "^0.1.0-rc.4", + "ethers": "^5.7.2", "semver": "^7.5.2", "zod": "^3.22.4" }, @@ -50,8 +51,7 @@ "@types/semver": "^7.5.4" }, "peerDependencies": { - "@nucypher/shared": "workspace:*", - "ethers": "^5.7.2" + "@nucypher/shared": "workspace:*" }, "engines": { "node": ">=18", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 936cc471e..0a48d1635 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -29,7 +29,7 @@ "lint:fix": "pnpm lint --fix" }, "dependencies": { - "@nucypher/nucypher-core": "0.13.0-alpha.1", + "@nucypher/nucypher-core": "^0.13.0-alpha.1", "@nucypher/shared": "workspace:*", "axios": "^1.6.2", "ethers": "^5.7.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ee7525c7..ea4f9a006 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: specifier: ^2.26.2 version: 2.26.2 '@nucypher/nucypher-core': - specifier: 0.13.0-alpha.1 + specifier: ^0.13.0-alpha.1 version: 0.13.0-alpha.1 devDependencies: '@skypack/package-check': @@ -106,10 +106,10 @@ importers: demos/taco-demo: dependencies: '@nucypher/shared': - specifier: 0.1.0-rc.4 + specifier: ^0.1.0-rc.4 version: link:../../packages/shared '@nucypher/taco': - specifier: 0.1.0-rc.6 + specifier: ^0.1.0-rc.6 version: link:../../packages/taco '@usedapp/core': specifier: ^1.2.13 @@ -182,10 +182,10 @@ importers: demos/taco-nft-demo: dependencies: '@nucypher/shared': - specifier: 0.1.0-rc.4 + specifier: ^0.1.0-rc.4 version: link:../../packages/shared '@nucypher/taco': - specifier: 0.1.0-rc.6 + specifier: ^0.1.0-rc.6 version: link:../../packages/taco '@usedapp/core': specifier: ^1.2.13 @@ -287,9 +287,6 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) - typescript: - specifier: 5.2.2 - version: 5.2.2 examples/pre/nodejs: dependencies: @@ -336,9 +333,6 @@ importers: '@nucypher/pre': specifier: workspace:* version: link:../../../packages/pre - ethers: - specifier: ^5.7.2 - version: 5.7.2 devDependencies: copy-webpack-plugin: specifier: ^11.0.0 @@ -346,6 +340,9 @@ importers: esbuild-loader: specifier: ^2.11.0 version: 2.21.0(webpack@5.88.2) + ethers: + specifier: ^5.7.2 + version: 5.7.2 webpack: specifier: ^5.4.0 version: 5.88.2(webpack-cli@5.1.4) @@ -460,7 +457,7 @@ importers: packages/pre: dependencies: '@nucypher/nucypher-core': - specifier: 0.13.0-alpha.1 + specifier: ^0.13.0-alpha.1 version: 0.13.0-alpha.1 '@nucypher/shared': specifier: workspace:* @@ -482,10 +479,10 @@ importers: specifier: ^5.7.2 version: 5.7.2 '@nucypher/nucypher-contracts': - specifier: 0.12.0 + specifier: ^0.12.0 version: 0.12.0 '@nucypher/nucypher-core': - specifier: 0.13.0-alpha.1 + specifier: ^0.13.0-alpha.1 version: 0.13.0-alpha.1 axios: specifier: ^1.6.2 @@ -528,10 +525,10 @@ importers: specifier: ^5.7.0 version: 5.7.0 '@nucypher/nucypher-core': - specifier: 0.13.0-alpha.1 + specifier: ^0.13.0-alpha.1 version: 0.13.0-alpha.1 '@nucypher/shared': - specifier: 0.1.0-rc.4 + specifier: ^0.1.0-rc.4 version: link:../shared ethers: specifier: ^5.7.2 @@ -553,7 +550,7 @@ importers: packages/test-utils: dependencies: '@nucypher/nucypher-core': - specifier: 0.13.0-alpha.1 + specifier: ^0.13.0-alpha.1 version: 0.13.0-alpha.1 '@nucypher/shared': specifier: workspace:*