@tuwaio/satellite-evm 0.6.0 → 0.6.2

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 +2 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -49,6 +49,8 @@ export const evmAdapter = satelliteEVMAdapter(wagmiConfig, appChains);
49
49
 
50
50
  Pass `evmAdapter` to `createSatelliteConnectStore` from [`@tuwaio/satellite-core`](https://satellite.docs.tuwa.io/packages/satellite-core) or to `SatelliteConnectProvider` from [`@tuwaio/satellite-react`](https://satellite.docs.tuwa.io/packages/satellite-react), and run the watcher next to it. The complete React setup is on the **[`@tuwaio/satellite-react`](https://satellite.docs.tuwa.io/packages/satellite-react)** page; the watcher without React is shown on the **[`createEVMConnectionsWatcher`](https://satellite.docs.tuwa.io/packages/satellite-evm/functions/createEVMConnectionsWatcher)** page.
51
51
 
52
+ `ssr: true` (for Next.js and other server rendering) postpones the hydration of the wagmi config, and until it is hydrated, wagmi does not add the installed wallets found through EIP-6963 (MetaMask, Rabby…) to its connectors. `EVMConnectorsWatcher` from `@tuwaio/satellite-react/evm` hydrates the config after mount, so a React app needs no `WagmiProvider` from `wagmi`. Without React, call `hydrate(wagmiConfig, { reconnectOnMount: false }).onMount()` from `@wagmi/core` once in the browser, or create the config without `ssr: true`.
53
+
52
54
  ---
53
55
 
54
56
  ## 🗄️ Browser Storage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/satellite-evm",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",
@@ -53,11 +53,11 @@
53
53
  "devDependencies": {
54
54
  "@wagmi/core": "^3.6.5",
55
55
  "@tuwaio/orbit-core": "^0.3.1",
56
- "@tuwaio/orbit-evm": "^0.3.1",
57
- "@tuwaio/satellite-core": "^0.6.0",
56
+ "@tuwaio/orbit-evm": "^0.3.2",
57
+ "@tuwaio/satellite-core": "^0.6.2",
58
58
  "tsup": "^8.5.1",
59
59
  "typescript": "6.0.3",
60
- "viem": "^2.56.9",
60
+ "viem": "^2.57.1",
61
61
  "vitest": "^5.0.2"
62
62
  },
63
63
  "scripts": {