@pyratzlabs/react-fhevm-utils 2.3.0 → 2.3.1

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.
@@ -11,7 +11,7 @@ export const useEncryptedTransfer = ({ tokenAddress, }) => {
11
11
  const transfer = (to, handles, inputProof, transferFee) => {
12
12
  if (handles.length === 0)
13
13
  throw new Error("Bad handles format");
14
- if (!transferFee)
14
+ if (transferFee === undefined)
15
15
  throw new Error("TRANSFER: No transfer fee provided");
16
16
  const encryptedAmount = toHexString(handles[0]);
17
17
  const proof = toHexString(inputProof);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyratzlabs/react-fhevm-utils",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "React hooks and utilities for Fhevmjs",
5
5
  "main": "dist/index.js",
6
6
  "files": [