From a532f632596348d32fadd52960e6374fed474729 Mon Sep 17 00:00:00 2001 From: Artur Sapek Date: Fri, 11 Oct 2024 09:35:18 -0400 Subject: [PATCH 1/2] update repository url in package.json files --- connect/package.json | 6 +++--- core/base/package.json | 6 +++--- core/definitions/package.json | 6 +++--- core/icons/package.json | 6 +++--- examples/package.json | 8 ++++---- package-lock.json | 4 ++-- platforms/algorand/package.json | 6 +++--- platforms/algorand/protocols/core/package.json | 6 +++--- platforms/algorand/protocols/tokenBridge/package.json | 6 +++--- platforms/aptos/package.json | 6 +++--- platforms/aptos/protocols/core/package.json | 8 ++++---- platforms/aptos/protocols/tokenBridge/package.json | 6 +++--- platforms/cosmwasm/package.json | 6 +++--- platforms/cosmwasm/protocols/core/package.json | 6 +++--- platforms/cosmwasm/protocols/ibc/package.json | 6 +++--- platforms/cosmwasm/protocols/tokenBridge/package.json | 6 +++--- platforms/evm/package.json | 6 +++--- platforms/evm/protocols/cctp/package.json | 6 +++--- platforms/evm/protocols/core/package.json | 6 +++--- platforms/evm/protocols/portico/package.json | 6 +++--- platforms/evm/protocols/tokenBridge/package.json | 6 +++--- platforms/solana/package.json | 6 +++--- platforms/solana/protocols/cctp/package.json | 6 +++--- platforms/solana/protocols/core/package.json | 6 +++--- platforms/solana/protocols/tokenBridge/package.json | 6 +++--- platforms/sui/package.json | 6 +++--- platforms/sui/protocols/core/package.json | 6 +++--- platforms/sui/protocols/tokenBridge/package.json | 6 +++--- sdk/package.json | 6 +++--- tokenRegistry/package.json | 6 +++--- 30 files changed, 91 insertions(+), 91 deletions(-) diff --git a/connect/package.json b/connect/package.json index 01cb79aed..ca45bdc52 100644 --- a/connect/package.json +++ b/connect/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/core/base/package.json b/core/base/package.json index f7b0e6df8..102d9f332 100644 --- a/core/base/package.json +++ b/core/base/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/core/definitions/package.json b/core/definitions/package.json index 1f7cb4cf1..76b1acd2b 100644 --- a/core/definitions/package.json +++ b/core/definitions/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/core/icons/package.json b/core/icons/package.json index 5e82b4228..9e069656b 100644 --- a/core/icons/package.json +++ b/core/icons/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/examples/package.json b/examples/package.json index 7af064642..b301b50ba 100644 --- a/examples/package.json +++ b/examples/package.json @@ -1,14 +1,14 @@ { - "name": "@wormhole-foundation/connect-sdk-examples", + "name": "@wormhole-foundation/wormhole-sdk-ts-examples", "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/package-lock.json b/package-lock.json index 1c377f015..032646c61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -119,7 +119,7 @@ } }, "examples": { - "name": "@wormhole-foundation/connect-sdk-examples", + "name": "@wormhole-foundation/wormhole-sdk-ts-examples", "version": "0.10.2", "license": "Apache-2.0", "dependencies": { @@ -2827,7 +2827,7 @@ "license": "ISC", "peer": true }, - "node_modules/@wormhole-foundation/connect-sdk-examples": { + "node_modules/@wormhole-foundation/wormhole-sdk-ts-examples": { "resolved": "examples", "link": true }, diff --git a/platforms/algorand/package.json b/platforms/algorand/package.json index 34b866db4..eeb541c2e 100644 --- a/platforms/algorand/package.json +++ b/platforms/algorand/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/algorand/protocols/core/package.json b/platforms/algorand/protocols/core/package.json index 4bf322005..42fe33fe4 100644 --- a/platforms/algorand/protocols/core/package.json +++ b/platforms/algorand/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/algorand/protocols/tokenBridge/package.json b/platforms/algorand/protocols/tokenBridge/package.json index a28b1f6ef..5e70c62d7 100644 --- a/platforms/algorand/protocols/tokenBridge/package.json +++ b/platforms/algorand/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/aptos/package.json b/platforms/aptos/package.json index 89e71a7c0..98b8014c7 100644 --- a/platforms/aptos/package.json +++ b/platforms/aptos/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/aptos/protocols/core/package.json b/platforms/aptos/protocols/core/package.json index 5323dcb1e..db5530844 100644 --- a/platforms/aptos/protocols/core/package.json +++ b/platforms/aptos/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, @@ -16,7 +16,7 @@ "main": "./dist/cjs/index.js", "types": "./dist/cjs/index.d.ts", "module": "./dist/esm/index.js", - "description": "SDK for Solana, used in conjunction with @wormhole-foundation/connect-sdk", + "description": "SDK for Solana, used in conjunction with @wormhole-foundation/wormhole-sdk-ts", "files": [ "dist/esm", "dist/cjs" diff --git a/platforms/aptos/protocols/tokenBridge/package.json b/platforms/aptos/protocols/tokenBridge/package.json index 2e9d6bdc1..15d177e36 100644 --- a/platforms/aptos/protocols/tokenBridge/package.json +++ b/platforms/aptos/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/cosmwasm/package.json b/platforms/cosmwasm/package.json index ac3478f1b..7f550c2af 100644 --- a/platforms/cosmwasm/package.json +++ b/platforms/cosmwasm/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/cosmwasm/protocols/core/package.json b/platforms/cosmwasm/protocols/core/package.json index 61a1bf6af..e34bc94db 100644 --- a/platforms/cosmwasm/protocols/core/package.json +++ b/platforms/cosmwasm/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/cosmwasm/protocols/ibc/package.json b/platforms/cosmwasm/protocols/ibc/package.json index 4512bf869..a794fc979 100644 --- a/platforms/cosmwasm/protocols/ibc/package.json +++ b/platforms/cosmwasm/protocols/ibc/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/cosmwasm/protocols/tokenBridge/package.json b/platforms/cosmwasm/protocols/tokenBridge/package.json index 3b947e5a5..9c9452903 100644 --- a/platforms/cosmwasm/protocols/tokenBridge/package.json +++ b/platforms/cosmwasm/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/evm/package.json b/platforms/evm/package.json index d362486da..6fad6ca05 100644 --- a/platforms/evm/package.json +++ b/platforms/evm/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/evm/protocols/cctp/package.json b/platforms/evm/protocols/cctp/package.json index 9fb76ca58..bef7f2236 100644 --- a/platforms/evm/protocols/cctp/package.json +++ b/platforms/evm/protocols/cctp/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/evm/protocols/core/package.json b/platforms/evm/protocols/core/package.json index 64fcfcb3f..d02ab4e10 100644 --- a/platforms/evm/protocols/core/package.json +++ b/platforms/evm/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/evm/protocols/portico/package.json b/platforms/evm/protocols/portico/package.json index 2fdaa0e3e..2b9ee2cff 100644 --- a/platforms/evm/protocols/portico/package.json +++ b/platforms/evm/protocols/portico/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/evm/protocols/tokenBridge/package.json b/platforms/evm/protocols/tokenBridge/package.json index 0240fae0c..be975748a 100644 --- a/platforms/evm/protocols/tokenBridge/package.json +++ b/platforms/evm/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/solana/package.json b/platforms/solana/package.json index da99154cc..0e096eb0a 100644 --- a/platforms/solana/package.json +++ b/platforms/solana/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/solana/protocols/cctp/package.json b/platforms/solana/protocols/cctp/package.json index 3ab0c7f3e..9f270ac4b 100644 --- a/platforms/solana/protocols/cctp/package.json +++ b/platforms/solana/protocols/cctp/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/solana/protocols/core/package.json b/platforms/solana/protocols/core/package.json index 500485079..5e4c4ba49 100644 --- a/platforms/solana/protocols/core/package.json +++ b/platforms/solana/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/solana/protocols/tokenBridge/package.json b/platforms/solana/protocols/tokenBridge/package.json index 5e67699ea..d398bb1f9 100644 --- a/platforms/solana/protocols/tokenBridge/package.json +++ b/platforms/solana/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/platforms/sui/package.json b/platforms/sui/package.json index e507fe82e..efdd8a838 100644 --- a/platforms/sui/package.json +++ b/platforms/sui/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/sui/protocols/core/package.json b/platforms/sui/protocols/core/package.json index 0d191234a..e089aa403 100644 --- a/platforms/sui/protocols/core/package.json +++ b/platforms/sui/protocols/core/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/platforms/sui/protocols/tokenBridge/package.json b/platforms/sui/protocols/tokenBridge/package.json index 599c312b7..64224e670 100644 --- a/platforms/sui/protocols/tokenBridge/package.json +++ b/platforms/sui/protocols/tokenBridge/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "tests" }, diff --git a/sdk/package.json b/sdk/package.json index 6dcc14d96..7295acdc6 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -3,12 +3,12 @@ "version": "0.10.9", "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, diff --git a/tokenRegistry/package.json b/tokenRegistry/package.json index 1e5f19fdb..3161e0347 100644 --- a/tokenRegistry/package.json +++ b/tokenRegistry/package.json @@ -4,12 +4,12 @@ "repository": { "type": "git", - "url": "git+https://github.com/wormhole-foundation/connect-sdk.git" + "url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git" }, "bugs": { - "url": "https://github.com/wormhole-foundation/connect-sdk/issues" + "url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues" }, - "homepage": "https://github.com/wormhole-foundation/connect-sdk#readme", + "homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme", "directories": { "test": "__tests__" }, From 4745c1fc5f27f3cbc32a6e185cc00f68687ceb61 Mon Sep 17 00:00:00 2001 From: Artur Sapek Date: Fri, 11 Oct 2024 09:39:26 -0400 Subject: [PATCH 2/2] more replacements --- README.md | 8 ++++---- Tiltfile | 8 ++++---- __tests__/Dockerfile | 10 +++++----- __tests__/tests.yaml | 6 +++--- __tests__/wait-run.sh | 2 +- docs/index.html | 6 +++--- docs/modules/_wormhole_foundation_sdk.html | 6 +++--- docs/modules/_wormhole_foundation_sdk_connect.html | 6 +++--- sdk/README.md | 6 +++--- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 3abc32007..e51ee43ff 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The Wormhole Typescript SDK is useful for interacting with the chains Wormhole s ## Warning -:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please [report](https://github.com/wormhole-foundation/connect-sdk/issues) any issues you find. :warning: +:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please [report](https://github.com/wormhole-foundation/wormhole-sdk-ts/issues) any issues you find. :warning: ## Installation @@ -108,7 +108,7 @@ Understanding several higher level concepts of the SDK will help in using it eff Every chain is its own special snowflake but many of them share similar functionality. The `Platform` modules provide a consistent interface for interacting with the chains that share a platform. Each platform can be installed separately so that dependencies can stay as slim as possible. -See all supported platforms [here](https://github.com/wormhole-foundation/connect-sdk/tree/main/platforms) +See all supported platforms [here](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main/platforms) ### Chain Context @@ -207,7 +207,7 @@ export interface SignAndSendSigner { } ``` -See the testing signers ([Evm](https://github.com/wormhole-foundation/connect-sdk/blob/main/platforms/evm/src/signer.ts), [Solana](https://github.com/wormhole-foundation/connect-sdk/blob/main/platforms/solana/src/signer.ts), ...) for an example of how to implement a signer for a specific chain or platform. +See the testing signers ([Evm](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/platforms/evm/src/signer.ts), [Solana](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/platforms/solana/src/signer.ts), ...) for an example of how to implement a signer for a specific chain or platform. ### VAAs @@ -402,7 +402,7 @@ const txGenerator = tb.createAttestation(token); // => AsyncGenerator TxHash[] ``` -Supported protocols are defined in the [definitions module](https://github.com/wormhole-foundation/connect-sdk/tree/main/core/definitions/src/protocols). +Supported protocols are defined in the [definitions module](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main/core/definitions/src/protocols). ## Transfers diff --git a/Tiltfile b/Tiltfile index 5784d3b32..c9ce2f92a 100644 --- a/Tiltfile +++ b/Tiltfile @@ -6,14 +6,14 @@ load("__tests__/staging/wormhole/Tiltfile", "namespace", "k8s_yaml_with_ns", "se config.clear_enabled_resources() config.set_enabled_resources([ "guardian", # Also adds in all the chains we need - "connect-sdk-ci-tests" + "wormhole-sdk-ts-ci-tests" ]) # Without this, some resources cant find the namespace? namespace_create(namespace, allow_duplicates=True) docker_build( - ref = "connect-sdk-test", + ref = "wormhole-sdk-ts-test", context = ".", dockerfile = "__tests__/Dockerfile", only = [], @@ -22,8 +22,8 @@ docker_build( k8s_yaml_with_ns(encode_yaml_stream(set_env_in_jobs(read_yaml_stream("__tests__/tests.yaml"), "NUM_GUARDIANS", str(num_guardians)))) k8s_resource( - "connect-sdk-ci-tests", - labels = ["connect-sdk-ci"], + "wormhole-sdk-ts-ci-tests", + labels = ["wormhole-sdk-ts-ci"], trigger_mode = TRIGGER_MODE_AUTO, resource_deps = [], # wait-run.sh, specified in the tests.yaml file, handles waiting. Not having deps gets the build earlier. ) \ No newline at end of file diff --git a/__tests__/Dockerfile b/__tests__/Dockerfile index 76bd24f1b..8223b0fa8 100644 --- a/__tests__/Dockerfile +++ b/__tests__/Dockerfile @@ -9,12 +9,12 @@ RUN npm i typescript -g RUN mkdir -p /app WORKDIR /app -COPY package.json package-lock.json ./connect-sdk/ +COPY package.json package-lock.json ./wormhole-sdk-ts/ RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \ - npm ci --prefix connect-sdk -COPY . ./connect-sdk -RUN npm run rebuild --prefix connect-sdk + npm ci --prefix wormhole-sdk-ts +COPY . ./wormhole-sdk-ts +RUN npm run rebuild --prefix wormhole-sdk-ts RUN mkdir -p testing COPY __tests__/wait-run.sh ./testing -WORKDIR /app/testing \ No newline at end of file +WORKDIR /app/testing diff --git a/__tests__/tests.yaml b/__tests__/tests.yaml index 3e975ca91..629236b08 100644 --- a/__tests__/tests.yaml +++ b/__tests__/tests.yaml @@ -1,15 +1,15 @@ kind: Job apiVersion: batch/v1 metadata: - name: connect-sdk-ci-tests + name: wormhole-sdk-ts-ci-tests spec: backoffLimit: 0 template: spec: restartPolicy: Never containers: - - name: connect-sdk-ci-tests - image: connect-sdk-test + - name: wormhole-sdk-ts-ci-tests + image: wormhole-sdk-ts-test command: - /bin/sh - -c diff --git a/__tests__/wait-run.sh b/__tests__/wait-run.sh index 96c5b4df0..64c957358 100644 --- a/__tests__/wait-run.sh +++ b/__tests__/wait-run.sh @@ -4,4 +4,4 @@ num=${NUM_GUARDIANS:-1} # default value for NUM_GUARDIANS = 1 for ((i=0; iWormhole TS SDK - v0.7.0

Wormhole TS SDK - v0.7.0

Wormhole TS SDK

The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

-

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

+

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

Installation

Basic

Install the (meta) package

npm install @wormhole-foundation/sdk
 
@@ -59,7 +59,7 @@

Signers

In order to sign transactions, an object that fulfils the Signer interface is required. This is a simple interface that can be implemented by wrapping a web wallet or other signing mechanism.

// A Signer is an interface that must be provided to certain methods
// in the SDK to sign transactions. It can be either a SignOnlySigner
// or a SignAndSendSigner depending on circumstances.
// A Signer can be implemented by wrapping an existing offline wallet
// or a web wallet
export type Signer = SignOnlySigner | SignAndSendSigner;

// A SignOnlySender is for situations where the signer is not
// connected to the network or does not wish to broadcast the
// transactions themselves
export interface SignOnlySigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of signed and serialized transactions.
// The transactions may be inspected or altered before
// signing.
// Note: The serialization is chain specific, if in doubt,
// see the example implementations linked below
sign(tx: UnsignedTransaction[]): Promise<SignedTx[]>;
}

// A SignAndSendSigner is for situations where the signer is
// connected to the network and wishes to broadcast the
// transactions themselves
export interface SignAndSendSigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of transaction ids in the same order as the
// UnsignedTransactions array.
signAndSend(tx: UnsignedTransaction[]): Promise<TxHash[]>;
}
-

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

+

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

Protocols

While Wormhole itself is a Generic Message Passing protocol, a number of protocols have been built on top of it to provide specific functionality.

Each Protocol, if available, will have a Platform specific implementation. These implementations provide methods to generate transactions or read state from the contract on-chain.

Wormhole Core

The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including Emitter address, the Sequence number for the message and the Payload of the message itself.

@@ -75,7 +75,7 @@

Using the WormholeTransfer abstractions is the recommended way to interact with these protocols but it is possible to use them directly

import { signSendWait } from "@wormhole-foundation/sdk";

// ...

const tb = await srcChain.getTokenBridge(); // => TokenBridge<'Evm'>

const token = "0xdeadbeef...";
const txGenerator = tb.createAttestation(token); // => AsyncGenerator<UnsignedTransaction, ...>
const txids = await signSendWait(srcChain, txGenerator, src.signer); // => TxHash[]
-

Supported protocols are defined in the definitions module.

+

Supported protocols are defined in the definitions module.

Transfers

While using the ChainContext and Protocol clients directly is possible, to do things like transfer tokens, the SDK provides some helpful abstractions.

The WormholeTransfer interface provides a convenient abstraction to encapsulate the steps involved in a cross-chain transfer.

Token Transfers

Performing a Token Transfer is trivial for any source and destination chains.

diff --git a/docs/modules/_wormhole_foundation_sdk.html b/docs/modules/_wormhole_foundation_sdk.html index 4a242125b..7ffe20957 100644 --- a/docs/modules/_wormhole_foundation_sdk.html +++ b/docs/modules/_wormhole_foundation_sdk.html @@ -1,5 +1,5 @@ @wormhole-foundation/sdk - v0.7.0 | Wormhole TS SDK - v0.7.0

Module @wormhole-foundation/sdk - v0.7.0

Wormhole TS SDK

The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

-

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

+

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

Installation

Basic

Install the (meta) package

npm install @wormhole-foundation/sdk
 
@@ -59,7 +59,7 @@

Signers

In order to sign transactions, an object that fulfils the Signer interface is required. This is a simple interface that can be implemented by wrapping a web wallet or other signing mechanism.

// A Signer is an interface that must be provided to certain methods
// in the SDK to sign transactions. It can be either a SignOnlySigner
// or a SignAndSendSigner depending on circumstances.
// A Signer can be implemented by wrapping an existing offline wallet
// or a web wallet
export type Signer = SignOnlySigner | SignAndSendSigner;

// A SignOnlySender is for situations where the signer is not
// connected to the network or does not wish to broadcast the
// transactions themselves
export interface SignOnlySigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of signed and serialized transactions.
// The transactions may be inspected or altered before
// signing.
// Note: The serialization is chain specific, if in doubt,
// see the example implementations linked below
sign(tx: UnsignedTransaction[]): Promise<SignedTx[]>;
}

// A SignAndSendSigner is for situations where the signer is
// connected to the network and wishes to broadcast the
// transactions themselves
export interface SignAndSendSigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of transaction ids in the same order as the
// UnsignedTransactions array.
signAndSend(tx: UnsignedTransaction[]): Promise<TxHash[]>;
}
-

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

+

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

Protocols

While Wormhole itself is a Generic Message Passing protocol, a number of protocols have been built on top of it to provide specific functionality.

Each Protocol, if available, will have a Platform specific implementation. These implementations provide methods to generate transactions or read state from the contract on-chain.

Wormhole Core

The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including Emitter address, the Sequence number for the message and the Payload of the message itself.

@@ -75,7 +75,7 @@

Using the WormholeTransfer abstractions is the recommended way to interact with these protocols but it is possible to use them directly

import { signSendWait } from "@wormhole-foundation/sdk";

// ...

const tb = await srcChain.getTokenBridge(); // => TokenBridge<'Evm'>

const token = "0xdeadbeef...";
const txGenerator = tb.createAttestation(token); // => AsyncGenerator<UnsignedTransaction, ...>
const txids = await signSendWait(srcChain, txGenerator, src.signer); // => TxHash[]
-

Supported protocols are defined in the definitions module.

+

Supported protocols are defined in the definitions module.

Transfers

While using the ChainContext and Protocol clients directly is possible, to do things like transfer tokens, the SDK provides some helpful abstractions.

The WormholeTransfer interface provides a convenient abstraction to encapsulate the steps involved in a cross-chain transfer.

Token Transfers

Performing a Token Transfer is trivial for any source and destination chains.

diff --git a/docs/modules/_wormhole_foundation_sdk_connect.html b/docs/modules/_wormhole_foundation_sdk_connect.html index b2f4ddf61..1e9079a28 100644 --- a/docs/modules/_wormhole_foundation_sdk_connect.html +++ b/docs/modules/_wormhole_foundation_sdk_connect.html @@ -1,5 +1,5 @@ @wormhole-foundation/sdk-connect - v0.7.0 | Wormhole TS SDK - v0.7.0

Module @wormhole-foundation/sdk-connect - v0.7.0

Wormhole TS SDK

The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

-

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

+

Warning

:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

Installation

Basic

Install the (meta) package

npm install @wormhole-foundation/sdk
 
@@ -59,7 +59,7 @@

Signers

In order to sign transactions, an object that fulfils the Signer interface is required. This is a simple interface that can be implemented by wrapping a web wallet or other signing mechanism.

// A Signer is an interface that must be provided to certain methods
// in the SDK to sign transactions. It can be either a SignOnlySigner
// or a SignAndSendSigner depending on circumstances.
// A Signer can be implemented by wrapping an existing offline wallet
// or a web wallet
export type Signer = SignOnlySigner | SignAndSendSigner;

// A SignOnlySender is for situations where the signer is not
// connected to the network or does not wish to broadcast the
// transactions themselves
export interface SignOnlySigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of signed and serialized transactions.
// The transactions may be inspected or altered before
// signing.
// Note: The serialization is chain specific, if in doubt,
// see the example implementations linked below
sign(tx: UnsignedTransaction[]): Promise<SignedTx[]>;
}

// A SignAndSendSigner is for situations where the signer is
// connected to the network and wishes to broadcast the
// transactions themselves
export interface SignAndSendSigner {
chain(): ChainName;
address(): string;
// Accept an array of unsigned transactions and return
// an array of transaction ids in the same order as the
// UnsignedTransactions array.
signAndSend(tx: UnsignedTransaction[]): Promise<TxHash[]>;
}
-

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

+

See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

Protocols

While Wormhole itself is a Generic Message Passing protocol, a number of protocols have been built on top of it to provide specific functionality.

Each Protocol, if available, will have a Platform specific implementation. These implementations provide methods to generate transactions or read state from the contract on-chain.

Wormhole Core

The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including Emitter address, the Sequence number for the message and the Payload of the message itself.

@@ -75,7 +75,7 @@

Using the WormholeTransfer abstractions is the recommended way to interact with these protocols but it is possible to use them directly

import { signSendWait } from "@wormhole-foundation/sdk";

// ...

const tb = await srcChain.getTokenBridge(); // => TokenBridge<'Evm'>

const token = "0xdeadbeef...";
const txGenerator = tb.createAttestation(token); // => AsyncGenerator<UnsignedTransaction, ...>
const txids = await signSendWait(srcChain, txGenerator, src.signer); // => TxHash[]
-

Supported protocols are defined in the definitions module.

+

Supported protocols are defined in the definitions module.

Transfers

While using the ChainContext and Protocol clients directly is possible, to do things like transfer tokens, the SDK provides some helpful abstractions.

The WormholeTransfer interface provides a convenient abstraction to encapsulate the steps involved in a cross-chain transfer.

Token Transfers

Performing a Token Transfer is trivial for any source and destination chains.

diff --git a/sdk/README.md b/sdk/README.md index 4e5271cab..74cb7c932 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -4,7 +4,7 @@ The Wormhole Typescript SDK is useful for interacting with the chains Wormhole s ## Warning -:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please [report](https://github.com/wormhole-foundation/connect-sdk/issues) any issues you find. :warning: +:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please [report](https://github.com/wormhole-foundation/wormhole-sdk-ts/issues) any issues you find. :warning: ## Installation @@ -211,7 +211,7 @@ export interface SignAndSendSigner { } ``` -See the testing signers ([Evm](https://github.com/wormhole-foundation/connect-sdk/blob/main/platforms/evm/src/signer.ts), [Solana](https://github.com/wormhole-foundation/connect-sdk/blob/main/platforms/solana/src/signer.ts), ...) for an example of how to implement a signer for a specific chain or platform. +See the testing signers ([Evm](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/platforms/evm/src/signer.ts), [Solana](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/platforms/solana/src/signer.ts), ...) for an example of how to implement a signer for a specific chain or platform. ### Protocols @@ -293,7 +293,7 @@ const txGenerator = tb.createAttestation(token); // => AsyncGenerator TxHash[] ``` -Supported protocols are defined in the [definitions module](https://github.com/wormhole-foundation/connect-sdk/tree/main/core/definitions/src/protocols). +Supported protocols are defined in the [definitions module](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main/core/definitions/src/protocols). ## Transfers