Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: rainbow-me/rainbowkit

@rainbow-me/rainbowkit@2.2.11

06 May 08:42
@DanielSinclair DanielSinclair
03360ee
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • a40b1f4: Migrate the Base connector to canonical base naming, while preserving backwards-compatible aliases baseAccount and coinbaseWallet.

  • 3672dc6: Added Anchorage Digital wallet support with the anchorageDigitalWallet wallet connector.

  • 1043d88: Added MeCo Wallet support with mecoWallet wallet connector.

  • f52657f: Exposed RainbowKitProviderProps and WalletButtonRendererProps as public type exports to support Custom Wallet Button scenarios.

  • 4f2de17: Fixed a crash that could occur when selecting a wallet while multiple browser wallet extensions were installed and the specific injected wallet was missing. Wallet-specific injected connectors now bind only to their matching provider instead of falling back to available defaults.

  • bc4625c: Fix recent transaction tracking so failed transactions no longer prevent an app's own transaction receipt wait from settling.

  • 25c4c2b: Improved SSR safety to prevent WalletConnect initialization warnings and mitigate localStorage API availability changes in Node.js v25 and above.

  • f52657f: Fixed useWindowSize triggering a state update after unmount, which could surface as a React warning.

  • eb4251d: The AuthenticationAdapter.createMessage API can now return a promise, so dApps can fetch or construct a custom SIWE message asynchronously. This enables server-side SIWE message creation before prompting the wallet, while preserving existing synchronous behavior.

    See the server-side message creation docs for guidance.

  • b0f6d52: fix: harden useCoolMode against malicious wallet icon URLs

    The cool mode particle animation built image elements via innerHTML, which
    parses its input as HTML. A malicious EIP-6963 wallet could supply a crafted
    icon URL containing injected attributes (e.g. onerror) that would execute
    in the dApp's origin when a user interacts with the wallet button.

    Switched to document.createElement('img') with property assignment so the
    icon value is always treated as a plain URL rather than markup.

  • f2523a9: Updated MetaMask wallet icon

Loading

@rainbow-me/rainbowkit-siwe-next-auth@0.6.0

06 May 08:43
@DanielSinclair DanielSinclair
03360ee
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Minor Changes

  • e90c2dd: Upgraded to NextAuth v5. This is a breaking change.

    Key changes:

    • Requires NextAuth v5 (next-auth >=5.0.0-0 <6); NextAuth v4 apps must migrate before upgrading.
    • NextAuth server configuration now uses v5 APIs like NextAuthConfig, Credentials, and the exported auth helper.
    • Pages Router server calls must pass req and res separately to auth; passing the full GetServerSidePropsContext is no longer valid.
    • NextAuth v5 internal cookies use authjs names, including authjs.csrf-token or __Host-authjs.csrf-token for CSRF depending on secure-cookie settings.
    • CSRF nonce validation now compares the SIWE nonce against the csrfToken value that NextAuth v5 posts to the Credentials provider, instead of parsing CSRF cookies from request headers.

    Migration guide:

    1. Upgrade next-auth to v5 and upgrade @rainbow-me/rainbowkit-siwe-next-auth.
    - npm install next-auth@^4 @rainbow-me/rainbowkit-siwe-next-auth
    + npm install next-auth@5.0.0-beta.31 @rainbow-me/rainbowkit-siwe-next-auth
    1. Update your NextAuth server configuration to the v5 API.
    - import type { NextAuthOptions } from 'next-auth';
    - import CredentialsProvider from 'next-auth/providers/credentials';
    + import NextAuth from 'next-auth';
    + import type { NextAuthConfig } from 'next-auth';
    + import Credentials from 'next-auth/providers/credentials';
    - export const authOptions: NextAuthOptions = {
    + export const authOptions: NextAuthConfig = {
     providers: [
    - CredentialsProvider({
    + Credentials({
     async authorize(credentials) {
     /* your SIWE validation */
     },
     }),
     ],
     };
    +
    + export const { handlers, auth, signIn, signOut } = NextAuth(authOptions);
    1. Update Pages Router server-side session lookups to use the exported auth helper. Pass req and res separately; passing the full GetServerSidePropsContext is not supported by the v5 overloads.
    - import { getServerSession } from 'next-auth';
    - import { authOptions } from '../auth';
    + import { auth } from '../auth';
     export const getServerSideProps: GetServerSideProps = async (context) => {
    - const session = await getServerSession(
    - context.req,
    - context.res,
    - authOptions,
    - );
    + const session = await auth(context.req, context.res);
     return {
     props: {
     session,
     },
     };
     };
    1. Update SIWE nonce checks that call getCsrfToken inside authorize. When using signIn('credentials', ...), NextAuth v5 validates the CSRF cookie before authorize runs and includes the verified token in credentials.csrfToken.
    - import { getCsrfToken } from 'next-auth/react';
    - if (
    - siweMessage.nonce !==
    - (await getCsrfToken({ req: { headers: req.headers } }))
    - ) {
    - return null;
    - }
    + const csrfToken =
    + credentials && 'csrfToken' in credentials
    + ? credentials.csrfToken
    + : undefined;
    + if (siweMessage.nonce !== csrfToken) {
    + return null;
    + }
    1. If upgrading from before @rainbow-me/rainbowkit-siwe-next-auth@0.5.0, also follow the 0.5.0 changelog entry for the viem/siwe migration and the 0.3.0 changelog entry for the earlier getCsrfToken request-shape change.
Assets 2
Loading

@rainbow-me/rainbow-button@0.2.28

06 May 08:42
@DanielSinclair DanielSinclair
03360ee
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • f52657f: Fixed RainbowButton.Custom types in Next.js 16.2 projects.
Loading

@rainbow-me/create-rainbowkit@0.3.16

11 Dec 22:59
@DanielSinclair DanielSinclair
69161b2
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

Loading

@rainbow-me/rainbowkit@2.2.10

07 Dec 08:10
@DanielSinclair DanielSinclair
fbfdbf1
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • e74f604: Improve UI on the mobile connect flow to hint to users that they can horizontally scroll to see additional wallet connectors

  • eb72c37: Fix Gemini wallet connector to use icon instead of icons in appMetadata

  • e58367e: Fix mobile visibility for Coin98, CLV, SafePal, Frontier, and BeraSig wallets.

  • b7b7b43: Rename the Argent wallet connector to readyWallet

  • 507f583: Add additional wallet flags to isMetaMask() to detect impersonating providers.

  • 16963de: Add ctrlWallet wallet connector to replace xdefiWallet. XDEFI Wallet has been rebranded to CTRL Wallet.

  • 6c745a5: Disable third-party connector telemetry by default for user privacy. h/t @TimDaub

    To opt-in to WalletConnect analytics:

    With getDefaultConfig:

    const config = getDefaultConfig({
     /** ... **/
     walletConnectParameters: {
     telemetryEnabled: true,
     },
    });

    To opt-in to Base Account telemetry:

    baseAccount.preference = {
     telemetry: true,
    };

    To opt-in to MetaMask analytics:

    metaMaskWallet.enableAnalytics = true;

Contributors

TimDaub
Loading

@rainbow-me/create-rainbowkit@0.3.15

07 Dec 08:09
@DanielSinclair DanielSinclair
fbfdbf1
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

Loading

@rainbow-me/rainbowkit@2.2.9

14 Oct 06:15
@DanielSinclair DanielSinclair
5cd323f
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • e52ca05: Added baseAccount wallet connector, replacing coinbaseWallet (now marked as deprecated)
  • b34d6c1: Added portoWallet wallet connector for Porto
  • 66bcc18: Added universalProfilesWallet connector for Universal Profiles
  • fe0496e: Added geminiWallet wallet connector for Gemini Wallet
  • 0b9052c: Added binanceWallet chrome extension download url
  • d92a6c7: Fixed type compatibility for connect() parameters in Wagmi ^2.17.0
  • 5698ade: Fixed monad logo and supported monad testnet
  • 1e67f0d: Improved detection for novaWallet provider
  • 1520f59: Fixed unintended forwarding of the errorCorrection prop to SVG elements used by the QRCode component to prevent React warning.
Loading

@rainbow-me/rainbow-button@0.2.26

14 Oct 06:11
@DanielSinclair DanielSinclair
5cd323f
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • 87257e6: Expose useRainbowConnectModal hook for programmatic control of the connect modal. The hook returns connect and connectModalOpen properties
Loading

@rainbow-me/rainbowkit@2.2.8

18 Jun 06:06
@DanielSinclair DanielSinclair
32c6720
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • f542876: The metaMaskWallet wallet connector now utilizes the MetaMask SDK for more reliable, faster connections on mobile
Loading

@rainbow-me/rainbowkit@2.2.7

13 Jun 04:50
@DanielSinclair DanielSinclair
cbdf578
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

Patch Changes

  • a147620: Fixed error handling when connect requests are rejected on mobile.
  • 10090d2: Mitigated WalletConnect Core is already initialized warnings that began appearing with recent distributions of Wagmi and WalletConnect.
  • 50c7f13: Added missing rdns metadata for wallet connectors that now support EIP-6963.
  • 15ddd4a: Improved QR Code error correction and rendering with cuer
Loading
Previous 1 3 4 5 16 17
Previous

AltStyle によって変換されたページ (->オリジナル) /