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.
- package/dist/types/platform.cjs +1 -0
- package/dist/types/platform.d.ts +1 -0
- package/dist/types/platform.js +1 -0
- package/dist/types/source.cjs +1 -0
- package/dist/types/source.d.ts +1 -0
- package/dist/types/source.js +1 -0
- package/dist/utils/helpers.cjs +1 -2
- package/dist/utils/helpers.js +1 -2
- package/dist/utils/platform.cjs +10 -0
- package/dist/utils/platform.js +10 -0
- package/dist/utils/regex.cjs +1 -2
- package/dist/utils/regex.d.ts +1 -2
- package/dist/utils/regex.js +1 -2
- package/dist/utils/source.cjs +7 -3
- package/dist/utils/source.js +7 -3
- package/package.json +1 -1
package/dist/types/platform.cjs
CHANGED
|
@@ -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";
|
package/dist/types/platform.d.ts
CHANGED
package/dist/types/platform.js
CHANGED
|
@@ -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";
|
package/dist/types/source.cjs
CHANGED
package/dist/types/source.d.ts
CHANGED
package/dist/types/source.js
CHANGED
package/dist/utils/helpers.cjs
CHANGED
|
@@ -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.
|
|
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],
|
package/dist/utils/helpers.js
CHANGED
|
@@ -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.
|
|
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],
|
package/dist/utils/platform.cjs
CHANGED
|
@@ -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
|
{
|
package/dist/utils/platform.js
CHANGED
|
@@ -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
|
{
|
package/dist/utils/regex.cjs
CHANGED
|
@@ -12,8 +12,7 @@ const REGEX = {
|
|
|
12
12
|
LENS: /^.+\.lens$/i,
|
|
13
13
|
CLUSTER: /^[\w-]+\/[\w-]+$/,
|
|
14
14
|
SPACE_ID: /^.+\.(?:bnb|arb)$/i,
|
|
15
|
-
|
|
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,
|
package/dist/utils/regex.d.ts
CHANGED
package/dist/utils/regex.js
CHANGED
|
@@ -10,8 +10,7 @@ const REGEX = {
|
|
|
10
10
|
LENS: /^.+\.lens$/i,
|
|
11
11
|
CLUSTER: /^[\w-]+\/[\w-]+$/,
|
|
12
12
|
SPACE_ID: /^.+\.(?:bnb|arb)$/i,
|
|
13
|
-
|
|
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,
|
package/dist/utils/source.cjs
CHANGED
|
@@ -115,14 +115,18 @@ const SOURCE_DATA = {
|
|
|
115
115
|
name: "RSS3",
|
|
116
116
|
description: "Open information syndication protocol",
|
|
117
117
|
},
|
|
118
|
-
[source.Source.
|
|
119
|
-
name: "
|
|
120
|
-
description: "
|
|
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",
|
package/dist/utils/source.js
CHANGED
|
@@ -113,14 +113,18 @@ const SOURCE_DATA = {
|
|
|
113
113
|
name: "RSS3",
|
|
114
114
|
description: "Open information syndication protocol",
|
|
115
115
|
},
|
|
116
|
-
[Source.
|
|
117
|
-
name: "
|
|
118
|
-
description: "
|
|
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",
|