web3bio-profile-kit 0.2.5 → 0.2.7

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.
@@ -29,16 +29,19 @@ exports.Source = void 0;
29
29
  Source["keybase"] = "keybase";
30
30
  Source["lens"] = "lens";
31
31
  Source["linea"] = "linea";
32
+ Source["magiceden"] = "magiceden";
32
33
  Source["metopia"] = "metopia";
33
34
  Source["mirror"] = "mirror";
34
35
  Source["nextid"] = "nextid";
35
36
  Source["nftd"] = "nftd";
36
37
  Source["nostr"] = "nostr";
37
38
  Source["opensea"] = "opensea";
39
+ Source["opinion"] = "opinion";
38
40
  Source["paragraph"] = "paragraph";
39
41
  Source["particle"] = "particle";
40
42
  Source["polymarket"] = "polymarket";
41
43
  Source["ppl"] = "ppl";
44
+ Source["predictfun"] = "predictfun";
42
45
  Source["privy"] = "privy";
43
46
  Source["questn"] = "questn";
44
47
  Source["rarible"] = "rarible";
@@ -26,16 +26,19 @@ export declare enum Source {
26
26
  keybase = "keybase",
27
27
  lens = "lens",
28
28
  linea = "linea",
29
+ magiceden = "magiceden",
29
30
  metopia = "metopia",
30
31
  mirror = "mirror",
31
32
  nextid = "nextid",
32
33
  nftd = "nftd",
33
34
  nostr = "nostr",
34
35
  opensea = "opensea",
36
+ opinion = "opinion",
35
37
  paragraph = "paragraph",
36
38
  particle = "particle",
37
39
  polymarket = "polymarket",
38
40
  ppl = "ppl",
41
+ predictfun = "predictfun",
39
42
  privy = "privy",
40
43
  questn = "questn",
41
44
  rarible = "rarible",
@@ -27,16 +27,19 @@ var Source;
27
27
  Source["keybase"] = "keybase";
28
28
  Source["lens"] = "lens";
29
29
  Source["linea"] = "linea";
30
+ Source["magiceden"] = "magiceden";
30
31
  Source["metopia"] = "metopia";
31
32
  Source["mirror"] = "mirror";
32
33
  Source["nextid"] = "nextid";
33
34
  Source["nftd"] = "nftd";
34
35
  Source["nostr"] = "nostr";
35
36
  Source["opensea"] = "opensea";
37
+ Source["opinion"] = "opinion";
36
38
  Source["paragraph"] = "paragraph";
37
39
  Source["particle"] = "particle";
38
40
  Source["polymarket"] = "polymarket";
39
41
  Source["ppl"] = "ppl";
42
+ Source["predictfun"] = "predictfun";
40
43
  Source["privy"] = "privy";
41
44
  Source["questn"] = "questn";
42
45
  Source["rarible"] = "rarible";
@@ -114,6 +114,11 @@ const SOURCE_DATA = {
114
114
  description: "L2 based on ZK",
115
115
  icon: "icons/icon-linea.svg",
116
116
  },
117
+ [source.Source.magiceden]: {
118
+ name: "Magic Eden",
119
+ description: "Web3 NFT marketplace",
120
+ icon: "icons/icon-magiceden.svg",
121
+ },
117
122
  [source.Source.metopia]: {
118
123
  name: "Metopia",
119
124
  description: "Web3 identity & learning platform",
@@ -144,6 +149,11 @@ const SOURCE_DATA = {
144
149
  description: "NFT marketplace",
145
150
  icon: "icons/icon-opensea.svg",
146
151
  },
152
+ [source.Source.opinion]: {
153
+ name: "Opinion",
154
+ description: "High-performance prediction exchange",
155
+ icon: "icons/icon-opinion.svg",
156
+ },
147
157
  [source.Source.paragraph]: {
148
158
  name: "Paragraph",
149
159
  description: "Decentralized publishing protocol",
@@ -163,6 +173,10 @@ const SOURCE_DATA = {
163
173
  name: "0xPPL",
164
174
  description: "Web3 social platform",
165
175
  },
176
+ [source.Source.predictfun]: {
177
+ name: "Predict.fun",
178
+ description: "The BNB-native prediction market",
179
+ },
166
180
  [source.Source.privy]: {
167
181
  name: "Privy",
168
182
  description: "Wallet infrastructure",
@@ -112,6 +112,11 @@ const SOURCE_DATA = {
112
112
  description: "L2 based on ZK",
113
113
  icon: "icons/icon-linea.svg",
114
114
  },
115
+ [Source.magiceden]: {
116
+ name: "Magic Eden",
117
+ description: "Web3 NFT marketplace",
118
+ icon: "icons/icon-magiceden.svg",
119
+ },
115
120
  [Source.metopia]: {
116
121
  name: "Metopia",
117
122
  description: "Web3 identity & learning platform",
@@ -142,6 +147,11 @@ const SOURCE_DATA = {
142
147
  description: "NFT marketplace",
143
148
  icon: "icons/icon-opensea.svg",
144
149
  },
150
+ [Source.opinion]: {
151
+ name: "Opinion",
152
+ description: "High-performance prediction exchange",
153
+ icon: "icons/icon-opinion.svg",
154
+ },
145
155
  [Source.paragraph]: {
146
156
  name: "Paragraph",
147
157
  description: "Decentralized publishing protocol",
@@ -161,6 +171,10 @@ const SOURCE_DATA = {
161
171
  name: "0xPPL",
162
172
  description: "Web3 social platform",
163
173
  },
174
+ [Source.predictfun]: {
175
+ name: "Predict.fun",
176
+ description: "The BNB-native prediction market",
177
+ },
164
178
  [Source.privy]: {
165
179
  name: "Privy",
166
180
  description: "Wallet infrastructure",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "web3bio-profile-kit",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "React hooks for querying ENS, Farcaster, Lens and Web3 universal profiles",
5
5
  "author": "web3bio",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "type": "module",
9
- "main": "dist/index.js",
10
- "module": "dist/index.esm.js",
9
+ "main": "dist/index.cjs",
10
+ "module": "dist/index.js",
11
11
  "types": "dist/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
@@ -68,7 +68,8 @@
68
68
  },
69
69
  "scripts": {
70
70
  "build": "rimraf dist && rollup -c",
71
- "test": "react-scripts test --watchAll=false",
71
+ "test": "vitest run",
72
+ "test:watch": "vitest",
72
73
  "prepublishOnly": "pnpm run build"
73
74
  },
74
75
  "peerDependencies": {
@@ -80,21 +81,19 @@
80
81
  "@rollup/plugin-commonjs": "^25.0.8",
81
82
  "@rollup/plugin-node-resolve": "^15.3.1",
82
83
  "@rollup/plugin-typescript": "^11.1.6",
83
- "@testing-library/dom": "^10.4.0",
84
- "@testing-library/jest-dom": "^6.6.3",
85
- "@testing-library/react": "^16.3.0",
86
- "@testing-library/user-event": "^13.5.0",
87
- "@types/node": "^22.15.24",
84
+ "@testing-library/jest-dom": "^6.9.1",
85
+ "@testing-library/react": "^16.3.2",
86
+ "@types/node": "^22.19.17",
88
87
  "@types/react": "^18.3.23",
89
- "dotenv": "^16.5.0",
88
+ "@types/react-dom": "^18.3.7",
89
+ "@tanstack/react-query": "^5.100.5",
90
+ "dotenv": "^16.6.1",
91
+ "jsdom": "^26.1.0",
90
92
  "react": "^18.3.1",
91
93
  "react-dom": "^18.3.1",
92
- "react-scripts": "5.0.1",
93
94
  "rimraf": "^5.0.10",
94
95
  "rollup": "^3.29.5",
95
- "rollup-plugin-dts": "^5.3.1",
96
- "rollup-plugin-peer-deps-external": "^2.2.4",
97
- "typescript": "^5.8.3",
98
- "@tanstack/react-query": "^5.79.2"
96
+ "typescript": "^5.9.3",
97
+ "vitest": "^3.2.4"
99
98
  }
100
99
  }