@abtnode/types 1.16.40-beta-20250305-022942-dea362e4 → 1.16.40-beta-20250310-113951-17556f90

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/lib/type_pb.d.ts +19 -0
  2. package/package.json +2 -2
package/lib/type_pb.d.ts CHANGED
@@ -753,6 +753,24 @@ export type TConnectedAccount = {
753
753
  userInfo?: TConnectedAccountInfo;
754
754
  extra?: Record<string, any>;
755
755
  };
756
+ export type TUserMetadataLink = {
757
+ url: string;
758
+ favicon: string;
759
+ };
760
+ export type TUserMetadataStatus = {
761
+ label: string;
762
+ icon: string;
763
+ duration: string;
764
+ dateRange: number[];
765
+ };
766
+ export type TUserMetadata = {
767
+ bio: string;
768
+ location: string;
769
+ timezone: string;
770
+ cover: string;
771
+ links: TUserMetadataLink[];
772
+ status?: TUserMetadataStatus;
773
+ };
756
774
  export type TUserInfo = {
757
775
  did: string;
758
776
  pk: string;
@@ -782,6 +800,7 @@ export type TUserInfo = {
782
800
  generation: number;
783
801
  emailVerified: boolean;
784
802
  phoneVerified: boolean;
803
+ metadata?: TUserMetadata;
785
804
  };
786
805
  export type TUserProfile = {
787
806
  did: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.40-beta-20250305-022942-dea362e4",
3
+ "version": "1.16.40-beta-20250310-113951-17556f90",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "266345ec6cac7732573f8b9ae17308e8239c1df2"
39
+ "gitHead": "172b2be783de6560a7858a7d55a37075e3a42f2d"
40
40
  }