@pyxisjs/chains 0.2.4 → 0.2.6

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
@@ -8565,9 +8565,7 @@ var AptosChainAdapter = class extends import_core2.BaseChainAdapter {
8565
8565
  "quote_bridge",
8566
8566
  lzTellerAddress
8567
8567
  );
8568
- const gasLimit = (0, import_core2.getLayerZeroGasLimit)(this.chain.id, destinationChain);
8569
- const options = import_lz_v2_utilities.Options.newOptions().addExecutorLzReceiveOption(gasLimit);
8570
- const extraOptions = options.toBytes();
8568
+ const extraOptions = import_lz_v2_utilities.Options.newOptions().toBytes();
8571
8569
  const payInZro = false;
8572
8570
  const dstEid = (0, import_core2.getLayerZeroEndpointId)(destinationChain);
8573
8571
  const recipientBytes = this.addressToBytes(recipient);
@@ -8587,7 +8585,7 @@ var AptosChainAdapter = class extends import_core2.BaseChainAdapter {
8587
8585
  return {
8588
8586
  fee: nativeFee,
8589
8587
  feeTokenAddress: import_ts_sdk.APTOS_COIN,
8590
- method: "LayerZero",
8588
+ method: import_core2.BridgeMethod.LayerZero,
8591
8589
  estimatedTime: (0, import_core2.getEstimatedBridgeTime)(this.chain.id, destinationChain),
8592
8590
  extraOptions,
8593
8591
  // Pay only with native (payInZro = false)