This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@shopify/connect-wallet@3.0.0
Major Changes
#7b49ba23 Thanks @QuintonC! - This change include the following updates:
buildConnectors function now requires an additional prop, projectId.
Any usage which does not provide connectors to the ConnectWalletProvider will no longer operate as expected. Previously, the package would build the connectors in place for you. This is no longer the case as we cannot provide a WalletConnect v2 projectId to create the fallback and mobile connectors in place for your instance. You must provide connectors to the context provider in order for the package to function.
The getDefaultConnectors function has been removed in favor of using buildConnectors.
To update your instance, please ensure that any usage of buildConnectors includes a projectId value with a valid WalletConnect projectId.
#2052e7f87e Thanks @QuintonC! - This patch addresses a minor bug relating to state cleanup when a modal is closed. Prior to this patch, an issue was present when closing the modal that would leave the state visible. This was an issue particularly when the user was connecting with a connector which was based on WalletConnect as the QR Code would be cleared. This addresses that by calling the reset state method which will clear the modal state and properly. In addition, functionality to handle disconnect events during signature flows was added for modal close events.
@shopify/tokengate@1.1.1
Patch Changes
#2037b16197 Thanks @QuintonC! - Addresses a minor bug with a lack of unique keys on mapped elements
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@shopify/connect-wallet@3.0.0
Major Changes
#7
b49ba23
Thanks @QuintonC! - This change include the following updates:buildConnectors
function now requires an additional prop,projectId
.ConnectWalletProvider
will no longer operate as expected. Previously, the package would build the connectors in place for you. This is no longer the case as we cannot provide a WalletConnect v2projectId
to create the fallback and mobile connectors in place for your instance. You must provide connectors to the context provider in order for the package to function.getDefaultConnectors
function has been removed in favor of usingbuildConnectors
.To update your instance, please ensure that any usage of
buildConnectors
includes aprojectId
value with a valid WalletConnectprojectId
.To obtain a WalletConnect
projectId
, visit the WalletConnect cloud portal.To migrate, make the following changes:
Patch Changes
2e7f87e
Thanks @QuintonC! - This patch addresses a minor bug relating to state cleanup when a modal is closed. Prior to this patch, an issue was present when closing the modal that would leave the state visible. This was an issue particularly when the user was connecting with a connector which was based on WalletConnect as the QR Code would be cleared. This addresses that by calling thereset
state method which will clear the modal state and properly. In addition, functionality to handle disconnect events during signature flows was added for modal close events.@shopify/tokengate@1.1.1
Patch Changes
7b16197
Thanks @QuintonC! - Addresses a minor bug with a lack of unique keys on mapped elements