Skip to content

Commit 4867d2d

Browse files
authored
Merge branch 'main' into update-sui-package
2 parents 8538512 + 007f61b commit 4867d2d

File tree

31 files changed

+113
-108
lines changed

31 files changed

+113
-108
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Node.js CI
2-
on: [push]
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
38

49
concurrency:
510
group: ${{ github.workflow }}-${{ github.ref }}

connect/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-connect",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -98,8 +98,8 @@
9898
},
9999
"dependencies": {
100100
"axios": "^1.4.0",
101-
"@wormhole-foundation/sdk-base": "0.10.2",
102-
"@wormhole-foundation/sdk-definitions": "0.10.2"
101+
"@wormhole-foundation/sdk-base": "0.10.3",
102+
"@wormhole-foundation/sdk-definitions": "0.10.3"
103103
},
104104
"type": "module"
105105
}

core/base/__tests__/finality.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import {
33
ConsistencyLevels,
44
finalityThreshold,
55
consistencyLevelToBlock,
6-
} from '../src/constants/finality.js';
6+
} from "../src/constants/finality.js";
77

88
describe("Finality tests", function () {
99
test("Receive expected number of rounds", () => {
10-
expect(finalityThreshold("Ethereum")).toEqual(64);
10+
expect(finalityThreshold("Ethereum")).toEqual(96);
1111
expect(finalityThreshold("Algorand")).toEqual(0);
1212
expect(finalityThreshold("Solana")).toEqual(32);
1313
});
@@ -41,7 +41,7 @@ describe("Finality tests", function () {
4141
test("Estimates rounds from finalized consistency level", () => {
4242
// 100 + (# final rounds)
4343
expect(consistencyLevelToBlock("Ethereum", ConsistencyLevels.Finalized, fromBlock)).toEqual(
44-
fromBlock + 64n,
44+
fromBlock + 96n,
4545
);
4646
expect(consistencyLevelToBlock("Solana", ConsistencyLevels.Finalized, fromBlock)).toEqual(
4747
fromBlock + 32n,

core/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-base",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"

core/definitions/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-definitions",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -86,7 +86,7 @@
8686
"dependencies": {
8787
"@noble/hashes": "^1.3.1",
8888
"@noble/curves": "^1.4.0",
89-
"@wormhole-foundation/sdk-base": "0.10.2"
89+
"@wormhole-foundation/sdk-base": "0.10.3"
9090
},
9191
"type": "module"
9292
}

core/icons/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-icons",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -50,7 +50,7 @@
5050
"dist/cjs"
5151
],
5252
"dependencies": {
53-
"@wormhole-foundation/sdk-base": "0.10.2"
53+
"@wormhole-foundation/sdk-base": "0.10.3"
5454
},
5555
"sideEffects": false,
5656
"scripts": {

examples/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/connect-sdk-examples",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -51,6 +51,6 @@
5151
"tsx": "^4.7.0"
5252
},
5353
"dependencies": {
54-
"@wormhole-foundation/sdk": "0.10.2"
54+
"@wormhole-foundation/sdk": "0.10.3"
5555
}
5656
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-sdk",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"license": "Apache-2.0",
55
"directories": {
66
"test": "__tests__"

platforms/algorand/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-algorand",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -96,7 +96,7 @@
9696
"test": "jest --config ./jest.config.ts"
9797
},
9898
"dependencies": {
99-
"@wormhole-foundation/sdk-connect": "0.10.2",
99+
"@wormhole-foundation/sdk-connect": "0.10.3",
100100
"algosdk": "2.7.0"
101101
},
102102
"type": "module"

platforms/algorand/protocols/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-algorand-core",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -45,8 +45,8 @@
4545
"prettier": "prettier --write ./src"
4646
},
4747
"dependencies": {
48-
"@wormhole-foundation/sdk-connect": "0.10.2",
49-
"@wormhole-foundation/sdk-algorand": "0.10.2"
48+
"@wormhole-foundation/sdk-connect": "0.10.3",
49+
"@wormhole-foundation/sdk-algorand": "0.10.3"
5050
},
5151
"type": "module",
5252
"exports": {

platforms/algorand/protocols/tokenBridge/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-algorand-tokenbridge",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -45,9 +45,9 @@
4545
"prettier": "prettier --write ./src"
4646
},
4747
"dependencies": {
48-
"@wormhole-foundation/sdk-connect": "0.10.2",
49-
"@wormhole-foundation/sdk-algorand": "0.10.2",
50-
"@wormhole-foundation/sdk-algorand-core": "0.10.2"
48+
"@wormhole-foundation/sdk-connect": "0.10.3",
49+
"@wormhole-foundation/sdk-algorand": "0.10.3",
50+
"@wormhole-foundation/sdk-algorand-core": "0.10.3"
5151
},
5252
"type": "module",
5353
"exports": {

platforms/aptos/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-aptos",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -46,7 +46,7 @@
4646
"prettier": "prettier --write ./src"
4747
},
4848
"dependencies": {
49-
"@wormhole-foundation/sdk-connect": "0.10.2",
49+
"@wormhole-foundation/sdk-connect": "0.10.3",
5050
"aptos": "1.21.0"
5151
},
5252
"type": "module",

platforms/aptos/protocols/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-aptos-core",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -45,8 +45,8 @@
4545
"prettier": "prettier --write ./src"
4646
},
4747
"dependencies": {
48-
"@wormhole-foundation/sdk-connect": "0.10.2",
49-
"@wormhole-foundation/sdk-aptos": "0.10.2"
48+
"@wormhole-foundation/sdk-connect": "0.10.3",
49+
"@wormhole-foundation/sdk-aptos": "0.10.3"
5050
},
5151
"type": "module",
5252
"exports": {

platforms/aptos/protocols/tokenBridge/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-aptos-tokenbridge",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -45,8 +45,8 @@
4545
"prettier": "prettier --write ./src"
4646
},
4747
"dependencies": {
48-
"@wormhole-foundation/sdk-connect": "0.10.2",
49-
"@wormhole-foundation/sdk-aptos": "0.10.2"
48+
"@wormhole-foundation/sdk-connect": "0.10.3",
49+
"@wormhole-foundation/sdk-aptos": "0.10.3"
5050
},
5151
"type": "module",
5252
"exports": {

platforms/cosmwasm/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-cosmwasm",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -53,7 +53,7 @@
5353
"test": "jest --config ./jest.config.ts"
5454
},
5555
"dependencies": {
56-
"@wormhole-foundation/sdk-connect": "0.10.2",
56+
"@wormhole-foundation/sdk-connect": "0.10.3",
5757
"@cosmjs/cosmwasm-stargate": "^0.32.0",
5858
"@cosmjs/proto-signing": "^0.32.0",
5959
"@cosmjs/stargate": "^0.32.0",

platforms/cosmwasm/protocols/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-cosmwasm-core",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -52,8 +52,8 @@
5252
"prettier": "prettier --write ./src"
5353
},
5454
"dependencies": {
55-
"@wormhole-foundation/sdk-connect": "0.10.2",
56-
"@wormhole-foundation/sdk-cosmwasm": "0.10.2",
55+
"@wormhole-foundation/sdk-connect": "0.10.3",
56+
"@wormhole-foundation/sdk-cosmwasm": "0.10.3",
5757
"@cosmjs/cosmwasm-stargate": "^0.32.0",
5858
"@cosmjs/stargate": "^0.32.0",
5959
"@injectivelabs/sdk-ts": "^1.14.13-beta.2"

platforms/cosmwasm/protocols/ibc/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-cosmwasm-ibc",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -57,9 +57,9 @@
5757
"@cosmjs/stargate": "^0.32.0",
5858
"cosmjs-types": "^0.9.0",
5959
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
60-
"@wormhole-foundation/sdk-connect": "0.10.2",
61-
"@wormhole-foundation/sdk-cosmwasm": "0.10.2",
62-
"@wormhole-foundation/sdk-cosmwasm-core": "0.10.2"
60+
"@wormhole-foundation/sdk-connect": "0.10.3",
61+
"@wormhole-foundation/sdk-cosmwasm": "0.10.3",
62+
"@wormhole-foundation/sdk-cosmwasm-core": "0.10.3"
6363
},
6464
"type": "module",
6565
"exports": {

platforms/cosmwasm/protocols/tokenBridge/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-cosmwasm-tokenbridge",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -54,8 +54,8 @@
5454
"dependencies": {
5555
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
5656
"@cosmjs/cosmwasm-stargate": "^0.32.0",
57-
"@wormhole-foundation/sdk-connect": "0.10.2",
58-
"@wormhole-foundation/sdk-cosmwasm": "0.10.2"
57+
"@wormhole-foundation/sdk-connect": "0.10.3",
58+
"@wormhole-foundation/sdk-cosmwasm": "0.10.3"
5959
},
6060
"type": "module",
6161
"exports": {

platforms/evm/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-evm",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -57,7 +57,7 @@
5757
"nock": "13.3.8"
5858
},
5959
"dependencies": {
60-
"@wormhole-foundation/sdk-connect": "0.10.2",
60+
"@wormhole-foundation/sdk-connect": "0.10.3",
6161
"ethers": "^6.5.1"
6262
},
6363
"type": "module",

platforms/evm/protocols/cctp/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-evm-cctp",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -53,8 +53,8 @@
5353
"prettier": "prettier --write ./src"
5454
},
5555
"dependencies": {
56-
"@wormhole-foundation/sdk-connect": "0.10.2",
57-
"@wormhole-foundation/sdk-evm": "0.10.2",
56+
"@wormhole-foundation/sdk-connect": "0.10.3",
57+
"@wormhole-foundation/sdk-evm": "0.10.3",
5858
"ethers": "^6.5.1"
5959
},
6060
"type": "module",

platforms/evm/protocols/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-evm-core",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -52,8 +52,8 @@
5252
"prettier": "prettier --write ./src"
5353
},
5454
"dependencies": {
55-
"@wormhole-foundation/sdk-connect": "0.10.2",
56-
"@wormhole-foundation/sdk-evm": "0.10.2",
55+
"@wormhole-foundation/sdk-connect": "0.10.3",
56+
"@wormhole-foundation/sdk-evm": "0.10.3",
5757
"ethers": "^6.5.1"
5858
},
5959
"type": "module",

platforms/evm/protocols/portico/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wormhole-foundation/sdk-evm-portico",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -52,10 +52,10 @@
5252
"prettier": "prettier --write ./src"
5353
},
5454
"dependencies": {
55-
"@wormhole-foundation/sdk-connect": "0.10.2",
56-
"@wormhole-foundation/sdk-evm": "0.10.2",
57-
"@wormhole-foundation/sdk-evm-core": "0.10.2",
58-
"@wormhole-foundation/sdk-evm-tokenbridge": "0.10.2",
55+
"@wormhole-foundation/sdk-connect": "0.10.3",
56+
"@wormhole-foundation/sdk-evm": "0.10.3",
57+
"@wormhole-foundation/sdk-evm-core": "0.10.3",
58+
"@wormhole-foundation/sdk-evm-tokenbridge": "0.10.3",
5959
"ethers": "^6.5.1"
6060
},
6161
"type": "module",

0 commit comments

Comments
 (0)