@oydual31/more-vaults-sdk 1.1.2 → 1.1.4

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.
@@ -2170,7 +2170,7 @@ var COMPOSER_ABI = [
2170
2170
  function buildLzComposeOption(gas, nativeValue) {
2171
2171
  const gasHex = gas.toString(16).padStart(32, "0");
2172
2172
  const valueHex = nativeValue.toString(16).padStart(32, "0");
2173
- return `0x00030300220000${gasHex}${valueHex}`;
2173
+ return `0x0003010023030000${gasHex}${valueHex}`;
2174
2174
  }
2175
2175
  async function resolveComposeNativeValue(hubClient, vault, composerAddress, spokeEid, receiverBytes32) {
2176
2176
  const [readFeeResult, shareOftResult] = await Promise.allSettled([
@@ -2205,7 +2205,8 @@ async function resolveComposeNativeValue(hubClient, vault, composerAddress, spok
2205
2205
  }, false]
2206
2206
  });
2207
2207
  return readFee + feeQuote.nativeFee;
2208
- } catch {
2208
+ } catch (e) {
2209
+ console.warn("[more-vaults-sdk] resolveComposeNativeValue: quoteSend failed, using fallback", e);
2209
2210
  }
2210
2211
  }
2211
2212
  return readFee > 0n ? readFee * 5n : 500000000000000n;