@medialane/ui 0.311.0 → 0.312.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/components/account/input-otp.d.cts +2 -2
- package/dist/components/account/input-otp.d.ts +2 -2
- package/dist/components/button.d.cts +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/launchpad/edition-mint-schema.d.cts +19 -19
- package/dist/components/launchpad/edition-mint-schema.d.ts +19 -19
- package/dist/components/launchpad/pop-create-schema.d.cts +10 -10
- package/dist/components/launchpad/pop-create-schema.d.ts +10 -10
- package/dist/components/media-wallet/media-wallet-send.cjs +2 -5
- package/dist/components/media-wallet/media-wallet-send.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-send.js +2 -5
- package/dist/components/media-wallet/media-wallet-send.js.map +1 -1
- package/dist/components/transfer-collection-ownership.cjs +1 -1
- package/dist/components/transfer-collection-ownership.cjs.map +1 -1
- package/dist/components/transfer-collection-ownership.js +1 -1
- package/dist/components/transfer-collection-ownership.js.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/utils/media-wallet/use-erc20-balance.d.cts +1 -1
- package/dist/utils/media-wallet/use-erc20-balance.d.ts +1 -1
- package/dist/utils/send-token.cjs +40 -0
- package/dist/utils/send-token.cjs.map +1 -0
- package/dist/utils/send-token.d.cts +19 -0
- package/dist/utils/send-token.d.ts +19 -0
- package/dist/utils/send-token.js +16 -0
- package/dist/utils/send-token.js.map +1 -0
- package/dist/utils/use-collection-settings.d.cts +19 -19
- package/dist/utils/use-collection-settings.d.ts +19 -19
- package/dist/utils/use-collections.d.cts +212 -205
- package/dist/utils/use-collections.d.ts +212 -205
- package/dist/utils/use-orders.d.cts +299 -299
- package/dist/utils/use-orders.d.ts +299 -299
- package/dist/utils/use-pop.d.cts +57 -55
- package/dist/utils/use-pop.d.ts +57 -55
- package/dist/utils/use-tiers.d.cts +76 -73
- package/dist/utils/use-tiers.d.ts +76 -73
- package/dist/utils/use-tokens-by-ip-type.d.cts +78 -77
- package/dist/utils/use-tokens-by-ip-type.d.ts +78 -77
- package/dist/utils/use-tokens.d.cts +234 -229
- package/dist/utils/use-tokens.d.ts +234 -229
- package/package.json +3 -3
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import * as _medialane_sdk from '@medialane/sdk';
|
|
3
3
|
import { ApiResponse } from '@medialane/sdk';
|
|
4
|
-
import * as zod from 'zod';
|
|
5
4
|
|
|
6
5
|
declare function useTokensByIpType(ipTypeSlug: string | null, page?: number, limit?: number): {
|
|
7
6
|
tokens: {
|
|
7
|
+
id: string;
|
|
8
8
|
chain: string;
|
|
9
|
+
contractAddress: string;
|
|
9
10
|
tokenId: string;
|
|
10
11
|
owner: string | null;
|
|
11
12
|
tokenUri: string | null;
|
|
12
|
-
contractAddress: string;
|
|
13
|
-
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
13
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
17
14
|
standard: "ERC721" | "ERC1155" | null;
|
|
18
15
|
metadata: {
|
|
19
16
|
name: string | null;
|
|
20
17
|
description: string | null;
|
|
21
18
|
image: string | null;
|
|
22
|
-
author: string | null;
|
|
23
19
|
animationUrl: string | null;
|
|
24
|
-
attributes:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
attributes: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
trait_type: string;
|
|
23
|
+
value: string | number | boolean;
|
|
24
|
+
display_type?: string | undefined;
|
|
25
|
+
}[] | null;
|
|
29
26
|
ipType: string | null;
|
|
30
27
|
licenseType: string | null;
|
|
31
28
|
commercialUse: boolean | null;
|
|
29
|
+
author: string | null;
|
|
32
30
|
externalUrl: string | null;
|
|
33
31
|
};
|
|
34
32
|
balances: {
|
|
35
|
-
amount: string;
|
|
36
33
|
owner: string;
|
|
34
|
+
amount: string;
|
|
37
35
|
}[] | null;
|
|
38
36
|
activeOrders: {
|
|
39
|
-
|
|
37
|
+
id: string;
|
|
40
38
|
chain: string;
|
|
41
|
-
offerer: string;
|
|
42
|
-
nftContract: string | null;
|
|
43
|
-
price: {
|
|
44
|
-
currency: string | null;
|
|
45
|
-
raw: string | null;
|
|
46
|
-
formatted: string | null;
|
|
47
|
-
decimals: number;
|
|
48
|
-
};
|
|
49
|
-
endTime: string;
|
|
50
|
-
fulfiller: string | null;
|
|
51
39
|
orderHash: string;
|
|
52
|
-
|
|
53
|
-
txHash: {
|
|
54
|
-
created: string | null;
|
|
55
|
-
fulfilled: string | null;
|
|
56
|
-
cancelled: string | null;
|
|
57
|
-
};
|
|
58
|
-
token: {
|
|
59
|
-
name: string | null;
|
|
60
|
-
description: string | null;
|
|
61
|
-
image: string | null;
|
|
62
|
-
animationUrl: string | null;
|
|
63
|
-
} | null;
|
|
40
|
+
offerer: string;
|
|
64
41
|
offer: {
|
|
65
|
-
token: string;
|
|
66
42
|
itemType: string;
|
|
43
|
+
token: string;
|
|
67
44
|
identifier: string;
|
|
68
45
|
startAmount: string;
|
|
69
46
|
endAmount: string;
|
|
70
47
|
};
|
|
71
|
-
id: string;
|
|
72
48
|
consideration: {
|
|
73
|
-
recipient: string;
|
|
74
|
-
token: string;
|
|
75
49
|
itemType: string;
|
|
50
|
+
token: string;
|
|
76
51
|
identifier: string;
|
|
77
52
|
startAmount: string;
|
|
78
53
|
endAmount: string;
|
|
54
|
+
recipient: string;
|
|
79
55
|
};
|
|
56
|
+
startTime: string;
|
|
57
|
+
endTime: string;
|
|
58
|
+
status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
|
|
59
|
+
fulfiller: string | null;
|
|
60
|
+
nftContract: string | null;
|
|
80
61
|
nftTokenId: string | null;
|
|
62
|
+
price: {
|
|
63
|
+
raw: string | null;
|
|
64
|
+
formatted: string | null;
|
|
65
|
+
currency: string | null;
|
|
66
|
+
decimals: number;
|
|
67
|
+
};
|
|
68
|
+
txHash: {
|
|
69
|
+
created: string | null;
|
|
70
|
+
fulfilled: string | null;
|
|
71
|
+
cancelled: string | null;
|
|
72
|
+
};
|
|
81
73
|
createdBlockNumber: string;
|
|
82
74
|
remainingAmount: string | null;
|
|
83
75
|
createdAt: string;
|
|
84
76
|
updatedAt: string;
|
|
77
|
+
token: {
|
|
78
|
+
name: string | null;
|
|
79
|
+
image: string | null;
|
|
80
|
+
description: string | null;
|
|
81
|
+
animationUrl: string | null;
|
|
82
|
+
} | null;
|
|
85
83
|
parentOrderHash?: string | null | undefined;
|
|
86
84
|
counterOfferMessage?: string | null | undefined;
|
|
87
85
|
hasActiveCounterOffer?: boolean | undefined;
|
|
88
86
|
}[];
|
|
87
|
+
createdAt: string;
|
|
88
|
+
updatedAt: string;
|
|
89
89
|
holderCount?: number | undefined;
|
|
90
90
|
supply?: string | undefined;
|
|
91
91
|
}[];
|
|
@@ -93,87 +93,88 @@ declare function useTokensByIpType(ipTypeSlug: string | null, page?: number, lim
|
|
|
93
93
|
isLoading: boolean;
|
|
94
94
|
error: any;
|
|
95
95
|
mutate: swr.KeyedMutator<ApiResponse<{
|
|
96
|
+
id: string;
|
|
96
97
|
chain: string;
|
|
98
|
+
contractAddress: string;
|
|
97
99
|
tokenId: string;
|
|
98
100
|
owner: string | null;
|
|
99
101
|
tokenUri: string | null;
|
|
100
|
-
contractAddress: string;
|
|
101
|
-
id: string;
|
|
102
|
-
createdAt: string;
|
|
103
|
-
updatedAt: string;
|
|
104
102
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
105
103
|
standard: "ERC721" | "ERC1155" | null;
|
|
106
104
|
metadata: {
|
|
107
105
|
name: string | null;
|
|
108
106
|
description: string | null;
|
|
109
107
|
image: string | null;
|
|
110
|
-
author: string | null;
|
|
111
108
|
animationUrl: string | null;
|
|
112
|
-
attributes:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
109
|
+
attributes: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
trait_type: string;
|
|
112
|
+
value: string | number | boolean;
|
|
113
|
+
display_type?: string | undefined;
|
|
114
|
+
}[] | null;
|
|
117
115
|
ipType: string | null;
|
|
118
116
|
licenseType: string | null;
|
|
119
117
|
commercialUse: boolean | null;
|
|
118
|
+
author: string | null;
|
|
120
119
|
externalUrl: string | null;
|
|
121
120
|
};
|
|
122
121
|
balances: {
|
|
123
|
-
amount: string;
|
|
124
122
|
owner: string;
|
|
123
|
+
amount: string;
|
|
125
124
|
}[] | null;
|
|
126
125
|
activeOrders: {
|
|
127
|
-
|
|
126
|
+
id: string;
|
|
128
127
|
chain: string;
|
|
129
|
-
offerer: string;
|
|
130
|
-
nftContract: string | null;
|
|
131
|
-
price: {
|
|
132
|
-
currency: string | null;
|
|
133
|
-
raw: string | null;
|
|
134
|
-
formatted: string | null;
|
|
135
|
-
decimals: number;
|
|
136
|
-
};
|
|
137
|
-
endTime: string;
|
|
138
|
-
fulfiller: string | null;
|
|
139
128
|
orderHash: string;
|
|
140
|
-
|
|
141
|
-
txHash: {
|
|
142
|
-
created: string | null;
|
|
143
|
-
fulfilled: string | null;
|
|
144
|
-
cancelled: string | null;
|
|
145
|
-
};
|
|
146
|
-
token: {
|
|
147
|
-
name: string | null;
|
|
148
|
-
description: string | null;
|
|
149
|
-
image: string | null;
|
|
150
|
-
animationUrl: string | null;
|
|
151
|
-
} | null;
|
|
129
|
+
offerer: string;
|
|
152
130
|
offer: {
|
|
153
|
-
token: string;
|
|
154
131
|
itemType: string;
|
|
132
|
+
token: string;
|
|
155
133
|
identifier: string;
|
|
156
134
|
startAmount: string;
|
|
157
135
|
endAmount: string;
|
|
158
136
|
};
|
|
159
|
-
id: string;
|
|
160
137
|
consideration: {
|
|
161
|
-
recipient: string;
|
|
162
|
-
token: string;
|
|
163
138
|
itemType: string;
|
|
139
|
+
token: string;
|
|
164
140
|
identifier: string;
|
|
165
141
|
startAmount: string;
|
|
166
142
|
endAmount: string;
|
|
143
|
+
recipient: string;
|
|
167
144
|
};
|
|
145
|
+
startTime: string;
|
|
146
|
+
endTime: string;
|
|
147
|
+
status: "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED";
|
|
148
|
+
fulfiller: string | null;
|
|
149
|
+
nftContract: string | null;
|
|
168
150
|
nftTokenId: string | null;
|
|
151
|
+
price: {
|
|
152
|
+
raw: string | null;
|
|
153
|
+
formatted: string | null;
|
|
154
|
+
currency: string | null;
|
|
155
|
+
decimals: number;
|
|
156
|
+
};
|
|
157
|
+
txHash: {
|
|
158
|
+
created: string | null;
|
|
159
|
+
fulfilled: string | null;
|
|
160
|
+
cancelled: string | null;
|
|
161
|
+
};
|
|
169
162
|
createdBlockNumber: string;
|
|
170
163
|
remainingAmount: string | null;
|
|
171
164
|
createdAt: string;
|
|
172
165
|
updatedAt: string;
|
|
166
|
+
token: {
|
|
167
|
+
name: string | null;
|
|
168
|
+
image: string | null;
|
|
169
|
+
description: string | null;
|
|
170
|
+
animationUrl: string | null;
|
|
171
|
+
} | null;
|
|
173
172
|
parentOrderHash?: string | null | undefined;
|
|
174
173
|
counterOfferMessage?: string | null | undefined;
|
|
175
174
|
hasActiveCounterOffer?: boolean | undefined;
|
|
176
175
|
}[];
|
|
176
|
+
createdAt: string;
|
|
177
|
+
updatedAt: string;
|
|
177
178
|
holderCount?: number | undefined;
|
|
178
179
|
supply?: string | undefined;
|
|
179
180
|
}[]>>;
|