web3bio-profile-kit 0.1.42 → 0.2.0

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.
@@ -98,12 +98,14 @@ export interface ProfileResponse extends NSResponse {
98
98
  createdAt: string | null;
99
99
  /** Profile status */
100
100
  status: string | null;
101
- /** Error message if any */
102
- error?: string;
103
101
  /** Social platform links */
104
102
  links: SocialLinks;
103
+ /** Web3bio profile page config **/
104
+ widgets: string;
105
105
  /** Social metrics */
106
106
  social: SocialRecord | {};
107
+ /** Error message if any */
108
+ error?: string;
107
109
  }
108
110
  /**
109
111
  * Name service response from the API
@@ -107,6 +107,7 @@ exports.Platform = void 0;
107
107
  Platform["weibo"] = "weibo";
108
108
  Platform["whatsapp"] = "whatsapp";
109
109
  Platform["world_id"] = "world_id";
110
+ Platform["xmtp"] = "xmtp";
110
111
  Platform["youtube"] = "youtube";
111
112
  Platform["zeta"] = "zeta";
112
113
  Platform["zkfair"] = "zkfair";
@@ -104,6 +104,7 @@ export declare enum Platform {
104
104
  weibo = "weibo",
105
105
  whatsapp = "whatsapp",
106
106
  world_id = "world_id",
107
+ xmtp = "xmtp",
107
108
  youtube = "youtube",
108
109
  zeta = "zeta",
109
110
  zkfair = "zkfair",
@@ -105,6 +105,7 @@ var Platform;
105
105
  Platform["weibo"] = "weibo";
106
106
  Platform["whatsapp"] = "whatsapp";
107
107
  Platform["world_id"] = "world_id";
108
+ Platform["xmtp"] = "xmtp";
108
109
  Platform["youtube"] = "youtube";
109
110
  Platform["zeta"] = "zeta";
110
111
  Platform["zkfair"] = "zkfair";
@@ -966,6 +966,14 @@ const PLATFORM_DATA = new Map([
966
966
  label: "World",
967
967
  },
968
968
  ],
969
+ [
970
+ platform.Platform.xmtp,
971
+ {
972
+ color: "#EF4444",
973
+ icon: "icons/icon-xmtp.svg",
974
+ label: "XMTP",
975
+ },
976
+ ],
969
977
  [
970
978
  platform.Platform.youtube,
971
979
  {
@@ -964,6 +964,14 @@ const PLATFORM_DATA = new Map([
964
964
  label: "World",
965
965
  },
966
966
  ],
967
+ [
968
+ Platform.xmtp,
969
+ {
970
+ color: "#EF4444",
971
+ icon: "icons/icon-xmtp.svg",
972
+ label: "XMTP",
973
+ },
974
+ ],
967
975
  [
968
976
  Platform.youtube,
969
977
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web3bio-profile-kit",
3
- "version": "0.1.42",
3
+ "version": "0.2.0",
4
4
  "description": "React hooks for querying ENS, Farcaster, Lens and Web3 universal profiles",
5
5
  "author": "web3bio",
6
6
  "license": "MIT",