@coinbase/cdp-wagmi 0.0.48 → 0.0.50

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 +11 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -94,6 +94,17 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
94
94
  );
95
95
  ```
96
96
 
97
+ #### Analytics Opt-Out
98
+
99
+ By default the SDK will emit usage analytics to help us improve the SDK. If you would like to opt-out, you can do so by setting the `disableAnalytics` configuration option to `true`.
100
+
101
+ ```tsx lines
102
+ const cdpConfig: Config = {
103
+ projectId: "your-project-id", // Copy your Project ID here.
104
+ disableAnalytics: true,
105
+ }
106
+ ```
107
+
97
108
  ### Sign in and connection
98
109
 
99
110
  In order to connect the CDP Embedded Wallet, the end application user must first go through the 2 step sign in flow. As a result, the consumer has 3 options:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-wagmi",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",
@@ -19,7 +19,7 @@
19
19
  "react": ">=18.2.0",
20
20
  "viem": "^2.33.0",
21
21
  "wagmi": "^2.16.0",
22
- "@coinbase/cdp-core": "^0.0.48"
22
+ "@coinbase/cdp-core": "^0.0.50"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@tanstack/react-query": "^5.0.0",
@@ -35,7 +35,7 @@
35
35
  "@size-limit/webpack": "^11.2.0",
36
36
  "@size-limit/webpack-why": "^11.2.0",
37
37
  "size-limit": "^11.2.0",
38
- "@coinbase/cdp-core": "^0.0.48"
38
+ "@coinbase/cdp-core": "^0.0.50"
39
39
  },
40
40
  "size-limit": [
41
41
  {