@octanejs/wagmi 0.0.50 → 0.0.51

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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -5,10 +5,15 @@ official connectors, while replacing the React provider and hooks with Octane
5
5
  bindings backed by `@octanejs/tanstack-query`.
6
6
 
7
7
  ```bash
8
- npm install @octanejs/wagmi @octanejs/tanstack-query viem
9
- pnpm add @octanejs/wagmi @octanejs/tanstack-query viem
8
+ npm install @octanejs/wagmi @octanejs/tanstack-query @tanstack/query-core viem
9
+ pnpm add @octanejs/wagmi @octanejs/tanstack-query @tanstack/query-core viem
10
10
  ```
11
11
 
12
+ As in `wagmi`, `viem` is a peer dependency, and so is `@octanejs/tanstack-query`,
13
+ the counterpart of its `@tanstack/react-query` peer, so the hooks read the
14
+ application's `QueryClientProvider`. `@tanstack/query-core` is a peer too,
15
+ because `@wagmi/core/query` imports it as an optional peer of its own.
16
+
12
17
  ```tsrx
13
18
  import { QueryClient, QueryClientProvider } from '@octanejs/tanstack-query';
14
19
  import { WagmiProvider, createConfig, http, useConnect, useConnection } from '@octanejs/wagmi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/wagmi",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,22 +36,25 @@
36
36
  "./chains": "./src/chains.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@octanejs/tanstack-query": "0.1.68",
40
39
  "@wagmi/connectors": "8.2.0",
41
- "@wagmi/core": "3.6.5",
42
- "viem": "2.55.10",
43
- "@tanstack/query-core": "^5.102.8"
40
+ "@wagmi/core": "3.6.5"
44
41
  },
45
42
  "peerDependencies": {
46
- "octane": "^0.16.0"
43
+ "@octanejs/tanstack-query": "0.1.68",
44
+ "@tanstack/query-core": "^5.102.8",
45
+ "octane": "^0.16.0",
46
+ "viem": "^2.55.10"
47
47
  },
48
48
  "devDependencies": {
49
+ "@octanejs/tanstack-query": "0.1.68",
50
+ "@tanstack/query-core": "^5.102.8",
49
51
  "@tanstack/react-query": "^5.102.8",
50
52
  "@tsrx/react": "^0.4.5",
51
53
  "esbuild": "^0.28.1",
52
- "octane": "0.16.0",
54
+ "octane": "0.16.7",
53
55
  "react": "19.2.7",
54
56
  "react-dom": "19.2.7",
57
+ "viem": "2.55.10",
55
58
  "vitest": "^4.1.10",
56
59
  "wagmi": "3.7.7",
57
60
  "typescript": "^5.9.3"