Skip to content

Commit

Permalink
Merge pull request #1307 from privacy-scaling-explorations/dependabot…
Browse files Browse the repository at this point in the history
…/npm_and_yarn/dev/zk-kit/baby-jubjub-0.3.0

chore(deps): bump @zk-kit/baby-jubjub from 0.2.0 to 0.3.0
  • Loading branch information
0xmad authored Mar 19, 2024
2 parents 3729859 + e85f20d commit e0730d0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typedoc": "typedoc --plugin typedoc-plugin-markdown --options ./typedoc.json"
},
"dependencies": {
"@zk-kit/baby-jubjub": "^0.2.0",
"@zk-kit/baby-jubjub": "^0.3.0",
"@zk-kit/eddsa-poseidon": "^0.5.1",
"@zk-kit/poseidon-cipher": "^0.3.0",
"ethers": "^6.11.1"
Expand Down
2 changes: 1 addition & 1 deletion crypto/ts/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const packPubKey = (pubKey: PubKey): bigint => BigInt(packPublicKey(pubKe
*/
export const unpackPubKey = (packed: bigint): PubKey => {
const pubKey = unpackPublicKey(packed);
return pubKey.map((x: string) => BigInt(x)) as PubKey;
return pubKey.map((x) => BigInt(x)) as PubKey;
};

/**
Expand Down
25 changes: 21 additions & 4 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 e0730d0

Please sign in to comment.