@coinbase/cdp-solana-standard-wallet 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 +20 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -126,6 +126,26 @@ function MyWalletComponent() {
126
126
  }
127
127
  ```
128
128
 
129
+ ### Analytics Opt-Out
130
+
131
+ 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`.
132
+
133
+ ```tsx
134
+ <CDPReactProvider config={{
135
+ projectId: "your-project-id",
136
+ disableAnalytics: true,
137
+ }}>
138
+ ```
139
+
140
+ Or if you're using the standalone usage, you can pass the `disableAnalytics` configuration option to the hook:
141
+
142
+ ```tsx
143
+ const { ready, wallet } = useCdpSolanaStandardWallet({
144
+ projectId: "your-project-id",
145
+ disableAnalytics: true,
146
+ });
147
+ ```
148
+
129
149
  ### Using All Standard Wallets
130
150
 
131
151
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-solana-standard-wallet",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",
@@ -22,7 +22,7 @@
22
22
  "@wallet-standard/wallet": "^1.1.0",
23
23
  "@wallet-standard/features": "^1.1.0",
24
24
  "@wallet-standard/app": "^1.1.0",
25
- "@coinbase/cdp-core": "^0.0.48"
25
+ "@coinbase/cdp-core": "^0.0.50"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@testing-library/jest-dom": "^6.6.3",
@@ -37,7 +37,7 @@
37
37
  "@size-limit/webpack": "^11.2.0",
38
38
  "@size-limit/webpack-why": "^11.2.0",
39
39
  "size-limit": "^11.2.0",
40
- "@coinbase/cdp-core": "^0.0.48"
40
+ "@coinbase/cdp-core": "^0.0.50"
41
41
  },
42
42
  "size-limit": [
43
43
  {