Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @rainbow-me/rainbowkit to v1.3.7 #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rainbow-me/rainbowkit (source) 1.0.0 -> 1.3.7 age adoption passing confidence

Release Notes

rainbow-me/rainbowkit (@​rainbow-me/rainbowkit)

v1.3.7

Compare Source

v1.3.6

Compare Source

Patch Changes
  • 33a8266: Fixed a bug where account.displayBalance for the <ConnectButton.Custom> component would sometimes be undefined.

v1.3.5

Compare Source

Patch Changes
  • 2b0c7b3: Added missing i18n translations for Wrong network errors

v1.3.4

Compare Source

Patch Changes
  • c0a644a: Fixed an issue that caused components to re-render on every window resize event. Now components will only re-render once the user has finished resizing their window.

  • 41616b9: Fixed a bug where the connectModalOpen state incorrectly remained true after a successful siwe authentication. This fix ensures that connectModalOpen shows the correct state.

  • cf4955f: Fixed a bug where the back button wasn't showing on compact size modal when selecting DownloadOptions wallet step.

    Removed back button for wide size modal entirely when selecting DownloadOptions wallet step to prevent incorrect wallet step switching.

  • e5f5f03: Removed external i18n-js dependency to reduce RainbowKit bundle sizes.

  • c0bd68e: Fixed a bug in the account modal transactions section where transactions that were not found or cancelled were incorrectly shown as 'pending' instead of 'failed'.

  • a79609b: Fixed a bug that allowed users to hold-press or cursor select wallet icons on iOS, which interrupted the connection experiencce.

v1.3.3

Compare Source

Patch Changes
  • 7565fb2: Added uk-UA and ua locale support for the Ukrainian language.

    Reference our guide to learn more about Localization.

  • 24b5a88: Improved support for NodeNext module resolution to resolve "@&#8203;rainbow-me/rainbowkit"' has no exported member 'RainbowKitProvider' TypeScript warnings

  • 5a184e9: Fixed a bug where eth_getBalance would be called when showBalance was set to false. Optimized additional provider calls to fetch wallet balances only when a user interacts with the Account modal.

v1.3.2

Compare Source

Patch Changes
  • 7ba94f4: Optimized bundle size for localization feature

v1.3.1

Compare Source

Patch Changes
  • 3feab0e: Support for Wagmi 1.4.12 to mitigate a supply-chain attack on the @ledgerhq/connect-kit package. RainbowKit dApp's were not directly impacted, but dApps that used the LedgerConnector connector in earlier versions of Wagmi could have been. This issue has since been resolved by Ledger but the wagmi team is encouraging developers to upgrade Wagmi and RainbowKit out of an abundance of caution.
  • c9a8e46: Improved Korean localization. Thanks @​Hyun2!
  • dba5177: Added support for arbitrumSepolia, baseSepolia, optimismSepolia, zoraSepolia testnet chains

v1.3.0

Compare Source

Minor Changes
  • 9ce75a6: The new WalletButton component helps dApps with custom wallet list implementations adopt RainbowKit and all of it's maintenance-free benefits.

    import { WalletButton } from '@&#8203;rainbow-me/rainbowkit';
    
    <WalletButton wallet="rainbow" />
    <WalletButton wallet="metamask" />
    <WalletButton wallet="coinbase" />

    Like the ConnectButton, the WalletButton.Custom component is available for custom implementations and styling.

    <WalletButton.Custom wallet="rainbow">
      {({ ready, connect }) => {
        return (
          <button type="button" disabled={!ready} onClick={connect}>
            Connect Rainbow
          </button>
        );
      }}
    </WalletButton.Custom>

    Most dApps are best served by the ConnectButton. Reference the docs here for more information about WalletButton adoption and usecases.

v1.2.1

Compare Source

Patch Changes
  • 74ead9d: Tokenary Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { tokenaryWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [tokenaryWallet({ chains })],
      },
    ]);
  • 94dce82: Fixed scroll bar inconsistencies in the Chain selector for large chain lists or when animating upon user interaction

  • 39d81e9: Fixed a bug where the avatar loading indicator had used excessive CPU cycles

v1.2.0

Compare Source

Minor Changes
  • ef64a22: Improved desktop wallet download support

    RainbowKit wallet connectors now support desktop download links and desktop
    wallet instructions.

    Dapps that utilize the Custom Wallets API can reference the updated docs here.

    {
      downloadUrls: {
        windows: 'https://my-wallet/windows-app',
        macos: 'https://my-wallet/macos-app',
        linux: 'https://my-wallet/linux-app',
        desktop: 'https://my-wallet/desktop-app',
      }
    }

    We've also introduced a new 'connect' InstructionStepName type in the instructions API to provide wallet connection instructions.

    return {
      connector,
      desktop: {
        getUri,
        instructions: {
          learnMoreUrl: 'https://my-wallet/learn-more',
          steps: [
            // ...
            {
              description: 'A prompt will appear for you to approve the connection to My Wallet.'
              step: 'connect',
              title: 'Connect',
            }
          ]
        },
      },
    }

v1.1.4

Compare Source

Patch Changes
  • 9f68c30: Fixed an issue with Trust Wallet detection in Trust's in-app mobile browser
  • 3f595c1: Added localization support in the Authentication flow for SIWE
  • e2075b3: Improved Coinbase Wallet detection when multiple wallets are active

v1.1.3

Compare Source

Patch Changes
  • 02e796c: SafePal Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { safepalWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [safepalWallet({ projectId, chains })],
      },
    ]);
  • efb8566: SubWallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { subWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains, projectId });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [subWallet({ chains, projectId })],
      },
    ]);
  • 4b7a44c: Okto Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { oktoWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [oktoWallet({ projectId, chains })],
      },
    ]);
  • 2c8abbb: Zeal Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { zealWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [zealWallet({ chains })],
      },
    ]);
  • e41103f: CLV Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { clvWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [clvWallet({ chains, projectId })],
      },
    ]);
  • b0022ae: Desig Wallet support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { desigWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains, projectId });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [desigWallet({ chains })],
      },
    ]);

v1.1.2

Compare Source

Patch Changes
  • 6cbd9a5: Added zkSync and zkSyncTestnet network support
  • 7d97860: Fixed an issue where a user would not get automatically logged out from the Authentication API after switching their wallet in MetaMask or other browser wallets. Users must now sign a new SIWE message after switching wallets.
  • b2b69dc: Added holesky testnet support

v1.1.1

Compare Source

Patch Changes
  • b60e335: Fixed a dependency resolution issue for ESModule projects related to i18n-js

v1.1.0

Compare Source

Minor Changes
  • b37f5d6: RainbowKit is now localized in 13 languages and counting 🌎

    A user's preferred language is automatically detected and the wallet linking experience will be fully localized out of the box, including the ConnectButton. Developers can always customize the language selection or allow their users to choose a different language by passing a locale prop to RainbowKitProvider like so:

    <RainbowKitProvider locale="zh-CN">

    RainbowKit's localization support works even better alongside i18n support in Next.js, so that locale selection can be specified with custom domains or a subpath like /zh-CN/. Reference our guide to learn more.

    If you would like to see support for an additional language, please open a GitHub Discussion and we'll work to support it as soon as possible.

v1.0.12

Compare Source

Patch Changes
  • 5b8d821: Resolved an issue where dApps that supported many chains would cause an interface overflow on mobile. The Chains Modal is now scrollable.
  • fb9405a: Resolved an issue that prevented overriding iconUrl and iconBackground during Chain customization
  • 7643e70: Deprecated bitKeepWallet connector in favor of bitgetWallet. The BitKeep Wallet connector will continue to be available without breaking changes.
  • 252f02e: Resolved an issue with the Authentication modal where a user's wallet would remain connected if the modal was dismissed with the Close button rather than explicitly using the Cancel button. This fix ensures that dApps can reliably require a user to complete Authentication before RainbowKit enters a connected state.

v1.0.11

Compare Source

Patch Changes
  • 118dfe1: Support for wagmi 1.4.x and viem 1.10.x peer dependencies.

v1.0.10

Compare Source

Patch Changes
  • a129cb0: Resolved an issue that prevented some PNG icons within RainbowKit from rendering.

v1.0.9

Compare Source

Patch Changes
  • 42a0c3e: Bifrost Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { bifrostWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [bifrostWallet({ chains })],
      },
    ]);
  • 67933ed: Uniswap Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { uniswapWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [uniswapWallet({ chains })],
      },
    ]);
  • e7ae257: Coin98 Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { coin98Wallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [coin98Wallet({ projectId, chains })],
      },
    ]);
  • c434ca7: Enkrypt Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { enkryptWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [enkryptWallet({ chains })],
      },
    ]);
  • ad1f860: Frame Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { frameWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [frameWallet({ chains })],
      },
    ]);
  • 60968a5: OneKey Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { oneKeyWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [oneKeyWallet({ chains })],
      },
    ]);
  • 7b31af2: FoxWallet Support

    Example Usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { foxWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [foxWallet({ projectId, chains })],
      },
    ]);

v1.0.8

Compare Source

Patch Changes
  • eb319f3: Improved warnings and error handling for dApps with an invalid or missing projectId.

    Improved the developer experience for RainbowKit examples and templates with a bundled development projectId. It is required that every dApp obtains a unique projectId before entering production to avoid throttling and issues for end users.

    Read our WalletConnect v2 Migration Guide for more information.

v1.0.7

Compare Source

Patch Changes
  • d303a3b: Added base chain support
  • f1e98e8: RainbowKit now adopts standardized colloquial chain names like Arbitrum and Optimism for mainnet chains to simplify the chain switching experience

v1.0.6

Compare Source

Patch Changes
  • dc3cd10: Core Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { coreWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [coreWallet({ projectId, chains })],
      },
    ]);
  • c251d55: Talisman Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { talismanWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [talismanWallet({ projectId, chains })],
      },
    ]);
  • d5b3bd1: Safeheron Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { safeheronWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [safeheronWallet({ chains })],
      },
    ]);
  • 66e8423: Frontier Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { frontierWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [frontierWallet({ projectId, chains })],
      },
    ]);
  • 1b4f142: BitKeep Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { bitKeepWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [bitKeepWallet({ projectId, chains })],
      },
    ]);
  • e089ab9: TokenPocket Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@&#8203;rainbow-me/rainbowkit";
    import { tokenPocketWallet } from "@&#8203;rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [tokenPocketWallet({ projectId, chains })],
      },
    ]);

v1.0.5

Compare Source

Patch Changes
  • 08e3f4c: Decoupled chains between WagmiConfig and RainbowKitProvider so that dApps can now supply a subset of supported chains to RainbowKitProvider to limit the chains a user can switch between, while maintaining a shared WagmiConfig.
  • cb3614e: Added cronos and cronosTestnet chain support
  • 53d96bc: Fixed an issue with MetaMask Mobile's connector that blocked WalletConnect pairings
  • bfab830: Updated BNB Smart Chain icon.

v1.0.4

Compare Source

Patch Changes
  • 6d361b4: Support for wagmi 1.3.x and viem 1.1.x peer dependencies.

v1.0.3

Compare Source

Patch Changes
  • d00c777: Added zora and zoraTestnet chain support

v1.0.2

Compare Source

Patch Changes
  • e2b1072: Support for WalletConnect v2 is now standard in RainbowKit.

    Every dApp that relies on WalletConnect now needs to obtain a projectId from WalletConnect Cloud. This is absolutely free and only takes a few minutes.

    This must be completed before WalletConnect v1 bridge servers are shutdown on June 28, 2023.

    Upgrade RainbowKit and provide the projectId to getDefaultWallets and individual RainbowKit wallet connectors like the following:

    const projectId = "YOUR_PROJECT_ID";
    
    const { wallets } = getDefaultWallets({
      appName: "My RainbowKit App",
      projectId,
      chains,
    });
    
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [
          argentWallet({ projectId, chains }),
          trustWallet({ projectId, chains }),
          ledgerWallet({ projectId, chains }),
        ],
      },
    ]);

    You can read the full migration guide here.

    Advanced options

    If a dApp requires supporting a legacy wallet that has not yet migrated to WalletConnect v2, the WalletConnect version can be overridden.

    metaMaskWallet(options: {
      chains: Chain[];
      walletConnectVersion: '1',
    });

    Once the WalletConnect v1 servers are shutdown, a custom bridge server is required.

    walletConnectWallet(options: {
      chains: Chain[];
      version: '1',
      options: {
        bridge: 'https://bridge.myhostedserver.com',
      },
    });
    
    customWallet(options: {
      chains: Chain[];
      walletConnectVersion: '1',
      walletConnectOptions: {
        bridge: 'https://bridge.myhostedserver.com',
      },
    });

    Reference the docs for additional supported options.

  • e2b1072: The wagmi peer dependency has been updated to ~1.2.0. RainbowKit remains compatible with ~1.1.0 and ~1.0.1.

    The viem peer dependency has been updated to ^1.0.0. RainbowKit remains compatible with ~0.3.19 and beyond.

    It is recommended that you upgrade to recent versions of wagmi and viem to ensure a smooth transition to WalletConnect v2.

    Reference the viem migration guide here.

v1.0.1

Compare Source

Patch Changes
  • 5b8d821: Resolved an issue where dApps that supported many chains would cause an interface overflow on mobile. The Chains Modal is now scrollable.
  • fb9405a: Resolved an issue that prevented overriding iconUrl and iconBackground during Chain customization
  • 7643e70: Deprecated bitKeepWallet connector in favor of bitgetWallet. The BitKeep Wallet connector will continue to be available without breaking changes.
  • 252f02e: Resolved an issue with the Authentication modal where a user's wallet would remain connected if the modal was dismissed with the Close button rather than explicitly using the Cancel button. This fix ensures that dApps can reliably require a user to complete Authentication before RainbowKit enters a connected state.

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

Thanks for submitting this PR!

Unfortunately, it has some linter errors, so we can't merge it yet. Can you please fix them?

Running yarn lint:fix in the root of the repository may fix them automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants