@octanejs/rainbowkit 0.0.50 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,6 +8,10 @@ npm install @octanejs/rainbowkit @octanejs/wagmi @octanejs/tanstack-query viem
8
8
  pnpm add @octanejs/rainbowkit @octanejs/wagmi @octanejs/tanstack-query viem
9
9
  ```
10
10
 
11
+ As `wagmi` and `@tanstack/react-query` are for RainbowKit, `@octanejs/wagmi` and
12
+ `@octanejs/tanstack-query` are peer dependencies, so the components read the
13
+ application's `WagmiProvider` and `QueryClientProvider`.
14
+
11
15
  ```tsrx
12
16
  import { QueryClient, QueryClientProvider } from '@octanejs/tanstack-query';
13
17
  import { WagmiProvider, createConfig, http } from '@octanejs/wagmi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/rainbowkit",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,21 +34,20 @@
34
34
  ".": "./src/index.ts",
35
35
  "./styles.css": "./src/styles.css"
36
36
  },
37
- "dependencies": {
38
- "@octanejs/wagmi": "0.0.50",
39
- "@wagmi/core": "3.6.5"
40
- },
41
37
  "peerDependencies": {
42
- "@octanejs/tanstack-query": "0.1.68",
43
- "octane": "^0.16.0"
38
+ "@octanejs/tanstack-query": "0.1.69",
39
+ "@octanejs/wagmi": "0.0.52",
40
+ "octane": "^0.17.0"
44
41
  },
45
42
  "devDependencies": {
46
43
  "@rainbow-me/rainbowkit": "2.2.11",
47
- "@octanejs/tanstack-query": "0.1.68",
44
+ "@octanejs/tanstack-query": "0.1.69",
45
+ "@octanejs/wagmi": "0.0.52",
48
46
  "@testing-library/jest-dom": "^6.9.1",
49
47
  "@tsrx/react": "^0.4.5",
50
48
  "@wagmi/connectors": "8.2.0",
51
- "octane": "0.16.0",
49
+ "@wagmi/core": "3.6.5",
50
+ "octane": "0.17.0",
52
51
  "react": "19.2.7",
53
52
  "react-dom": "19.2.7",
54
53
  "viem": "2.55.10",
package/src/internal.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createContext } from 'octane';
2
- import type { Connector } from '@wagmi/core';
2
+ import type { Connector } from '@octanejs/wagmi';
3
3
 
4
4
  export type ModalKind = 'account' | 'chain' | 'connect';
5
5
  export type ModalToken = string;
package/src/provider.tsrx CHANGED
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from 'octane';
2
2
  import { useConnect, useConnection, useDisconnect, useSwitchChain } from '@octanejs/wagmi';
3
3
  import type { OctaneNode } from 'octane';
4
- import type { Connector } from '@wagmi/core';
4
+ import type { Connector } from '@octanejs/wagmi';
5
5
  import {
6
6
  RainbowKitContext,
7
7
  connectorIdentity,