web3bio-profile-kit 0.1.12 → 0.1.14

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.
@@ -69,6 +69,7 @@ exports.Platform = void 0;
69
69
  Platform["paragraph"] = "paragraph";
70
70
  Platform["philand"] = "philand";
71
71
  Platform["poap"] = "poap";
72
+ Platform["polymarket"] = "polymarket";
72
73
  Platform["pumpfun"] = "pumpfun";
73
74
  Platform["reddit"] = "reddit";
74
75
  Platform["scroll"] = "scroll";
@@ -66,6 +66,7 @@ export declare enum Platform {
66
66
  paragraph = "paragraph",
67
67
  philand = "philand",
68
68
  poap = "poap",
69
+ polymarket = "polymarket",
69
70
  pumpfun = "pumpfun",
70
71
  reddit = "reddit",
71
72
  scroll = "scroll",
@@ -67,6 +67,7 @@ var Platform;
67
67
  Platform["paragraph"] = "paragraph";
68
68
  Platform["philand"] = "philand";
69
69
  Platform["poap"] = "poap";
70
+ Platform["polymarket"] = "polymarket";
70
71
  Platform["pumpfun"] = "pumpfun";
71
72
  Platform["reddit"] = "reddit";
72
73
  Platform["scroll"] = "scroll";
@@ -34,6 +34,7 @@ exports.Source = void 0;
34
34
  Source["particle"] = "particle";
35
35
  Source["rarible"] = "rarible";
36
36
  Source["rss3"] = "rss3";
37
+ Source["seekerid"] = "seekerid";
37
38
  Source["sns"] = "sns";
38
39
  Source["solana"] = "solana";
39
40
  Source["soundxyz"] = "soundxyz";
@@ -31,6 +31,7 @@ export declare enum Source {
31
31
  particle = "particle",
32
32
  rarible = "rarible",
33
33
  rss3 = "rss3",
34
+ seekerid = "seekerid",
34
35
  sns = "sns",
35
36
  solana = "solana",
36
37
  soundxyz = "soundxyz",
@@ -32,6 +32,7 @@ var Source;
32
32
  Source["particle"] = "particle";
33
33
  Source["rarible"] = "rarible";
34
34
  Source["rss3"] = "rss3";
35
+ Source["seekerid"] = "seekerid";
35
36
  Source["sns"] = "sns";
36
37
  Source["solana"] = "solana";
37
38
  Source["soundxyz"] = "soundxyz";
@@ -125,10 +125,9 @@ const platformMap = new Map([
125
125
  [regex.REGEX.LENS, platform.Platform.lens],
126
126
  [regex.REGEX.UNSTOPPABLE_DOMAINS, platform.Platform.unstoppableDomains],
127
127
  [regex.REGEX.SPACE_ID, platform.Platform.space_id],
128
- [regex.REGEX.GRAVITY, platform.Platform.gravity],
129
128
  [regex.REGEX.DOTBIT, platform.Platform.dotbit],
130
129
  [regex.REGEX.SNS, platform.Platform.sns],
131
- [regex.REGEX.GENOME, platform.Platform.genome],
130
+ [regex.REGEX.SEEKERID, platform.Platform.seekerid],
132
131
  [regex.REGEX.BTC_ADDRESS, platform.Platform.bitcoin],
133
132
  [regex.REGEX.SOLANA_ADDRESS, platform.Platform.solana],
134
133
  [regex.REGEX.FARCASTER, platform.Platform.farcaster],
@@ -123,10 +123,9 @@ const platformMap = new Map([
123
123
  [REGEX.LENS, Platform.lens],
124
124
  [REGEX.UNSTOPPABLE_DOMAINS, Platform.unstoppableDomains],
125
125
  [REGEX.SPACE_ID, Platform.space_id],
126
- [REGEX.GRAVITY, Platform.gravity],
127
126
  [REGEX.DOTBIT, Platform.dotbit],
128
127
  [REGEX.SNS, Platform.sns],
129
- [REGEX.GENOME, Platform.genome],
128
+ [REGEX.SEEKERID, Platform.seekerid],
130
129
  [REGEX.BTC_ADDRESS, Platform.bitcoin],
131
130
  [REGEX.SOLANA_ADDRESS, Platform.solana],
132
131
  [REGEX.FARCASTER, Platform.farcaster],
@@ -674,6 +674,16 @@ const PLATFORM_DATA = new Map([
674
674
  system: platform.PlatformSystem.web3,
675
675
  },
676
676
  ],
677
+ [
678
+ platform.Platform.polymarket,
679
+ {
680
+ color: "#1652f0",
681
+ icon: "icons/icon-polymarket.svg",
682
+ label: "Polymarket",
683
+ urlPrefix: "https://polymarket.com/profile/",
684
+ system: platform.PlatformSystem.web3,
685
+ },
686
+ ],
677
687
  [
678
688
  platform.Platform.pumpfun,
679
689
  {
@@ -672,6 +672,16 @@ const PLATFORM_DATA = new Map([
672
672
  system: PlatformSystem.web3,
673
673
  },
674
674
  ],
675
+ [
676
+ Platform.polymarket,
677
+ {
678
+ color: "#1652f0",
679
+ icon: "icons/icon-polymarket.svg",
680
+ label: "Polymarket",
681
+ urlPrefix: "https://polymarket.com/profile/",
682
+ system: PlatformSystem.web3,
683
+ },
684
+ ],
675
685
  [
676
686
  Platform.pumpfun,
677
687
  {
@@ -12,8 +12,7 @@ const REGEX = {
12
12
  LENS: /^.+\.lens$/i,
13
13
  CLUSTER: /^[\w-]+\/[\w-]+$/,
14
14
  SPACE_ID: /^.+\.(?:bnb|arb)$/i,
15
- GRAVITY: /^.+\.g$/,
16
- GENOME: /^.+\.gno$/i,
15
+ SEEKERID: /^.+\.skr$/i,
17
16
  UNSTOPPABLE_DOMAINS: /^.+\.(?:crypto|888|nft|blockchain|bitcoin|dao|x|klever|hi|zil|kresus|polygon|wallet|binanceus|anime|go|manga|eth)$/i,
18
17
  DOTBIT: /^.+\.bit$/i,
19
18
  SNS: /^.+\.sol$/i,
@@ -10,8 +10,7 @@ export declare const REGEX: {
10
10
  LENS: RegExp;
11
11
  CLUSTER: RegExp;
12
12
  SPACE_ID: RegExp;
13
- GRAVITY: RegExp;
14
- GENOME: RegExp;
13
+ SEEKERID: RegExp;
15
14
  UNSTOPPABLE_DOMAINS: RegExp;
16
15
  DOTBIT: RegExp;
17
16
  SNS: RegExp;
@@ -10,8 +10,7 @@ const REGEX = {
10
10
  LENS: /^.+\.lens$/i,
11
11
  CLUSTER: /^[\w-]+\/[\w-]+$/,
12
12
  SPACE_ID: /^.+\.(?:bnb|arb)$/i,
13
- GRAVITY: /^.+\.g$/,
14
- GENOME: /^.+\.gno$/i,
13
+ SEEKERID: /^.+\.skr$/i,
15
14
  UNSTOPPABLE_DOMAINS: /^.+\.(?:crypto|888|nft|blockchain|bitcoin|dao|x|klever|hi|zil|kresus|polygon|wallet|binanceus|anime|go|manga|eth)$/i,
16
15
  DOTBIT: /^.+\.bit$/i,
17
16
  SNS: /^.+\.sol$/i,
@@ -115,14 +115,18 @@ const SOURCE_DATA = {
115
115
  name: "RSS3",
116
116
  description: "Open information syndication protocol",
117
117
  },
118
- [source.Source.solana]: {
119
- name: "Solana",
120
- description: "High-performance blockchain",
118
+ [source.Source.seekerid]: {
119
+ name: "Seeker ID",
120
+ description: "Solana Mobile Identity",
121
121
  },
122
122
  [source.Source.sns]: {
123
123
  name: "SNS",
124
124
  description: "Solana Name Service",
125
125
  },
126
+ [source.Source.solana]: {
127
+ name: "Solana",
128
+ description: "High-performance blockchain",
129
+ },
126
130
  [source.Source.soundxyz]: {
127
131
  name: "Sound.xyz",
128
132
  description: "Decentralized audio platform",
@@ -113,14 +113,18 @@ const SOURCE_DATA = {
113
113
  name: "RSS3",
114
114
  description: "Open information syndication protocol",
115
115
  },
116
- [Source.solana]: {
117
- name: "Solana",
118
- description: "High-performance blockchain",
116
+ [Source.seekerid]: {
117
+ name: "Seeker ID",
118
+ description: "Solana Mobile Identity",
119
119
  },
120
120
  [Source.sns]: {
121
121
  name: "SNS",
122
122
  description: "Solana Name Service",
123
123
  },
124
+ [Source.solana]: {
125
+ name: "Solana",
126
+ description: "High-performance blockchain",
127
+ },
124
128
  [Source.soundxyz]: {
125
129
  name: "Sound.xyz",
126
130
  description: "Decentralized audio platform",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web3bio-profile-kit",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "React hooks for querying ENS, Farcaster, Lens and Web3 universal profiles",
5
5
  "author": "web3bio",
6
6
  "license": "MIT",