web3bio-profile-kit 0.2.8 → 0.2.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.
@@ -21,7 +21,6 @@ exports.Platform = void 0;
21
21
  Platform["clusters"] = "clusters";
22
22
  Platform["coinbase"] = "coinbase";
23
23
  Platform["coingecko"] = "coingecko";
24
- Platform["deepdao"] = "deepdao";
25
24
  Platform["degenscore"] = "degenscore";
26
25
  Platform["dentity"] = "dentity";
27
26
  Platform["discord"] = "discord";
@@ -53,6 +52,7 @@ exports.Platform = void 0;
53
52
  Platform["linkedin"] = "linkedin";
54
53
  Platform["linea"] = "linea";
55
54
  Platform["lobsters"] = "lobsters";
55
+ Platform["mastodon"] = "mastodon";
56
56
  Platform["matters"] = "matters";
57
57
  Platform["medium"] = "medium";
58
58
  Platform["minds"] = "minds";
@@ -85,6 +85,7 @@ exports.Platform = void 0;
85
85
  Platform["tiktok"] = "tiktok";
86
86
  Platform["ton"] = "ton";
87
87
  Platform["tron"] = "tron";
88
+ Platform["twitch"] = "twitch";
88
89
  Platform["twitter"] = "twitter";
89
90
  Platform["uniswap"] = "uniswap";
90
91
  Platform["unstoppableDomains"] = "unstoppabledomains";
@@ -18,7 +18,6 @@ export declare enum Platform {
18
18
  clusters = "clusters",
19
19
  coinbase = "coinbase",
20
20
  coingecko = "coingecko",
21
- deepdao = "deepdao",
22
21
  degenscore = "degenscore",
23
22
  dentity = "dentity",
24
23
  discord = "discord",
@@ -50,6 +49,7 @@ export declare enum Platform {
50
49
  linkedin = "linkedin",
51
50
  linea = "linea",
52
51
  lobsters = "lobsters",
52
+ mastodon = "mastodon",
53
53
  matters = "matters",
54
54
  medium = "medium",
55
55
  minds = "minds",
@@ -82,6 +82,7 @@ export declare enum Platform {
82
82
  tiktok = "tiktok",
83
83
  ton = "ton",
84
84
  tron = "tron",
85
+ twitch = "twitch",
85
86
  twitter = "twitter",
86
87
  uniswap = "uniswap",
87
88
  unstoppableDomains = "unstoppabledomains",
@@ -19,7 +19,6 @@ var Platform;
19
19
  Platform["clusters"] = "clusters";
20
20
  Platform["coinbase"] = "coinbase";
21
21
  Platform["coingecko"] = "coingecko";
22
- Platform["deepdao"] = "deepdao";
23
22
  Platform["degenscore"] = "degenscore";
24
23
  Platform["dentity"] = "dentity";
25
24
  Platform["discord"] = "discord";
@@ -51,6 +50,7 @@ var Platform;
51
50
  Platform["linkedin"] = "linkedin";
52
51
  Platform["linea"] = "linea";
53
52
  Platform["lobsters"] = "lobsters";
53
+ Platform["mastodon"] = "mastodon";
54
54
  Platform["matters"] = "matters";
55
55
  Platform["medium"] = "medium";
56
56
  Platform["minds"] = "minds";
@@ -83,6 +83,7 @@ var Platform;
83
83
  Platform["tiktok"] = "tiktok";
84
84
  Platform["ton"] = "ton";
85
85
  Platform["tron"] = "tron";
86
+ Platform["twitch"] = "twitch";
86
87
  Platform["twitter"] = "twitter";
87
88
  Platform["uniswap"] = "uniswap";
88
89
  Platform["unstoppableDomains"] = "unstoppabledomains";
@@ -18,6 +18,7 @@ const WEB2_PLATFORMS = [
18
18
  platform.Platform.keybase,
19
19
  platform.Platform.linkedin,
20
20
  platform.Platform.lobsters,
21
+ platform.Platform.mastodon,
21
22
  platform.Platform.minds,
22
23
  platform.Platform.mstdnjp,
23
24
  platform.Platform.nostr,
@@ -26,6 +27,7 @@ const WEB2_PLATFORMS = [
26
27
  platform.Platform.telegram,
27
28
  platform.Platform.threads,
28
29
  platform.Platform.tiktok,
30
+ platform.Platform.twitch,
29
31
  platform.Platform.twitter,
30
32
  platform.Platform.v2ex,
31
33
  platform.Platform.weibo,
@@ -190,15 +192,6 @@ const PLATFORM_DATA = new Map([
190
192
  urlPrefix: "https://www.coingecko.com/en/coins/",
191
193
  },
192
194
  ],
193
- [
194
- platform.Platform.deepdao,
195
- {
196
- color: "#337bff",
197
- icon: "icons/icon-deepdao.svg",
198
- label: "DeepDAO",
199
- urlPrefix: "https://deepdao.io/user/",
200
- },
201
- ],
202
195
  [
203
196
  platform.Platform.degenscore,
204
197
  {
@@ -498,6 +491,16 @@ const PLATFORM_DATA = new Map([
498
491
  urlPrefix: "https://lobste.rs/~",
499
492
  },
500
493
  ],
494
+ [
495
+ platform.Platform.mastodon,
496
+ {
497
+ color: "#6364FF",
498
+ icon: "icons/icon-mastodon.svg",
499
+ label: "Mastodon",
500
+ urlPrefix: "https://mastodon.social/@",
501
+ ensText: ["mastodon", "social.mastodon"],
502
+ },
503
+ ],
501
504
  [
502
505
  platform.Platform.matters,
503
506
  {
@@ -794,6 +797,15 @@ const PLATFORM_DATA = new Map([
794
797
  urlPrefix: "https://tronscan.org/#/address/",
795
798
  },
796
799
  ],
800
+ [
801
+ platform.Platform.twitch,
802
+ {
803
+ color: "#9246FF",
804
+ icon: "icons/icon-twitch.svg",
805
+ label: "Twitch",
806
+ urlPrefix: "https://www.twitch.tv/",
807
+ },
808
+ ],
797
809
  [
798
810
  platform.Platform.twitter,
799
811
  {
@@ -16,6 +16,7 @@ const WEB2_PLATFORMS = [
16
16
  Platform.keybase,
17
17
  Platform.linkedin,
18
18
  Platform.lobsters,
19
+ Platform.mastodon,
19
20
  Platform.minds,
20
21
  Platform.mstdnjp,
21
22
  Platform.nostr,
@@ -24,6 +25,7 @@ const WEB2_PLATFORMS = [
24
25
  Platform.telegram,
25
26
  Platform.threads,
26
27
  Platform.tiktok,
28
+ Platform.twitch,
27
29
  Platform.twitter,
28
30
  Platform.v2ex,
29
31
  Platform.weibo,
@@ -188,15 +190,6 @@ const PLATFORM_DATA = new Map([
188
190
  urlPrefix: "https://www.coingecko.com/en/coins/",
189
191
  },
190
192
  ],
191
- [
192
- Platform.deepdao,
193
- {
194
- color: "#337bff",
195
- icon: "icons/icon-deepdao.svg",
196
- label: "DeepDAO",
197
- urlPrefix: "https://deepdao.io/user/",
198
- },
199
- ],
200
193
  [
201
194
  Platform.degenscore,
202
195
  {
@@ -496,6 +489,16 @@ const PLATFORM_DATA = new Map([
496
489
  urlPrefix: "https://lobste.rs/~",
497
490
  },
498
491
  ],
492
+ [
493
+ Platform.mastodon,
494
+ {
495
+ color: "#6364FF",
496
+ icon: "icons/icon-mastodon.svg",
497
+ label: "Mastodon",
498
+ urlPrefix: "https://mastodon.social/@",
499
+ ensText: ["mastodon", "social.mastodon"],
500
+ },
501
+ ],
499
502
  [
500
503
  Platform.matters,
501
504
  {
@@ -792,6 +795,15 @@ const PLATFORM_DATA = new Map([
792
795
  urlPrefix: "https://tronscan.org/#/address/",
793
796
  },
794
797
  ],
798
+ [
799
+ Platform.twitch,
800
+ {
801
+ color: "#9246FF",
802
+ icon: "icons/icon-twitch.svg",
803
+ label: "Twitch",
804
+ urlPrefix: "https://www.twitch.tv/",
805
+ },
806
+ ],
795
807
  [
796
808
  Platform.twitter,
797
809
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web3bio-profile-kit",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "React hooks for querying ENS, Farcaster, Lens and Web3 universal profiles",
5
5
  "author": "web3bio",
6
6
  "license": "MIT",