@1llet.xyz/erc4337-gasless-sdk 0.4.53 → 0.4.54

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.js CHANGED
@@ -2167,8 +2167,8 @@ async function executeCCTPBridge(sourceChain, amount, crossChainConfig, facilita
2167
2167
  abi: messageTransmitterAbi,
2168
2168
  functionName: "receiveMessage",
2169
2169
  args: [
2170
- attestationResponse.message,
2171
- attestationResponse.attestation
2170
+ attestationResponse.message.startsWith("0x") ? attestationResponse.message : `0x${attestationResponse.message}`,
2171
+ attestationResponse.attestation.startsWith("0x") ? attestationResponse.attestation : `0x${attestationResponse.attestation}`
2172
2172
  ]
2173
2173
  });
2174
2174
  console.log(`[CCTP] Mint tx sent: ${mintHash}`);