Skip to content

Commit a54819f

Browse files
barnjaminbruce-riley
authored andcommitted
SDK: Update Wormhole SDK version to 0.7 (wormhole-foundation#470)
1 parent 042b3e2 commit a54819f

28 files changed

+530
-684
lines changed

evm/ts/__tests__/versions.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Wormhole } from "@wormhole-foundation/sdk-connect";
1+
import { Wormhole } from "@wormhole-foundation/sdk";
22
import { EvmPlatform } from "@wormhole-foundation/sdk-evm";
33
import { EvmNtt } from "../src/index.js";
44

evm/ts/package.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,20 @@
4444
"test": "jest --config ./jest.config.ts"
4545
},
4646
"dependencies": {
47-
"@wormhole-foundation/sdk-connect": "0.6.5",
47+
"@wormhole-foundation/sdk-base": "^0.7",
48+
"@wormhole-foundation/sdk-definitions": "^0.7",
4849
"@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0",
49-
"@wormhole-foundation/sdk-evm": "0.6.5",
50-
"@wormhole-foundation/sdk-evm-core": "0.6.5",
50+
"@wormhole-foundation/sdk-evm": "^0.7",
51+
"@wormhole-foundation/sdk-evm-core": "^0.7",
5152
"ethers": "^6.5.1"
5253
},
54+
"peerDependencies": {
55+
"@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0",
56+
"@wormhole-foundation/sdk-base": "^0.7",
57+
"@wormhole-foundation/sdk-definitions": "^0.7",
58+
"@wormhole-foundation/sdk-evm": "^0.7",
59+
"@wormhole-foundation/sdk-evm-core": "^0.7"
60+
},
5361
"devDependencies": {
5462
"@typechain/ethers-v6": "^0.5.1",
5563
"tsx": "^4.7.2",

evm/ts/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { registerProtocol } from "@wormhole-foundation/sdk-connect";
1+
import { registerProtocol } from "@wormhole-foundation/sdk-definitions";
22
import { _platform } from "@wormhole-foundation/sdk-evm";
33
import { EvmNtt } from "./ntt.js";
44
import "@wormhole-foundation/sdk-definitions-ntt";

evm/ts/src/ntt.ts

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
import {
2-
AccountAddress,
32
Chain,
3+
Network,
4+
nativeChainIds,
5+
toChainId,
6+
} from "@wormhole-foundation/sdk-base";
7+
import {
8+
AccountAddress,
49
ChainAddress,
510
ChainsConfig,
611
Contracts,
7-
Network,
812
TokenAddress,
913
VAA,
10-
nativeChainIds,
1114
serialize,
12-
toChainId,
1315
universalAddress,
14-
} from "@wormhole-foundation/sdk-connect";
16+
} from "@wormhole-foundation/sdk-definitions";
1517
import type { EvmChains, EvmPlatformType } from "@wormhole-foundation/sdk-evm";
1618
import {
1719
EvmAddress,

0 commit comments

Comments
 (0)