Skip to content

Commit 059e0fa

Browse files
authored
Pin all crypto-related dependency versions (#3342)
* Pin all crypto-related dependency versions to the latest version downloaded after running `npm ci` * update @mysten/sui.js to @mysten/sui
1 parent 8e4e7d2 commit 059e0fa

File tree

5 files changed

+121
-121
lines changed

5 files changed

+121
-121
lines changed

wormhole-connect/package-lock.json

+100-99
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wormhole-connect/package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"dist"
1818
],
1919
"dependencies": {
20-
"@aptos-labs/ts-sdk": "^1.33.1",
21-
"@aptos-labs/wallet-adapter-core": "^4.23.0",
22-
"@coral-xyz/anchor": "^0.29.0",
20+
"@aptos-labs/ts-sdk": "1.35.0",
21+
"@aptos-labs/wallet-adapter-core": "4.24.0",
22+
"@coral-xyz/anchor": "0.29.0",
2323
"@emotion/react": "^11.10.5",
2424
"@emotion/styled": "^11.10.5",
2525
"@ledgerhq/devices": "6.27.1",
@@ -28,32 +28,32 @@
2828
"@ledgerhq/hw-transport-webhid": "6.27.1",
2929
"@ledgerhq/logs": "6.12.0",
3030
"@mayanfinance/wormhole-sdk-route": "1.11.0",
31-
"@metaplex-foundation/mpl-token-metadata": "^3.3.0",
32-
"@metaplex-foundation/umi": "^0.9.2",
33-
"@metaplex-foundation/umi-bundle-defaults": "^0.9.2",
31+
"@metaplex-foundation/mpl-token-metadata": "3.4.0",
32+
"@metaplex-foundation/umi": "0.9.2",
33+
"@metaplex-foundation/umi-bundle-defaults": "0.9.2",
3434
"@mui/icons-material": "^5.11.0",
3535
"@mui/material": "^5.11.4",
36-
"@mysten/sui.js": "^0.32.2",
37-
"@project-serum/anchor": "^0.26.0",
36+
"@mysten/sui": "1.21.2",
37+
"@project-serum/anchor": "0.26.0",
3838
"@reduxjs/toolkit": "^2.5.1",
39-
"@solana/spl-token": "^0.3.9",
40-
"@solana/wallet-adapter-wallets": "^0.19.25",
41-
"@solana/web3.js": "^1.95.8",
39+
"@solana/spl-token": "0.4.0",
40+
"@solana/wallet-adapter-wallets": "0.19.32",
41+
"@solana/web3.js": "1.98.0",
4242
"@wormhole-foundation/sdk": "1.13.1",
4343
"@wormhole-foundation/sdk-definitions": "1.13.1",
4444
"@wormhole-foundation/sdk-definitions-ntt": "^0.6.1",
4545
"@wormhole-foundation/sdk-evm-ntt": "^0.6.1",
4646
"@wormhole-foundation/sdk-icons": "^1.0.0",
4747
"@wormhole-foundation/sdk-route-ntt": "^0.6.1",
4848
"@wormhole-foundation/sdk-solana-ntt": "^0.6.1",
49-
"@xlabs-libs/wallet-aggregator-aptos": "^1.0.0-alpha.2",
50-
"@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.23",
51-
"@xlabs-libs/wallet-aggregator-evm": "^0.0.2-alpha.6",
52-
"@xlabs-libs/wallet-aggregator-solana": "^0.0.1-alpha.15",
53-
"@xlabs-libs/wallet-aggregator-sui": "^0.0.1-alpha.11",
49+
"@xlabs-libs/wallet-aggregator-aptos": "1.0.0-alpha.2",
50+
"@xlabs-libs/wallet-aggregator-core": "0.0.1-alpha.23",
51+
"@xlabs-libs/wallet-aggregator-evm": "0.0.2-alpha.6",
52+
"@xlabs-libs/wallet-aggregator-solana": "0.0.1-alpha.16",
53+
"@xlabs-libs/wallet-aggregator-sui": "0.0.1-alpha.11",
5454
"axios": "1.4.0",
5555
"binary-parser": "^2.2.1",
56-
"ethers": "^6.4.2",
56+
"ethers": "6.13.5",
5757
"lz-string": "^1.5.0",
5858
"material-ui-popup-state": "^5.0.4",
5959
"react-infinite-scroller": "^1.2.6",

wormhole-connect/src/utils/address.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
NativeAddress,
66
toNative,
77
} from '@wormhole-foundation/sdk';
8-
import { isValidSuiAddress } from '@mysten/sui.js';
8+
import { isValidSuiAddress } from '@mysten/sui/utils';
99
import { Connection, PublicKey } from '@solana/web3.js';
1010
import {
1111
getAccount,

wormhole-connect/src/utils/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect, useRef } from 'react';
22
import { isHexString } from 'ethers';
3-
import { isValidTransactionDigest } from '@mysten/sui.js';
3+
import { isValidTransactionDigest } from '@mysten/sui/utils';
44
import { Context } from 'sdklegacy';
55

66
import config from 'config';

wormhole-connect/src/utils/wallet/sui.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TransactionBlock } from '@mysten/sui.js';
1+
import { Transaction } from '@mysten/sui/transactions';
22
import { SuiWallet, getWallets } from '@xlabs-libs/wallet-aggregator-sui';
33
import { Wallet } from '@xlabs-libs/wallet-aggregator-core';
44

@@ -25,7 +25,6 @@ export const signAndSendTransaction = async (
2525
}
2626

2727
return await wallet.signAndSendTransaction({
28-
/* @ts-ignore */
29-
transactionBlock: request.transaction as TransactionBlock,
28+
transactionBlock: request.transaction as Transaction,
3029
});
3130
};

0 commit comments

Comments
 (0)