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

fix(deps): update dependency @rainbow-me/rainbowkit to ^0.12.0 #52

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 9, 2023

This PR contains the following updates:

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

Release Notes

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

v0.12.18

Compare Source

Patch Changes
  • 144809c: Upgraded minimum wagmi peer dependency to 0.12.19 for improved WalletConnect v2 support.

v0.12.17

Compare Source

Patch Changes
  • e1fd3df: Fixed an issue with MetaMask Mobile's connector that blocked WalletConnect pairings

v0.12.16

Compare Source

Patch Changes
  • 6af1db7: Upgraded minimum wagmi peer dependency to 0.12.18 for improved WalletConnect v2 support.

v0.12.15: rainbow-me/[email protected]

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.

    We are continuing support for 0.12.x in case your dApp has not yet upgraded to wagmi v1 and RainbowKit v1.

    It is recommended that 0.12.x dApps begin to upgrade to wagmi v1, as stability improvements for WalletConnect v2 will only be included in future versions of wagmi.

    Advanced options

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

    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.

v0.12.14

Compare Source

Patch Changes
  • 865175f: Upgraded minimum ethers peer dependency to ^5.6.8.

v0.12.13

Compare Source

Patch Changes
  • 0f8e87e: Improved extension store support

    RainbowKit wallet connectors now support multiple browser extension download URLs, and RainbowKit will automatically direct users to the appropriate extension store.

    Users will also experience an improved download flow for extensions, including support for Arc, Opera, and Safari browsers.

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

    {
      downloadUrls: {
        chrome: 'https://chrome.google.com/webstore/detail/my-wallet',
        edge: 'https://microsoftedge.microsoft.com/addons/detail/my-wallet',
        firefox: 'https://addons.mozilla.org/firefox/addon/my-wallet',
        opera: 'https://addons.opera.com/extensions/details/my-wallet',
        browserExtension: 'https://my-wallet/', */ fallback download page */
      }
    }
  • 6eab54d: Detecting MetaMask in window.ethereum.providers for wallets that support the ethereum.providers standard.

    Overriding Wagmi's getProvider logic for MetaMask to ensure that MetaMask is preferred when available, and RainbowKit's MetaMask button continues to act as a fallback for users that rely on wallets that override window.ethereum.

v0.12.12

Compare Source

Patch Changes
  • ab051b9: Support for options customization for walletConnectWallet

    Example usage

    walletConnectWallet(options: {
      projectId: string;
      chains: Chain[];
      options?: {
        qrcodeModalOptions?: {
          desktopLinks?: string[];
          mobileLinks?: string[];
        };
      }
    });

    Reference the docs for additional supported options.

v0.12.11

Compare Source

v0.12.10

Compare Source

v0.12.9

Compare Source

Patch Changes
  • 361bb39: Phantom Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { phantomWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [phantomWallet({ chains })],
      },
    ]);
  • 82376f0: Rabby Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { rabbyWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [rabbyWallet({ chains })],
      },
    ]);
  • 7c9e580: Trust Wallet Support

    The trustWallet wallet connector now includes support for the Trust Wallet browser extension.

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { trustWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, projectId, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [trustWallet({ projectId, chains })],
      },
    ]);
  • 0127559: XDEFI Wallet Support

    Example usage

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

v0.12.8

Compare Source

Patch Changes
  • aef9643: Support for WalletConnect Cloud projectId

    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.

    RainbowKit will enable WalletConnect v2 for supported wallets when projectId is specified. If projectId is unspecified, RainbowKit will quietly prefer WalletConnect v1.

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

    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 }),
        ],
      },
    ]);

v0.12.7

Compare Source

Patch Changes
  • 4ef5c51: Fixed an issue that caused mobile WalletConnect redirects for signing request hooks to fail in Wagmi 0.12.x

v0.12.6

Compare Source

Patch Changes
  • d35809e: Amended rainbowWallet connector extension support and URLs

    Improved UI flow for wallet connectors that don't specify extension.instructions

v0.12.5

Compare Source

Patch Changes
  • 2b4ede4: Zerion Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { zerionWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [zerionWallet({ chains })],
      },
    ]);
  • 6a01368: Taho Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { tahoWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [tahoWallet({ chains })],
      },
    ]);
  • 936b523: OKX Wallet Support

    Example usage

    import {
      getDefaultWallets,
      connectorsForWallets,
    } from "@​rainbow-me/rainbowkit";
    import { okxWallet } from "@​rainbow-me/rainbowkit/wallets";
    const { wallets } = getDefaultWallets({ appName, chains });
    const connectors = connectorsForWallets([
      ...wallets,
      {
        groupName: "Other",
        wallets: [okxWallet({ chains })],
      },
    ]);
  • 7f669bd: Dawn Wallet Support

    Example usage

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

v0.12.4

Compare Source

Patch Changes
  • 9b93f56: Added safeWallet connector to support Safe Apps. dApps that rely on getDefaultWallets will adopt this behavior automatically. dApps that rely on the Custom Wallet List should add safeWallet alongside injectedWallet.

v0.12.3

Compare Source

Patch Changes
  • e7f1bec: injectedWallet now has a friendlier name and icon
  • fe4f356: RainbowKit dApps that use getDefaultWallets or injectedWallet will now more eagerly display the fallback injectedWallet connector to better support dApp Browsers when a branded connector is unavailable.

v0.12.2

Compare Source

Patch Changes
  • 2a1d230: Fixed shimDisconnect wallet connector option to maintain default Wagmi disconnect behavior when shimDisconnect is unspecified. RainbowKit wallet connectors now also accept all InjectedConnectorOptions options.
  • 429a3c7: Improvements to RainbowKit UX on iPad

v0.12.1

Compare Source

Patch Changes
  • 865175f: Upgraded minimum ethers peer dependency to ^5.6.8.

v0.12.0

Compare Source

Minor Changes
  • 9838acf: The wagmi peer dependency has been updated to 0.12.x.

    RainbowKit has adopted the WalletConnectLegacyConnector connector in wagmi for continued WalletConnect v1 support. Support for WalletConnect v2 and WalletConnectConnector will soon be available as a patch release, without breaking changes.

    Wallets will be transitioned automatically in future releases.

    Follow the steps below to migrate.

1. Upgrade RainbowKit and wagmi to their latest version
npm i @​rainbow-me/rainbowkit@^0.12.0 wagmi@^0.12.0

v0.11.1

Compare Source

Patch Changes
  • 924ae82: Bumped minimum wagmi version to 0.11.7

    Added baseGoerli chain support

  • 5e233ea: Added bsc and bscTestnet chain support

v0.11.0

Compare Source

Minor Changes
  • 1876ba0: The wagmi peer dependency has been updated to 0.11.x.

    The minimum TypeScript version is now 4.9.4

    Follow the steps below to migrate.

    npm i @​rainbow-me/rainbowkit@^0.11.0 wagmi@^0.11.0

    If you use wagmi hooks in your application, you will need to check if your application has been affected by the breaking changes in wagmi.

    You can see their migration guide here.

v0.10.0

Compare Source

Minor Changes
  • 355402b: The wagmi peer dependency has been updated to 0.10.x.

    Follow the steps below to migrate.

    npm i @​rainbow-me/rainbowkit@^0.10.0 wagmi@^0.10.0

    If you use wagmi hooks in your application, you will need to check if your application has been affected by the breaking changes in wagmi.

    You can see their migration guide here.

v0.9.0

Compare Source

Minor Changes
  • 49f0ec9: The wagmi peer dependency has been updated to 0.9.x.

    Follow the steps below to migrate.

    npm i @​rainbow-me/rainbowkit@^0.9.0 wagmi@^0.9.0

    If you use wagmi hooks in your application, you will need to check if your application has been affected by the breaking changes in wagmi.

    You can see their migration guide here.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot added the dependencies label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants