@layerzerolabs/lz-aptos-sdk-v1 3.0.16 → 3.0.18-movement.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @layerzerolabs/lz-aptos-sdk-v1
2
2
 
3
+ ## 3.0.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 40f2269: islander mainnet
8
+ - 40f2269: testnets
9
+ - Updated dependencies [40f2269]
10
+ - Updated dependencies [40f2269]
11
+ - @layerzerolabs/lz-definitions@3.0.17
12
+
3
13
  ## 3.0.16
4
14
 
5
15
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2698,13 +2698,11 @@ var Executor = class {
2698
2698
  decodeAdapterParams(adapterParams) {
2699
2699
  const type = adapterParams[0] * 256 + adapterParams[1];
2700
2700
  if (type === 1) {
2701
- if (adapterParams.length !== 10)
2702
- throw new Error("invalid adapter params");
2701
+ if (adapterParams.length !== 10) throw new Error("invalid adapter params");
2703
2702
  const uaGas = adapterParams.slice(2, 10);
2704
2703
  return [type, convertBytesToUint64(uaGas), 0n, ""];
2705
2704
  } else if (type === 2) {
2706
- if (adapterParams.length <= 18)
2707
- throw new Error("invalid adapter params");
2705
+ if (adapterParams.length <= 18) throw new Error("invalid adapter params");
2708
2706
  const uaGas = adapterParams.slice(2, 10);
2709
2707
  const airdropAmount = adapterParams.slice(10, 18);
2710
2708
  const airdropAddressBytes = adapterParams.slice(18);
@@ -7495,5 +7493,5 @@ exports.format = format_exports;
7495
7493
  exports.types = types_exports;
7496
7494
  exports.uln = uln_exports;
7497
7495
  exports.utils = utils_exports;
7498
- //# sourceMappingURL=out.js.map
7496
+ //# sourceMappingURL=index.cjs.map
7499
7497
  //# sourceMappingURL=index.cjs.map