Skip to content

Commit

Permalink
Sui vite fix (#658)
Browse files Browse the repository at this point in the history
* sui: explicitly set SuiAddress platform

There is an issue with vite/rollup where the platform is being set
to undefined when running an app built with the SDK on the local dev server.

A similar issue was fixed here: #615

It's not clear what the root cause is and if it's an actual bug in vite/rollup
or in the SDK.

* 0.9.1 version bump
  • Loading branch information
kev1n-peters committed Aug 7, 2024
1 parent 6ac2e72 commit e91bcce
Show file tree
Hide file tree
Showing 30 changed files with 105 additions and 105 deletions.
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/sdk-connect",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -98,8 +98,8 @@
},
"dependencies": {
"axios": "^1.4.0",
"@wormhole-foundation/sdk-base": "0.9.0",
"@wormhole-foundation/sdk-definitions": "0.9.0"
"@wormhole-foundation/sdk-base": "0.9.1",
"@wormhole-foundation/sdk-definitions": "0.9.1"
},
"type": "module"
}
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.9.0",
"version": "0.9.1",
"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.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -86,7 +86,7 @@
"dependencies": {
"@noble/hashes": "^1.3.1",
"@noble/curves": "^1.4.0",
"@wormhole-foundation/sdk-base": "0.9.0"
"@wormhole-foundation/sdk-base": "0.9.1"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions core/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-icons",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -50,7 +50,7 @@
"dist/cjs"
],
"dependencies": {
"@wormhole-foundation/sdk-base": "0.9.0"
"@wormhole-foundation/sdk-base": "0.9.1"
},
"sideEffects": false,
"scripts": {
Expand Down
4 changes: 2 additions & 2 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.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -51,6 +51,6 @@
"tsx": "^4.7.0"
},
"dependencies": {
"@wormhole-foundation/sdk": "0.9.0"
"@wormhole-foundation/sdk": "0.9.1"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-sdk",
"version": "0.9.0",
"version": "0.9.1",
"license": "Apache-2.0",
"directories": {
"test": "__tests__"
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/sdk-algorand",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -96,7 +96,7 @@
"test": "jest --config ./jest.config.ts"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"algosdk": "2.7.0"
},
"type": "module"
Expand Down
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/sdk-algorand-core",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -45,8 +45,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-algorand": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-algorand": "0.9.1"
},
"type": "module",
"exports": {
Expand Down
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/sdk-algorand-tokenbridge",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -45,9 +45,9 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-algorand": "0.9.0",
"@wormhole-foundation/sdk-algorand-core": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-algorand": "0.9.1",
"@wormhole-foundation/sdk-algorand-core": "0.9.1"
},
"type": "module",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions platforms/aptos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-aptos",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -46,7 +46,7 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"aptos": "1.21.0"
},
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions platforms/aptos/protocols/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-aptos-core",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -45,8 +45,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-aptos": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-aptos": "0.9.1"
},
"type": "module",
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions platforms/aptos/protocols/tokenBridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-aptos-tokenbridge",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -45,8 +45,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-aptos": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-aptos": "0.9.1"
},
"type": "module",
"exports": {
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/sdk-cosmwasm",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -53,7 +53,7 @@
"test": "jest --config ./jest.config.ts"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@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/sdk-cosmwasm-core",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,8 +52,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-cosmwasm": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-cosmwasm": "0.9.1",
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
"@injectivelabs/sdk-ts": "^1.14.13-beta.2"
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/sdk-cosmwasm-ibc",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -57,9 +57,9 @@
"@cosmjs/stargate": "^0.32.0",
"cosmjs-types": "^0.9.0",
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-cosmwasm": "0.9.0",
"@wormhole-foundation/sdk-cosmwasm-core": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-cosmwasm": "0.9.1",
"@wormhole-foundation/sdk-cosmwasm-core": "0.9.1"
},
"type": "module",
"exports": {
Expand Down
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/sdk-cosmwasm-tokenbridge",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -54,8 +54,8 @@
"dependencies": {
"@injectivelabs/sdk-ts": "^1.14.13-beta.2",
"@cosmjs/cosmwasm-stargate": "^0.32.0",
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-cosmwasm": "0.9.0"
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-cosmwasm": "0.9.1"
},
"type": "module",
"exports": {
Expand Down
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/sdk-evm",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -57,7 +57,7 @@
"nock": "13.3.8"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"ethers": "^6.5.1"
},
"type": "module",
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/sdk-evm-cctp",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -53,8 +53,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-evm": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-evm": "0.9.1",
"ethers": "^6.5.1"
},
"type": "module",
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/sdk-evm-core",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,8 +52,8 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-evm": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-evm": "0.9.1",
"ethers": "^6.5.1"
},
"type": "module",
Expand Down
10 changes: 5 additions & 5 deletions platforms/evm/protocols/portico/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/sdk-evm-portico",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,10 +52,10 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-evm": "0.9.0",
"@wormhole-foundation/sdk-evm-core": "0.9.0",
"@wormhole-foundation/sdk-evm-tokenbridge": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-evm": "0.9.1",
"@wormhole-foundation/sdk-evm-core": "0.9.1",
"@wormhole-foundation/sdk-evm-tokenbridge": "0.9.1",
"ethers": "^6.5.1"
},
"type": "module",
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/sdk-evm-tokenbridge",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -52,9 +52,9 @@
"prettier": "prettier --write ./src"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-evm": "0.9.0",
"@wormhole-foundation/sdk-evm-core": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@wormhole-foundation/sdk-evm": "0.9.1",
"@wormhole-foundation/sdk-evm-core": "0.9.1",
"ethers": "^6.5.1"
},
"type": "module",
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/sdk-solana",
"version": "0.9.0",
"version": "0.9.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
Expand Down Expand Up @@ -49,7 +49,7 @@
"nock": "^13.3.3"
},
"dependencies": {
"@wormhole-foundation/sdk-connect": "0.9.0",
"@wormhole-foundation/sdk-connect": "0.9.1",
"@coral-xyz/borsh": "0.29.0",
"@coral-xyz/anchor": "0.29.0",
"@solana/spl-token": "0.3.9",
Expand Down
Loading

0 comments on commit e91bcce

Please sign in to comment.