Skip to content

Commit e84cbc1

Browse files
authored
Update to wormhole SDK 1.0 (#544)
* update to wormhole SDK 1.0 * remove redundant deps * update version in examples * update version in definitions pkg * test * bump * omg * ... * test * .. * fix mistake
1 parent 799cd4a commit e84cbc1

File tree

8 files changed

+286
-578
lines changed

8 files changed

+286
-578
lines changed

cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/ntt-cli",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"module": "src/index.ts",
55
"type": "module",
66
"devDependencies": {
@@ -17,4 +17,4 @@
1717
"chalk": "^5.3.0",
1818
"yargs": "^17.7.2"
1919
}
20-
}
20+
}

evm/ts/package.json

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-evm-ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
@@ -44,19 +44,14 @@
4444
"test": "jest --config ./jest.config.ts"
4545
},
4646
"dependencies": {
47-
"@wormhole-foundation/sdk-base": "^0.12.0",
48-
"@wormhole-foundation/sdk-definitions": "^0.12.0",
49-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
50-
"@wormhole-foundation/sdk-evm": "^0.12.0",
51-
"@wormhole-foundation/sdk-evm-core": "^0.12.0",
47+
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0",
5248
"ethers": "^6.5.1"
5349
},
5450
"peerDependencies": {
55-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
56-
"@wormhole-foundation/sdk-base": "^0.12.0",
57-
"@wormhole-foundation/sdk-definitions": "^0.12.0",
58-
"@wormhole-foundation/sdk-evm": "^0.12.0",
59-
"@wormhole-foundation/sdk-evm-core": "^0.12.0"
51+
"@wormhole-foundation/sdk-base": "^1.0.0",
52+
"@wormhole-foundation/sdk-definitions": "^1.0.0",
53+
"@wormhole-foundation/sdk-evm": "^1.0.0",
54+
"@wormhole-foundation/sdk-evm-core": "^1.0.0"
6055
},
6156
"devDependencies": {
6257
"@typechain/ethers-v6": "^0.5.1",
@@ -76,4 +71,4 @@
7671
}
7772
}
7873
}
79-
}
74+
}

package-lock.json

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"type": "module",
55
"license": "Apache-2.0",
66
"scripts": {
@@ -21,7 +21,7 @@
2121
"@solana/web3.js": "^1.95.2",
2222
"@types/jest": "^29.5.12",
2323
"@types/node": "^20.12.2",
24-
"@wormhole-foundation/sdk": "^0.12.0",
24+
"@wormhole-foundation/sdk": "^1.0.0",
2525
"@wormhole-foundation/wormchain-sdk": "^0.0.1",
2626
"ethers": "^6.5.1",
2727
"ts-jest": "^29.1.2",

sdk/definitions/package.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-definitions-ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
@@ -48,13 +48,9 @@
4848
"clean": "rm -rf ./dist",
4949
"test": "jest --config ./jest.config.ts"
5050
},
51-
"dependencies": {
52-
"@wormhole-foundation/sdk-base": "^0.12.0",
53-
"@wormhole-foundation/sdk-definitions": "^0.12.0"
54-
},
5551
"peerDependencies": {
56-
"@wormhole-foundation/sdk-base": "^0.12.0",
57-
"@wormhole-foundation/sdk-definitions": "^0.12.0"
52+
"@wormhole-foundation/sdk-base": "^1.0.0",
53+
"@wormhole-foundation/sdk-definitions": "^1.0.0"
5854
},
5955
"type": "module"
6056
}

sdk/examples/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-examples-ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"license": "Apache-2.0",
55
"main": "./dist/cjs/index.js",
66
"types": "./dist/cjs/index.d.ts",
@@ -32,10 +32,10 @@
3232
"tsx": "^4.7.2"
3333
},
3434
"dependencies": {
35-
"@wormhole-foundation/sdk": "^0.12.0",
36-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
37-
"@wormhole-foundation/sdk-evm-ntt": "0.4.0",
38-
"@wormhole-foundation/sdk-solana-ntt": "0.4.0",
39-
"@wormhole-foundation/sdk-route-ntt": "0.4.0"
35+
"@wormhole-foundation/sdk": "^1.0.0",
36+
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0",
37+
"@wormhole-foundation/sdk-evm-ntt": "0.5.0",
38+
"@wormhole-foundation/sdk-solana-ntt": "0.5.0",
39+
"@wormhole-foundation/sdk-route-ntt": "0.5.0"
4040
}
4141
}

sdk/route/package.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-route-ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
@@ -45,16 +45,12 @@
4545
"ts-node": "^10.9.2"
4646
},
4747
"dependencies": {
48-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
49-
"@wormhole-foundation/sdk-solana-ntt": "0.4.0",
50-
"@wormhole-foundation/sdk-evm-ntt": "0.4.0",
51-
"@wormhole-foundation/sdk-connect": "^0.12.0"
48+
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0",
49+
"@wormhole-foundation/sdk-solana-ntt": "0.5.0",
50+
"@wormhole-foundation/sdk-evm-ntt": "0.5.0"
5251
},
5352
"peerDependencies": {
54-
"@wormhole-foundation/sdk-connect": "^0.12.0",
55-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
56-
"@wormhole-foundation/sdk-solana-ntt": "0.4.0",
57-
"@wormhole-foundation/sdk-evm-ntt": "0.4.0"
53+
"@wormhole-foundation/sdk-connect": "^1.0.0"
5854
},
5955
"type": "module",
6056
"exports": {

solana/package.json

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-solana-ntt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
@@ -53,18 +53,14 @@
5353
"@coral-xyz/borsh": "0.29.0",
5454
"@solana/spl-token": "0.4.0",
5555
"@solana/web3.js": "^1.95.2",
56-
"@wormhole-foundation/sdk-base": "^0.12.0",
57-
"@wormhole-foundation/sdk-definitions": "^0.12.0",
58-
"@wormhole-foundation/sdk-solana": "^0.12.0",
59-
"@wormhole-foundation/sdk-solana-core": "^0.12.0",
60-
"bn.js": "5.2.1"
56+
"bn.js": "5.2.1",
57+
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0"
6158
},
6259
"peerDependencies": {
63-
"@wormhole-foundation/sdk-base": "^0.12.0",
64-
"@wormhole-foundation/sdk-definitions": "^0.12.0",
65-
"@wormhole-foundation/sdk-definitions-ntt": "0.4.0",
66-
"@wormhole-foundation/sdk-solana": "^0.12.0",
67-
"@wormhole-foundation/sdk-solana-core": "^0.12.0"
60+
"@wormhole-foundation/sdk-base": "^1.0.0",
61+
"@wormhole-foundation/sdk-definitions": "^1.0.0",
62+
"@wormhole-foundation/sdk-solana": "^1.0.0",
63+
"@wormhole-foundation/sdk-solana-core": "^1.0.0"
6864
},
6965
"type": "module",
7066
"exports": {

0 commit comments

Comments
 (0)