@layerzerolabs/oft-v2-solana-sdk 3.0.135 → 3.0.137-sui.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 +20 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/oft302.ts +9 -5
- package/deployments/solana-sandbox-local/302/TokenOneOFT.json +0 -16
- package/deployments/solana-sandbox-local/302/TokenThreeOFT.json +0 -16
- package/deployments/solana-sandbox-local/302/TokenTwoOFTAdapter.json +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @layerzerolabs/oft-v2-solana-sdk
|
|
2
2
|
|
|
3
|
+
## 3.0.137
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 553e9dc: sui mainnet
|
|
8
|
+
- Updated dependencies [553e9dc]
|
|
9
|
+
- @layerzerolabs/lz-foundation@3.0.137
|
|
10
|
+
- @layerzerolabs/lz-solana-sdk-v2@3.0.137
|
|
11
|
+
- @layerzerolabs/lz-v2-utilities@3.0.137
|
|
12
|
+
|
|
13
|
+
## 3.0.136
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 5b7f5c6: Allow multiple ALTs when quoting OFT send
|
|
18
|
+
- Updated dependencies [5b7f5c6]
|
|
19
|
+
- @layerzerolabs/lz-foundation@3.0.136
|
|
20
|
+
- @layerzerolabs/lz-solana-sdk-v2@3.0.136
|
|
21
|
+
- @layerzerolabs/lz-v2-utilities@3.0.136
|
|
22
|
+
|
|
3
23
|
## 3.0.135
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1826,7 +1826,7 @@ async function send2(rpc, accounts, sendParams, programs, remainingAccounts) {
|
|
|
1826
1826
|
})
|
|
1827
1827
|
).items[0];
|
|
1828
1828
|
}
|
|
1829
|
-
async function quote(rpc, accounts, quoteParams, programs, remainingAccounts,
|
|
1829
|
+
async function quote(rpc, accounts, quoteParams, programs, remainingAccounts, addressLookupTables) {
|
|
1830
1830
|
const { dstEid, to, amountLd, minAmountLd, options, payInLzToken, composeMsg } = quoteParams;
|
|
1831
1831
|
const { payer, tokenMint, tokenEscrow } = accounts;
|
|
1832
1832
|
const deriver = new OftPDA(programs.oft);
|
|
@@ -1879,7 +1879,7 @@ async function quote(rpc, accounts, quoteParams, programs, remainingAccounts, ad
|
|
|
1879
1879
|
umi.EndpointProgram.types.getMessagingFeeSerializer(),
|
|
1880
1880
|
"confirmed",
|
|
1881
1881
|
void 0,
|
|
1882
|
-
|
|
1882
|
+
addressLookupTables !== void 0 ? Array.isArray(addressLookupTables) ? addressLookupTables.map(umiWeb3jsAdapters.toWeb3JsPublicKey) : umiWeb3jsAdapters.toWeb3JsPublicKey(addressLookupTables) : void 0
|
|
1883
1883
|
);
|
|
1884
1884
|
}
|
|
1885
1885
|
async function quoteOft2(rpc, accounts, quoteParams, oftProgram) {
|