From 5810ebbd3635aaf1b5ab675da3f99f62aec2210f Mon Sep 17 00:00:00 2001 From: kev1n-peters <96065607+kev1n-peters@users.noreply.github.com> Date: Mon, 9 Sep 2024 21:25:14 -0500 Subject: [PATCH] solana cctp: create ata if not exists in redeem function (#692) * solana cctp: create ata if not exists in redeem function Addresses #691 * 0.10.5 version bump --- connect/package.json | 6 +-- core/base/package.json | 2 +- core/definitions/package.json | 4 +- core/icons/package.json | 4 +- examples/package.json | 4 +- package.json | 2 +- platforms/algorand/package.json | 4 +- .../algorand/protocols/core/package.json | 6 +-- .../protocols/tokenBridge/package.json | 8 +-- platforms/aptos/package.json | 4 +- platforms/aptos/protocols/core/package.json | 6 +-- .../aptos/protocols/tokenBridge/package.json | 6 +-- platforms/cosmwasm/package.json | 4 +- .../cosmwasm/protocols/core/package.json | 6 +-- platforms/cosmwasm/protocols/ibc/package.json | 8 +-- .../protocols/tokenBridge/package.json | 6 +-- platforms/evm/package.json | 4 +- platforms/evm/protocols/cctp/package.json | 6 +-- platforms/evm/protocols/core/package.json | 6 +-- platforms/evm/protocols/portico/package.json | 10 ++-- .../evm/protocols/tokenBridge/package.json | 8 +-- platforms/solana/package.json | 4 +- platforms/solana/protocols/cctp/package.json | 6 +-- .../solana/protocols/cctp/src/circleBridge.ts | 25 ++++++++- platforms/solana/protocols/core/package.json | 6 +-- .../solana/protocols/tokenBridge/package.json | 8 +-- platforms/sui/package.json | 4 +- platforms/sui/protocols/core/package.json | 6 +-- .../sui/protocols/tokenBridge/package.json | 8 +-- sdk/package.json | 52 +++++++++---------- 30 files changed, 128 insertions(+), 105 deletions(-) diff --git a/connect/package.json b/connect/package.json index 780d4f125..92c841205 100644 --- a/connect/package.json +++ b/connect/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-connect", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -98,8 +98,8 @@ }, "dependencies": { "axios": "^1.4.0", - "@wormhole-foundation/sdk-base": "0.10.4", - "@wormhole-foundation/sdk-definitions": "0.10.4" + "@wormhole-foundation/sdk-base": "0.10.5", + "@wormhole-foundation/sdk-definitions": "0.10.5" }, "type": "module" } \ No newline at end of file diff --git a/core/base/package.json b/core/base/package.json index 6b18ba738..d17a9442c 100644 --- a/core/base/package.json +++ b/core/base/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-base", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" diff --git a/core/definitions/package.json b/core/definitions/package.json index 682fe4b53..9c60bfc53 100644 --- a/core/definitions/package.json +++ b/core/definitions/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-definitions", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -86,7 +86,7 @@ "dependencies": { "@noble/hashes": "^1.3.1", "@noble/curves": "^1.4.0", - "@wormhole-foundation/sdk-base": "0.10.4" + "@wormhole-foundation/sdk-base": "0.10.5" }, "type": "module" } \ No newline at end of file diff --git a/core/icons/package.json b/core/icons/package.json index 3b67c1cf8..ddc83bc2d 100644 --- a/core/icons/package.json +++ b/core/icons/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-icons", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -50,7 +50,7 @@ "dist/cjs" ], "dependencies": { - "@wormhole-foundation/sdk-base": "0.10.4" + "@wormhole-foundation/sdk-base": "0.10.5" }, "sideEffects": false, "scripts": { diff --git a/examples/package.json b/examples/package.json index de79f6274..09959e49f 100644 --- a/examples/package.json +++ b/examples/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/connect-sdk-examples", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -51,6 +51,6 @@ "tsx": "^4.7.0" }, "dependencies": { - "@wormhole-foundation/sdk": "0.10.4" + "@wormhole-foundation/sdk": "0.10.5" } } \ No newline at end of file diff --git a/package.json b/package.json index 5ae5283bb..8eece4d26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-sdk", - "version": "0.10.4", + "version": "0.10.5", "license": "Apache-2.0", "directories": { "test": "__tests__" diff --git a/platforms/algorand/package.json b/platforms/algorand/package.json index 67f9f733d..3a47ff8ef 100644 --- a/platforms/algorand/package.json +++ b/platforms/algorand/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-algorand", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -96,7 +96,7 @@ "test": "jest --config ./jest.config.ts" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "algosdk": "2.7.0" }, "type": "module" diff --git a/platforms/algorand/protocols/core/package.json b/platforms/algorand/protocols/core/package.json index 64efe475b..ea9bc2e63 100644 --- a/platforms/algorand/protocols/core/package.json +++ b/platforms/algorand/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-algorand-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,8 +45,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-algorand": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-algorand": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/algorand/protocols/tokenBridge/package.json b/platforms/algorand/protocols/tokenBridge/package.json index 8bcf74fd2..fdb5b9825 100644 --- a/platforms/algorand/protocols/tokenBridge/package.json +++ b/platforms/algorand/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-algorand-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,9 +45,9 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-algorand": "0.10.4", - "@wormhole-foundation/sdk-algorand-core": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-algorand": "0.10.5", + "@wormhole-foundation/sdk-algorand-core": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/aptos/package.json b/platforms/aptos/package.json index c85c89809..64b23c40a 100644 --- a/platforms/aptos/package.json +++ b/platforms/aptos/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-aptos", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -46,7 +46,7 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "aptos": "1.21.0" }, "type": "module", diff --git a/platforms/aptos/protocols/core/package.json b/platforms/aptos/protocols/core/package.json index 9e6e2355a..7e00e1ff0 100644 --- a/platforms/aptos/protocols/core/package.json +++ b/platforms/aptos/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-aptos-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,8 +45,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-aptos": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-aptos": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/aptos/protocols/tokenBridge/package.json b/platforms/aptos/protocols/tokenBridge/package.json index f5e3b9b9c..0d8f825b7 100644 --- a/platforms/aptos/protocols/tokenBridge/package.json +++ b/platforms/aptos/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-aptos-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,8 +45,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-aptos": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-aptos": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/cosmwasm/package.json b/platforms/cosmwasm/package.json index f9f4812c3..bf984cd7c 100644 --- a/platforms/cosmwasm/package.json +++ b/platforms/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-cosmwasm", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -53,7 +53,7 @@ "test": "jest --config ./jest.config.ts" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "@cosmjs/cosmwasm-stargate": "^0.32.0", "@cosmjs/proto-signing": "^0.32.0", "@cosmjs/stargate": "^0.32.0", diff --git a/platforms/cosmwasm/protocols/core/package.json b/platforms/cosmwasm/protocols/core/package.json index e6e9b27b5..f500d4b86 100644 --- a/platforms/cosmwasm/protocols/core/package.json +++ b/platforms/cosmwasm/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-cosmwasm-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -52,8 +52,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm": "0.10.5", "@cosmjs/cosmwasm-stargate": "^0.32.0", "@cosmjs/stargate": "^0.32.0", "@injectivelabs/sdk-ts": "^1.14.13-beta.2" diff --git a/platforms/cosmwasm/protocols/ibc/package.json b/platforms/cosmwasm/protocols/ibc/package.json index 7a54ca02e..0c8b66467 100644 --- a/platforms/cosmwasm/protocols/ibc/package.json +++ b/platforms/cosmwasm/protocols/ibc/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-cosmwasm-ibc", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -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.10.4", - "@wormhole-foundation/sdk-cosmwasm": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm-core": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm-core": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/cosmwasm/protocols/tokenBridge/package.json b/platforms/cosmwasm/protocols/tokenBridge/package.json index bf0c6f824..f4db37a53 100644 --- a/platforms/cosmwasm/protocols/tokenBridge/package.json +++ b/platforms/cosmwasm/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-cosmwasm-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -54,8 +54,8 @@ "dependencies": { "@injectivelabs/sdk-ts": "^1.14.13-beta.2", "@cosmjs/cosmwasm-stargate": "^0.32.0", - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/evm/package.json b/platforms/evm/package.json index a61aff5e7..fc10663b1 100644 --- a/platforms/evm/package.json +++ b/platforms/evm/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-evm", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -57,7 +57,7 @@ "nock": "13.3.8" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "ethers": "^6.5.1" }, "type": "module", diff --git a/platforms/evm/protocols/cctp/package.json b/platforms/evm/protocols/cctp/package.json index d17139c98..f87a53c3a 100644 --- a/platforms/evm/protocols/cctp/package.json +++ b/platforms/evm/protocols/cctp/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-evm-cctp", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -53,8 +53,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-evm": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-evm": "0.10.5", "ethers": "^6.5.1" }, "type": "module", diff --git a/platforms/evm/protocols/core/package.json b/platforms/evm/protocols/core/package.json index 563e2e31e..bf956f300 100644 --- a/platforms/evm/protocols/core/package.json +++ b/platforms/evm/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-evm-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -52,8 +52,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-evm": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-evm": "0.10.5", "ethers": "^6.5.1" }, "type": "module", diff --git a/platforms/evm/protocols/portico/package.json b/platforms/evm/protocols/portico/package.json index 33318bd8f..2bd1bb69f 100644 --- a/platforms/evm/protocols/portico/package.json +++ b/platforms/evm/protocols/portico/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-evm-portico", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -52,10 +52,10 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-evm": "0.10.4", - "@wormhole-foundation/sdk-evm-core": "0.10.4", - "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-evm": "0.10.5", + "@wormhole-foundation/sdk-evm-core": "0.10.5", + "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.5", "ethers": "^6.5.1" }, "type": "module", diff --git a/platforms/evm/protocols/tokenBridge/package.json b/platforms/evm/protocols/tokenBridge/package.json index bac89357c..a3c804757 100644 --- a/platforms/evm/protocols/tokenBridge/package.json +++ b/platforms/evm/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-evm-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -52,9 +52,9 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-evm": "0.10.4", - "@wormhole-foundation/sdk-evm-core": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-evm": "0.10.5", + "@wormhole-foundation/sdk-evm-core": "0.10.5", "ethers": "^6.5.1" }, "type": "module", diff --git a/platforms/solana/package.json b/platforms/solana/package.json index c5c9afc99..2553f4321 100644 --- a/platforms/solana/package.json +++ b/platforms/solana/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-solana", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -53,7 +53,7 @@ "@coral-xyz/borsh": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.2", - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "rpc-websockets": "^7.10.0" }, "type": "module", diff --git a/platforms/solana/protocols/cctp/package.json b/platforms/solana/protocols/cctp/package.json index 89f9a4df5..333670058 100644 --- a/platforms/solana/protocols/cctp/package.json +++ b/platforms/solana/protocols/cctp/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-solana-cctp", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -48,8 +48,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-solana": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-solana": "0.10.5", "@coral-xyz/anchor": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.2" diff --git a/platforms/solana/protocols/cctp/src/circleBridge.ts b/platforms/solana/protocols/cctp/src/circleBridge.ts index a6e75eed0..d28f22206 100644 --- a/platforms/solana/protocols/cctp/src/circleBridge.ts +++ b/platforms/solana/protocols/cctp/src/circleBridge.ts @@ -14,7 +14,10 @@ import { CircleBridge, circle } from '@wormhole-foundation/sdk-connect'; import type { Program } from '@coral-xyz/anchor'; import BN from 'bn.js'; -import { getAssociatedTokenAddressSync } from '@solana/spl-token'; +import { + createAssociatedTokenAccountInstruction, + getAssociatedTokenAddressSync, +} from '@solana/spl-token'; import type { SolanaChains, SolanaTransaction, @@ -100,6 +103,26 @@ export class SolanaCircleBridge const senderPk = new SolanaAddress(sender).unwrap(); + // If the ATA doesn't exist then create it + const mintRecipient = new SolanaAddress( + message.payload.mintRecipient, + ).unwrap(); + const ata = await this.connection.getAccountInfo(mintRecipient); + + if (!ata) { + const transaction = new Transaction().add( + createAssociatedTokenAccountInstruction( + senderPk, + mintRecipient, + senderPk, + usdc, + ), + ); + + transaction.feePayer = senderPk; + yield this.createUnsignedTx({ transaction }, 'CircleBridge.CreateATA'); + } + const ix = await createReceiveMessageInstruction( this.messageTransmitter.programId, this.tokenMessenger.programId, diff --git a/platforms/solana/protocols/core/package.json b/platforms/solana/protocols/core/package.json index e555eeae8..a561ddc64 100644 --- a/platforms/solana/protocols/core/package.json +++ b/platforms/solana/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-solana-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,8 +45,8 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-solana": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-solana": "0.10.5", "@coral-xyz/borsh": "0.29.0", "@coral-xyz/anchor": "0.29.0", "@solana/web3.js": "^1.95.2" diff --git a/platforms/solana/protocols/tokenBridge/package.json b/platforms/solana/protocols/tokenBridge/package.json index 42eb4d52e..a1bc84740 100644 --- a/platforms/solana/protocols/tokenBridge/package.json +++ b/platforms/solana/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-solana-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -45,9 +45,9 @@ "prettier": "prettier --write ./src" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-solana": "0.10.4", - "@wormhole-foundation/sdk-solana-core": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-solana": "0.10.5", + "@wormhole-foundation/sdk-solana-core": "0.10.5", "@coral-xyz/anchor": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.2" diff --git a/platforms/sui/package.json b/platforms/sui/package.json index e7235f7d5..c2bcd485f 100644 --- a/platforms/sui/package.json +++ b/platforms/sui/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-sui", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -46,7 +46,7 @@ "test": "jest --config ./jest.config.ts" }, "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.4", + "@wormhole-foundation/sdk-connect": "0.10.5", "@mysten/sui.js": "^0.50.1" }, "type": "module", diff --git a/platforms/sui/protocols/core/package.json b/platforms/sui/protocols/core/package.json index f08429f13..5ad1774de 100644 --- a/platforms/sui/protocols/core/package.json +++ b/platforms/sui/protocols/core/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-sui-core", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -46,8 +46,8 @@ }, "dependencies": { "@mysten/sui.js": "^0.50.1", - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-sui": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-sui": "0.10.5" }, "type": "module", "exports": { diff --git a/platforms/sui/protocols/tokenBridge/package.json b/platforms/sui/protocols/tokenBridge/package.json index f6594a474..0d19465df 100644 --- a/platforms/sui/protocols/tokenBridge/package.json +++ b/platforms/sui/protocols/tokenBridge/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk-sui-tokenbridge", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -46,9 +46,9 @@ }, "dependencies": { "@mysten/sui.js": "^0.50.1", - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-sui": "0.10.4", - "@wormhole-foundation/sdk-sui-core": "0.10.4" + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-sui": "0.10.5", + "@wormhole-foundation/sdk-sui-core": "0.10.5" }, "type": "module", "exports": { diff --git a/sdk/package.json b/sdk/package.json index c5e68ef7c..db00e639c 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@wormhole-foundation/sdk", - "version": "0.10.4", + "version": "0.10.5", "repository": { "type": "git", "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" @@ -384,31 +384,31 @@ } }, "dependencies": { - "@wormhole-foundation/sdk-base": "0.10.4", - "@wormhole-foundation/sdk-definitions": "0.10.4", - "@wormhole-foundation/sdk-connect": "0.10.4", - "@wormhole-foundation/sdk-evm": "0.10.4", - "@wormhole-foundation/sdk-evm-core": "0.10.4", - "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.4", - "@wormhole-foundation/sdk-evm-portico": "0.10.4", - "@wormhole-foundation/sdk-evm-cctp": "0.10.4", - "@wormhole-foundation/sdk-solana": "0.10.4", - "@wormhole-foundation/sdk-solana-core": "0.10.4", - "@wormhole-foundation/sdk-solana-tokenbridge": "0.10.4", - "@wormhole-foundation/sdk-solana-cctp": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm-core": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "0.10.4", - "@wormhole-foundation/sdk-cosmwasm-ibc": "0.10.4", - "@wormhole-foundation/sdk-sui": "0.10.4", - "@wormhole-foundation/sdk-sui-core": "0.10.4", - "@wormhole-foundation/sdk-sui-tokenbridge": "0.10.4", - "@wormhole-foundation/sdk-aptos": "0.10.4", - "@wormhole-foundation/sdk-aptos-core": "0.10.4", - "@wormhole-foundation/sdk-aptos-tokenbridge": "0.10.4", - "@wormhole-foundation/sdk-algorand": "0.10.4", - "@wormhole-foundation/sdk-algorand-core": "0.10.4", - "@wormhole-foundation/sdk-algorand-tokenbridge": "0.10.4" + "@wormhole-foundation/sdk-base": "0.10.5", + "@wormhole-foundation/sdk-definitions": "0.10.5", + "@wormhole-foundation/sdk-connect": "0.10.5", + "@wormhole-foundation/sdk-evm": "0.10.5", + "@wormhole-foundation/sdk-evm-core": "0.10.5", + "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.5", + "@wormhole-foundation/sdk-evm-portico": "0.10.5", + "@wormhole-foundation/sdk-evm-cctp": "0.10.5", + "@wormhole-foundation/sdk-solana": "0.10.5", + "@wormhole-foundation/sdk-solana-core": "0.10.5", + "@wormhole-foundation/sdk-solana-tokenbridge": "0.10.5", + "@wormhole-foundation/sdk-solana-cctp": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm-core": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "0.10.5", + "@wormhole-foundation/sdk-cosmwasm-ibc": "0.10.5", + "@wormhole-foundation/sdk-sui": "0.10.5", + "@wormhole-foundation/sdk-sui-core": "0.10.5", + "@wormhole-foundation/sdk-sui-tokenbridge": "0.10.5", + "@wormhole-foundation/sdk-aptos": "0.10.5", + "@wormhole-foundation/sdk-aptos-core": "0.10.5", + "@wormhole-foundation/sdk-aptos-tokenbridge": "0.10.5", + "@wormhole-foundation/sdk-algorand": "0.10.5", + "@wormhole-foundation/sdk-algorand-core": "0.10.5", + "@wormhole-foundation/sdk-algorand-tokenbridge": "0.10.5" }, "type": "module" } \ No newline at end of file