diff --git a/packages/app/package.json b/packages/app/package.json
index a781fd6..f0bda1a 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -6,7 +6,7 @@
     "@proof-of-twitter/contracts": "workspace:^",
     "@rainbow-me/rainbowkit": "^1.3.3",
     "@react-oauth/google": "^0.12.1",
-    "@zk-email/helpers": "4.0.0",
+    "@zk-email/helpers": "^6.1.3",
     "lodash": "^4.17.21",
     "react": "^17.0.2",
     "react-dom": "^17.0.2",
diff --git a/packages/circuits/helpers/generate-inputs.ts b/packages/circuits/helpers/generate-inputs.ts
index 4130efc..eb7f2ab 100644
--- a/packages/circuits/helpers/generate-inputs.ts
+++ b/packages/circuits/helpers/generate-inputs.ts
@@ -1,4 +1,4 @@
-import { bytesToBigInt, fromHex } from "@zk-email/helpers/dist/binaryFormat";
+import { bytesToBigInt, fromHex } from "@zk-email/helpers/dist/binary-format";
 import { generateEmailVerifierInputs } from "@zk-email/helpers/dist/input-generators";
 
 export const STRING_PRESELECTOR = "email was meant for @";
diff --git a/packages/circuits/package.json b/packages/circuits/package.json
index c61f1d8..a8bac2f 100644
--- a/packages/circuits/package.json
+++ b/packages/circuits/package.json
@@ -8,8 +8,8 @@
     "test": "NODE_OPTIONS=--max_old_space_size=16384 jest"
   },
   "dependencies": {
-    "@zk-email/circuits": "4.0.0",
-    "@zk-email/helpers": "4.0.0",
+    "@zk-email/circuits": "^6.1.3",
+    "@zk-email/helpers": "^6.1.3",
     "@zk-email/zk-regex-circom": "^1.1.1",
     "commander": "^11.1.0",
     "snarkjs": "git+https://github.com/vb7401/snarkjs.git#24981febe8826b6ab76ae4d76cf7f9142919d2b8"
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 6a7044f..e984ad7 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -7,7 +7,7 @@
   },
   "dependencies": {
     "@openzeppelin/contracts": "^5.0.0",
-    "@zk-email/contracts": "^6.0.0"
+    "@zk-email/contracts": "^6.1.3"
   },
   "devDependencies": {
     "forge-std": "git+https://github.com/foundry-rs/forge-std.git"
diff --git a/yarn.lock b/yarn.lock
index b18bc9c..11669d5 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2974,8 +2974,8 @@ __metadata:
     "@babel/preset-env": ^7.23.3
     "@babel/preset-typescript": ^7.23.3
     "@types/pako": ^2.0.3
-    "@zk-email/circuits": 4.0.0
-    "@zk-email/helpers": 4.0.0
+    "@zk-email/circuits": ^6.1.3
+    "@zk-email/helpers": ^6.1.3
     "@zk-email/zk-regex-circom": ^1.1.1
     babel-preset-jest: ^29.6.3
     chai: ^4.3.7
@@ -2996,7 +2996,7 @@ __metadata:
   resolution: "@proof-of-twitter/contracts@workspace:packages/contracts"
   dependencies:
     "@openzeppelin/contracts": ^5.0.0
-    "@zk-email/contracts": ^6.0.0
+    "@zk-email/contracts": ^6.1.3
     forge-std: "git+https://github.com/foundry-rs/forge-std.git"
   languageName: unknown
   linkType: soft
@@ -4514,23 +4514,23 @@ __metadata:
   languageName: node
   linkType: hard
 
-"@zk-email/circuits@npm:4.0.0":
-  version: 4.0.0
-  resolution: "@zk-email/circuits@npm:4.0.0"
+"@zk-email/circuits@npm:^6.1.3":
+  version: 6.1.3
+  resolution: "@zk-email/circuits@npm:6.1.3"
   dependencies:
-    "@zk-email/zk-regex-circom": ^1.1.1
+    "@zk-email/zk-regex-circom": ^2.1.0
     circomlib: ^2.0.5
-  checksum: 93c96e518a83a06921b853e7d85bf58f4ce247c2828a2aaedb49b77de1784fe9b78016ebf4a1118c4687dd199af30cb6dc4a3abae5a2df41e087d6f05bd6808d
+  checksum: 202834de3cf6148f7dd3f5472104154ba67c79ea4518773a633bad6553b9b4451534d10c814aec79f7b5c993ca3c21be5a444e3510aede8de9a3665f0961556c
   languageName: node
   linkType: hard
 
-"@zk-email/contracts@npm:^6.0.0":
-  version: 6.1.1
-  resolution: "@zk-email/contracts@npm:6.1.1"
+"@zk-email/contracts@npm:^6.1.3":
+  version: 6.1.3
+  resolution: "@zk-email/contracts@npm:6.1.3"
   dependencies:
     "@openzeppelin/contracts": ^5.0.0
     dotenv: ^16.3.1
-  checksum: aad2869d57ec0f7defdcf3186f9d5cc74c9f093cf6b52a7201e7d37b1810c916fc0a18ca40f0c7ed5fe4d1d897f7036863f4d6b4e5dc555e9bbca5b71ba62627
+  checksum: a06184998f018b21c75bf2135f9a2940a2d78582ff167e09f083e8befd7ef06bc9fb8eec06fa23dc0bceadb05a56b42854ff67e19be77a4acf144b68a1e90c63
   languageName: node
   linkType: hard
 
@@ -4547,9 +4547,9 @@ __metadata:
   languageName: unknown
   linkType: soft
 
-"@zk-email/helpers@npm:4.0.0":
-  version: 4.0.0
-  resolution: "@zk-email/helpers@npm:4.0.0"
+"@zk-email/helpers@npm:^6.1.3":
+  version: 6.1.3
+  resolution: "@zk-email/helpers@npm:6.1.3"
   dependencies:
     addressparser: ^1.0.1
     atob: ^2.1.2
@@ -4558,10 +4558,9 @@ __metadata:
     localforage: ^1.10.0
     node-forge: ^1.3.1
     pako: ^2.1.0
-    pki: ^1.1.0
     psl: ^1.9.0
     snarkjs: "https://github.com/sampritipanda/snarkjs.git#fef81fc51d17a734637555c6edbd585ecda02d9e"
-  checksum: a93120ed40f72eff81d563627e354dfe8cd49fecb102027d54a7e9ae75ea5cc3b7c66186a57cafd9e60e6a53ec160ddbc1e156f6031e01da4670c6319fb2b78e
+  checksum: 1050f81a96002fc49845a20e91d9a3be42aed54837d82f6a3ddfa95095699f88c30b70e511718308dfb0db81d61e3d70b47ede4904aeb6ba63b2fa58f6aba31a
   languageName: node
   linkType: hard
 
@@ -4585,7 +4584,7 @@ __metadata:
     "@types/node-forge": ^1.3.11
     "@types/styled-components": ^5.1.34
     "@vitejs/plugin-react": ^4.2.1
-    "@zk-email/helpers": 4.0.0
+    "@zk-email/helpers": ^6.1.3
     crypto-browserify: ^3.12.0
     jest: ^29.7.0
     jest-environment-jsdom: ^29.7.0
@@ -4624,6 +4623,16 @@ __metadata:
   languageName: node
   linkType: hard
 
+"@zk-email/zk-regex-circom@npm:^2.1.0":
+  version: 2.1.0
+  resolution: "@zk-email/zk-regex-circom@npm:2.1.0"
+  dependencies:
+    commander: ^11.0.0
+    snarkjs: ^0.7.0
+  checksum: 236ab75530eecf28daa55901bc1ddc163cb195872ccafcdc09cc693f23aa6db86970f58b5a85e2125a404b3294d2c7d1a111482bd1fef4ccb53e3cd8f03833c3
+  languageName: node
+  linkType: hard
+
 "abab@npm:^2.0.6":
   version: 2.0.6
   resolution: "abab@npm:2.0.6"
@@ -11298,16 +11307,6 @@ __metadata:
   languageName: node
   linkType: hard
 
-"pki@npm:^1.1.0":
-  version: 1.1.0
-  resolution: "pki@npm:1.1.0"
-  peerDependencies:
-    "@pulumi/kubernetes": ^0.25.6
-    "@pulumi/pulumi": ^0.17.28
-  checksum: 31b4ddc413be8508e816204d0eb52597ad23b02c6c0713b486967de6e7e4c42b560d1a8422702d32374c613c9302e6061a35ffbd1c1c5986d546798d775927a9
-  languageName: node
-  linkType: hard
-
 "pluralize@npm:^8.0.0":
   version: 8.0.0
   resolution: "pluralize@npm:8.0.0"