@pyratzlabs/react-fhevm-utils 3.6.3 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,8 +12,8 @@ export const useUnwrap = ({ encryptedErc20 }) => {
12
12
  const unwrap = (handles, inputProof) => {
13
13
  if (!address)
14
14
  throw new Error("UNWRAP: User is not connected");
15
- const handle = typeof handles[0] === "string"
16
- ? handles[0]
15
+ const handle = typeof handles === "string"
16
+ ? handles
17
17
  : toHexString(handles[0]);
18
18
  const proof = inputProof ? toHexString(inputProof) : undefined;
19
19
  const args = proof
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyratzlabs/react-fhevm-utils",
3
- "version": "3.6.3",
3
+ "version": "3.6.4",
4
4
  "description": "React hooks and utilities for Fhevmjs",
5
5
  "main": "dist/index.js",
6
6
  "files": [