@layerzerolabs/lz-solana-sdk-v2 2.3.30 → 2.3.32
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 +26 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,6 @@ import base58 from 'bs58';
|
|
|
14
14
|
import '@ethersproject/abi';
|
|
15
15
|
import { BigNumber } from '@ethersproject/bignumber';
|
|
16
16
|
import '@ethersproject/solidity';
|
|
17
|
-
import { signWithECDSA } from '@layerzerolabs/lz-corekit-solana';
|
|
18
17
|
import { Environment, EndpointId } from '@layerzerolabs/lz-definitions';
|
|
19
18
|
import crypto from 'crypto';
|
|
20
19
|
import { sha256 } from '@ethersproject/sha2';
|
|
@@ -13122,6 +13121,7 @@ var SolanaSignerExt = class _SolanaSignerExt {
|
|
|
13122
13121
|
return new _SolanaSignerExt(signers);
|
|
13123
13122
|
}
|
|
13124
13123
|
async sign(message) {
|
|
13124
|
+
const { signWithECDSA } = await import('@layerzerolabs/lz-corekit-solana');
|
|
13125
13125
|
return Promise.all(this.signers.map(async (s) => signWithECDSA(message, s.ECDSAPrivateKey)));
|
|
13126
13126
|
}
|
|
13127
13127
|
};
|