@layerzerolabs/lz-solana-sdk-v2 2.3.17 → 2.3.18

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.d.mts CHANGED
@@ -13810,7 +13810,7 @@ declare function quoteWithUln(connection: Connection, payer: PublicKey, tokenMin
13810
13810
  nativeFee: bigint;
13811
13811
  lzTokenFee: bigint;
13812
13812
  }>;
13813
- declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey): Promise<TransactionInstruction>;
13813
+ declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey | null): Promise<TransactionInstruction>;
13814
13814
  declare function getEndpointConfig(connection: Connection, oftInstance: PublicKey, dstEid: number): Promise<{
13815
13815
  sendLibraryConfig: SendLibraryConfig & {
13816
13816
  ulnSendConfig?: SendConfig;
package/dist/index.d.ts CHANGED
@@ -13810,7 +13810,7 @@ declare function quoteWithUln(connection: Connection, payer: PublicKey, tokenMin
13810
13810
  nativeFee: bigint;
13811
13811
  lzTokenFee: bigint;
13812
13812
  }>;
13813
- declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey): Promise<TransactionInstruction>;
13813
+ declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey | null): Promise<TransactionInstruction>;
13814
13814
  declare function getEndpointConfig(connection: Connection, oftInstance: PublicKey, dstEid: number): Promise<{
13815
13815
  sendLibraryConfig: SendLibraryConfig & {
13816
13816
  ulnSendConfig?: SendConfig;
package/dist/index.mjs CHANGED
@@ -14,8 +14,8 @@ import '@ethersproject/abi';
14
14
  import { BigNumber } from '@ethersproject/bignumber';
15
15
  import '@ethersproject/solidity';
16
16
  import { keccak256 } from '@ethersproject/keccak256';
17
+ import { signWithECDSA } from '@layerzerolabs/lz-corekit-solana';
17
18
  import { Environment, EndpointId } from '@layerzerolabs/lz-definitions';
18
- import { signWithECDSA } from '@layerzerolabs/lz-utilities';
19
19
  import crypto from 'crypto';
20
20
  import base58 from 'bs58';
21
21
  import { hexlify } from 'ethers/lib/utils';