diff --git a/.github/workflows/release_connect-kit-loader.yml b/.github/workflows/release_connect-kit-loader.yml index 7b14464..4f2a419 100644 --- a/.github/workflows/release_connect-kit-loader.yml +++ b/.github/workflows/release_connect-kit-loader.yml @@ -58,8 +58,7 @@ jobs: if: startsWith(github.event.inputs.release-type, 'pre') run: | cd ${{ env.PKG_DIR }} - #echo "NEW_VERSION=$(npm --no-git-tag-version --preid=${{ env.DIST_TAG_PRERELEASE }} version $RELEASE_TYPE)" >> $GITHUB_ENV - echo "NEW_VERSION=v1.1.0-beta.2" >> $GITHUB_ENV + echo "NEW_VERSION=$(npm --no-git-tag-version --preid=${{ env.DIST_TAG_PRERELEASE }} version $RELEASE_TYPE)" >> $GITHUB_ENV echo "RELEASE_TAG=${{ env.DIST_TAG_PRERELEASE }}" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ github.event.inputs.release-type }} diff --git a/.github/workflows/release_connect-kit.yml b/.github/workflows/release_connect-kit.yml index 75cd0d3..074453f 100644 --- a/.github/workflows/release_connect-kit.yml +++ b/.github/workflows/release_connect-kit.yml @@ -58,8 +58,7 @@ jobs: if: startsWith(github.event.inputs.release-type, 'pre') run: | cd ${{ env.PKG_DIR }} - #echo "NEW_VERSION=$(npm --no-git-tag-version --preid=${{ env.DIST_TAG_PRERELEASE }} version $RELEASE_TYPE)" >> $GITHUB_ENV - echo "NEW_VERSION=v1.1.0-beta.3" >> $GITHUB_ENV + echo "NEW_VERSION=$(npm --no-git-tag-version --preid=${{ env.DIST_TAG_PRERELEASE }} version $RELEASE_TYPE)" >> $GITHUB_ENV echo "RELEASE_TAG=${{ env.DIST_TAG_PRERELEASE }}" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ github.event.inputs.release-type }} diff --git a/packages/connect-kit-loader/CHANGELOG.md b/packages/connect-kit-loader/CHANGELOG.md index fe78194..f711288 100644 --- a/packages/connect-kit-loader/CHANGELOG.md +++ b/packages/connect-kit-loader/CHANGELOG.md @@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +Connect Kit now supports WalletConnect v2. + +To migrate to WaletConnect version 2: + +- Create a project id on the [WalletConnect Cloud](https://cloud.walletconnect.com/), it's + free. +- Update Connect Kit loader to version 1.1.0. +- Add `walletConnectVersion: 2`, `projectId: 'id from step 1'` and rename + `rpc` to `rpcMap` on your `checkSupport` parameters. + +Have a look at the documentation for more details. + +After 28 June you will need to specify a custom bridge server to +keep using WalletConnect v1, passing `walletConnectVersion: 1` and +`bridge: 'https://wc.custom.bridge.com'`. ## 1.1.0-beta.2 - 2023-06-21 ### Changed diff --git a/packages/connect-kit-loader/src/index.ts b/packages/connect-kit-loader/src/index.ts index 1f9b47b..5817635 100644 --- a/packages/connect-kit-loader/src/index.ts +++ b/packages/connect-kit-loader/src/index.ts @@ -90,7 +90,7 @@ export interface LedgerConnectKit { }; export async function loadConnectKit(): Promise { - const src = "https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@beta"; + const src = "https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1"; const globalName = "ledgerConnectKit"; return new Promise((resolve, reject) => { diff --git a/packages/connect-kit/CHANGELOG.md b/packages/connect-kit/CHANGELOG.md index 2b6348a..85c9156 100644 --- a/packages/connect-kit/CHANGELOG.md +++ b/packages/connect-kit/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +Connect Kit now supports WalletConnect v2. + +Have a look at the Connect Kit loader documentation for +more details. ## 1.1.0-beta.3 - 2023-06-21 ### Changed