@layerzerolabs/lz-solana-sdk-v2 2.3.32 → 2.3.33

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,17 @@
1
1
  # @layerzerolabs/lz-solana-sdk-v2
2
2
 
3
+ ## 2.3.33
4
+
5
+ ### Patch Changes
6
+
7
+ - d9c0c10: testnets: new solana devnet, codex(evm), bahamut (evm)
8
+ - 1099b5f: testnets: lif3,iota,lyra,lightlink
9
+ - Updated dependencies [d9c0c10]
10
+ - Updated dependencies [1099b5f]
11
+ - @layerzerolabs/lz-corekit-solana@2.3.33
12
+ - @layerzerolabs/lz-definitions@2.3.33
13
+ - @layerzerolabs/lz-v2-utilities@2.3.33
14
+
3
15
  ## 2.3.32
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -9115,15 +9115,11 @@ var Endpoint = class {
9115
9115
  if (messageLibInfo2) {
9116
9116
  const { timeout: timeout2 } = defaultInfo;
9117
9117
  if (timeout2) {
9118
- const slot = await connection.getSlot();
9119
- const timestamp = await connection.getBlockTime(slot);
9120
- invariant5__default.default(timestamp, "timestamp should not be null");
9121
- const isValid = parseInt(timeout2.expiry.toString()) > timestamp;
9122
9118
  return {
9123
9119
  programId: defaultInfo.messageLib,
9124
9120
  msgLib: defaultInfo.messageLib,
9125
9121
  isDefault: true,
9126
- timeout: { msgLib: timeout2.messageLib, isValid }
9122
+ timeout: { msgLib: timeout2.messageLib, expiry: BigInt(timeout2.expiry.toString()) }
9127
9123
  };
9128
9124
  }
9129
9125
  }
@@ -9138,15 +9134,11 @@ var Endpoint = class {
9138
9134
  invariant5__default.default(messageLibInfo, "messageLibInfo should not be null");
9139
9135
  const { timeout } = info;
9140
9136
  if (timeout) {
9141
- const slot = await connection.getSlot();
9142
- const timestamp = await connection.getBlockTime(slot);
9143
- invariant5__default.default(timestamp, "timestamp should not be null");
9144
- const isValid = parseInt(timeout.expiry.toString()) > timestamp;
9145
9137
  return {
9146
9138
  programId: messageLibInfo.owner,
9147
9139
  msgLib: info.messageLib,
9148
9140
  isDefault: false,
9149
- timeout: { msgLib: timeout.messageLib, isValid }
9141
+ timeout: { msgLib: timeout.messageLib, expiry: BigInt(timeout.expiry.toString()) }
9150
9142
  };
9151
9143
  }
9152
9144
  return { programId: messageLibInfo.owner, msgLib: info.messageLib, isDefault: false, timeout: null };