@pafi-dev/core 0.7.6 → 0.7.7

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.
package/dist/index.cjs CHANGED
@@ -838,7 +838,8 @@ async function delegateDirect(params) {
838
838
  nonce
839
839
  });
840
840
  const yParityRaw = raw.yParity;
841
- const yParity = typeof yParityRaw === "number" ? yParityRaw : String(yParityRaw) === "1" || String(yParityRaw) === "0x1" ? 1 : 0;
841
+ const yParityNum = typeof yParityRaw === "number" ? yParityRaw : String(yParityRaw) === "1" || String(yParityRaw) === "0x1" ? 1 : 0;
842
+ const yParity = yParityNum === 1 ? 1 : 0;
842
843
  const authorization = {
843
844
  contractAddress: target,
844
845
  chainId: params.chainId,