web3bio-profile-kit 0.2.2 → 0.2.4

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.
@@ -90,14 +90,10 @@ export interface ProfileResponse extends NSResponse {
90
90
  email: string | null;
91
91
  /** Content hash */
92
92
  contenthash: string | null;
93
- /** Profile header image */
94
- header: string | null;
95
93
  /** Geographic location */
96
94
  location: string | null;
97
95
  /** Creation timestamp */
98
96
  createdAt: string | null;
99
- /** Profile status */
100
- status: string | null;
101
97
  /** Social platform links */
102
98
  links: SocialLinks;
103
99
  /** Web3bio profile page config **/
@@ -126,6 +122,10 @@ export interface NSResponse {
126
122
  displayName: string | null;
127
123
  /** Alternative identities */
128
124
  aliases?: string[];
125
+ /** Profile header image */
126
+ header: string | null;
127
+ /** Profile status */
128
+ status: string | null;
129
129
  }
130
130
  /**
131
131
  * Domain information response from the API
@@ -88,6 +88,7 @@ exports.Platform = void 0;
88
88
  Platform["solana"] = "solana";
89
89
  Platform["space_id"] = "space_id";
90
90
  Platform["stacks"] = "stacks";
91
+ Platform["substack"] = "substack";
91
92
  Platform["taiko"] = "taiko";
92
93
  Platform["talent"] = "talentprotocol";
93
94
  Platform["tally"] = "tally";
@@ -85,6 +85,7 @@ export declare enum Platform {
85
85
  solana = "solana",
86
86
  space_id = "space_id",
87
87
  stacks = "stacks",
88
+ substack = "substack",
88
89
  taiko = "taiko",
89
90
  talent = "talentprotocol",
90
91
  tally = "tally",
@@ -86,6 +86,7 @@ var Platform;
86
86
  Platform["solana"] = "solana";
87
87
  Platform["space_id"] = "space_id";
88
88
  Platform["stacks"] = "stacks";
89
+ Platform["substack"] = "substack";
89
90
  Platform["taiko"] = "taiko";
90
91
  Platform["talent"] = "talentprotocol";
91
92
  Platform["tally"] = "tally";
@@ -479,9 +479,9 @@ const PLATFORM_DATA = new Map([
479
479
  icon: "icons/icon-lens.svg",
480
480
  label: "Lens",
481
481
  description: "Lens social identity (.lens handle)",
482
- urlPrefix: "https://hey.xyz/u/",
483
- editUrlPrefix: "https://hey.xyz/settings",
484
- ensText: ["lens"],
482
+ urlPrefix: "https://firefly.social/profile/lens/",
483
+ editUrlPrefix: "https://firefly.social/profile/lens/",
484
+ ensText: ["lens", "xyz.lens"],
485
485
  registerlink: "https://www.lens.xyz/mint?name={name}",
486
486
  },
487
487
  ],
@@ -789,6 +789,15 @@ const PLATFORM_DATA = new Map([
789
789
  urlPrefix: "https://explorer.hiro.so/address/",
790
790
  },
791
791
  ],
792
+ [
793
+ platform.Platform.substack,
794
+ {
795
+ color: "#FF6719",
796
+ icon: "icons/icon-substack.svg",
797
+ label: "Substack",
798
+ urlPrefix: "https://substack.com/@",
799
+ },
800
+ ],
792
801
  [
793
802
  platform.Platform.taiko,
794
803
  {
@@ -477,9 +477,9 @@ const PLATFORM_DATA = new Map([
477
477
  icon: "icons/icon-lens.svg",
478
478
  label: "Lens",
479
479
  description: "Lens social identity (.lens handle)",
480
- urlPrefix: "https://hey.xyz/u/",
481
- editUrlPrefix: "https://hey.xyz/settings",
482
- ensText: ["lens"],
480
+ urlPrefix: "https://firefly.social/profile/lens/",
481
+ editUrlPrefix: "https://firefly.social/profile/lens/",
482
+ ensText: ["lens", "xyz.lens"],
483
483
  registerlink: "https://www.lens.xyz/mint?name={name}",
484
484
  },
485
485
  ],
@@ -787,6 +787,15 @@ const PLATFORM_DATA = new Map([
787
787
  urlPrefix: "https://explorer.hiro.so/address/",
788
788
  },
789
789
  ],
790
+ [
791
+ Platform.substack,
792
+ {
793
+ color: "#FF6719",
794
+ icon: "icons/icon-substack.svg",
795
+ label: "Substack",
796
+ urlPrefix: "https://substack.com/@",
797
+ },
798
+ ],
790
799
  [
791
800
  Platform.taiko,
792
801
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web3bio-profile-kit",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "React hooks for querying ENS, Farcaster, Lens and Web3 universal profiles",
5
5
  "author": "web3bio",
6
6
  "license": "MIT",