Skip to content

Commit

Permalink
bump version with algorand
Browse files Browse the repository at this point in the history
  • Loading branch information
barnjamin committed Dec 29, 2023
1 parent 1a9d8fb commit 5e28af4
Show file tree
Hide file tree
Showing 22 changed files with 70 additions and 74 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0-beta.6
0.3.0-beta.7
6 changes: 3 additions & 3 deletions connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"axios": "^1.4.0",
"@wormhole-foundation/sdk-base": "^0.3.0-beta.6",
"@wormhole-foundation/sdk-definitions": "^0.3.0-beta.6"
"@wormhole-foundation/sdk-base": "^0.3.0-beta.7",
"@wormhole-foundation/sdk-definitions": "^0.3.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion core/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-base",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down
4 changes: 2 additions & 2 deletions core/definitions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-definitions",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -30,6 +30,6 @@
},
"dependencies": {
"@noble/hashes": "^1.3.1",
"@wormhole-foundation/sdk-base": "^0.3.0-beta.6"
"@wormhole-foundation/sdk-base": "^0.3.0-beta.7"
}
}
28 changes: 14 additions & 14 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-examples",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -51,19 +51,19 @@
"tsx": "^4.7.0"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm-core": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana-core": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm-core": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm-tokenbridge": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana-tokenbridge": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm-tokenbridge": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm-cctp": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana-cctp": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm-ibc": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm-core": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana-core": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm-core": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm-tokenbridge": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana-tokenbridge": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm-tokenbridge": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm-cctp": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana-cctp": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm-ibc": "^0.3.0-beta.7",
"algosdk": "^2.7.0"
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-sdk",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"license": "Apache-2.0",
"directories": {
"test": "__tests__"
Expand Down Expand Up @@ -34,7 +34,7 @@
"test": "NETWORK=Mainnet npm run test --workspaces --if-present",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 typedoc --options typedoc.json",
"sync": "tsx syncVersion.ts && npm install && npm run build",
"publish": "npm publish --access public --tag $TAG --workspace core --workspace connect --workspace platforms --workspace platforms/evm/protocols --workspace platforms/solana/protocols --workspace platforms/cosmwasm/protocols",
"publish": "npm publish --access public --tag $TAG --workspace core --workspace connect --workspace platforms --workspace platforms/evm/protocols --workspace platforms/solana/protocols --workspace platforms/cosmwasm/protocols --workspace platforms/algorand/protocols",
"pub:beta": "TAG=beta npm run publish",
"pub:latest": "TAG=latest npm run publish"
},
Expand All @@ -49,6 +49,7 @@
"platforms/solana",
"platforms/solana/protocols/core",
"platforms/solana/protocols/tokenBridge",
"platforms/solana/protocols/cctp",
"platforms/cosmwasm",
"platforms/cosmwasm/protocols/core",
"platforms/cosmwasm/protocols/tokenBridge",
Expand Down
4 changes: 2 additions & 2 deletions platforms/algorand/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-algorand",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -43,7 +43,7 @@
"test": "jest --config ./jest.config.ts"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"algosdk": "2.7.0"
}
}
6 changes: 3 additions & 3 deletions platforms/algorand/protocols/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-algorand-core",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -42,7 +42,7 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-algorand": "^0.3.0-beta.6"
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-algorand": "^0.3.0-beta.7"
}
}
8 changes: 4 additions & 4 deletions platforms/algorand/protocols/tokenBridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-algorand-tokenbridge",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -42,8 +42,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-algorand": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-algorand-core": "^0.3.0-beta.6"
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-algorand": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-algorand-core": "^0.3.0-beta.7"
}
}
5 changes: 0 additions & 5 deletions platforms/algorand/src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ export class AlgorandPlatform<N extends Network> extends PlatformContext<N, Algo
return platform === AlgorandPlatform._platform;
}

static hexToUint8Array = (h: string): Uint8Array => {
if (h.startsWith("0x")) h = h.slice(2);
return new Uint8Array(Buffer.from(h, "hex"));
};

static async getDecimals(
chain: Chain,
rpc: Algodv2,
Expand Down
4 changes: 2 additions & 2 deletions platforms/cosmwasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-cosmwasm",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -50,7 +50,7 @@
"test": "jest --config ./jest.config.ts"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@cosmjs/proto-signing": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
Expand Down
6 changes: 3 additions & 3 deletions platforms/cosmwasm/protocols/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-cosmwasm-core",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -49,8 +49,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.7",
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
"cosmjs-types": "^0.9.0"
Expand Down
8 changes: 4 additions & 4 deletions platforms/cosmwasm/protocols/ibc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-cosmwasm-ibc",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,8 +52,8 @@
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
"cosmjs-types": "^0.9.0",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm-core": "^0.3.0-beta.6"
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm-core": "^0.3.0-beta.7"
}
}
6 changes: 3 additions & 3 deletions platforms/cosmwasm/protocols/tokenBridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-cosmwasm-tokenbridge",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,7 +52,7 @@
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
"cosmjs-types": "^0.9.0",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.6"
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-cosmwasm": "^0.3.0-beta.7"
}
}
4 changes: 2 additions & 2 deletions platforms/evm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-evm",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -53,7 +53,7 @@
"nock": "13.3.8"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"typechain": "^8.2.0",
"ethers": "^6.5.1",
"@typechain/ethers-v6": "^0.4.0"
Expand Down
6 changes: 3 additions & 3 deletions platforms/evm/protocols/cctp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-evm-cctp",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -49,8 +49,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.7",
"typechain": "^8.2.0",
"ethers": "^6.5.1",
"@typechain/ethers-v6": "^0.4.0"
Expand Down
6 changes: 3 additions & 3 deletions platforms/evm/protocols/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-evm-core",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -49,8 +49,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.7",
"typechain": "^8.2.0",
"ethers": "^6.5.1",
"@typechain/ethers-v6": "^0.4.0"
Expand Down
8 changes: 4 additions & 4 deletions platforms/evm/protocols/tokenBridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-evm-tokenbridge",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -49,9 +49,9 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-evm-core": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-evm-core": "^0.3.0-beta.7",
"typechain": "^8.2.0",
"ethers": "^6.5.1",
"@typechain/ethers-v6": "^0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions platforms/solana/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-solana",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -46,7 +46,7 @@
"nock": "^13.3.3"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@coral-xyz/borsh": "0.2.6",
"@project-serum/anchor": "0.25.0",
"@project-serum/borsh": "0.2.5",
Expand Down
8 changes: 4 additions & 4 deletions platforms/solana/protocols/cctp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-solana-cctp",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -47,9 +47,9 @@
"nock": "^13.3.3"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana-core": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana-core": "^0.3.0-beta.7",
"@coral-xyz/borsh": "0.2.6",
"@project-serum/anchor": "0.25.0",
"@project-serum/borsh": "0.2.5",
Expand Down
6 changes: 3 additions & 3 deletions platforms/solana/protocols/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/connect-sdk-solana-core",
"version": "0.3.0-beta.6",
"version": "0.3.0-beta.7",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -46,8 +46,8 @@
"nock": "^13.3.3"
},
"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.6",
"@wormhole-foundation/connect-sdk": "^0.3.0-beta.7",
"@wormhole-foundation/connect-sdk-solana": "^0.3.0-beta.7",
"@coral-xyz/borsh": "0.2.6",
"@project-serum/anchor": "0.25.0",
"@project-serum/borsh": "0.2.5",
Expand Down
Loading

0 comments on commit 5e28af4

Please sign in to comment.