Skip to content

Commit

Permalink
Release @nucypher/taco:0.3.0 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Jul 8, 2024
2 parents 928e5c3 + cc82237 commit 6657bc3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion demos/taco-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@irys/sdk": "^0.1.16",
"@nucypher/taco": "^0.2.4",
"@nucypher/taco": "^0.3.0",
"@usedapp/core": "^1.2.13",
"buffer": "^6.0.3",
"ethers": "^5.7.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/taco-nft-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@nucypher/taco": "^0.2.4",
"@nucypher/taco": "^0.3.0",
"@usedapp/core": "^1.2.13",
"buffer": "^6.0.3",
"ethers": "^5.7.1",
Expand Down
7 changes: 6 additions & 1 deletion examples/taco/nodejs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ if (!consumerPrivateKey) {
const domain = process.env.DOMAIN || domains.TESTNET;
const ritualId = parseInt(process.env.RITUAL_ID || '0');
const provider = new ethers.providers.JsonRpcProvider(rpcProviderUrl);
const chainId = domain === domains.TESTNET ? 80002 : 137;
const CHAIN_ID_FOR_DOMAIN = {
[domains.MAINNET]: 137,
[domains.TESTNET]: 80002,
[domains.DEVNET]: 80002,
};
const chainId = CHAIN_ID_FOR_DOMAIN[domain];

console.log('Domain:', domain);
console.log('Ritual ID:', ritualId);
Expand Down
2 changes: 1 addition & 1 deletion packages/taco/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nucypher/taco",
"version": "0.2.7",
"version": "0.3.0",
"keywords": [
"taco",
"threshold",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6657bc3

Please sign in to comment.