@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.mjs CHANGED
@@ -2143,8 +2143,8 @@ async function executeCCTPBridge(sourceChain, amount, crossChainConfig, facilita
2143
2143
  abi: messageTransmitterAbi,
2144
2144
  functionName: "receiveMessage",
2145
2145
  args: [
2146
- attestationResponse.message,
2147
- attestationResponse.attestation
2146
+ attestationResponse.message.startsWith("0x") ? attestationResponse.message : `0x${attestationResponse.message}`,
2147
+ attestationResponse.attestation.startsWith("0x") ? attestationResponse.attestation : `0x${attestationResponse.attestation}`
2148
2148
  ]
2149
2149
  });
2150
2150
  console.log(`[CCTP] Mint tx sent: ${mintHash}`);