@funkit/fun-relay 2.3.0 → 2.4.0

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
@@ -576,7 +576,7 @@ async function getRelayQuote({
576
576
  const relayClient = getRelayClient();
577
577
  const isSameChainFlow = String(fromChainId) === String(toChainId);
578
578
  const txs = actionParams?.map((action) => {
579
- const data = encodeFunctionData({
579
+ const data = action.rawCalldata ?? encodeFunctionData({
580
580
  abi: action.contractAbi,
581
581
  args: action.functionArgs,
582
582
  functionName: action.functionName
@@ -1836,6 +1836,7 @@ export {
1836
1836
  LogLevel,
1837
1837
  RELAY_BITCOIN_CHAIN_ID,
1838
1838
  RELAY_BITCOIN_CHAIN_ID_NUMBER,
1839
+ RELAY_LIGHTER_CHAIN_ID,
1839
1840
  RELAY_NATIVE_TOKEN,
1840
1841
  RELAY_NATIVE_TOKEN_BITCOIN,
1841
1842
  RELAY_NATIVE_TOKEN_HYPERCORE,