@medialane/ui 0.363.0 → 0.364.0
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/data/coins.cjs.map +1 -1
- package/dist/data/coins.d.cts +0 -1
- package/dist/data/coins.d.ts +0 -1
- package/dist/data/coins.js.map +1 -1
- package/dist/utils/use-collection-settings.d.cts +0 -1
- package/dist/utils/use-collection-settings.d.ts +0 -1
- package/dist/utils/use-collections.d.cts +0 -5
- package/dist/utils/use-collections.d.ts +0 -5
- package/dist/utils/use-pop.d.cts +0 -3
- package/dist/utils/use-pop.d.ts +0 -3
- package/dist/utils/use-tiers.d.cts +0 -4
- package/dist/utils/use-tiers.d.ts +0 -4
- package/package.json +2 -2
package/dist/data/coins.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/coins.ts"],"sourcesContent":["import { getService, listServices, type ServiceDefinition } from \"@medialane/sdk\";\nimport { formatSmallDecimal } from \"../utils/format.js\";\n\nexport type CoinKind = \"creator\" | \"unruggable\" | \"memecoin\";\n\nexport interface CoinCollectionLike {\n contractAddress: string;\n chain?: string | null;\n name?: string | null;\n symbol?: string | null;\n image?: string | null;\n service?: string | null;\n
|
|
1
|
+
{"version":3,"sources":["../../src/data/coins.ts"],"sourcesContent":["import { getService, listServices, type ServiceDefinition } from \"@medialane/sdk\";\nimport { formatSmallDecimal } from \"../utils/format.js\";\n\nexport type CoinKind = \"creator\" | \"unruggable\" | \"memecoin\";\n\nexport interface CoinCollectionLike {\n contractAddress: string;\n chain?: string | null;\n name?: string | null;\n symbol?: string | null;\n image?: string | null;\n service?: string | null;\n holderCount?: number | null;\n\n totalSupply?: string | null;\n decimals?: number | null;\n isLaunched?: boolean | null;\n profile?: { image?: string | null } | null;\n}\n\nexport interface CoinPriceLike {\n quotePerCoin: number;\n quoteSymbol: string | null;\n\n quoteUsdRate?: number | null;\n}\n\nconst KIND_BY_SERVICE: Record<string, CoinKind> = {\n \"creator-coin\": \"creator\",\n \"unruggable-erc20\": \"unruggable\",\n \"external-erc20\": \"memecoin\",\n};\n\nexport function coinKind(service: string | null | undefined): CoinKind {\n const def = getService(service);\n return (def && KIND_BY_SERVICE[def.id]) ?? \"memecoin\";\n}\n\nexport function coinKindLabel(kind: CoinKind): string {\n return getService(coinServiceIds(kind)[0])?.displayName ?? \"Coin\";\n}\n\nexport function coinKindLabelPlural(kind: CoinKind): string {\n const label = coinKindLabel(kind);\n\n return /coin$/i.test(label) ? `${label}s` : label;\n}\n\nexport function isCoinService(def: ServiceDefinition): boolean {\n return def.uiVariant === \"coin\";\n}\n\nexport function coinServiceIds(kind: CoinKind): string[] {\n return listServices()\n .filter((s) => isCoinService(s) && KIND_BY_SERVICE[s.id] === kind)\n .map((s) => s.id);\n}\n\nexport const COIN_KINDS: CoinKind[] = [\"creator\", \"unruggable\", \"memecoin\"];\n\nexport function formatCoinPrice(n: number): string {\n return formatSmallDecimal(n);\n}\n\nconst ACCENT_TOKENS = [\n \"bg-brand-rose\",\n \"bg-brand-maeve\",\n \"bg-brand-purple\",\n \"bg-brand-orange\",\n \"bg-brand-blue\",\n] as const;\n\nexport function coinAccentToken(seed: string | null | undefined): string {\n const s = (seed ?? \"?\").trim().toUpperCase();\n let h = 0;\n for (let i = 0; i < s.length; i++) h = (h * 31 + s.charCodeAt(i)) >>> 0;\n return ACCENT_TOKENS[h % ACCENT_TOKENS.length];\n}\n\nfunction abbreviate(n: number): string {\n if (n >= 1_000_000_000) return `${(n / 1_000_000_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}B`;\n if (n >= 1_000_000) return `${(n / 1_000_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}M`;\n if (n >= 1_000) return `${(n / 1_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}K`;\n return n.toLocaleString(undefined, { maximumFractionDigits: 2 });\n}\n\nexport function coinSupply(collection: CoinCollectionLike): number | null {\n const raw = collection.totalSupply;\n if (raw == null || raw === \"\") return null;\n let units: bigint;\n try {\n units = BigInt(raw);\n } catch {\n return null;\n }\n if (units <= 0n) return null;\n const supply = Number(units) / 10 ** (collection.decimals ?? 18);\n\n return isFinite(supply) && supply >= 1 ? supply : null;\n}\n\nexport function fdvUsd(price: CoinPriceLike | null, collection: CoinCollectionLike): number | null {\n const supply = coinSupply(collection);\n if (!price || supply == null || price.quoteUsdRate == null) return null;\n const v = price.quotePerCoin * supply * price.quoteUsdRate;\n return v > 0 && isFinite(v) ? v : null;\n}\n\nexport function formatFdvUsd(price: CoinPriceLike | null, collection: CoinCollectionLike): string | null {\n const v = fdvUsd(price, collection);\n return v == null ? null : `$${abbreviate(v)}`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAiE;AACjE,oBAAmC;AA0BnC,MAAM,kBAA4C;AAAA,EAChD,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,kBAAkB;AACpB;AAEO,SAAS,SAAS,SAA8C;AACrE,QAAM,UAAM,uBAAW,OAAO;AAC9B,UAAQ,OAAO,gBAAgB,IAAI,EAAE,MAAM;AAC7C;AAEO,SAAS,cAAc,MAAwB;AACpD,aAAO,uBAAW,eAAe,IAAI,EAAE,CAAC,CAAC,GAAG,eAAe;AAC7D;AAEO,SAAS,oBAAoB,MAAwB;AAC1D,QAAM,QAAQ,cAAc,IAAI;AAEhC,SAAO,SAAS,KAAK,KAAK,IAAI,GAAG,KAAK,MAAM;AAC9C;AAEO,SAAS,cAAc,KAAiC;AAC7D,SAAO,IAAI,cAAc;AAC3B;AAEO,SAAS,eAAe,MAA0B;AACvD,aAAO,yBAAa,EACjB,OAAO,CAAC,MAAM,cAAc,CAAC,KAAK,gBAAgB,EAAE,EAAE,MAAM,IAAI,EAChE,IAAI,CAAC,MAAM,EAAE,EAAE;AACpB;AAEO,MAAM,aAAyB,CA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M,eAAe,SAAS,MAAM;AAC9C,SAAO,IAAI,KAAK,SAAS,CAAC,IAAI,IAAI;AACpC;AAEO,SAAS,aAAa,OAA6B,YAA+C;AACvG,QAAM,IAAI,OAAO,OAAO,UAAU;AAClC,SAAO,KAAK,OAAO,OAAO,IAAI,WAAW,CAAC,CAAC;AAC7C;","names":[]}
|
package/dist/data/coins.d.cts
CHANGED
package/dist/data/coins.d.ts
CHANGED
package/dist/data/coins.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/coins.ts"],"sourcesContent":["import { getService, listServices, type ServiceDefinition } from \"@medialane/sdk\";\nimport { formatSmallDecimal } from \"../utils/format.js\";\n\nexport type CoinKind = \"creator\" | \"unruggable\" | \"memecoin\";\n\nexport interface CoinCollectionLike {\n contractAddress: string;\n chain?: string | null;\n name?: string | null;\n symbol?: string | null;\n image?: string | null;\n service?: string | null;\n
|
|
1
|
+
{"version":3,"sources":["../../src/data/coins.ts"],"sourcesContent":["import { getService, listServices, type ServiceDefinition } from \"@medialane/sdk\";\nimport { formatSmallDecimal } from \"../utils/format.js\";\n\nexport type CoinKind = \"creator\" | \"unruggable\" | \"memecoin\";\n\nexport interface CoinCollectionLike {\n contractAddress: string;\n chain?: string | null;\n name?: string | null;\n symbol?: string | null;\n image?: string | null;\n service?: string | null;\n holderCount?: number | null;\n\n totalSupply?: string | null;\n decimals?: number | null;\n isLaunched?: boolean | null;\n profile?: { image?: string | null } | null;\n}\n\nexport interface CoinPriceLike {\n quotePerCoin: number;\n quoteSymbol: string | null;\n\n quoteUsdRate?: number | null;\n}\n\nconst KIND_BY_SERVICE: Record<string, CoinKind> = {\n \"creator-coin\": \"creator\",\n \"unruggable-erc20\": \"unruggable\",\n \"external-erc20\": \"memecoin\",\n};\n\nexport function coinKind(service: string | null | undefined): CoinKind {\n const def = getService(service);\n return (def && KIND_BY_SERVICE[def.id]) ?? \"memecoin\";\n}\n\nexport function coinKindLabel(kind: CoinKind): string {\n return getService(coinServiceIds(kind)[0])?.displayName ?? \"Coin\";\n}\n\nexport function coinKindLabelPlural(kind: CoinKind): string {\n const label = coinKindLabel(kind);\n\n return /coin$/i.test(label) ? `${label}s` : label;\n}\n\nexport function isCoinService(def: ServiceDefinition): boolean {\n return def.uiVariant === \"coin\";\n}\n\nexport function coinServiceIds(kind: CoinKind): string[] {\n return listServices()\n .filter((s) => isCoinService(s) && KIND_BY_SERVICE[s.id] === kind)\n .map((s) => s.id);\n}\n\nexport const COIN_KINDS: CoinKind[] = [\"creator\", \"unruggable\", \"memecoin\"];\n\nexport function formatCoinPrice(n: number): string {\n return formatSmallDecimal(n);\n}\n\nconst ACCENT_TOKENS = [\n \"bg-brand-rose\",\n \"bg-brand-maeve\",\n \"bg-brand-purple\",\n \"bg-brand-orange\",\n \"bg-brand-blue\",\n] as const;\n\nexport function coinAccentToken(seed: string | null | undefined): string {\n const s = (seed ?? \"?\").trim().toUpperCase();\n let h = 0;\n for (let i = 0; i < s.length; i++) h = (h * 31 + s.charCodeAt(i)) >>> 0;\n return ACCENT_TOKENS[h % ACCENT_TOKENS.length];\n}\n\nfunction abbreviate(n: number): string {\n if (n >= 1_000_000_000) return `${(n / 1_000_000_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}B`;\n if (n >= 1_000_000) return `${(n / 1_000_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}M`;\n if (n >= 1_000) return `${(n / 1_000).toLocaleString(undefined, { maximumFractionDigits: 1 })}K`;\n return n.toLocaleString(undefined, { maximumFractionDigits: 2 });\n}\n\nexport function coinSupply(collection: CoinCollectionLike): number | null {\n const raw = collection.totalSupply;\n if (raw == null || raw === \"\") return null;\n let units: bigint;\n try {\n units = BigInt(raw);\n } catch {\n return null;\n }\n if (units <= 0n) return null;\n const supply = Number(units) / 10 ** (collection.decimals ?? 18);\n\n return isFinite(supply) && supply >= 1 ? supply : null;\n}\n\nexport function fdvUsd(price: CoinPriceLike | null, collection: CoinCollectionLike): number | null {\n const supply = coinSupply(collection);\n if (!price || supply == null || price.quoteUsdRate == null) return null;\n const v = price.quotePerCoin * supply * price.quoteUsdRate;\n return v > 0 && isFinite(v) ? v : null;\n}\n\nexport function formatFdvUsd(price: CoinPriceLike | null, collection: CoinCollectionLike): string | null {\n const v = fdvUsd(price, collection);\n return v == null ? null : `$${abbreviate(v)}`;\n}\n"],"mappings":"AAAA,SAAS,YAAY,oBAA4C;AACjE,SAAS,0BAA0B;AA0BnC,MAAM,kBAA4C;AAAA,EAChD,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,kBAAkB;AACpB;AAEO,SAAS,SAAS,SAA8C;AACrE,QAAM,MAAM,WAAW,OAAO;AAC9B,UAAQ,OAAO,gBAAgB,IAAI,EAAE,MAAM;AAC7C;AAEO,SAAS,cAAc,MAAwB;AACpD,SAAO,WAAW,eAAe,IAAI,EAAE,CAAC,CAAC,GAAG,eAAe;AAC7D;AAEO,SAAS,oBAAoB,MAAwB;AAC1D,QAAM,QAAQ,cAAc,IAAI;AAEhC,SAAO,SAAS,KAAK,KAAK,IAAI,GAAG,KAAK,MAAM;AAC9C;AAEO,SAAS,cAAc,KAAiC;AAC7D,SAAO,IAAI,cAAc;AAC3B;AAEO,SAAS,eAAe,MAA0B;AACvD,SAAO,aAAa,EACjB,OAAO,CAAC,MAAM,cAAc,CAAC,KAAK,gBAAgB,EAAE,EAAE,MAAM,IAAI,EAChE,IAAI,CAAC,MAAM,EAAE,EAAE;AACpB;AAEO,MAAM,aAAyB,CAAC,WAAW,cAAc,UAAU;AAEnE,SAAS,gBAAgB,GAAmB;AACjD,SAAO,mBAAmB,CAAC;AAC7B;AAEA,MAAM,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,SAAS,gBAAgB,MAAyC;AACvE,QAAM,KAAK,QAAQ,KAAK,KAAK,EAAE,YAAY;AAC3C,MAAI,IAAI;AACR,WAAS,IAAI,GAAG,IAAI,EAAE,Q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ean;
|
|
27
27
|
isHidden: boolean;
|
|
28
28
|
service: string | null;
|
|
29
|
-
claimedBy: string | null;
|
|
30
29
|
floorPrice: string | null;
|
|
31
30
|
totalVolume: string | null;
|
|
32
31
|
holderCount: number;
|
|
@@ -67,7 +66,6 @@ declare function useCollections(page?: number, limit?: number, isFeatured?: bool
|
|
|
67
66
|
isFeatured: boolean;
|
|
68
67
|
isHidden: boolean;
|
|
69
68
|
service: string | null;
|
|
70
|
-
claimedBy: string | null;
|
|
71
69
|
floorPrice: string | null;
|
|
72
70
|
totalVolume: string | null;
|
|
73
71
|
holderCount: number;
|
|
@@ -107,7 +105,6 @@ declare function useCollection(contract: string | null, initial?: ApiCollection
|
|
|
107
105
|
isFeatured: boolean;
|
|
108
106
|
isHidden: boolean;
|
|
109
107
|
service: string | null;
|
|
110
|
-
claimedBy: string | null;
|
|
111
108
|
floorPrice: string | null;
|
|
112
109
|
totalVolume: string | null;
|
|
113
110
|
holderCount: number;
|
|
@@ -149,7 +146,6 @@ declare function useCollectionsByOwner(owner: string | null): {
|
|
|
149
146
|
isFeatured: boolean;
|
|
150
147
|
isHidden: boolean;
|
|
151
148
|
service: string | null;
|
|
152
|
-
claimedBy: string | null;
|
|
153
149
|
floorPrice: string | null;
|
|
154
150
|
totalVolume: string | null;
|
|
155
151
|
holderCount: number;
|
|
@@ -189,7 +185,6 @@ declare function useCollectionsByOwner(owner: string | null): {
|
|
|
189
185
|
isFeatured: boolean;
|
|
190
186
|
isHidden: boolean;
|
|
191
187
|
service: string | null;
|
|
192
|
-
claimedBy: string | null;
|
|
193
188
|
floorPrice: string | null;
|
|
194
189
|
totalVolume: string | null;
|
|
195
190
|
holderCount: number;
|
|
@@ -26,7 +26,6 @@ declare function useCollections(page?: number, limit?: number, isFeatured?: bool
|
|
|
26
26
|
isFeatured: boolean;
|
|
27
27
|
isHidden: boolean;
|
|
28
28
|
service: string | null;
|
|
29
|
-
claimedBy: string | null;
|
|
30
29
|
floorPrice: string | null;
|
|
31
30
|
totalVolume: string | null;
|
|
32
31
|
holderCount: number;
|
|
@@ -67,7 +66,6 @@ declare function useCollections(page?: number, limit?: number, isFeatured?: bool
|
|
|
67
66
|
isFeatured: boolean;
|
|
68
67
|
isHidden: boolean;
|
|
69
68
|
service: string | null;
|
|
70
|
-
claimedBy: string | null;
|
|
71
69
|
floorPrice: string | null;
|
|
72
70
|
totalVolume: string | null;
|
|
73
71
|
holderCount: number;
|
|
@@ -107,7 +105,6 @@ declare function useCollection(contract: string | null, initial?: ApiCollection
|
|
|
107
105
|
isFeatured: boolean;
|
|
108
106
|
isHidden: boolean;
|
|
109
107
|
service: string | null;
|
|
110
|
-
claimedBy: string | null;
|
|
111
108
|
floorPrice: string | null;
|
|
112
109
|
totalVolume: string | null;
|
|
113
110
|
holderCount: number;
|
|
@@ -149,7 +146,6 @@ declare function useCollectionsByOwner(owner: string | null): {
|
|
|
149
146
|
isFeatured: boolean;
|
|
150
147
|
isHidden: boolean;
|
|
151
148
|
service: string | null;
|
|
152
|
-
claimedBy: string | null;
|
|
153
149
|
floorPrice: string | null;
|
|
154
150
|
totalVolume: string | null;
|
|
155
151
|
holderCount: number;
|
|
@@ -189,7 +185,6 @@ declare function useCollectionsByOwner(owner: string | null): {
|
|
|
189
185
|
isFeatured: boolean;
|
|
190
186
|
isHidden: boolean;
|
|
191
187
|
service: string | null;
|
|
192
|
-
claimedBy: string | null;
|
|
193
188
|
floorPrice: string | null;
|
|
194
189
|
totalVolume: string | null;
|
|
195
190
|
holderCount: number;
|
package/dist/utils/use-pop.d.cts
CHANGED
|
@@ -24,7 +24,6 @@ declare function usePopCollections(): {
|
|
|
24
24
|
isFeatured: boolean;
|
|
25
25
|
isHidden: boolean;
|
|
26
26
|
service: string | null;
|
|
27
|
-
claimedBy: string | null;
|
|
28
27
|
floorPrice: string | null;
|
|
29
28
|
totalVolume: string | null;
|
|
30
29
|
holderCount: number;
|
|
@@ -71,7 +70,6 @@ declare function useMyPopEvents(owner: string | null): {
|
|
|
71
70
|
isFeatured: boolean;
|
|
72
71
|
isHidden: boolean;
|
|
73
72
|
service: string | null;
|
|
74
|
-
claimedBy: string | null;
|
|
75
73
|
floorPrice: string | null;
|
|
76
74
|
totalVolume: string | null;
|
|
77
75
|
holderCount: number;
|
|
@@ -111,7 +109,6 @@ declare function useMyPopEvents(owner: string | null): {
|
|
|
111
109
|
isFeatured: boolean;
|
|
112
110
|
isHidden: boolean;
|
|
113
111
|
service: string | null;
|
|
114
|
-
claimedBy: string | null;
|
|
115
112
|
floorPrice: string | null;
|
|
116
113
|
totalVolume: string | null;
|
|
117
114
|
holderCount: number;
|
package/dist/utils/use-pop.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ declare function usePopCollections(): {
|
|
|
24
24
|
isFeatured: boolean;
|
|
25
25
|
isHidden: boolean;
|
|
26
26
|
service: string | null;
|
|
27
|
-
claimedBy: string | null;
|
|
28
27
|
floorPrice: string | null;
|
|
29
28
|
totalVolume: string | null;
|
|
30
29
|
holderCount: number;
|
|
@@ -71,7 +70,6 @@ declare function useMyPopEvents(owner: string | null): {
|
|
|
71
70
|
isFeatured: boolean;
|
|
72
71
|
isHidden: boolean;
|
|
73
72
|
service: string | null;
|
|
74
|
-
claimedBy: string | null;
|
|
75
73
|
floorPrice: string | null;
|
|
76
74
|
totalVolume: string | null;
|
|
77
75
|
holderCount: number;
|
|
@@ -111,7 +109,6 @@ declare function useMyPopEvents(owner: string | null): {
|
|
|
111
109
|
isFeatured: boolean;
|
|
112
110
|
isHidden: boolean;
|
|
113
111
|
service: string | null;
|
|
114
|
-
claimedBy: string | null;
|
|
115
112
|
floorPrice: string | null;
|
|
116
113
|
totalVolume: string | null;
|
|
117
114
|
holderCount: number;
|
|
@@ -39,7 +39,6 @@ declare function useMyClubCollections(owner: string | null): {
|
|
|
39
39
|
isFeatured: boolean;
|
|
40
40
|
isHidden: boolean;
|
|
41
41
|
service: string | null;
|
|
42
|
-
claimedBy: string | null;
|
|
43
42
|
floorPrice: string | null;
|
|
44
43
|
totalVolume: string | null;
|
|
45
44
|
holderCount: number;
|
|
@@ -79,7 +78,6 @@ declare function useMyClubCollections(owner: string | null): {
|
|
|
79
78
|
isFeatured: boolean;
|
|
80
79
|
isHidden: boolean;
|
|
81
80
|
service: string | null;
|
|
82
|
-
claimedBy: string | null;
|
|
83
81
|
floorPrice: string | null;
|
|
84
82
|
totalVolume: string | null;
|
|
85
83
|
holderCount: number;
|
|
@@ -119,7 +117,6 @@ declare function useMyTicketCollections(owner: string | null): {
|
|
|
119
117
|
isFeatured: boolean;
|
|
120
118
|
isHidden: boolean;
|
|
121
119
|
service: string | null;
|
|
122
|
-
claimedBy: string | null;
|
|
123
120
|
floorPrice: string | null;
|
|
124
121
|
totalVolume: string | null;
|
|
125
122
|
holderCount: number;
|
|
@@ -159,7 +156,6 @@ declare function useMyTicketCollections(owner: string | null): {
|
|
|
159
156
|
isFeatured: boolean;
|
|
160
157
|
isHidden: boolean;
|
|
161
158
|
service: string | null;
|
|
162
|
-
claimedBy: string | null;
|
|
163
159
|
floorPrice: string | null;
|
|
164
160
|
totalVolume: string | null;
|
|
165
161
|
holderCount: number;
|
|
@@ -39,7 +39,6 @@ declare function useMyClubCollections(owner: string | null): {
|
|
|
39
39
|
isFeatured: boolean;
|
|
40
40
|
isHidden: boolean;
|
|
41
41
|
service: string | null;
|
|
42
|
-
claimedBy: string | null;
|
|
43
42
|
floorPrice: string | null;
|
|
44
43
|
totalVolume: string | null;
|
|
45
44
|
holderCount: number;
|
|
@@ -79,7 +78,6 @@ declare function useMyClubCollections(owner: string | null): {
|
|
|
79
78
|
isFeatured: boolean;
|
|
80
79
|
isHidden: boolean;
|
|
81
80
|
service: string | null;
|
|
82
|
-
claimedBy: string | null;
|
|
83
81
|
floorPrice: string | null;
|
|
84
82
|
totalVolume: string | null;
|
|
85
83
|
holderCount: number;
|
|
@@ -119,7 +117,6 @@ declare function useMyTicketCollections(owner: string | null): {
|
|
|
119
117
|
isFeatured: boolean;
|
|
120
118
|
isHidden: boolean;
|
|
121
119
|
service: string | null;
|
|
122
|
-
claimedBy: string | null;
|
|
123
120
|
floorPrice: string | null;
|
|
124
121
|
totalVolume: string | null;
|
|
125
122
|
holderCount: number;
|
|
@@ -159,7 +156,6 @@ declare function useMyTicketCollections(owner: string | null): {
|
|
|
159
156
|
isFeatured: boolean;
|
|
160
157
|
isHidden: boolean;
|
|
161
158
|
service: string | null;
|
|
162
|
-
claimedBy: string | null;
|
|
163
159
|
floorPrice: string | null;
|
|
164
160
|
totalVolume: string | null;
|
|
165
161
|
holderCount: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medialane/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.364.0",
|
|
4
4
|
"description": "Shared UI components for Medialane apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
89
89
|
"@hookform/resolvers": "^3.10.0",
|
|
90
|
-
"@medialane/sdk": "0.
|
|
90
|
+
"@medialane/sdk": "0.232.0",
|
|
91
91
|
"@radix-ui/react-checkbox": "^1.3.8",
|
|
92
92
|
"@radix-ui/react-collapsible": "^1.1.17",
|
|
93
93
|
"@radix-ui/react-dialog": "^1.1.20",
|