web3bio-profile-kit 0.1.14 → 0.1.16
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/index.cjs +0 -4
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -1
- package/dist/types/platform.cjs +1 -11
- package/dist/types/platform.d.ts +1 -11
- package/dist/types/platform.js +2 -12
- package/dist/types/source.cjs +3 -0
- package/dist/types/source.d.ts +3 -0
- package/dist/types/source.js +3 -0
- package/dist/utils/platform.cjs +9 -92
- package/dist/utils/platform.js +10 -93
- package/dist/utils/regex.cjs +1 -1
- package/dist/utils/regex.js +1 -1
- package/dist/utils/source.cjs +13 -1
- package/dist/utils/source.js +13 -1
- package/package.json +1 -1
package/dist/types/index.cjs
CHANGED
|
@@ -12,10 +12,6 @@ Object.defineProperty(exports, 'Platform', {
|
|
|
12
12
|
enumerable: true,
|
|
13
13
|
get: function () { return platform.Platform; }
|
|
14
14
|
});
|
|
15
|
-
Object.defineProperty(exports, 'PlatformSystem', {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return platform.PlatformSystem; }
|
|
18
|
-
});
|
|
19
15
|
Object.defineProperty(exports, 'Network', {
|
|
20
16
|
enumerable: true,
|
|
21
17
|
get: function () { return network.Network; }
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Platform,
|
|
1
|
+
export { Platform, type PlatformType } from "./platform";
|
|
2
2
|
export { Network, type NetworkType } from "./network";
|
|
3
|
-
export { ErrorMessages, QueryEndpoint, type AddressRecord, type SocialLinksItem, type SocialLinks, type SocialRecord, type ProfileResponse, type NSResponse, type DomainResponse, type QueryOptions, type IdentityString, type QueryResult, type ProfileResult, type NSResult, type ProfileBatchResult, type NSBatchResult, type ProfileUniversalResult, type NSUniversalResult, type DomainResult } from "./hook";
|
|
3
|
+
export { ErrorMessages, QueryEndpoint, type AddressRecord, type SocialLinksItem, type SocialLinks, type SocialRecord, type ProfileResponse, type NSResponse, type DomainResponse, type QueryOptions, type IdentityString, type QueryResult, type ProfileResult, type NSResult, type ProfileBatchResult, type NSBatchResult, type ProfileUniversalResult, type NSUniversalResult, type DomainResult, } from "./hook";
|
|
4
4
|
export { Source, type SourceType } from "./source";
|
|
5
5
|
export { CoinType } from "./cointype";
|
package/dist/types/index.js
CHANGED
package/dist/types/platform.cjs
CHANGED
|
@@ -55,6 +55,7 @@ exports.Platform = void 0;
|
|
|
55
55
|
Platform["linea"] = "linea";
|
|
56
56
|
Platform["lobsters"] = "lobsters";
|
|
57
57
|
Platform["manta"] = "manta";
|
|
58
|
+
Platform["matters"] = "matters";
|
|
58
59
|
Platform["medium"] = "medium";
|
|
59
60
|
Platform["merlin"] = "merlin";
|
|
60
61
|
Platform["minds"] = "minds";
|
|
@@ -100,14 +101,3 @@ exports.Platform = void 0;
|
|
|
100
101
|
Platform["zkfair"] = "zkfair";
|
|
101
102
|
Platform["zora"] = "zora";
|
|
102
103
|
})(exports.Platform || (exports.Platform = {}));
|
|
103
|
-
/**
|
|
104
|
-
* Platform system classification
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
exports.PlatformSystem = void 0;
|
|
108
|
-
(function (PlatformSystem) {
|
|
109
|
-
/** Traditional web platforms */
|
|
110
|
-
PlatformSystem[PlatformSystem["web2"] = 0] = "web2";
|
|
111
|
-
/** Blockchain/decentralized platforms */
|
|
112
|
-
PlatformSystem[PlatformSystem["web3"] = 1] = "web3";
|
|
113
|
-
})(exports.PlatformSystem || (exports.PlatformSystem = {}));
|
package/dist/types/platform.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export declare enum Platform {
|
|
|
52
52
|
linea = "linea",
|
|
53
53
|
lobsters = "lobsters",
|
|
54
54
|
manta = "manta",
|
|
55
|
+
matters = "matters",
|
|
55
56
|
medium = "medium",
|
|
56
57
|
merlin = "merlin",
|
|
57
58
|
minds = "minds",
|
|
@@ -111,15 +112,4 @@ export interface PlatformType {
|
|
|
111
112
|
ensText?: string[];
|
|
112
113
|
registerlink?: string;
|
|
113
114
|
editUrlPrefix?: string;
|
|
114
|
-
system: PlatformSystem;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Platform system classification
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
export declare enum PlatformSystem {
|
|
121
|
-
/** Traditional web platforms */
|
|
122
|
-
web2 = 0,
|
|
123
|
-
/** Blockchain/decentralized platforms */
|
|
124
|
-
web3 = 1
|
|
125
115
|
}
|
package/dist/types/platform.js
CHANGED
|
@@ -53,6 +53,7 @@ var Platform;
|
|
|
53
53
|
Platform["linea"] = "linea";
|
|
54
54
|
Platform["lobsters"] = "lobsters";
|
|
55
55
|
Platform["manta"] = "manta";
|
|
56
|
+
Platform["matters"] = "matters";
|
|
56
57
|
Platform["medium"] = "medium";
|
|
57
58
|
Platform["merlin"] = "merlin";
|
|
58
59
|
Platform["minds"] = "minds";
|
|
@@ -98,16 +99,5 @@ var Platform;
|
|
|
98
99
|
Platform["zkfair"] = "zkfair";
|
|
99
100
|
Platform["zora"] = "zora";
|
|
100
101
|
})(Platform || (Platform = {}));
|
|
101
|
-
/**
|
|
102
|
-
* Platform system classification
|
|
103
|
-
* @public
|
|
104
|
-
*/
|
|
105
|
-
var PlatformSystem;
|
|
106
|
-
(function (PlatformSystem) {
|
|
107
|
-
/** Traditional web platforms */
|
|
108
|
-
PlatformSystem[PlatformSystem["web2"] = 0] = "web2";
|
|
109
|
-
/** Blockchain/decentralized platforms */
|
|
110
|
-
PlatformSystem[PlatformSystem["web3"] = 1] = "web3";
|
|
111
|
-
})(PlatformSystem || (PlatformSystem = {}));
|
|
112
102
|
|
|
113
|
-
export { Platform
|
|
103
|
+
export { Platform };
|
package/dist/types/source.cjs
CHANGED
|
@@ -15,6 +15,7 @@ exports.Source = void 0;
|
|
|
15
15
|
Source["dotbit"] = "dotbit";
|
|
16
16
|
Source["ens"] = "ens";
|
|
17
17
|
Source["ethereum"] = "ethereum";
|
|
18
|
+
Source["exchange_art"] = "exchange_art";
|
|
18
19
|
Source["farcaster"] = "farcaster";
|
|
19
20
|
Source["firefly"] = "firefly";
|
|
20
21
|
Source["foundation"] = "foundation";
|
|
@@ -25,6 +26,7 @@ exports.Source = void 0;
|
|
|
25
26
|
Source["keybase"] = "keybase";
|
|
26
27
|
Source["lens"] = "lens";
|
|
27
28
|
Source["linea"] = "linea";
|
|
29
|
+
Source["metopia"] = "metopia";
|
|
28
30
|
Source["mirror"] = "mirror";
|
|
29
31
|
Source["nextid"] = "nextid";
|
|
30
32
|
Source["nftd"] = "nftd";
|
|
@@ -33,6 +35,7 @@ exports.Source = void 0;
|
|
|
33
35
|
Source["paragraph"] = "paragraph";
|
|
34
36
|
Source["particle"] = "particle";
|
|
35
37
|
Source["rarible"] = "rarible";
|
|
38
|
+
Source["rey"] = "rey";
|
|
36
39
|
Source["rss3"] = "rss3";
|
|
37
40
|
Source["seekerid"] = "seekerid";
|
|
38
41
|
Source["sns"] = "sns";
|
package/dist/types/source.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare enum Source {
|
|
|
12
12
|
dotbit = "dotbit",
|
|
13
13
|
ens = "ens",
|
|
14
14
|
ethereum = "ethereum",
|
|
15
|
+
exchange_art = "exchange_art",
|
|
15
16
|
farcaster = "farcaster",
|
|
16
17
|
firefly = "firefly",
|
|
17
18
|
foundation = "foundation",
|
|
@@ -22,6 +23,7 @@ export declare enum Source {
|
|
|
22
23
|
keybase = "keybase",
|
|
23
24
|
lens = "lens",
|
|
24
25
|
linea = "linea",
|
|
26
|
+
metopia = "metopia",
|
|
25
27
|
mirror = "mirror",
|
|
26
28
|
nextid = "nextid",
|
|
27
29
|
nftd = "nftd",
|
|
@@ -30,6 +32,7 @@ export declare enum Source {
|
|
|
30
32
|
paragraph = "paragraph",
|
|
31
33
|
particle = "particle",
|
|
32
34
|
rarible = "rarible",
|
|
35
|
+
rey = "rey",
|
|
33
36
|
rss3 = "rss3",
|
|
34
37
|
seekerid = "seekerid",
|
|
35
38
|
sns = "sns",
|
package/dist/types/source.js
CHANGED
|
@@ -13,6 +13,7 @@ var Source;
|
|
|
13
13
|
Source["dotbit"] = "dotbit";
|
|
14
14
|
Source["ens"] = "ens";
|
|
15
15
|
Source["ethereum"] = "ethereum";
|
|
16
|
+
Source["exchange_art"] = "exchange_art";
|
|
16
17
|
Source["farcaster"] = "farcaster";
|
|
17
18
|
Source["firefly"] = "firefly";
|
|
18
19
|
Source["foundation"] = "foundation";
|
|
@@ -23,6 +24,7 @@ var Source;
|
|
|
23
24
|
Source["keybase"] = "keybase";
|
|
24
25
|
Source["lens"] = "lens";
|
|
25
26
|
Source["linea"] = "linea";
|
|
27
|
+
Source["metopia"] = "metopia";
|
|
26
28
|
Source["mirror"] = "mirror";
|
|
27
29
|
Source["nextid"] = "nextid";
|
|
28
30
|
Source["nftd"] = "nftd";
|
|
@@ -31,6 +33,7 @@ var Source;
|
|
|
31
33
|
Source["paragraph"] = "paragraph";
|
|
32
34
|
Source["particle"] = "particle";
|
|
33
35
|
Source["rarible"] = "rarible";
|
|
36
|
+
Source["rey"] = "rey";
|
|
34
37
|
Source["rss3"] = "rss3";
|
|
35
38
|
Source["seekerid"] = "seekerid";
|
|
36
39
|
Source["sns"] = "sns";
|