@layerzerolabs/lz-solana-sdk-v2 2.3.41 → 2.3.43
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.cjs.map +1 -1
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/CHANGELOG.md +0 -574
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,6 @@ import * as beetSolana from '@metaplex-foundation/beet-solana';
|
|
|
7
7
|
import BN from 'bn.js';
|
|
8
8
|
import { SolanaSigner } from '@layerzerolabs/lz-corekit-solana';
|
|
9
9
|
import { EndpointId, Environment, Network } from '@layerzerolabs/lz-definitions';
|
|
10
|
-
import { web3 as web3$1 } from '@coral-xyz/anchor';
|
|
11
10
|
|
|
12
11
|
declare const ENDPOINT_SEED = "Endpoint";
|
|
13
12
|
declare const MESSAGE_LIB_SEED = "MessageLib";
|
|
@@ -15967,10 +15966,10 @@ declare abstract class BaseOApp {
|
|
|
15967
15966
|
constructor(program: PublicKey);
|
|
15968
15967
|
abstract getEndpoint(connection: Connection): Promise<Endpoint>;
|
|
15969
15968
|
abstract getSendLibraryProgram(connection: Connection, payer: PublicKey, dstEid: number, endpoint?: Endpoint): Promise<SimpleMessageLib | Uln>;
|
|
15970
|
-
queryIDPDAInfo(connection: Connection, commitmentOrConfig?:
|
|
15971
|
-
queryPDAInfo(connection: Connection, pda: PublicKey, commitmentOrConfig?:
|
|
15969
|
+
queryIDPDAInfo(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountInfo<Buffer> | null>;
|
|
15970
|
+
queryPDAInfo(connection: Connection, pda: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountInfo<Buffer> | null>;
|
|
15972
15971
|
idPDA(): [PublicKey, number];
|
|
15973
|
-
getRemote(connection: Connection, dstEid: number, commitmentOrConfig?:
|
|
15972
|
+
getRemote(connection: Connection, dstEid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<Uint8Array | null>;
|
|
15974
15973
|
}
|
|
15975
15974
|
|
|
15976
15975
|
declare function extractSentPacketEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig, unsafeParseErr?: boolean): Promise<PacketSentEvent[] | null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as beetSolana from '@metaplex-foundation/beet-solana';
|
|
|
7
7
|
import BN from 'bn.js';
|
|
8
8
|
import { SolanaSigner } from '@layerzerolabs/lz-corekit-solana';
|
|
9
9
|
import { EndpointId, Environment, Network } from '@layerzerolabs/lz-definitions';
|
|
10
|
-
import { web3 as web3$1 } from '@coral-xyz/anchor';
|
|
11
10
|
|
|
12
11
|
declare const ENDPOINT_SEED = "Endpoint";
|
|
13
12
|
declare const MESSAGE_LIB_SEED = "MessageLib";
|
|
@@ -15967,10 +15966,10 @@ declare abstract class BaseOApp {
|
|
|
15967
15966
|
constructor(program: PublicKey);
|
|
15968
15967
|
abstract getEndpoint(connection: Connection): Promise<Endpoint>;
|
|
15969
15968
|
abstract getSendLibraryProgram(connection: Connection, payer: PublicKey, dstEid: number, endpoint?: Endpoint): Promise<SimpleMessageLib | Uln>;
|
|
15970
|
-
queryIDPDAInfo(connection: Connection, commitmentOrConfig?:
|
|
15971
|
-
queryPDAInfo(connection: Connection, pda: PublicKey, commitmentOrConfig?:
|
|
15969
|
+
queryIDPDAInfo(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountInfo<Buffer> | null>;
|
|
15970
|
+
queryPDAInfo(connection: Connection, pda: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountInfo<Buffer> | null>;
|
|
15972
15971
|
idPDA(): [PublicKey, number];
|
|
15973
|
-
getRemote(connection: Connection, dstEid: number, commitmentOrConfig?:
|
|
15972
|
+
getRemote(connection: Connection, dstEid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<Uint8Array | null>;
|
|
15974
15973
|
}
|
|
15975
15974
|
|
|
15976
15975
|
declare function extractSentPacketEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig, unsafeParseErr?: boolean): Promise<PacketSentEvent[] | null>;
|