@dynamic-labs/types 2.1.0-alpha.8 → 2.1.0-alpha.9

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
 
2
+ ## [2.1.0-alpha.9](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.8...v2.1.0-alpha.9) (2024-04-30)
3
+
4
+
5
+ ### Features
6
+
7
+ * headless create embedded wallet with optional passkey data parameter ([#5487](https://github.com/dynamic-labs/DynamicAuth/issues/5487)) ([891c3d7](https://github.com/dynamic-labs/DynamicAuth/commit/891c3d77a02a019140bcb8dd03b62b1afd69710e))
8
+
2
9
  ## [2.1.0-alpha.8](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.7...v2.1.0-alpha.8) (2024-04-26)
3
10
 
4
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/types",
3
- "version": "2.1.0-alpha.8",
3
+ "version": "2.1.0-alpha.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
package/src/user.d.ts CHANGED
@@ -1,15 +1,28 @@
1
1
  import { JwtVerifiedCredential, NameServiceData, UserFields } from '@dynamic-labs/sdk-api-core';
2
2
  export type UserProfile = UserFields & {
3
+ /**
4
+ * @deprecated will be removed in version 3.0.0. use primaryWallet.chain instead
5
+ */
3
6
  chain?: string;
7
+ /**
8
+ * @deprecated will be removed in version 3.0.0. use primaryWallet.nameService instead
9
+ */
4
10
  ens?: NameServiceData;
5
- environmentId?: string;
11
+ /**
12
+ * @deprecated will be removed in version 3.0.0. use primaryWallet.name
13
+ */
14
+ wallet?: string;
15
+ /**
16
+ * @deprecated will be removed in version 3.0.0.
17
+ * use lastVerifiedCredentialId to find the last used verifiedCredntial and check if the format is 'blockchain'
18
+ */
6
19
  isAuthenticatedWithAWallet: boolean;
20
+ environmentId?: string;
7
21
  lastVerifiedCredentialId: string | undefined;
8
22
  lists?: string[];
9
23
  newUser?: boolean;
10
24
  sessionId: string;
11
25
  userId?: string;
12
26
  verifiedCredentials: JwtVerifiedCredential[];
13
- wallet?: string;
14
27
  scope?: string;
15
28
  };