Skip to content

Commit

Permalink
misc: several libraries update
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale committed Jan 16, 2025
1 parent 10fca2d commit 1682022
Show file tree
Hide file tree
Showing 34 changed files with 316 additions and 730 deletions.
618 changes: 180 additions & 438 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions connect/definitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"author": "",
"license": "Apache 2",
"dependencies": {
"ethers": "^6.13.3"
"ethers": "^6.13.5"
},
"devDependencies": {
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"prettier": "^3.3.3",
"tsup": "^8.3.5",
"tsx": "4.19.2",
Expand Down
8 changes: 4 additions & 4 deletions connect/platforms/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"dependencies": {
"@xlabs-xyz/arbitrary-token-transfers-definitions": "workspace:*",
"@xlabs-xyz/evm-arbitrary-token-transfers": "workspace:*",
"ethers": "^6.13.3"
"ethers": "^6.13.5"
},
"devDependencies": {
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-evm": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-evm": "^1.4.5",
"prettier": "^3.3.3",
"tsup": "^8.3.5",
"tsx": "4.19.2",
Expand Down
8 changes: 4 additions & 4 deletions connect/platforms/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
"license": "Apache 2",
"dependencies": {
"@coral-xyz/anchor": "^0.30.1",
"@solana/spl-token": "0.3.9",
"@solana/spl-token": "0.4.9",
"@solana/web3.js": "^1.98.0",
"@xlabs-xyz/arbitrary-token-transfers-definitions": "workspace:*",
"@xlabs-xyz/solana-arbitrary-token-transfers": "workspace:*"
},
"devDependencies": {
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-solana": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-solana": "^1.4.5",
"prettier": "^3.3.3",
"tsup": "^8.3.5",
"tsx": "4.19.2",
Expand Down
8 changes: 4 additions & 4 deletions connect/route/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"@xlabs-xyz/arbitrary-token-transfer-evm-route": "workspace:*",
"@xlabs-xyz/arbitrary-token-transfer-solana-route": "workspace:*",
"@xlabs-xyz/arbitrary-token-transfers-definitions": "workspace:*",
"ethers": "^6.13.3"
"ethers": "^6.13.5"
},
"devDependencies": {
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-connect": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-connect": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"prettier": "^3.3.3",
"tsup": "^8.3.5",
"tsx": "4.19.2",
Expand Down
16 changes: 8 additions & 8 deletions deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@
},
"dependencies": {
"@coral-xyz/anchor": "^0.30.1",
"@solana/spl-token": "^0.4.8",
"@solana/spl-token": "^0.4.9",
"@solana/web3.js": "^1.98.0",
"@typechain/ethers-v6": "^0.5.1",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-evm": "^1.3.0",
"@wormhole-foundation/sdk-evm-tokenbridge": "^1.3.0",
"@wormhole-foundation/sdk-solana": "^1.3.0",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-evm": "^1.4.5",
"@wormhole-foundation/sdk-evm-tokenbridge": "^1.4.5",
"@wormhole-foundation/sdk-solana": "^1.4.5",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.4.5",
"@xlabs-xyz/evm-arbitrary-token-transfers": "workspace:*",
"@xlabs-xyz/ledger-signer": "^0.0.4",
"@xlabs-xyz/ledger-signer-ethers-v6": "^0.0.1",
"@xlabs-xyz/ledger-signer-solana": "^0.0.1",
"@xlabs-xyz/solana-arbitrary-token-transfers": "workspace:*",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"ethers": "^6.13.4",
"ethers": "^6.13.5",
"typechain": "^8.3.2"
}
}
4 changes: 2 additions & 2 deletions sdk/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"devDependencies": {
"@types/bn.js": "^5.1.5",
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"tsup": "^8.3.5",
"tsx": "4.19.2",
"typescript": "5.6.3"
Expand Down
8 changes: 4 additions & 4 deletions sdk/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"author": "",
"license": "Apache 2",
"dependencies": {
"ethers": "^6.13.4"
"ethers": "^6.13.5"
},
"devDependencies": {
"@types/chai": "^4.3.19",
"@types/mocha": "^10",
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-evm": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-evm": "^1.4.5",
"chai": "^5.1.1",
"mocha": "^10.7.3",
"tsup": "^8.3.5",
Expand Down
8 changes: 4 additions & 4 deletions sdk/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
},
"devDependencies": {
"@types/node": "20.17.5",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-solana": "^1.3.0",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-solana": "^1.4.5",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.4.5",
"tsup": "^8.3.5",
"tsx": "4.19.2",
"typescript": "5.6.3"
Expand Down
3 changes: 2 additions & 1 deletion sdk/solana/tbrv3/token-bridge-relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,8 @@ export class SolanaTokenBridgeRelayer {
let transferType = '?';

const getTokenBridgeAccounts = async () => {
const mint = await spl.getMint(this.connection, mintAddress);
// TODO: fix type error due to solana web3.js version mismatch
const mint = await spl.getMint(this.connection as any, mintAddress);
if (mint.mintAuthority?.equals(this.tokenBridgeMintAuthority)) {
transferType = 'Wrapped';
return this.tbAccBuilder.transferWrapped(
Expand Down
12 changes: 6 additions & 6 deletions solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"@solana/web3.js": "^1.98.0",
"@types/chai": "^5",
"@types/mocha": "10.*",
"@wormhole-foundation/sdk-base": "^1.3.0",
"@wormhole-foundation/sdk-connect": "^1.3.0",
"@wormhole-foundation/sdk-definitions": "^1.3.0",
"@wormhole-foundation/sdk-solana": "^1.3.0",
"@wormhole-foundation/sdk-solana-core": "^1.3.0",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.3.0",
"@wormhole-foundation/sdk-base": "^1.4.5",
"@wormhole-foundation/sdk-connect": "^1.4.5",
"@wormhole-foundation/sdk-definitions": "^1.4.5",
"@wormhole-foundation/sdk-solana": "^1.4.5",
"@wormhole-foundation/sdk-solana-core": "^1.4.5",
"@wormhole-foundation/sdk-solana-tokenbridge": "^1.4.5",
"@xlabs-xyz/solana-arbitrary-token-transfers": "workspace:^",
"chai": "^5.1.1",
"common-arbitrary-token-transfer": "workspace:^",
Expand Down
Loading

0 comments on commit 1682022

Please sign in to comment.