From 9e424e0b8b448476012d337f76af3399878fbb1c Mon Sep 17 00:00:00 2001 From: tmm Date: Thu, 23 Apr 2026 15:03:50 -0400 Subject: [PATCH 1/6] Update wagmi Accounts SDK docs imports --- package.json | 4 +- pnpm-lock.yaml | 106 +++++++++++------- src/pages/accounts/index.mdx | 6 +- src/pages/accounts/wagmi/tempoWallet.mdx | 14 +-- src/pages/accounts/wagmi/webAuthn.mdx | 14 +-- src/pages/guide/_template.mdx | 4 +- .../guide/issuance/create-a-stablecoin.mdx | 8 +- .../guide/issuance/distribute-rewards.mdx | 6 +- .../guide/issuance/manage-stablecoin.mdx | 14 +-- src/pages/guide/issuance/mint-stablecoins.mdx | 6 +- src/pages/guide/issuance/use-for-fees.mdx | 2 +- src/pages/guide/machine-payments/client.mdx | 2 +- .../guide/payments/sponsor-user-fees.mdx | 4 +- .../stablecoin-dex/managing-fee-liquidity.mdx | 12 +- .../guide/use-accounts/embed-passkeys.mdx | 6 +- .../guide/use-accounts/embed-tempo-wallet.mdx | 8 +- src/snippets/wagmi.config.ts | 6 +- src/wagmi.config.ts | 4 +- 18 files changed, 122 insertions(+), 104 deletions(-) diff --git a/package.json b/package.json index 57b9f698..954c8088 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@vercel/analytics": "^1.6.1", "@vercel/speed-insights": "^1.3.1", "abitype": "^1.2.3", - "accounts": "^0.6.5", + "accounts": "^0.8.1", "cva": "1.0.0-beta.4", "mermaid": "^11.14.0", "monaco-editor": "^0.55.1", @@ -43,7 +43,7 @@ "unplugin-icons": "^23.0.1", "viem": "2.48.0", "vocs": "https://pkg.pr.new/wevm/vocs@2fb25c2", - "wagmi": "^3.6.1", + "wagmi": "^3.6.4", "waku": "1.0.0-alpha.4", "zod": "^4.3.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5eeb72bd..c38f97e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,8 +38,8 @@ importers: specifier: ^1.2.3 version: 1.2.3(typescript@5.9.3)(zod@4.3.6) accounts: - specifier: ^0.6.5 - version: 0.6.7(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)))(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + specifier: ^0.8.1 + version: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) cva: specifier: 1.0.0-beta.4 version: 1.0.0-beta.4(typescript@5.9.3) @@ -92,8 +92,8 @@ importers: specifier: https://pkg.pr.new/wevm/vocs@2fb25c2 version: https://pkg.pr.new/wevm/vocs@2fb25c2(@cfworker/json-schema@4.1.1)(@types/react@19.2.14)(mermaid@11.14.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(rollup@4.60.1)(typescript@5.9.3)(vite@7.3.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3))(waku@1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3)) wagmi: - specifier: ^3.6.1 - version: 3.6.1(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + specifier: ^3.6.4 + version: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) waku: specifier: 1.0.0-alpha.4 version: 1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3) @@ -1528,16 +1528,17 @@ packages: react-server-dom-webpack: optional: true - '@wagmi/connectors@8.0.1': - resolution: {integrity: sha512-Rga0EDdcdUBlKtlUUPdBPAIlaFIkO8q0xcNObN/Q/CloM1zaruSFht1q3IaJKrytIDkncQa9uhHU6/imzysvpQ==} + '@wagmi/connectors@8.0.4': + resolution: {integrity: sha512-zRxRmd4TnNv/LxYm/IcrUsXMFBECzEQAOAcUDRMUfRRKfneJFqmmv1kmUbWSIc/gBkBu6o3BAGPJjV5j3BUcLA==} peerDependencies: '@base-org/account': ^2.5.1 '@coinbase/wallet-sdk': ^4.3.6 '@metamask/connect-evm': ~0.9.0 '@safe-global/safe-apps-provider': ~0.18.6 '@safe-global/safe-apps-sdk': ^9.1.0 - '@wagmi/core': 3.4.2 + '@wagmi/core': 3.4.5 '@walletconnect/ethereum-provider': ^2.21.1 + accounts: ~0.6.7 porto: ~0.2.35 typescript: '>=5.7.3' viem: 2.x @@ -1554,22 +1555,24 @@ packages: optional: true '@walletconnect/ethereum-provider': optional: true + accounts: + optional: true porto: optional: true typescript: optional: true - '@wagmi/core@3.4.2': - resolution: {integrity: sha512-01i0ILBe74G8eairY2AIKC4Atrd00xw7EckZ5luU1ARl/6789UH79wXHwJDkHyktXtjn6QoSoBRW2brtlS8SWg==} + '@wagmi/core@3.4.5': + resolution: {integrity: sha512-rmqnLRlyFWcP2VvvQtS1XMmupaSruxCwSTfwB8v7pRyeVDywsOoJwIpLh4PI5o//b3ia4P0gND4vkQ1MmU8C3g==} peerDependencies: '@tanstack/query-core': '>=5.0.0' - ox: '>=0.11.1' + accounts: ~0.6.7 typescript: '>=5.7.3' viem: 2.x peerDependenciesMeta: '@tanstack/query-core': optional: true - ox: + accounts: optional: true typescript: optional: true @@ -1640,15 +1643,16 @@ packages: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} engines: {node: '>= 0.6'} - accounts@0.6.7: - resolution: {integrity: sha512-bXTyx3AFoe98dnlavPsxp7Uoho+QXNdOeHNdsvzC5pzQ2idgK50yUiBTKXtI7+E8kSvvfzGQR8ZdwfgJS5bJHg==} + accounts@0.8.1: + resolution: {integrity: sha512-X8FHkeDKL1qd2SK5JCTNovCbe+2G1DcwRwvn1GQK/KrZ80pMwt6oJYX1sbg9+yE85uz37dAEoPgFnYH6mTy0oQ==} peerDependencies: '@react-native-async-storage/async-storage': ^3.0.2 - '@wagmi/core': '>=2' + '@wagmi/core': '>=3.4.3' expo-secure-store: ^55.0.12 expo-web-browser: ^55.0.13 react: '>=18' viem: '>=2.43.3' + wagmi: '>=0.0.0' peerDependenciesMeta: '@react-native-async-storage/async-storage': optional: true @@ -1662,6 +1666,8 @@ packages: optional: true viem: optional: true + wagmi: + optional: true acorn-import-phases@1.0.4: resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} @@ -2430,6 +2436,10 @@ packages: resolution: {integrity: sha512-p1JfQMKaceuCbpJKAPKVqyqviZdS0eUxH9v82oWo1kb9xjQ5wA6iP3FNVAPDFlz5/p7d45lO+BpSk1tuSZMF4Q==} engines: {node: '>=16.9.0'} + hono@4.12.14: + resolution: {integrity: sha512-am5zfg3yu6sqn5yjKBNqhnTX7Cv+m00ox+7jbaKkrLMRJ4rAdldd1xPd/JzbBWspqaQv6RSTrgFN95EsfhC+7w==} + engines: {node: '>=16.9.0'} + html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} @@ -2949,8 +2959,8 @@ packages: moo@0.5.3: resolution: {integrity: sha512-m2fmM2dDm7GZQsY7KK2cme8agi+AAljILjQnof7p1ZMDe6dQ4bdnSMx0cPppudoeNv5hEFQirN6u+O4fDE0IWA==} - mppx@0.5.12: - resolution: {integrity: sha512-pr6epOYJd8Q6D+MRMc27G48IMh0naAGMMyY1cZYrxMXVwH8PPn1ZaqUwv31svcjOV+UpSrSAe/MP2hRWJ0KQ7A==} + mppx@0.5.11: + resolution: {integrity: sha512-jV3G7RKGp0ANk7UBcfAeIRgqKDtJUDOCdwtqQKQi6dft9hTOLo5+jfLG7NRIE/1lncbIhxsX+zXhfbi34lgcxA==} hasBin: true peerDependencies: '@modelcontextprotocol/sdk': '>=1.25.0' @@ -3141,24 +3151,24 @@ packages: outvariant@1.4.0: resolution: {integrity: sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw==} - ox@0.14.10: - resolution: {integrity: sha512-PYsqEnSP7CrcxISS3uVBtw9yPy2gATAnWNptTI0pMnlrXLTiw0Xw/IIivJVHDFgGvKuRAtBSafhVjs+jis3CVA==} + ox@0.14.17: + resolution: {integrity: sha512-jOzNb2Wlfzsr8z/GoCtd1bf6OSRuWuysvbhnHGD+7fV1WRbcBR6B0RYoe3xWnUedF7zp4l5APmS7CzAhUok/lA==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - ox@0.14.17: - resolution: {integrity: sha512-jOzNb2Wlfzsr8z/GoCtd1bf6OSRuWuysvbhnHGD+7fV1WRbcBR6B0RYoe3xWnUedF7zp4l5APmS7CzAhUok/lA==} + ox@0.14.20: + resolution: {integrity: sha512-rby38C3nDn8eQkf29Zgw4hkCZJ64Qqi0zRPWL8ENUQ7JVuoITqrVtwWQgM/He19SCMUEc7hS/Sjw0jIOSLJhOw==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - ox@0.14.20: - resolution: {integrity: sha512-rby38C3nDn8eQkf29Zgw4hkCZJ64Qqi0zRPWL8ENUQ7JVuoITqrVtwWQgM/He19SCMUEc7hS/Sjw0jIOSLJhOw==} + ox@0.14.7: + resolution: {integrity: sha512-zSQ/cfBdolj7U4++NAvH7sI+VG0T3pEohITCgcQj8KlawvTDY4vGVhDT64Atsm0d6adWfIYHDpu88iUBMMp+AQ==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: @@ -3610,6 +3620,10 @@ packages: resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} engines: {node: '>=6'} + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + tar@7.2.0: resolution: {integrity: sha512-hctwP0Nb4AB60bj8WQgRYaMOuJYRAPMGiQUAotms5igN8ppfQM+IvjQ5HcKu1MaZh2Wy2KWVTe563Yj8dfc14w==} engines: {node: '>=18'} @@ -3954,8 +3968,8 @@ packages: w3c-keyname@2.2.8: resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} - wagmi@3.6.1: - resolution: {integrity: sha512-GhOm/1FIhsendD+VmBknX+zCxYZCcysbraj/A7L7Lszm8+HgTdHj7eF6DrknKVG12NTXYdmM4vni+jHHrdBuaQ==} + wagmi@3.6.4: + resolution: {integrity: sha512-aAvjKlRv1pMlw/fcZUFCCyeR4b32iCtcPqPH9cphuIygxag3wnzvGR2/kaXbY08qKeHZEkD8bOvb8acBOfy05A==} peerDependencies: '@tanstack/react-query': '>=5.0.0' react: '>=18' @@ -5434,14 +5448,15 @@ snapshots: optionalDependencies: react-server-dom-webpack: 19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1) - '@wagmi/connectors@8.0.1(@wagmi/core@3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)))(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/connectors@8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': dependencies: - '@wagmi/core': 3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) optionalDependencies: + accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) typescript: 5.9.3 - '@wagmi/core@3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/core@3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.9.3) @@ -5449,7 +5464,7 @@ snapshots: zustand: 5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: '@tanstack/query-core': 5.99.0 - ox: 0.14.20(typescript@5.9.3)(zod@4.3.6) + accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) typescript: 5.9.3 transitivePeerDependencies: - '@types/react' @@ -5547,20 +5562,21 @@ snapshots: mime-types: 3.0.2 negotiator: 1.0.0 - accounts@0.6.7(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)))(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): + accounts@0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4): dependencies: - hono: 4.12.12 + hono: 4.12.14 idb-keyval: 6.2.2 mipd: 0.0.7(typescript@5.9.3) - mppx: 0.5.12(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.12)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + mppx: 0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) ox: 0.14.20(typescript@5.9.3)(zod@4.3.6) webauthx: 0.1.1(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 zustand: 5.0.12(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: - '@wagmi/core': 3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) + wagmi: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) transitivePeerDependencies: - '@modelcontextprotocol/sdk' - '@types/react' @@ -6412,6 +6428,8 @@ snapshots: hono@4.12.12: {} + hono@4.12.14: {} + html-void-elements@3.0.0: {} http-errors@2.0.1: @@ -7176,16 +7194,16 @@ snapshots: moo@0.5.3: {} - mppx@0.5.12(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.12)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): + mppx@0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): dependencies: incur: 0.3.25 - ox: 0.14.10(typescript@5.9.3)(zod@4.3.6) + ox: 0.14.7(typescript@5.9.3)(zod@4.3.6) viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 optionalDependencies: '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6) express: 5.2.1 - hono: 4.12.12 + hono: 4.12.14 transitivePeerDependencies: - typescript @@ -7255,7 +7273,7 @@ snapshots: outvariant@1.4.0: {} - ox@0.14.10(typescript@5.9.3)(zod@4.3.6): + ox@0.14.17(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 '@noble/ciphers': 1.3.0 @@ -7270,7 +7288,7 @@ snapshots: transitivePeerDependencies: - zod - ox@0.14.17(typescript@5.9.3)(zod@4.3.6): + ox@0.14.20(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 '@noble/ciphers': 1.3.0 @@ -7285,7 +7303,7 @@ snapshots: transitivePeerDependencies: - zod - ox@0.14.20(typescript@5.9.3)(zod@4.3.6): + ox@0.14.7(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 '@noble/ciphers': 1.3.0 @@ -7878,6 +7896,8 @@ snapshots: tapable@2.3.2: {} + tapable@2.3.3: {} + tar@7.2.0: dependencies: '@isaacs/fs-minipass': 4.0.1 @@ -8273,11 +8293,11 @@ snapshots: w3c-keyname@2.2.8: {} - wagmi@3.6.1(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): + wagmi@3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): dependencies: '@tanstack/react-query': 5.99.0(react@19.2.5) - '@wagmi/connectors': 8.0.1(@wagmi/core@3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)))(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) - '@wagmi/core': 3.4.2(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(ox@0.14.20(typescript@5.9.3)(zod@4.3.6))(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/connectors': 8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 use-sync-external-store: 1.4.0(react@19.2.5) viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) @@ -8292,8 +8312,8 @@ snapshots: - '@tanstack/query-core' - '@types/react' - '@walletconnect/ethereum-provider' + - accounts - immer - - ox - porto waku@1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3): @@ -8365,7 +8385,7 @@ snapshots: mime-types: 2.1.35 neo-async: 2.6.2 schema-utils: 4.3.3 - tapable: 2.3.2 + tapable: 2.3.3 terser-webpack-plugin: 5.4.0(webpack@5.104.1) watchpack: 2.5.1 webpack-sources: 3.3.4 diff --git a/src/pages/accounts/index.mdx b/src/pages/accounts/index.mdx index 2ce0796c..326c9d53 100644 --- a/src/pages/accounts/index.mdx +++ b/src/pages/accounts/index.mdx @@ -91,13 +91,13 @@ Get started with Wagmi by following the [official guide](https://wagmi.sh/react/ ### Configure -After you have set up Wagmi, you can set up the Tempo Accounts SDK by using a Connector from `accounts/wagmi`. +After you have set up Wagmi, you can configure the Tempo Accounts SDK with `tempoWallet` from `wagmi/connectors` or `webAuthn` from `wagmi/tempo`. :::code-group ```tsx twoslash [Tempo Wallet] import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' // [!code hl] +import { tempoWallet } from 'wagmi/connectors' // [!code hl] export const wagmiConfig = createConfig({ chains: [tempo], @@ -110,7 +110,7 @@ export const wagmiConfig = createConfig({ ```tsx twoslash [Domain-bound Passkeys] import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' // [!code hl] +import { webAuthn } from 'wagmi/tempo' // [!code hl] export const wagmiConfig = createConfig({ chains: [tempo], diff --git a/src/pages/accounts/wagmi/tempoWallet.mdx b/src/pages/accounts/wagmi/tempoWallet.mdx index 66c490a3..57a24d30 100644 --- a/src/pages/accounts/wagmi/tempoWallet.mdx +++ b/src/pages/accounts/wagmi/tempoWallet.mdx @@ -12,7 +12,7 @@ Creates a Wagmi connector backed by the Tempo Wallet dialog adapter. ```ts import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -39,7 +39,7 @@ import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' import { parseUnits } from 'viem' import { Expiry } from 'accounts' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -69,7 +69,7 @@ Dialog to use for the embed app. import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' import { Dialog } from 'accounts' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -96,7 +96,7 @@ Fee payer configuration for interacting with a service running [`Handler.relay`] ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -119,7 +119,7 @@ URL of the embed app. ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -142,7 +142,7 @@ Enable [Machine Payment Protocol](https://mpp.dev) support. ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -165,7 +165,7 @@ Use testnet. When `true`, the default chain will be the first testnet chain in ` ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/accounts/wagmi/webAuthn.mdx b/src/pages/accounts/wagmi/webAuthn.mdx index c067bb14..7b37377d 100644 --- a/src/pages/accounts/wagmi/webAuthn.mdx +++ b/src/pages/accounts/wagmi/webAuthn.mdx @@ -12,7 +12,7 @@ Creates a Wagmi connector backed by the WebAuthn adapter. ```ts import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -45,7 +45,7 @@ Cannot be used with `ceremony`. ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -70,7 +70,7 @@ import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' import { parseUnits } from 'viem' import { Expiry } from 'accounts' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -109,7 +109,7 @@ Cannot be used with `authUrl`. import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' import { WebAuthnCeremony } from 'accounts' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -136,7 +136,7 @@ Fee payer configuration for interacting with a service running [`Handler.relay`] ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -160,7 +160,7 @@ Enable [Machine Payment Protocol](https://mpp.dev) support. ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], @@ -184,7 +184,7 @@ Use testnet. When `true`, the default chain will be the first testnet chain in ` ```ts twoslash import { createConfig, http } from 'wagmi' import { tempo } from 'wagmi/chains' -import { webAuthn } from 'accounts/wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/_template.mdx b/src/pages/guide/_template.mdx index 6527ccb1..00d7468a 100644 --- a/src/pages/guide/_template.mdx +++ b/src/pages/guide/_template.mdx @@ -46,7 +46,7 @@ export function Component() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -76,7 +76,7 @@ export function Component() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/issuance/create-a-stablecoin.mdx b/src/pages/guide/issuance/create-a-stablecoin.mdx index a81bdfb1..adc9a71b 100644 --- a/src/pages/guide/issuance/create-a-stablecoin.mdx +++ b/src/pages/guide/issuance/create-a-stablecoin.mdx @@ -72,7 +72,7 @@ export function AddFunds() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -131,7 +131,7 @@ export function CreateStablecoin() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -197,7 +197,7 @@ export function CreateStablecoin() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -263,7 +263,7 @@ export function CreateStablecoin() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/issuance/distribute-rewards.mdx b/src/pages/guide/issuance/distribute-rewards.mdx index 9f8dc359..cdebd713 100644 --- a/src/pages/guide/issuance/distribute-rewards.mdx +++ b/src/pages/guide/issuance/distribute-rewards.mdx @@ -85,7 +85,7 @@ export function OptInToRewards() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -143,7 +143,7 @@ export function StartReward() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -194,7 +194,7 @@ export function ClaimReward() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/issuance/manage-stablecoin.mdx b/src/pages/guide/issuance/manage-stablecoin.mdx index ea7a228a..a8134a9d 100644 --- a/src/pages/guide/issuance/manage-stablecoin.mdx +++ b/src/pages/guide/issuance/manage-stablecoin.mdx @@ -85,7 +85,7 @@ export function GrantRoles() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -162,7 +162,7 @@ export function GrantRoles() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -273,7 +273,7 @@ export function RevokeRoles() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -342,7 +342,7 @@ export function SetSupplyCap() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -449,7 +449,7 @@ export function LinkTokenPolicy() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -527,7 +527,7 @@ export function PauseUnpauseTransfers() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -599,7 +599,7 @@ export function BurnBlocked() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/issuance/mint-stablecoins.mdx b/src/pages/guide/issuance/mint-stablecoins.mdx index 032de2d1..3194f696 100644 --- a/src/pages/guide/issuance/mint-stablecoins.mdx +++ b/src/pages/guide/issuance/mint-stablecoins.mdx @@ -83,7 +83,7 @@ export function GrantIssuerRole() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -184,7 +184,7 @@ export function MintToken() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], @@ -341,7 +341,7 @@ export function BurnToken() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/issuance/use-for-fees.mdx b/src/pages/guide/issuance/use-for-fees.mdx index 439aca2e..780e8b38 100644 --- a/src/pages/guide/issuance/use-for-fees.mdx +++ b/src/pages/guide/issuance/use-for-fees.mdx @@ -208,7 +208,7 @@ export function PayWithIssuedToken() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/machine-payments/client.mdx b/src/pages/guide/machine-payments/client.mdx index add1b853..5505a417 100644 --- a/src/pages/guide/machine-payments/client.mdx +++ b/src/pages/guide/machine-payments/client.mdx @@ -97,8 +97,8 @@ Mppx.create({ ```ts [config.ts] import { createConfig, http } from 'wagmi' -import { tempoWallet } from 'accounts/wagmi' import { tempoModerato } from 'viem/chains' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], diff --git a/src/pages/guide/payments/sponsor-user-fees.mdx b/src/pages/guide/payments/sponsor-user-fees.mdx index 7eeacdb5..8e809e47 100644 --- a/src/pages/guide/payments/sponsor-user-fees.mdx +++ b/src/pages/guide/payments/sponsor-user-fees.mdx @@ -60,9 +60,9 @@ export const POST = handler.fetch // Next.js ```ts twoslash [Tempo Wallet] // @noErrors -import { tempoWallet } from 'accounts/wagmi' import { tempo } from 'viem/chains' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet({ @@ -78,10 +78,10 @@ export const config = createConfig({ ```ts twoslash [WebAuthn] // @noErrors -import { webAuthn } from 'accounts/wagmi' import { tempo } from 'viem/chains' import { withRelay } from 'viem/tempo' import { createConfig, http } from 'wagmi' +import { webAuthn } from 'wagmi/tempo' export const config = createConfig({ connectors: [webAuthn({ authUrl: '/auth' })], diff --git a/src/pages/guide/stablecoin-dex/managing-fee-liquidity.mdx b/src/pages/guide/stablecoin-dex/managing-fee-liquidity.mdx index f66b78b5..1378ce40 100644 --- a/src/pages/guide/stablecoin-dex/managing-fee-liquidity.mdx +++ b/src/pages/guide/stablecoin-dex/managing-fee-liquidity.mdx @@ -61,8 +61,8 @@ function ManageFeeLiquidity() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -125,8 +125,8 @@ function ManageFeeLiquidity() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -196,8 +196,8 @@ function ManageFeeLiquidity() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -279,8 +279,8 @@ function ManageFeeLiquidity() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -345,8 +345,8 @@ function MonitorSwaps() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -409,8 +409,8 @@ function RebalancePool() { ```ts twoslash [wagmi.config.ts] // @noErrors import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' import { createConfig, http } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], diff --git a/src/pages/guide/use-accounts/embed-passkeys.mdx b/src/pages/guide/use-accounts/embed-passkeys.mdx index e1a4c70a..5b072afe 100644 --- a/src/pages/guide/use-accounts/embed-passkeys.mdx +++ b/src/pages/guide/use-accounts/embed-passkeys.mdx @@ -81,7 +81,7 @@ Next, we will need to configure the `webAuthn` connector in our Wagmi config, pa // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { webAuthn } from 'accounts/wagmi' // [!code ++] +import { webAuthn } from 'wagmi/tempo' // [!code ++] export const config = createConfig({ chains: [tempo], @@ -153,7 +153,7 @@ export function Example() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { webAuthn } from 'accounts/wagmi' // [!code ++] +import { webAuthn } from 'wagmi/tempo' // [!code ++] export const config = createConfig({ chains: [tempo], @@ -229,7 +229,7 @@ export function Example() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { webAuthn } from 'accounts/wagmi' // [!code ++] +import { webAuthn } from 'wagmi/tempo' // [!code ++] export const config = createConfig({ chains: [tempo], diff --git a/src/pages/guide/use-accounts/embed-tempo-wallet.mdx b/src/pages/guide/use-accounts/embed-tempo-wallet.mdx index d22c472b..b3f0cfa2 100644 --- a/src/pages/guide/use-accounts/embed-tempo-wallet.mdx +++ b/src/pages/guide/use-accounts/embed-tempo-wallet.mdx @@ -49,7 +49,7 @@ Next, we will configure the `tempoWallet` connector in our Wagmi config. // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' // [!code ++] +import { tempoWallet } from 'wagmi/connectors' // [!code ++] export const config = createConfig({ chains: [tempo], @@ -100,7 +100,7 @@ export function Example() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' // [!code ++] +import { tempoWallet } from 'wagmi/connectors' // [!code ++] export const config = createConfig({ chains: [tempo], @@ -166,7 +166,7 @@ export function Example() { // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' // [!code ++] +import { tempoWallet } from 'wagmi/connectors' // [!code ++] export const config = createConfig({ chains: [tempo], @@ -248,7 +248,7 @@ The `tempoWallet` connector supports fee sponsorship via a `feePayer` option. Th // @noErrors import { createConfig, http } from 'wagmi' import { tempo } from 'viem/chains' -import { tempoWallet } from 'accounts/wagmi' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ chains: [tempo], diff --git a/src/snippets/wagmi.config.ts b/src/snippets/wagmi.config.ts index af6435a4..c3bac3a7 100644 --- a/src/snippets/wagmi.config.ts +++ b/src/snippets/wagmi.config.ts @@ -3,10 +3,9 @@ // biome-ignore-all format: snippet // [!region setup] -import { tempoWallet } from 'accounts/wagmi' import { tempo } from 'viem/chains' import { createConfig, http } from 'wagmi' -import { KeyManager, webAuthn } from 'wagmi/tempo' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [tempoWallet()], @@ -20,11 +19,10 @@ export const config = createConfig({ // [!endregion setup] // [!region withFeePayer] -import { tempoWallet } from 'accounts/wagmi' import { tempo } from 'viem/chains' import { withRelay } from 'viem/tempo' import { createConfig, http } from 'wagmi' -import { KeyManager, webAuthn } from 'wagmi/tempo' +import { tempoWallet } from 'wagmi/connectors' export const config = createConfig({ connectors: [ diff --git a/src/wagmi.config.ts b/src/wagmi.config.ts index d9dffbfd..7572c0b8 100644 --- a/src/wagmi.config.ts +++ b/src/wagmi.config.ts @@ -1,6 +1,5 @@ import { QueryClient } from '@tanstack/react-query' import { Expiry } from 'accounts' -import { tempoWallet, webAuthn as webAuthnAccounts } from 'accounts/wagmi' import * as React from 'react' import { parseUnits } from 'viem' import { tempoDevnet, tempoLocalnet, tempoModerato } from 'viem/chains' @@ -14,6 +13,7 @@ import { useConnectors, webSocket, } from 'wagmi' +import { tempoWallet } from 'wagmi/connectors' import { KeyManager, webAuthn } from 'wagmi/tempo' import { alphaUsd, betaUsd, pathUsd, thetaUsd } from './components/guides/tokens' import { feeToken, moderatoZones } from './lib/private-zones.ts' @@ -52,7 +52,7 @@ export function getConfig(options: getConfig.Options = {}) { connectors: [ ...(import.meta.env.VITE_E2E === 'true' ? [ - webAuthnAccounts({ + webAuthn({ rdns: 'webAuthn', }), ] From 27008520539b57c1367cfd4485b3b8e64712a644 Mon Sep 17 00:00:00 2001 From: tmm Date: Thu, 23 Apr 2026 16:25:39 -0400 Subject: [PATCH 2/6] Fix Accounts SDK type errors --- package.json | 2 +- pnpm-lock.yaml | 75 +++++++------------ src/components/guides/EmbedPasskeys.tsx | 22 +----- .../guides/VirtualAddressesLiveDemo.tsx | 13 ++-- .../guide/use-accounts/embed-passkeys.mdx | 8 +- src/snippets/tempo-tx-properties.mdx | 6 +- src/wagmi.config.ts | 14 +++- 7 files changed, 53 insertions(+), 87 deletions(-) diff --git a/package.json b/package.json index 954c8088..c8315367 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "tailwindcss": "^4.2.2", "unplugin-auto-import": "^21.0.0", "unplugin-icons": "^23.0.1", - "viem": "2.48.0", + "viem": "2.48.4", "vocs": "https://pkg.pr.new/wevm/vocs@2fb25c2", "wagmi": "^3.6.4", "waku": "1.0.0-alpha.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c38f97e6..d1a877a1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,7 +39,7 @@ importers: version: 1.2.3(typescript@5.9.3)(zod@4.3.6) accounts: specifier: ^0.8.1 - version: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + version: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) cva: specifier: 1.0.0-beta.4 version: 1.0.0-beta.4(typescript@5.9.3) @@ -86,14 +86,14 @@ importers: specifier: ^23.0.1 version: 23.0.1(@svgr/core@8.1.0(typescript@5.9.3)) viem: - specifier: 2.48.0 - version: 2.48.0(typescript@5.9.3)(zod@4.3.6) + specifier: 2.48.4 + version: 2.48.4(typescript@5.9.3)(zod@4.3.6) vocs: specifier: https://pkg.pr.new/wevm/vocs@2fb25c2 version: https://pkg.pr.new/wevm/vocs@2fb25c2(@cfworker/json-schema@4.1.1)(@types/react@19.2.14)(mermaid@11.14.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(rollup@4.60.1)(typescript@5.9.3)(vite@7.3.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3))(waku@1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3)) wagmi: specifier: ^3.6.4 - version: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + version: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) waku: specifier: 1.0.0-alpha.4 version: 1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3) @@ -3151,14 +3151,6 @@ packages: outvariant@1.4.0: resolution: {integrity: sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw==} - ox@0.14.17: - resolution: {integrity: sha512-jOzNb2Wlfzsr8z/GoCtd1bf6OSRuWuysvbhnHGD+7fV1WRbcBR6B0RYoe3xWnUedF7zp4l5APmS7CzAhUok/lA==} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - ox@0.14.20: resolution: {integrity: sha512-rby38C3nDn8eQkf29Zgw4hkCZJ64Qqi0zRPWL8ENUQ7JVuoITqrVtwWQgM/He19SCMUEc7hS/Sjw0jIOSLJhOw==} peerDependencies: @@ -3854,8 +3846,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - viem@2.48.0: - resolution: {integrity: sha512-0uLzTAUNKPpY9Cf3OBCPdwClXx9CEHAkoVYnxMPdHt7cRI1DobMso+pHZvU7itD+hFwE4htmp9QfP+5lb+kn0g==} + viem@2.48.4: + resolution: {integrity: sha512-mReP/rgY2P+WeeRSG4sUvccCLKfyAW1C73Y3KkobAqgzYmVna9qyUMNE44xIUkDtfvRuC33r24UhF4baBYovsg==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -5448,23 +5440,23 @@ snapshots: optionalDependencies: react-server-dom-webpack: 19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1) - '@wagmi/connectors@8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/connectors@8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': dependencies: - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) - viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) optionalDependencies: - accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) typescript: 5.9.3 - '@wagmi/core@3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/core@3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.9.3) - viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) zustand: 5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: '@tanstack/query-core': 5.99.0 - accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) typescript: 5.9.3 transitivePeerDependencies: - '@types/react' @@ -5562,21 +5554,21 @@ snapshots: mime-types: 3.0.2 negotiator: 1.0.0 - accounts@0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4): + accounts@0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4): dependencies: hono: 4.12.14 idb-keyval: 6.2.2 mipd: 0.0.7(typescript@5.9.3) - mppx: 0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + mppx: 0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) ox: 0.14.20(typescript@5.9.3)(zod@4.3.6) webauthx: 0.1.1(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 zustand: 5.0.12(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 - viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) - wagmi: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) + wagmi: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) transitivePeerDependencies: - '@modelcontextprotocol/sdk' - '@types/react' @@ -7194,11 +7186,11 @@ snapshots: moo@0.5.3: {} - mppx@0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): + mppx@0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): dependencies: incur: 0.3.25 ox: 0.14.7(typescript@5.9.3)(zod@4.3.6) - viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 optionalDependencies: '@modelcontextprotocol/sdk': 1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6) @@ -7273,21 +7265,6 @@ snapshots: outvariant@1.4.0: {} - ox@0.14.17(typescript@5.9.3)(zod@4.3.6): - dependencies: - '@adraffy/ens-normalize': 1.11.1 - '@noble/ciphers': 1.3.0 - '@noble/curves': 1.9.1 - '@noble/hashes': 1.8.0 - '@scure/bip32': 1.7.0 - '@scure/bip39': 1.6.0 - abitype: 1.2.3(typescript@5.9.3)(zod@4.3.6) - eventemitter3: 5.0.1 - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - zod - ox@0.14.20(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 @@ -8127,7 +8104,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - viem@2.48.0(typescript@5.9.3)(zod@4.3.6): + viem@2.48.4(typescript@5.9.3)(zod@4.3.6): dependencies: '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 @@ -8135,7 +8112,7 @@ snapshots: '@scure/bip39': 1.6.0 abitype: 1.2.3(typescript@5.9.3)(zod@4.3.6) isows: 1.0.7(ws@8.18.3) - ox: 0.14.17(typescript@5.9.3)(zod@4.3.6) + ox: 0.14.20(typescript@5.9.3)(zod@4.3.6) ws: 8.18.3 optionalDependencies: typescript: 5.9.3 @@ -8293,14 +8270,14 @@ snapshots: w3c-keyname@2.2.8: {} - wagmi@3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)): + wagmi@3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): dependencies: '@tanstack/react-query': 5.99.0(react@19.2.5) - '@wagmi/connectors': 8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.0(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/connectors': 8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 use-sync-external-store: 1.4.0(react@19.2.5) - viem: 2.48.0(typescript@5.9.3)(zod@4.3.6) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: diff --git a/src/components/guides/EmbedPasskeys.tsx b/src/components/guides/EmbedPasskeys.tsx index 93ebf792..e5d5ab8a 100644 --- a/src/components/guides/EmbedPasskeys.tsx +++ b/src/components/guides/EmbedPasskeys.tsx @@ -46,7 +46,6 @@ export function SignInButtons() { const hydrated = useHydrated() const connector = useWebAuthnConnector() const busy = connect.isPending || disconnect.isPending - const isE2E = import.meta.env.VITE_E2E === 'true' if (!hydrated || !connector) return ( @@ -70,14 +69,7 @@ export function SignInButtons() { await disconnect.disconnectAsync().catch(() => {}) connect.connect({ connector, - ...(isE2E - ? ({ capabilities: { method: 'register', name: 'Tempo Docs' } } as const) - : { - capabilities: { - label: 'Tempo Docs', - type: 'sign-up', - } as never, - }), + capabilities: { method: 'register', name: 'Tempo Docs' }, }) }} type="button" @@ -88,17 +80,7 @@ export function SignInButtons() { variant="default" onClick={async () => { await disconnect.disconnectAsync().catch(() => {}) - connect.connect( - isE2E - ? { connector } - : { - connector, - capabilities: { - label: 'Tempo Docs', - type: 'sign-in', - } as never, - }, - ) + connect.connect({ connector, capabilities: { method: 'login' } }) }} type="button" > diff --git a/src/components/guides/VirtualAddressesLiveDemo.tsx b/src/components/guides/VirtualAddressesLiveDemo.tsx index fff6a53a..92cc33ad 100644 --- a/src/components/guides/VirtualAddressesLiveDemo.tsx +++ b/src/components/guides/VirtualAddressesLiveDemo.tsx @@ -124,8 +124,8 @@ function PasskeyLogin() { connect.connect({ connector, capabilities: { - label: 'Tempo Docs', - type: 'sign-up', + method: 'register', + name: 'Tempo Docs', }, }) }} @@ -661,7 +661,9 @@ export function VirtualAddressesLiveDemo() { {registration.virtualAddress} - {hasExplorerLink && } + {hasExplorerLink && ( + + )}
@@ -700,9 +702,8 @@ export function VirtualAddressesLiveDemo() {
Transfer events in this receipt
- Treat the sender → virtual{' '} - and virtual → master pair as - one + Treat the sender → virtual and{' '} + virtual → master pair as one logical deposit to the registered wallet. Other transfer logs in the receipt, like fees, are separate.
diff --git a/src/pages/guide/use-accounts/embed-passkeys.mdx b/src/pages/guide/use-accounts/embed-passkeys.mdx index 5b072afe..285e5c0f 100644 --- a/src/pages/guide/use-accounts/embed-passkeys.mdx +++ b/src/pages/guide/use-accounts/embed-passkeys.mdx @@ -133,14 +133,14 @@ export function Example() { onClick={() => connect.connect({ connector, - capabilities: { type: 'sign-up' }, + capabilities: { method: 'register' }, }) } > Sign up -
@@ -209,14 +209,14 @@ export function Example() { onClick={() => connect.connect({ connector, - capabilities: { type: 'sign-up' }, + capabilities: { method: 'register' }, }) } > Sign up -
diff --git a/src/snippets/tempo-tx-properties.mdx b/src/snippets/tempo-tx-properties.mdx index 3080c48a..414feeef 100644 --- a/src/snippets/tempo-tx-properties.mdx +++ b/src/snippets/tempo-tx-properties.mdx @@ -889,15 +889,15 @@ Post-T3, access keys gain periodic limits and call scoping, and access-key-signe ```tsx twoslash [example.ts] // @noErrors + import { Expiry } from 'accounts' import { tempo } from 'viem/chains' - import { KeyManager, webAuthn } from 'wagmi/tempo' + import { webAuthn } from 'wagmi/tempo' import { createConfig, http } from 'wagmi' export const config = createConfig({ connectors: [ webAuthn({ - grantAccessKey: true, // [!code hl] - keyManager: KeyManager.localStorage(), + authorizeAccessKey: () => ({ expiry: Expiry.days(1) }), // [!code hl] }), ], chains: [tempo], diff --git a/src/wagmi.config.ts b/src/wagmi.config.ts index 7572c0b8..22df3a34 100644 --- a/src/wagmi.config.ts +++ b/src/wagmi.config.ts @@ -14,7 +14,7 @@ import { webSocket, } from 'wagmi' import { tempoWallet } from 'wagmi/connectors' -import { KeyManager, webAuthn } from 'wagmi/tempo' +import { webAuthn } from 'wagmi/tempo' import { alphaUsd, betaUsd, pathUsd, thetaUsd } from './components/guides/tokens' import { feeToken, moderatoZones } from './lib/private-zones.ts' @@ -73,9 +73,15 @@ export function getConfig(options: getConfig.Options = {}) { }, }), webAuthn({ - grantAccessKey: true, - keyManager: KeyManager.http('https://keys.tempo.xyz'), - rpId, + authorizeAccessKey: () => ({ + expiry: Expiry.days(1), + limits: [ + { token: pathUsd, limit: parseUnits('500', 6) }, + { token: alphaUsd, limit: parseUnits('500', 6) }, + { token: betaUsd, limit: parseUnits('500', 6) }, + { token: thetaUsd, limit: parseUnits('500', 6) }, + ], + }), }), ]), ], From d9c6d35253f632e13b44887c96f27809b39748a2 Mon Sep 17 00:00:00 2001 From: tmm Date: Thu, 23 Apr 2026 16:27:00 -0400 Subject: [PATCH 3/6] chore: up --- src/components/guides/Demo.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/guides/Demo.tsx b/src/components/guides/Demo.tsx index f057ae82..eb59160d 100644 --- a/src/components/guides/Demo.tsx +++ b/src/components/guides/Demo.tsx @@ -104,7 +104,10 @@ export function ReceiptHash({ hash }: { hash: string }) { export function ExplorerAccountLink({ address, inline = false, -}: { address: string; inline?: boolean }) { +}: { + address: string + inline?: boolean +}) { const { trackExternalLinkClick } = usePostHogTracking() const url = `${getExplorerHost()}/address/${address}` @@ -459,7 +462,7 @@ export function Step(
From 243f2ead57f8aaa0378dead3e8aa6ad5690493d5 Mon Sep 17 00:00:00 2001 From: tmm Date: Tue, 28 Apr 2026 17:00:41 -0400 Subject: [PATCH 4/6] chore: up --- package.json | 6 +- pnpm-lock.yaml | 148 ++++++++++-------- .../steps/payments/SendParallelPayments.tsx | 5 +- 3 files changed, 87 insertions(+), 72 deletions(-) diff --git a/package.json b/package.json index 61d8b40f..32eea3fe 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,9 @@ "@tanstack/react-query": "^5.99.0", "@vercel/analytics": "^1.6.1", "@vercel/speed-insights": "^1.3.1", - "@wagmi/core": "0.0.0-canary-20260421205751", + "@wagmi/core": "3.4.6", "abitype": "^1.2.3", - "accounts": "^0.8.1", + "accounts": "^0.8.2", "cva": "1.0.0-beta.4", "mermaid": "^11.14.0", "monaco-editor": "^0.55.1", @@ -44,7 +44,7 @@ "unplugin-icons": "^23.0.1", "viem": "2.48.4", "vocs": "https://pkg.pr.new/wevm/vocs@2fb25c2", - "wagmi": "^3.6.4", + "wagmi": "^3.6.5", "waku": "1.0.0-alpha.4", "zod": "^4.3.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1a877a1..a6ba1541 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,11 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + protobufjs: '>=7.5.5' + tar: '>=7.5.13' + dompurify: '>=3.4.0' + patchedDependencies: '@braintree/sanitize-url@7.1.2': hash: 74e2e7d501bbd370f1be1835a3907a7ab1281616bfb77ec2ed3d7cd014afae59 @@ -34,12 +39,15 @@ importers: '@vercel/speed-insights': specifier: ^1.3.1 version: 1.3.1(react@19.2.5) + '@wagmi/core': + specifier: 3.4.6 + version: 3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) abitype: specifier: ^1.2.3 version: 1.2.3(typescript@5.9.3)(zod@4.3.6) accounts: - specifier: ^0.8.1 - version: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + specifier: ^0.8.2 + version: 0.8.2(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.6)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.5) cva: specifier: 1.0.0-beta.4 version: 1.0.0-beta.4(typescript@5.9.3) @@ -92,8 +100,8 @@ importers: specifier: https://pkg.pr.new/wevm/vocs@2fb25c2 version: https://pkg.pr.new/wevm/vocs@2fb25c2(@cfworker/json-schema@4.1.1)(@types/react@19.2.14)(mermaid@11.14.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(rollup@4.60.1)(typescript@5.9.3)(vite@7.3.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3))(waku@1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3)) wagmi: - specifier: ^3.6.4 - version: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + specifier: ^3.6.5 + version: 3.6.5(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) waku: specifier: 1.0.0-alpha.4 version: 1.0.0-alpha.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(react-dom@19.2.5(react@19.2.5))(react-server-dom-webpack@19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1))(react@19.2.5)(terser@5.46.1)(tsx@4.21.0)(yaml@2.8.3) @@ -1528,15 +1536,15 @@ packages: react-server-dom-webpack: optional: true - '@wagmi/connectors@8.0.4': - resolution: {integrity: sha512-zRxRmd4TnNv/LxYm/IcrUsXMFBECzEQAOAcUDRMUfRRKfneJFqmmv1kmUbWSIc/gBkBu6o3BAGPJjV5j3BUcLA==} + '@wagmi/connectors@8.0.5': + resolution: {integrity: sha512-Xxysn4jalQS5W4b687LX0znp2eswonS/1fvRRVAlPD+LG15YRs8nHaC7xAjI9lVMWAx2TePw9Car6pQ5nzYVsA==} peerDependencies: '@base-org/account': ^2.5.1 '@coinbase/wallet-sdk': ^4.3.6 '@metamask/connect-evm': ~0.9.0 '@safe-global/safe-apps-provider': ~0.18.6 '@safe-global/safe-apps-sdk': ^9.1.0 - '@wagmi/core': 3.4.5 + '@wagmi/core': 3.4.6 '@walletconnect/ethereum-provider': ^2.21.1 accounts: ~0.6.7 porto: ~0.2.35 @@ -1562,11 +1570,11 @@ packages: typescript: optional: true - '@wagmi/core@3.4.5': - resolution: {integrity: sha512-rmqnLRlyFWcP2VvvQtS1XMmupaSruxCwSTfwB8v7pRyeVDywsOoJwIpLh4PI5o//b3ia4P0gND4vkQ1MmU8C3g==} + '@wagmi/core@3.4.6': + resolution: {integrity: sha512-wDZpRfzQo6NJj770mt23HdeU9O0MDO3cnxVP7tP/1HL7DLqOGMN3hADIc0wEF51ejrpnJlGLf8hS1qb2ZAzqJA==} peerDependencies: '@tanstack/query-core': '>=5.0.0' - accounts: ~0.6.7 + accounts: ~0.8.1 typescript: '>=5.7.3' viem: 2.x peerDependenciesMeta: @@ -1643,8 +1651,8 @@ packages: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} engines: {node: '>= 0.6'} - accounts@0.8.1: - resolution: {integrity: sha512-X8FHkeDKL1qd2SK5JCTNovCbe+2G1DcwRwvn1GQK/KrZ80pMwt6oJYX1sbg9+yE85uz37dAEoPgFnYH6mTy0oQ==} + accounts@0.8.2: + resolution: {integrity: sha512-1sAOJS/sFfgphmE4prfsyx884XCmH42gwhuJ1jK7IjWlfehtS5i2ryVBcxnBE0hqsgu1DHMpIn/NJ2ZP+Q92HA==} peerDependencies: '@react-native-async-storage/async-storage': ^3.0.2 '@wagmi/core': '>=3.4.3' @@ -2106,11 +2114,8 @@ packages: discontinuous-range@1.0.0: resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==} - dompurify@3.2.7: - resolution: {integrity: sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==} - - dompurify@3.3.3: - resolution: {integrity: sha512-Oj6pzI2+RqBfFG+qOaOLbFXLQ90ARpcGG6UePL82bJLtdsa6CYJD7nmiU8MW9nQNOtCHV3lZ/Bzq1X0QYbBZCA==} + dompurify@3.4.1: + resolution: {integrity: sha512-JahakDAIg1gyOm7dlgWSDjV4n7Ip2PKR55NIT6jrMfIgLFgWo81vdr1/QGqWtFNRqXP9UV71oVePtjqS2ebnPw==} dot-case@3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} @@ -2945,11 +2950,6 @@ packages: typescript: optional: true - mkdirp@3.0.1: - resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==} - engines: {node: '>=10'} - hasBin: true - mlly@1.8.2: resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} @@ -2959,14 +2959,14 @@ packages: moo@0.5.3: resolution: {integrity: sha512-m2fmM2dDm7GZQsY7KK2cme8agi+AAljILjQnof7p1ZMDe6dQ4bdnSMx0cPppudoeNv5hEFQirN6u+O4fDE0IWA==} - mppx@0.5.11: - resolution: {integrity: sha512-jV3G7RKGp0ANk7UBcfAeIRgqKDtJUDOCdwtqQKQi6dft9hTOLo5+jfLG7NRIE/1lncbIhxsX+zXhfbi34lgcxA==} + mppx@0.5.16: + resolution: {integrity: sha512-qN/6AN1WjS9YpsEXtKo1KkZbIUUP6FWXtKyEgwAr5sHpAak5D1iAconBkHCHzh2bKfxyoOgJDeOgH+WxE8iI8A==} hasBin: true peerDependencies: '@modelcontextprotocol/sdk': '>=1.25.0' elysia: '>=1' express: '>=5' - hono: '>=4.12.12' + hono: '>=4.12.14' viem: '>=2.47.5' peerDependenciesMeta: '@modelcontextprotocol/sdk': @@ -3151,16 +3151,16 @@ packages: outvariant@1.4.0: resolution: {integrity: sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw==} - ox@0.14.20: - resolution: {integrity: sha512-rby38C3nDn8eQkf29Zgw4hkCZJ64Qqi0zRPWL8ENUQ7JVuoITqrVtwWQgM/He19SCMUEc7hS/Sjw0jIOSLJhOw==} + ox@0.14.10: + resolution: {integrity: sha512-PYsqEnSP7CrcxISS3uVBtw9yPy2gATAnWNptTI0pMnlrXLTiw0Xw/IIivJVHDFgGvKuRAtBSafhVjs+jis3CVA==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - ox@0.14.7: - resolution: {integrity: sha512-zSQ/cfBdolj7U4++NAvH7sI+VG0T3pEohITCgcQj8KlawvTDY4vGVhDT64Atsm0d6adWfIYHDpu88iUBMMp+AQ==} + ox@0.14.20: + resolution: {integrity: sha512-rby38C3nDn8eQkf29Zgw4hkCZJ64Qqi0zRPWL8ENUQ7JVuoITqrVtwWQgM/He19SCMUEc7hS/Sjw0jIOSLJhOw==} peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: @@ -3285,8 +3285,8 @@ packages: property-information@7.1.0: resolution: {integrity: sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==} - protobufjs@7.5.4: - resolution: {integrity: sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg==} + protobufjs@8.0.1: + resolution: {integrity: sha512-NWWCCscLjs+cOKF/s/XVNFRW7Yih0fdH+9brffR5NZCy8k42yRdl5KlWKMVXuI1vfCoy4o1z80XR/W/QUb3V3w==} engines: {node: '>=12.0.0'} proxy-addr@2.0.7: @@ -3616,10 +3616,9 @@ packages: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - tar@7.2.0: - resolution: {integrity: sha512-hctwP0Nb4AB60bj8WQgRYaMOuJYRAPMGiQUAotms5igN8ppfQM+IvjQ5HcKu1MaZh2Wy2KWVTe563Yj8dfc14w==} + tar@7.5.13: + resolution: {integrity: sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==} engines: {node: '>=18'} - deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me terser-webpack-plugin@5.4.0: resolution: {integrity: sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==} @@ -3960,8 +3959,8 @@ packages: w3c-keyname@2.2.8: resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} - wagmi@3.6.4: - resolution: {integrity: sha512-aAvjKlRv1pMlw/fcZUFCCyeR4b32iCtcPqPH9cphuIygxag3wnzvGR2/kaXbY08qKeHZEkD8bOvb8acBOfy05A==} + wagmi@3.6.5: + resolution: {integrity: sha512-TBN/h26CX/FQROEk4zXCtRXGfL2erBEZ9BAbfRpn+sujMtQAoDzGM7LFAr4ODCiDcRAqJcMQWGJvk25DMEnFaQ==} peerDependencies: '@tanstack/react-query': '>=5.0.0' react: '>=18' @@ -4717,7 +4716,7 @@ snapshots: '@opentelemetry/sdk-logs': 0.208.0(@opentelemetry/api@1.9.1) '@opentelemetry/sdk-metrics': 2.2.0(@opentelemetry/api@1.9.1) '@opentelemetry/sdk-trace-base': 2.2.0(@opentelemetry/api@1.9.1) - protobufjs: 7.5.4 + protobufjs: 8.0.1 '@opentelemetry/resources@2.2.0(@opentelemetry/api@1.9.1)': dependencies: @@ -5440,15 +5439,31 @@ snapshots: optionalDependencies: react-server-dom-webpack: 19.2.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(webpack@5.104.1) - '@wagmi/connectors@8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/connectors@8.0.5(@wagmi/core@3.4.6)(accounts@0.8.2)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': dependencies: - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) optionalDependencies: - accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + accounts: 0.8.2(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.6)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.5) typescript: 5.9.3 - '@wagmi/core@3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': + '@wagmi/core@3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': + dependencies: + eventemitter3: 5.0.1 + mipd: 0.0.7(typescript@5.9.3) + viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) + zustand: 5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.4.0(react@19.2.5)) + optionalDependencies: + '@tanstack/query-core': 5.99.0 + accounts: 0.8.2(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.6)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.5) + typescript: 5.9.3 + transitivePeerDependencies: + - '@types/react' + - immer + - react + - use-sync-external-store + + '@wagmi/core@3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.9.3) @@ -5456,7 +5471,7 @@ snapshots: zustand: 5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: '@tanstack/query-core': 5.99.0 - accounts: 0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4) + accounts: 0.8.2(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.6)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.5) typescript: 5.9.3 transitivePeerDependencies: - '@types/react' @@ -5554,21 +5569,21 @@ snapshots: mime-types: 3.0.2 negotiator: 1.0.0 - accounts@0.8.1(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.5)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.4): + accounts@0.8.2(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(@types/react@19.2.14)(@wagmi/core@3.4.6)(express@5.2.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6))(wagmi@3.6.5): dependencies: hono: 4.12.14 idb-keyval: 6.2.2 mipd: 0.0.7(typescript@5.9.3) - mppx: 0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + mppx: 0.5.16(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) ox: 0.14.20(typescript@5.9.3)(zod@4.3.6) webauthx: 0.1.1(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 zustand: 5.0.12(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)) optionalDependencies: - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) - wagmi: 3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + wagmi: 3.6.5(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) transitivePeerDependencies: - '@modelcontextprotocol/sdk' - '@types/react' @@ -5993,11 +6008,7 @@ snapshots: discontinuous-range@1.0.0: {} - dompurify@3.2.7: - optionalDependencies: - '@types/trusted-types': 2.0.7 - - dompurify@3.3.3: + dompurify@3.4.1: optionalDependencies: '@types/trusted-types': 2.0.7 @@ -6855,7 +6866,7 @@ snapshots: d3-sankey: 0.12.3 dagre-d3-es: 7.0.14 dayjs: 1.11.20(patch_hash=47bfcf62e3c84ba85d881815422a02e23f372df46bddb9b022eb3705361fd165) - dompurify: 3.3.3 + dompurify: 3.4.1 katex: 0.16.45 khroma: 2.1.0 lodash-es: 4.18.1 @@ -7170,8 +7181,6 @@ snapshots: optionalDependencies: typescript: 5.9.3 - mkdirp@3.0.1: {} - mlly@1.8.2: dependencies: acorn: 8.16.0 @@ -7181,15 +7190,15 @@ snapshots: monaco-editor@0.55.1: dependencies: - dompurify: 3.2.7 + dompurify: 3.4.1 marked: 14.0.0 moo@0.5.3: {} - mppx@0.5.11(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): + mppx@0.5.16(@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@4.3.6))(express@5.2.1)(hono@4.12.14)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): dependencies: incur: 0.3.25 - ox: 0.14.7(typescript@5.9.3)(zod@4.3.6) + ox: 0.14.10(typescript@5.9.3)(zod@4.3.6) viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) zod: 4.3.6 optionalDependencies: @@ -7265,7 +7274,7 @@ snapshots: outvariant@1.4.0: {} - ox@0.14.20(typescript@5.9.3)(zod@4.3.6): + ox@0.14.10(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 '@noble/ciphers': 1.3.0 @@ -7280,7 +7289,7 @@ snapshots: transitivePeerDependencies: - zod - ox@0.14.7(typescript@5.9.3)(zod@4.3.6): + ox@0.14.20(typescript@5.9.3)(zod@4.3.6): dependencies: '@adraffy/ens-normalize': 1.11.1 '@noble/ciphers': 1.3.0 @@ -7385,7 +7394,7 @@ snapshots: '@posthog/core': 1.25.2 '@posthog/types': 1.367.0 core-js: 3.49.0 - dompurify: 3.3.3 + dompurify: 3.4.1 fflate: 0.4.8 preact: 10.29.1 query-selector-shadow-dom: 1.0.1 @@ -7408,13 +7417,13 @@ snapshots: execa: 9.6.1 get-port: 7.2.0 http-proxy: 1.18.1 - tar: 7.2.0 + tar: 7.5.13 transitivePeerDependencies: - debug property-information@7.1.0: {} - protobufjs@7.5.4: + protobufjs@8.0.1: dependencies: '@protobufjs/aspromise': 1.1.2 '@protobufjs/base64': 1.1.2 @@ -7875,13 +7884,12 @@ snapshots: tapable@2.3.3: {} - tar@7.2.0: + tar@7.5.13: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 minipass: 7.1.3 minizlib: 3.1.0 - mkdirp: 3.0.1 yallist: 5.0.0 terser-webpack-plugin@5.4.0(webpack@5.104.1): @@ -8270,11 +8278,11 @@ snapshots: w3c-keyname@2.2.8: {} - wagmi@3.6.4(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): + wagmi@3.6.5(@tanstack/query-core@5.99.0)(@tanstack/react-query@5.99.0(react@19.2.5))(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)): dependencies: '@tanstack/react-query': 5.99.0(react@19.2.5) - '@wagmi/connectors': 8.0.4(@wagmi/core@3.4.5)(accounts@0.8.1)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) - '@wagmi/core': 3.4.5(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.1)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.6.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/connectors': 8.0.5(@wagmi/core@3.4.6)(accounts@0.8.2)(typescript@5.9.3)(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) + '@wagmi/core': 3.4.6(@tanstack/query-core@5.99.0)(@types/react@19.2.14)(accounts@0.8.2)(react@19.2.5)(typescript@5.9.3)(use-sync-external-store@1.4.0(react@19.2.5))(viem@2.48.4(typescript@5.9.3)(zod@4.3.6)) react: 19.2.5 use-sync-external-store: 1.4.0(react@19.2.5) viem: 2.48.4(typescript@5.9.3)(zod@4.3.6) @@ -8393,6 +8401,12 @@ snapshots: zod@4.3.6: {} + zustand@5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.4.0(react@19.2.5)): + optionalDependencies: + '@types/react': 19.2.14 + react: 19.2.5 + use-sync-external-store: 1.4.0(react@19.2.5) + zustand@5.0.0(@types/react@19.2.14)(react@19.2.5)(use-sync-external-store@1.6.0(react@19.2.5)): optionalDependencies: '@types/react': 19.2.14 diff --git a/src/components/guides/steps/payments/SendParallelPayments.tsx b/src/components/guides/steps/payments/SendParallelPayments.tsx index d111fd84..4342f949 100644 --- a/src/components/guides/steps/payments/SendParallelPayments.tsx +++ b/src/components/guides/steps/payments/SendParallelPayments.tsx @@ -4,6 +4,7 @@ import * as React from 'react' import { parseUnits } from 'viem' import { useConfig, useConnection, useConnectionEffect, useTransaction } from 'wagmi' import { Actions, Hooks } from 'wagmi/tempo' +import type { Config } from '../../../../wagmi.config' import { Button, ExplorerLink, FAKE_RECIPIENT, FAKE_RECIPIENT_2, Step } from '../../Demo' import { alphaUsd } from '../../tokens' import type { DemoStepProps } from '../types' @@ -56,7 +57,7 @@ function TransferResult({ label, state }: { label: string; state: TransferState export function SendParallelPayments(props: DemoStepProps) { const { stepNumber, last = false } = props const { address } = useConnection() - const config = useConfig() + const config = useConfig() const queryClient = useQueryClient() const [expanded, setExpanded] = React.useState(false) @@ -81,7 +82,7 @@ export function SendParallelPayments(props: DemoStepProps) { }) const sendTransfer = ( - params: Actions.token.transfer.Parameters, + params: Actions.token.transfer.Parameters, setTransfer: React.Dispatch>, ) => { setTransfer({ status: 'pending' }) From 9807e47ccde6e1388f547343bbce203adc447936 Mon Sep 17 00:00:00 2001 From: tmm Date: Tue, 28 Apr 2026 17:04:15 -0400 Subject: [PATCH 5/6] fix: relax wagmi config type for parallel payments --- .../guides/steps/payments/SendParallelPayments.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/guides/steps/payments/SendParallelPayments.tsx b/src/components/guides/steps/payments/SendParallelPayments.tsx index 4342f949..bb3eceeb 100644 --- a/src/components/guides/steps/payments/SendParallelPayments.tsx +++ b/src/components/guides/steps/payments/SendParallelPayments.tsx @@ -2,9 +2,9 @@ import { useQueryClient } from '@tanstack/react-query' import * as React from 'react' import { parseUnits } from 'viem' +import type { Config as WagmiConfig } from '@wagmi/core' import { useConfig, useConnection, useConnectionEffect, useTransaction } from 'wagmi' import { Actions, Hooks } from 'wagmi/tempo' -import type { Config } from '../../../../wagmi.config' import { Button, ExplorerLink, FAKE_RECIPIENT, FAKE_RECIPIENT_2, Step } from '../../Demo' import { alphaUsd } from '../../tokens' import type { DemoStepProps } from '../types' @@ -57,7 +57,7 @@ function TransferResult({ label, state }: { label: string; state: TransferState export function SendParallelPayments(props: DemoStepProps) { const { stepNumber, last = false } = props const { address } = useConnection() - const config = useConfig() + const config = useConfig() as WagmiConfig const queryClient = useQueryClient() const [expanded, setExpanded] = React.useState(false) @@ -82,7 +82,7 @@ export function SendParallelPayments(props: DemoStepProps) { }) const sendTransfer = ( - params: Actions.token.transfer.Parameters, + params: Actions.token.transfer.Parameters, setTransfer: React.Dispatch>, ) => { setTransfer({ status: 'pending' }) From d91e5aa125d9cbfe7d1710c34cc0c9701bba7394 Mon Sep 17 00:00:00 2001 From: tmm Date: Tue, 28 Apr 2026 17:05:23 -0400 Subject: [PATCH 6/6] chore: up --- .../guides/steps/payments/SendParallelPayments.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/guides/steps/payments/SendParallelPayments.tsx b/src/components/guides/steps/payments/SendParallelPayments.tsx index bb3eceeb..d111fd84 100644 --- a/src/components/guides/steps/payments/SendParallelPayments.tsx +++ b/src/components/guides/steps/payments/SendParallelPayments.tsx @@ -2,7 +2,6 @@ import { useQueryClient } from '@tanstack/react-query' import * as React from 'react' import { parseUnits } from 'viem' -import type { Config as WagmiConfig } from '@wagmi/core' import { useConfig, useConnection, useConnectionEffect, useTransaction } from 'wagmi' import { Actions, Hooks } from 'wagmi/tempo' import { Button, ExplorerLink, FAKE_RECIPIENT, FAKE_RECIPIENT_2, Step } from '../../Demo' @@ -57,7 +56,7 @@ function TransferResult({ label, state }: { label: string; state: TransferState export function SendParallelPayments(props: DemoStepProps) { const { stepNumber, last = false } = props const { address } = useConnection() - const config = useConfig() as WagmiConfig + const config = useConfig() const queryClient = useQueryClient() const [expanded, setExpanded] = React.useState(false) @@ -82,7 +81,7 @@ export function SendParallelPayments(props: DemoStepProps) { }) const sendTransfer = ( - params: Actions.token.transfer.Parameters, + params: Actions.token.transfer.Parameters, setTransfer: React.Dispatch>, ) => { setTransfer({ status: 'pending' })