@coinbase/cdp-wagmi 0.0.7 → 0.0.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 +7 -0
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -29,6 +29,13 @@ npm install @coinbase/cdp-wagmi @coinbase/cdp-core @tanstack/react-query viem wa
29
29
  1. Sign in or create an account on the [CDP Portal](https://portal.cdp.coinbase.com)
30
30
  2. On your dashboard, select a project from the dropdown at the at the top, and copy the Project ID
31
31
 
32
+ ### Allowlist your local app
33
+
34
+ 1. Navigate to the [Embedded Wallet Configuration](https://portal.cdp.coinbase.com/products/embedded-wallets/cors)
35
+ in CDP Portal, and click Add origin to include your local app
36
+ 2. Enter the origin of your locally running app - e.g., `http://localhost:3000`
37
+ 3. Click Add origin again to save your changes
38
+
32
39
  ### Setup Provider
33
40
 
34
41
  Next, you must configure your WagmiProvider with the `CDPEmbeddedWalletConnector`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-wagmi",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",
@@ -18,7 +18,7 @@
18
18
  "react": ">=18.2.0",
19
19
  "viem": "^2.33.0",
20
20
  "wagmi": "^2.16.0",
21
- "@coinbase/cdp-core": "^0.0.7"
21
+ "@coinbase/cdp-core": "^0.0.8"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@tanstack/react-query": "^5.0.0",
@@ -34,19 +34,21 @@
34
34
  "@size-limit/webpack": "^11.2.0",
35
35
  "@size-limit/webpack-why": "^11.2.0",
36
36
  "size-limit": "^11.2.0",
37
- "@coinbase/cdp-core": "^0.0.7"
37
+ "@coinbase/cdp-core": "^0.0.8"
38
38
  },
39
39
  "size-limit": [
40
40
  {
41
41
  "name": "full-package",
42
42
  "path": "./dist/esm/index.js",
43
43
  "import": "*",
44
+ "running": false,
44
45
  "limit": "70 KB"
45
46
  },
46
47
  {
47
48
  "name": "connector-only",
48
49
  "path": "./dist/esm/index.js",
49
50
  "import": "{ createCDPEmbeddedWalletConnector }",
51
+ "running": false,
50
52
  "limit": "70 KB"
51
53
  }
52
54
  ],