@sodax/dapp-kit 2.2.0-rc.7 → 2.2.0-rc.8

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 +4 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -73,6 +73,10 @@ export function Providers({ children }: { children: React.ReactNode }) {
73
73
  }
74
74
  ```
75
75
 
76
+ `SodaxProvider` builds its `Sodax` instance in the browser, so `sodaxConfig` ships in your bundle. Leave
77
+ `apiKey` out of it: to send a SODAX API key, point `api.baseURL` and `solver.solverApiEndpoint` at your own
78
+ backend proxy and attach the key there — see [API key good practices](https://docs.sodax.com/developers/how-to/api-key-good-practices).
79
+
76
80
  ### 2. Get a wallet provider
77
81
 
78
82
  ```tsx
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "access": "public"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "2.2.0-rc.7",
8
+ "version": "2.2.0-rc.8",
9
9
  "description": "React hooks for building dApps on the SODAX cross-chain DeFi platform",
10
10
  "keywords": [
11
11
  "sodax",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "viem": "2.29.2",
37
- "@sodax/sdk": "2.2.0-rc.7"
37
+ "@sodax/sdk": "2.2.0-rc.8"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@arethetypeswrong/cli": "0.17.4",