Releases: Shopify/blockchain-components
@shopify/tokengate@1.1.2
Patch Changes
-
#208
749a19aThanks @QuintonC! - Upgrades TailwindCSS to v3.3.2.This also removes the use of
@tailwindcss/aspect-ratioand@tailwindcss/line-clampas they are now included in the Tailwind package.For
@shopify/connect-wallet, this includes a minor update to theQrCodecomponent displayed within theScanScreen. This change was made to address the removal of@tailwindcss/aspect-ratio. Additionally, theQRCodewas updated to make use of theSpinnercomponent which creates a better loading state while the WalletConnect URI is loading.
@shopify/connect-wallet@3.0.1
Patch Changes
-
#208
749a19aThanks @QuintonC! - Upgrades TailwindCSS to v3.3.2.This also removes the use of
@tailwindcss/aspect-ratioand@tailwindcss/line-clampas they are now included in the Tailwind package.For
@shopify/connect-wallet, this includes a minor update to theQrCodecomponent displayed within theScanScreen. This change was made to address the removal of@tailwindcss/aspect-ratio. Additionally, theQRCodewas updated to make use of theSpinnercomponent which creates a better loading state while the WalletConnect URI is loading.
@shopify/tokengate@1.1.1
@shopify/connect-wallet@3.0.0
Major Changes
-
#7
b49ba23Thanks @QuintonC! - This change include the following updates:- All usage of WalletConnect v1 connectors have been replaced with v2 connectors. Read more about the deprecation of WalletConnect v1.
buildConnectorsfunction now requires an additional prop,projectId.- Any usage which does not provide connectors to the
ConnectWalletProviderwill 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 v2projectIdto 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
getDefaultConnectorsfunction has been removed in favor of usingbuildConnectors.
To update your instance, please ensure that any usage of
buildConnectorsincludes aprojectIdvalue with a valid WalletConnectprojectId.To obtain a WalletConnect
projectId, visit the WalletConnect cloud portal.To migrate, make the following changes:
import {buildConnectors} from '@shopify/connect-wallet'; import {configureChains, createConfig, mainnet} from 'wagmi'; import {publicProvider} from 'wagmi/providers/public'; const {chains, publicClient, webSocketPublicClient} = configureChains( [mainnet], [publicProvider()], ); const {connectors, wagmiConnectors} = buildConnectors({ chains, + projectId: "YOUR_PROJECT_ID" }); const config = createConfig({ autoConnect: true, connectors: wagmiConnectors, publicClient, webSocketPublicClient, }); export {chains, config, connectors};
Patch Changes
- #205
2e7f87eThanks @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 theresetstate 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/connect-wallet@2.0.0
@shopify/connect-wallet@1.3.1
@shopify/tokengate@1.1.0
Minor Changes
-
#185
7dddd29Thanks @QuintonC! - This release adds support for providing custom dynamic values into thediscountCustomTitlesprop.Using
{{value}}will ensure that the discount value is entered into the custom title and formatted as expected.
Patch Changes
-
#191
4fd5ab4Thanks @QuintonC! - A bug was patched for the Popover component and its use of document.body which was causing errors in some frameworks. -
#193
baeaf5fThanks @QuintonC! - Addresses a style collision with TailwindCSS preflight plugin where the background styles of buttons are removed. -
#190
256b4dfThanks @QuintonC! - Removed i18n context debug logging in non-development environments. -
#189
e97ea85Thanks @QuintonC! - This patch addresses an issue where the package was not setting theNODE_ENVvariable during compile, resulting in unexpected behavior when utilizing theprocess.env.NODE_ENVvalue to add conditional functionality. -
Updated dependencies [
e97ea85]:- @shopify/blockchain-components@1.0.1
@shopify/gate-context-client@1.0.1
Patch Changes
-
#189
e97ea85Thanks @QuintonC! - This patch addresses an issue where the package was not setting theNODE_ENVvariable during compile, resulting in unexpected behavior when utilizing theprocess.env.NODE_ENVvalue to add conditional functionality. -
Updated dependencies [
e97ea85]:- @shopify/blockchain-components@1.0.1
@shopify/connect-wallet@1.3.0
Minor Changes
- #196
9700f25Thanks @QuintonC! - Removes usage of Redux and Redux Toolkit in favor of a non-contextual state management package.
Patch Changes
-
#191
4fd5ab4Thanks @QuintonC! - A bug was patched for the Popover component and its use of document.body which was causing errors in some frameworks. -
#193
baeaf5fThanks @QuintonC! - Addresses a style collision with TailwindCSS preflight plugin where the background styles of buttons are removed. -
#190
256b4dfThanks @QuintonC! - Removed i18n context debug logging in non-development environments. -
#189
e97ea85Thanks @QuintonC! - This patch addresses an issue where the package was not setting theNODE_ENVvariable during compile, resulting in unexpected behavior when utilizing theprocess.env.NODE_ENVvalue to add conditional functionality. -
Updated dependencies [
e97ea85]:- @shopify/blockchain-components@1.0.1
- @shopify/gate-context-client@1.0.1