@coinbase/cdp-hooks 0.0.13 → 0.0.15

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 +3 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -114,11 +114,14 @@ function UserInformation() {
114
114
  return <div>Please sign in</div>;
115
115
  }
116
116
 
117
+ const emailAddress = user.authenticationMethods.email?.email;
118
+
117
119
  return (
118
120
  <div>
119
121
  <h2>User Information</h2>
120
122
  <p>User ID: {user.userId}</p>
121
123
  <p>EVM Address: {evmAddress}</p>
124
+ { email && <p>EmailAddress: {emailAddress}</p>}
122
125
  </div>
123
126
  );
124
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-hooks",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": ">=18.2.0",
17
- "@coinbase/cdp-core": "^0.0.13"
17
+ "@coinbase/cdp-core": "^0.0.15"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@testing-library/jest-dom": "^6.6.3",
@@ -29,7 +29,7 @@
29
29
  "@size-limit/webpack": "^11.2.0",
30
30
  "@size-limit/webpack-why": "^11.2.0",
31
31
  "size-limit": "^11.2.0",
32
- "@coinbase/cdp-core": "^0.0.13"
32
+ "@coinbase/cdp-core": "^0.0.15"
33
33
  },
34
34
  "size-limit": [
35
35
  {