@opensea/sdk 12.1.0 → 12.1.1
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/README.md +2 -2
- package/lib/api/accounts.js +1 -1
- package/lib/api/accounts.js.map +1 -1
- package/lib/api/api.d.ts +10 -0
- package/lib/api/api.js +20 -3
- package/lib/api/api.js.map +1 -1
- package/lib/api/apiPaths.d.ts +17 -0
- package/lib/api/apiPaths.js +87 -63
- package/lib/api/apiPaths.js.map +1 -1
- package/lib/api/walletAuth.js +31 -31
- package/lib/api/walletAuth.js.map +1 -1
- package/lib/types.d.ts +11 -3
- package/package.json +2 -2
- package/src/api/accounts.ts +1 -1
- package/src/api/api.ts +33 -3
- package/src/api/apiPaths.ts +87 -61
- package/src/api/walletAuth.ts +1 -2
- package/src/types.ts +12 -3
package/lib/api/apiPaths.js
CHANGED
|
@@ -1,39 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getProfileCollectionsPath = exports.getWalletTokenTransfersPath = exports.getWalletClosedPositionsPath = exports.getWalletPnlPath = exports.getProfileFavoritesPath = exports.getProfileListingsPath = exports.getProfileOffersPath = exports.getProfileOffersReceivedPath = exports.getPortfolioHistoryPath = exports.getPortfolioStatsPath = exports.getNFTAnalyticsPath = exports.getNFTOwnersPath = exports.getTokenLiquidityPoolsPath = exports.getTokenHoldersPath = exports.getAccountTokenActivityPath = exports.getTokenActivityStatsPath = exports.getTokenActivityPath = exports.getTokenOhlcvPath = exports.getTokenPriceHistoryPath = exports.getCollectionFloorPricesPath = exports.getCollectionHoldersPath = exports.getCollectionOfferAggregatesPath = exports.getTransferAssetsPath = exports.getDeployDropReceiptPath = exports.getDeployDropPath = exports.getCreateListingActionsPath = exports.getBatchCollectionsPath = exports.getBatchNFTsPath = exports.getBatchTokensPath = exports.getInstantApiKeyPath = exports.getCrossChainFulfillmentDataPath = exports.getTokenGroupPath = exports.getTokenGroupsPath = exports.getNFTMetadataPath = exports.getNFTCollectionPath = exports.getResolveAccountPath = exports.getTopCollectionsPath = exports.getTrendingCollectionsPath = exports.getCrossChainDropMintPath = void 0;
|
|
3
|
+
exports.getDropPath = exports.getDropsPath = exports.getValidateMetadataPath = exports.getAccountTokensPath = exports.getChainsPath = exports.getSearchPath = exports.getTokenPath = exports.getSwapQuotePath = exports.getTopTokensPath = exports.getTrendingTokensPath = exports.getTraitsPath = exports.getContractPath = exports.getEventsByNFTAPIPath = exports.getEventsByCollectionAPIPath = exports.getEventsByAccountAPIPath = exports.getEventsAPIPath = exports.getTransactionReceiptPath = exports.getSwapExecutePath = exports.getSweepListingsPath = exports.getOffersByNFTPath = exports.getTraitOffersPath = exports.getCreateOfferFulfillmentActionsPath = exports.getCreateOfferActionsPath = exports.getCreateListingFulfillmentActionsPath = exports.getCreateCancelOrderActionsPath = exports.getCancelOrderPath = exports.getOrderByHashPath = exports.getRefreshMetadataPath = exports.getNFTPath = exports.getListNFTsByAccountPath = exports.getListNFTsByContractPath = exports.getListNFTsByCollectionPath = exports.getCollectionOffersPath = exports.getPostCollectionOfferPath = exports.getBuildOfferPath = exports.getAgentProfileRelationshipsPath = exports.getAccountPath = exports.getPaymentTokenPath = exports.getCollectionStatsPath = exports.getCollectionsPath = exports.getCollectionPath = exports.getBestListingsAPIPath = exports.getBestListingAPIPath = exports.getBestOfferAPIPath = exports.getAllListingsAPIPath = exports.getAllOffersAPIPath = exports.getPostOfferPath = exports.getPostListingPath = exports.segment = exports.API_V2_PREFIX = void 0;
|
|
4
|
+
exports.getProfileCollectionsPath = exports.getWalletTokenTransfersPath = exports.getWalletClosedPositionsPath = exports.getWalletPnlPath = exports.getProfileFavoritesPath = exports.getProfileListingsPath = exports.getProfileOffersPath = exports.getProfileOffersReceivedPath = exports.getPortfolioHistoryPath = exports.getPortfolioStatsPath = exports.getNFTAnalyticsPath = exports.getNFTOwnersPath = exports.getTokenLiquidityPoolsPath = exports.getTokenHoldersPath = exports.getAccountTokenActivityPath = exports.getTokenActivityStatsPath = exports.getTokenActivityPath = exports.getTokenOhlcvPath = exports.getTokenPriceHistoryPath = exports.getCollectionFloorPricesPath = exports.getCollectionHoldersPath = exports.getCollectionOfferAggregatesPath = exports.getTransferAssetsPath = exports.getDeployDropReceiptPath = exports.getDeployDropPath = exports.getCreateListingActionsPath = exports.getBatchCollectionsPath = exports.getBatchNFTsPath = exports.getBatchTokensPath = exports.getInstantApiKeyPath = exports.getCrossChainFulfillmentDataPath = exports.getTokenGroupPath = exports.getTokenGroupsPath = exports.getNFTMetadataPath = exports.getNFTCollectionPath = exports.getResolveAccountPath = exports.getTopCollectionsPath = exports.getTrendingCollectionsPath = exports.getCrossChainDropMintPath = exports.getDropMintPath = void 0;
|
|
5
5
|
/** Base path prefix for all OpenSea API v2 endpoints. */
|
|
6
6
|
exports.API_V2_PREFIX = "/api/v2";
|
|
7
|
+
/**
|
|
8
|
+
* Encodes a single path segment.
|
|
9
|
+
*
|
|
10
|
+
* Every builder below interpolates caller-supplied values into a URL path. Without encoding, a
|
|
11
|
+
* value containing `/` re-targets the request at a different endpoint once the URL is normalized,
|
|
12
|
+
* and a consumer that caches by path collides with the endpoint it lands on. Encoding is a no-op
|
|
13
|
+
* for every legitimate value: collection slugs, hex addresses, base58 addresses, token ids and
|
|
14
|
+
* transaction hashes all survive `encodeURIComponent` unchanged.
|
|
15
|
+
*
|
|
16
|
+
* `.` and `..` are rejected rather than encoded, because encoding cannot neutralize them. The
|
|
17
|
+
* WHATWG URL parser decodes percent-escapes before it removes dot segments, so `%2E%2E` collapses
|
|
18
|
+
* exactly as `..` does, and there is no spelling of a bare dot segment that survives as a literal.
|
|
19
|
+
* No collection slug, address, token id or transaction hash is `.` or `..`, so a caller reaching
|
|
20
|
+
* this is passing through unvalidated input and should hear about it rather than silently request
|
|
21
|
+
* a different endpoint.
|
|
22
|
+
*/
|
|
23
|
+
const segment = (value) => {
|
|
24
|
+
const raw = String(value);
|
|
25
|
+
if (raw === "." || raw === "..") {
|
|
26
|
+
throw new RangeError(`Invalid path segment: ${JSON.stringify(raw)} would traverse to a different endpoint`);
|
|
27
|
+
}
|
|
28
|
+
return encodeURIComponent(raw);
|
|
29
|
+
};
|
|
30
|
+
exports.segment = segment;
|
|
7
31
|
const getPostListingPath = (chain, protocol) => {
|
|
8
|
-
return `${exports.API_V2_PREFIX}/orders/${chain}/${protocol}/listings`;
|
|
32
|
+
return `${exports.API_V2_PREFIX}/orders/${(0, exports.segment)(chain)}/${(0, exports.segment)(protocol)}/listings`;
|
|
9
33
|
};
|
|
10
34
|
exports.getPostListingPath = getPostListingPath;
|
|
11
35
|
const getPostOfferPath = (chain, protocol) => {
|
|
12
|
-
return `${exports.API_V2_PREFIX}/orders/${chain}/${protocol}/offers`;
|
|
36
|
+
return `${exports.API_V2_PREFIX}/orders/${(0, exports.segment)(chain)}/${(0, exports.segment)(protocol)}/offers`;
|
|
13
37
|
};
|
|
14
38
|
exports.getPostOfferPath = getPostOfferPath;
|
|
15
39
|
const getAllOffersAPIPath = (collectionSlug) => {
|
|
16
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/all`;
|
|
40
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/all`;
|
|
17
41
|
};
|
|
18
42
|
exports.getAllOffersAPIPath = getAllOffersAPIPath;
|
|
19
43
|
const getAllListingsAPIPath = (collectionSlug) => {
|
|
20
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/all`;
|
|
44
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/all`;
|
|
21
45
|
};
|
|
22
46
|
exports.getAllListingsAPIPath = getAllListingsAPIPath;
|
|
23
47
|
const getBestOfferAPIPath = (collectionSlug, tokenId) => {
|
|
24
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/nfts/${tokenId}/best`;
|
|
48
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(tokenId)}/best`;
|
|
25
49
|
};
|
|
26
50
|
exports.getBestOfferAPIPath = getBestOfferAPIPath;
|
|
27
51
|
const getBestListingAPIPath = (collectionSlug, tokenId) => {
|
|
28
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/nfts/${tokenId}/best`;
|
|
52
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(tokenId)}/best`;
|
|
29
53
|
};
|
|
30
54
|
exports.getBestListingAPIPath = getBestListingAPIPath;
|
|
31
55
|
const getBestListingsAPIPath = (collectionSlug) => {
|
|
32
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/best`;
|
|
56
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/best`;
|
|
33
57
|
};
|
|
34
58
|
exports.getBestListingsAPIPath = getBestListingsAPIPath;
|
|
35
59
|
const getCollectionPath = (slug) => {
|
|
36
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}`;
|
|
60
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}`;
|
|
37
61
|
};
|
|
38
62
|
exports.getCollectionPath = getCollectionPath;
|
|
39
63
|
const getCollectionsPath = () => {
|
|
@@ -41,19 +65,19 @@ const getCollectionsPath = () => {
|
|
|
41
65
|
};
|
|
42
66
|
exports.getCollectionsPath = getCollectionsPath;
|
|
43
67
|
const getCollectionStatsPath = (slug) => {
|
|
44
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/stats`;
|
|
68
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/stats`;
|
|
45
69
|
};
|
|
46
70
|
exports.getCollectionStatsPath = getCollectionStatsPath;
|
|
47
71
|
const getPaymentTokenPath = (chain, address) => {
|
|
48
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/payment_token/${address}`;
|
|
72
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/payment_token/${(0, exports.segment)(address)}`;
|
|
49
73
|
};
|
|
50
74
|
exports.getPaymentTokenPath = getPaymentTokenPath;
|
|
51
75
|
const getAccountPath = (address) => {
|
|
52
|
-
return `${exports.API_V2_PREFIX}/accounts/${address}`;
|
|
76
|
+
return `${exports.API_V2_PREFIX}/accounts/${(0, exports.segment)(address)}`;
|
|
53
77
|
};
|
|
54
78
|
exports.getAccountPath = getAccountPath;
|
|
55
79
|
const getAgentProfileRelationshipsPath = (addressOrUsername) => {
|
|
56
|
-
return `${exports.API_V2_PREFIX}/accounts/${addressOrUsername}/agent-relationships`;
|
|
80
|
+
return `${exports.API_V2_PREFIX}/accounts/${(0, exports.segment)(addressOrUsername)}/agent-relationships`;
|
|
57
81
|
};
|
|
58
82
|
exports.getAgentProfileRelationshipsPath = getAgentProfileRelationshipsPath;
|
|
59
83
|
const getBuildOfferPath = () => {
|
|
@@ -65,39 +89,39 @@ const getPostCollectionOfferPath = () => {
|
|
|
65
89
|
};
|
|
66
90
|
exports.getPostCollectionOfferPath = getPostCollectionOfferPath;
|
|
67
91
|
const getCollectionOffersPath = (slug) => {
|
|
68
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${slug}`;
|
|
92
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(slug)}`;
|
|
69
93
|
};
|
|
70
94
|
exports.getCollectionOffersPath = getCollectionOffersPath;
|
|
71
95
|
const getListNFTsByCollectionPath = (slug) => {
|
|
72
|
-
return `${exports.API_V2_PREFIX}/collection/${slug}/nfts`;
|
|
96
|
+
return `${exports.API_V2_PREFIX}/collection/${(0, exports.segment)(slug)}/nfts`;
|
|
73
97
|
};
|
|
74
98
|
exports.getListNFTsByCollectionPath = getListNFTsByCollectionPath;
|
|
75
99
|
const getListNFTsByContractPath = (chain, address) => {
|
|
76
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts`;
|
|
100
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts`;
|
|
77
101
|
};
|
|
78
102
|
exports.getListNFTsByContractPath = getListNFTsByContractPath;
|
|
79
103
|
const getListNFTsByAccountPath = (chain, address) => {
|
|
80
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/account/${address}/nfts`;
|
|
104
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/account/${(0, exports.segment)(address)}/nfts`;
|
|
81
105
|
};
|
|
82
106
|
exports.getListNFTsByAccountPath = getListNFTsByAccountPath;
|
|
83
107
|
const getNFTPath = (chain, address, identifier) => {
|
|
84
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}`;
|
|
108
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
85
109
|
};
|
|
86
110
|
exports.getNFTPath = getNFTPath;
|
|
87
111
|
const getRefreshMetadataPath = (chain, address, identifier) => {
|
|
88
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/refresh`;
|
|
112
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/refresh`;
|
|
89
113
|
};
|
|
90
114
|
exports.getRefreshMetadataPath = getRefreshMetadataPath;
|
|
91
115
|
const getOrderByHashPath = (chain, protocolAddress, orderHash) => {
|
|
92
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderHash}`;
|
|
116
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderHash)}`;
|
|
93
117
|
};
|
|
94
118
|
exports.getOrderByHashPath = getOrderByHashPath;
|
|
95
119
|
const getCancelOrderPath = (chain, protocolAddress, orderHash) => {
|
|
96
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderHash}/cancel`;
|
|
120
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderHash)}/cancel`;
|
|
97
121
|
};
|
|
98
122
|
exports.getCancelOrderPath = getCancelOrderPath;
|
|
99
123
|
const getCreateCancelOrderActionsPath = (chain, protocolAddress, orderIdentifier) => {
|
|
100
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderIdentifier}/cancel/actions`;
|
|
124
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderIdentifier)}/cancel/actions`;
|
|
101
125
|
};
|
|
102
126
|
exports.getCreateCancelOrderActionsPath = getCreateCancelOrderActionsPath;
|
|
103
127
|
const getCreateListingFulfillmentActionsPath = () => {
|
|
@@ -113,11 +137,11 @@ const getCreateOfferFulfillmentActionsPath = () => {
|
|
|
113
137
|
};
|
|
114
138
|
exports.getCreateOfferFulfillmentActionsPath = getCreateOfferFulfillmentActionsPath;
|
|
115
139
|
const getTraitOffersPath = (collectionSlug) => {
|
|
116
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/traits`;
|
|
140
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/traits`;
|
|
117
141
|
};
|
|
118
142
|
exports.getTraitOffersPath = getTraitOffersPath;
|
|
119
143
|
const getOffersByNFTPath = (collectionSlug, identifier) => {
|
|
120
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/nfts/${identifier}`;
|
|
144
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
121
145
|
};
|
|
122
146
|
exports.getOffersByNFTPath = getOffersByNFTPath;
|
|
123
147
|
const getSweepListingsPath = () => {
|
|
@@ -137,23 +161,23 @@ const getEventsAPIPath = () => {
|
|
|
137
161
|
};
|
|
138
162
|
exports.getEventsAPIPath = getEventsAPIPath;
|
|
139
163
|
const getEventsByAccountAPIPath = (address) => {
|
|
140
|
-
return `${exports.API_V2_PREFIX}/events/accounts/${address}`;
|
|
164
|
+
return `${exports.API_V2_PREFIX}/events/accounts/${(0, exports.segment)(address)}`;
|
|
141
165
|
};
|
|
142
166
|
exports.getEventsByAccountAPIPath = getEventsByAccountAPIPath;
|
|
143
167
|
const getEventsByCollectionAPIPath = (collectionSlug) => {
|
|
144
|
-
return `${exports.API_V2_PREFIX}/events/collection/${collectionSlug}`;
|
|
168
|
+
return `${exports.API_V2_PREFIX}/events/collection/${(0, exports.segment)(collectionSlug)}`;
|
|
145
169
|
};
|
|
146
170
|
exports.getEventsByCollectionAPIPath = getEventsByCollectionAPIPath;
|
|
147
171
|
const getEventsByNFTAPIPath = (chain, address, identifier) => {
|
|
148
|
-
return `${exports.API_V2_PREFIX}/events/chain/${chain}/contract/${address}/nfts/${identifier}`;
|
|
172
|
+
return `${exports.API_V2_PREFIX}/events/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
149
173
|
};
|
|
150
174
|
exports.getEventsByNFTAPIPath = getEventsByNFTAPIPath;
|
|
151
175
|
const getContractPath = (chain, address) => {
|
|
152
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}`;
|
|
176
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}`;
|
|
153
177
|
};
|
|
154
178
|
exports.getContractPath = getContractPath;
|
|
155
179
|
const getTraitsPath = (collectionSlug) => {
|
|
156
|
-
return `${exports.API_V2_PREFIX}/traits/${collectionSlug}`;
|
|
180
|
+
return `${exports.API_V2_PREFIX}/traits/${(0, exports.segment)(collectionSlug)}`;
|
|
157
181
|
};
|
|
158
182
|
exports.getTraitsPath = getTraitsPath;
|
|
159
183
|
const getTrendingTokensPath = () => {
|
|
@@ -169,7 +193,7 @@ const getSwapQuotePath = () => {
|
|
|
169
193
|
};
|
|
170
194
|
exports.getSwapQuotePath = getSwapQuotePath;
|
|
171
195
|
const getTokenPath = (chain, address) => {
|
|
172
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}`;
|
|
196
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}`;
|
|
173
197
|
};
|
|
174
198
|
exports.getTokenPath = getTokenPath;
|
|
175
199
|
const getSearchPath = () => {
|
|
@@ -181,11 +205,11 @@ const getChainsPath = () => {
|
|
|
181
205
|
};
|
|
182
206
|
exports.getChainsPath = getChainsPath;
|
|
183
207
|
const getAccountTokensPath = (address) => {
|
|
184
|
-
return `${exports.API_V2_PREFIX}/account/${address}/tokens`;
|
|
208
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/tokens`;
|
|
185
209
|
};
|
|
186
210
|
exports.getAccountTokensPath = getAccountTokensPath;
|
|
187
211
|
const getValidateMetadataPath = (chain, address, identifier) => {
|
|
188
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/validate-metadata`;
|
|
212
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/validate-metadata`;
|
|
189
213
|
};
|
|
190
214
|
exports.getValidateMetadataPath = getValidateMetadataPath;
|
|
191
215
|
const getDropsPath = () => {
|
|
@@ -193,15 +217,15 @@ const getDropsPath = () => {
|
|
|
193
217
|
};
|
|
194
218
|
exports.getDropsPath = getDropsPath;
|
|
195
219
|
const getDropPath = (slug) => {
|
|
196
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}`;
|
|
220
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}`;
|
|
197
221
|
};
|
|
198
222
|
exports.getDropPath = getDropPath;
|
|
199
223
|
const getDropMintPath = (slug) => {
|
|
200
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}/mint`;
|
|
224
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}/mint`;
|
|
201
225
|
};
|
|
202
226
|
exports.getDropMintPath = getDropMintPath;
|
|
203
227
|
const getCrossChainDropMintPath = (slug) => {
|
|
204
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}/cross_chain_mint`;
|
|
228
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}/cross_chain_mint`;
|
|
205
229
|
};
|
|
206
230
|
exports.getCrossChainDropMintPath = getCrossChainDropMintPath;
|
|
207
231
|
const getTrendingCollectionsPath = () => {
|
|
@@ -213,15 +237,15 @@ const getTopCollectionsPath = () => {
|
|
|
213
237
|
};
|
|
214
238
|
exports.getTopCollectionsPath = getTopCollectionsPath;
|
|
215
239
|
const getResolveAccountPath = (identifier) => {
|
|
216
|
-
return `${exports.API_V2_PREFIX}/accounts/resolve/${identifier}`;
|
|
240
|
+
return `${exports.API_V2_PREFIX}/accounts/resolve/${(0, exports.segment)(identifier)}`;
|
|
217
241
|
};
|
|
218
242
|
exports.getResolveAccountPath = getResolveAccountPath;
|
|
219
243
|
const getNFTCollectionPath = (chain, address, identifier) => {
|
|
220
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/collection`;
|
|
244
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/collection`;
|
|
221
245
|
};
|
|
222
246
|
exports.getNFTCollectionPath = getNFTCollectionPath;
|
|
223
247
|
const getNFTMetadataPath = (chain, contractAddress, tokenId) => {
|
|
224
|
-
return `${exports.API_V2_PREFIX}/metadata/${chain}/${contractAddress}/${tokenId}`;
|
|
248
|
+
return `${exports.API_V2_PREFIX}/metadata/${(0, exports.segment)(chain)}/${(0, exports.segment)(contractAddress)}/${(0, exports.segment)(tokenId)}`;
|
|
225
249
|
};
|
|
226
250
|
exports.getNFTMetadataPath = getNFTMetadataPath;
|
|
227
251
|
const getTokenGroupsPath = () => {
|
|
@@ -229,7 +253,7 @@ const getTokenGroupsPath = () => {
|
|
|
229
253
|
};
|
|
230
254
|
exports.getTokenGroupsPath = getTokenGroupsPath;
|
|
231
255
|
const getTokenGroupPath = (slug) => {
|
|
232
|
-
return `${exports.API_V2_PREFIX}/token-groups/${slug}`;
|
|
256
|
+
return `${exports.API_V2_PREFIX}/token-groups/${(0, exports.segment)(slug)}`;
|
|
233
257
|
};
|
|
234
258
|
exports.getTokenGroupPath = getTokenGroupPath;
|
|
235
259
|
const getCrossChainFulfillmentDataPath = () => {
|
|
@@ -264,7 +288,7 @@ const getDeployDropPath = () => {
|
|
|
264
288
|
};
|
|
265
289
|
exports.getDeployDropPath = getDeployDropPath;
|
|
266
290
|
const getDeployDropReceiptPath = (chain, txHash) => {
|
|
267
|
-
return `${exports.API_V2_PREFIX}/drops/deploy/${chain}/${txHash}/receipt`;
|
|
291
|
+
return `${exports.API_V2_PREFIX}/drops/deploy/${(0, exports.segment)(chain)}/${(0, exports.segment)(txHash)}/receipt`;
|
|
268
292
|
};
|
|
269
293
|
exports.getDeployDropReceiptPath = getDeployDropReceiptPath;
|
|
270
294
|
// ── Assets transfer ─────────────────────────────────────────────────
|
|
@@ -274,94 +298,94 @@ const getTransferAssetsPath = () => {
|
|
|
274
298
|
exports.getTransferAssetsPath = getTransferAssetsPath;
|
|
275
299
|
// ── Collection analytics ────────────────────────────────────────────
|
|
276
300
|
const getCollectionOfferAggregatesPath = (slug) => {
|
|
277
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/offer_aggregates`;
|
|
301
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/offer_aggregates`;
|
|
278
302
|
};
|
|
279
303
|
exports.getCollectionOfferAggregatesPath = getCollectionOfferAggregatesPath;
|
|
280
304
|
const getCollectionHoldersPath = (slug) => {
|
|
281
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/holders`;
|
|
305
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/holders`;
|
|
282
306
|
};
|
|
283
307
|
exports.getCollectionHoldersPath = getCollectionHoldersPath;
|
|
284
308
|
const getCollectionFloorPricesPath = (slug) => {
|
|
285
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/floor_prices`;
|
|
309
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/floor_prices`;
|
|
286
310
|
};
|
|
287
311
|
exports.getCollectionFloorPricesPath = getCollectionFloorPricesPath;
|
|
288
312
|
// ── Token analytics ─────────────────────────────────────────────────
|
|
289
313
|
const getTokenPriceHistoryPath = (chain, address) => {
|
|
290
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/price_history`;
|
|
314
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/price_history`;
|
|
291
315
|
};
|
|
292
316
|
exports.getTokenPriceHistoryPath = getTokenPriceHistoryPath;
|
|
293
317
|
const getTokenOhlcvPath = (chain, address) => {
|
|
294
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/ohlcv`;
|
|
318
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/ohlcv`;
|
|
295
319
|
};
|
|
296
320
|
exports.getTokenOhlcvPath = getTokenOhlcvPath;
|
|
297
321
|
const getTokenActivityPath = (chain, address) => {
|
|
298
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/activity`;
|
|
322
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/activity`;
|
|
299
323
|
};
|
|
300
324
|
exports.getTokenActivityPath = getTokenActivityPath;
|
|
301
325
|
const getTokenActivityStatsPath = (chain, address) => {
|
|
302
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/activity/stats`;
|
|
326
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/activity/stats`;
|
|
303
327
|
};
|
|
304
328
|
exports.getTokenActivityStatsPath = getTokenActivityStatsPath;
|
|
305
329
|
const getAccountTokenActivityPath = (address) => {
|
|
306
|
-
return `${exports.API_V2_PREFIX}/account/${address}/token-activity`;
|
|
330
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/token-activity`;
|
|
307
331
|
};
|
|
308
332
|
exports.getAccountTokenActivityPath = getAccountTokenActivityPath;
|
|
309
333
|
const getTokenHoldersPath = (chain, address) => {
|
|
310
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/holders`;
|
|
334
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/holders`;
|
|
311
335
|
};
|
|
312
336
|
exports.getTokenHoldersPath = getTokenHoldersPath;
|
|
313
337
|
const getTokenLiquidityPoolsPath = (chain, address) => {
|
|
314
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/liquidity-pools`;
|
|
338
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/liquidity-pools`;
|
|
315
339
|
};
|
|
316
340
|
exports.getTokenLiquidityPoolsPath = getTokenLiquidityPoolsPath;
|
|
317
341
|
// ── NFT analytics ───────────────────────────────────────────────────
|
|
318
342
|
const getNFTOwnersPath = (chain, address, identifier) => {
|
|
319
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/owners`;
|
|
343
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/owners`;
|
|
320
344
|
};
|
|
321
345
|
exports.getNFTOwnersPath = getNFTOwnersPath;
|
|
322
346
|
const getNFTAnalyticsPath = (chain, address, identifier) => {
|
|
323
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/analytics`;
|
|
347
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/analytics`;
|
|
324
348
|
};
|
|
325
349
|
exports.getNFTAnalyticsPath = getNFTAnalyticsPath;
|
|
326
350
|
// ── Account portfolio / profile ─────────────────────────────────────
|
|
327
351
|
const getPortfolioStatsPath = (address) => {
|
|
328
|
-
return `${exports.API_V2_PREFIX}/account/${address}/portfolio`;
|
|
352
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/portfolio`;
|
|
329
353
|
};
|
|
330
354
|
exports.getPortfolioStatsPath = getPortfolioStatsPath;
|
|
331
355
|
const getPortfolioHistoryPath = (address) => {
|
|
332
|
-
return `${exports.API_V2_PREFIX}/account/${address}/portfolio/history`;
|
|
356
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/portfolio/history`;
|
|
333
357
|
};
|
|
334
358
|
exports.getPortfolioHistoryPath = getPortfolioHistoryPath;
|
|
335
359
|
const getProfileOffersReceivedPath = (address) => {
|
|
336
|
-
return `${exports.API_V2_PREFIX}/account/${address}/offers_received`;
|
|
360
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/offers_received`;
|
|
337
361
|
};
|
|
338
362
|
exports.getProfileOffersReceivedPath = getProfileOffersReceivedPath;
|
|
339
363
|
const getProfileOffersPath = (address) => {
|
|
340
|
-
return `${exports.API_V2_PREFIX}/account/${address}/offers`;
|
|
364
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/offers`;
|
|
341
365
|
};
|
|
342
366
|
exports.getProfileOffersPath = getProfileOffersPath;
|
|
343
367
|
const getProfileListingsPath = (address) => {
|
|
344
|
-
return `${exports.API_V2_PREFIX}/account/${address}/listings`;
|
|
368
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/listings`;
|
|
345
369
|
};
|
|
346
370
|
exports.getProfileListingsPath = getProfileListingsPath;
|
|
347
371
|
const getProfileFavoritesPath = (address) => {
|
|
348
|
-
return `${exports.API_V2_PREFIX}/account/${address}/favorites`;
|
|
372
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/favorites`;
|
|
349
373
|
};
|
|
350
374
|
exports.getProfileFavoritesPath = getProfileFavoritesPath;
|
|
351
375
|
const getWalletPnlPath = (address) => {
|
|
352
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl`;
|
|
376
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl`;
|
|
353
377
|
};
|
|
354
378
|
exports.getWalletPnlPath = getWalletPnlPath;
|
|
355
379
|
const getWalletClosedPositionsPath = (address) => {
|
|
356
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl/closed-positions`;
|
|
380
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl/closed-positions`;
|
|
357
381
|
};
|
|
358
382
|
exports.getWalletClosedPositionsPath = getWalletClosedPositionsPath;
|
|
359
383
|
const getWalletTokenTransfersPath = (address) => {
|
|
360
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl/token-transfers`;
|
|
384
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl/token-transfers`;
|
|
361
385
|
};
|
|
362
386
|
exports.getWalletTokenTransfersPath = getWalletTokenTransfersPath;
|
|
363
387
|
const getProfileCollectionsPath = (address) => {
|
|
364
|
-
return `${exports.API_V2_PREFIX}/account/${address}/collections`;
|
|
388
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/collections`;
|
|
365
389
|
};
|
|
366
390
|
exports.getProfileCollectionsPath = getProfileCollectionsPath;
|
|
367
391
|
//# sourceMappingURL=apiPaths.js.map
|
package/lib/api/apiPaths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiPaths.js","sourceRoot":"","sources":["../../src/api/apiPaths.ts"],"names":[],"mappings":";;;;AAGA,yDAAyD;AAC5C,QAAA,aAAa,GAAG,SAAS,CAAA;AAE/B,MAAM,kBAAkB,GAAG,CAAC,KAAY,EAAE,QAAuB,EAAE,EAAE;IAC1E,OAAO,GAAG,qBAAa,WAAW,KAAK,IAAI,QAAQ,WAAW,CAAA;AAChE,CAAC,CAAA;AAFY,QAAA,kBAAkB,sBAE9B;AAEM,MAAM,gBAAgB,GAAG,CAAC,KAAY,EAAE,QAAuB,EAAE,EAAE;IACxE,OAAO,GAAG,qBAAa,WAAW,KAAK,IAAI,QAAQ,SAAS,CAAA;AAC9D,CAAC,CAAA;AAFY,QAAA,gBAAgB,oBAE5B;AAEM,MAAM,mBAAmB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC5D,OAAO,GAAG,qBAAa,sBAAsB,cAAc,MAAM,CAAA;AACnE,CAAC,CAAA;AAFY,QAAA,mBAAmB,uBAE/B;AAEM,MAAM,qBAAqB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC9D,OAAO,GAAG,qBAAa,wBAAwB,cAAc,MAAM,CAAA;AACrE,CAAC,CAAA;AAFY,QAAA,qBAAqB,yBAEjC;AAEM,MAAM,mBAAmB,GAAG,CACjC,cAAsB,EACtB,OAAwB,EACxB,EAAE;IACF,OAAO,GAAG,qBAAa,sBAAsB,cAAc,SAAS,OAAO,OAAO,CAAA;AACpF,CAAC,CAAA;AALY,QAAA,mBAAmB,uBAK/B;AAEM,MAAM,qBAAqB,GAAG,CACnC,cAAsB,EACtB,OAAwB,EACxB,EAAE;IACF,OAAO,GAAG,qBAAa,wBAAwB,cAAc,SAAS,OAAO,O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BAAgB,oBAE5B;AAEM,MAAM,4BAA4B,GAAG,CAAC,OAAe,EAAE,EAAE;IAC9D,OAAO,GAAG,qBAAa,YAAY,IAAA,eAAO,EAAC,OAAO,CAAC,uBAAuB,CAAA;AAC5E,CAAC,CAAA;AAFY,QAAA,4BAA4B,gCAExC;AAEM,MAAM,2BAA2B,GAAG,CAAC,OAAe,EAAE,EAAE;IAC7D,OAAO,GAAG,qBAAa,YAAY,IAAA,eAAO,EAAC,OAAO,CAAC,sBAAsB,CAAA;AAC3E,CAAC,CAAA;AAFY,QAAA,2BAA2B,+BAEvC;AAEM,MAAM,yBAAyB,GAAG,CAAC,OAAe,EAAE,EAAE;IAC3D,OAAO,GAAG,qBAAa,YAAY,IAAA,eAAO,EAAC,OAAO,CAAC,cAAc,CAAA;AACnE,CAAC,CAAA;AAFY,QAAA,yBAAyB,6BAErC"}
|
package/lib/api/walletAuth.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WalletAuthAPI = void 0;
|
|
4
|
-
const
|
|
4
|
+
const apiPaths_1 = require("./apiPaths");
|
|
5
5
|
/** Typed helpers for wallet-authenticated REST operations. */
|
|
6
6
|
class WalletAuthAPI {
|
|
7
7
|
fetcher;
|
|
@@ -9,16 +9,16 @@ class WalletAuthAPI {
|
|
|
9
9
|
this.fetcher = fetcher;
|
|
10
10
|
}
|
|
11
11
|
getDropEligibility(slug) {
|
|
12
|
-
return this.fetcher.get(`/api/v2/drops/${segment(slug)}/eligibility`);
|
|
12
|
+
return this.fetcher.get(`/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/eligibility`);
|
|
13
13
|
}
|
|
14
14
|
getFavorites(address, query) {
|
|
15
|
-
return this.fetcher.get(`/api/v2/account/${segment(address)}/favorites`, query);
|
|
15
|
+
return this.fetcher.get(`/api/v2/account/${(0, apiPaths_1.segment)(address)}/favorites`, query);
|
|
16
16
|
}
|
|
17
17
|
getTokenWatchlist(address) {
|
|
18
|
-
return this.fetcher.get(`/api/v2/account/${segment(address)}/token_watchlist`);
|
|
18
|
+
return this.fetcher.get(`/api/v2/account/${(0, apiPaths_1.segment)(address)}/token_watchlist`);
|
|
19
19
|
}
|
|
20
20
|
getPerpetualWatchlist(address) {
|
|
21
|
-
return this.fetcher.get(`/api/v2/account/${segment(address)}/perpetual_watchlist`);
|
|
21
|
+
return this.fetcher.get(`/api/v2/account/${(0, apiPaths_1.segment)(address)}/perpetual_watchlist`);
|
|
22
22
|
}
|
|
23
23
|
addWatchlistEntry(body) {
|
|
24
24
|
return this.fetcher.request("POST", "/api/v2/watchlist", body);
|
|
@@ -27,25 +27,25 @@ class WalletAuthAPI {
|
|
|
27
27
|
return this.fetcher.request("DELETE", "/api/v2/watchlist", body);
|
|
28
28
|
}
|
|
29
29
|
getAccountRelationship(addressOrUsername) {
|
|
30
|
-
return this.fetcher.get(`/api/v2/accounts/${segment(addressOrUsername)}/relationship`);
|
|
30
|
+
return this.fetcher.get(`/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/relationship`);
|
|
31
31
|
}
|
|
32
32
|
getAccountFollowing(addressOrUsername, query) {
|
|
33
|
-
return this.fetcher.get(`/api/v2/accounts/${segment(addressOrUsername)}/following`, query);
|
|
33
|
+
return this.fetcher.get(`/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/following`, query);
|
|
34
34
|
}
|
|
35
35
|
getAccountFollowers(addressOrUsername, query) {
|
|
36
|
-
return this.fetcher.get(`/api/v2/accounts/${segment(addressOrUsername)}/followers`, query);
|
|
36
|
+
return this.fetcher.get(`/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/followers`, query);
|
|
37
37
|
}
|
|
38
38
|
followAccount(addressOrUsername) {
|
|
39
|
-
return this.fetcher.request("POST", `/api/v2/accounts/${segment(addressOrUsername)}/follow`);
|
|
39
|
+
return this.fetcher.request("POST", `/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/follow`);
|
|
40
40
|
}
|
|
41
41
|
unfollowAccount(addressOrUsername) {
|
|
42
|
-
return this.fetcher.request("DELETE", `/api/v2/accounts/${segment(addressOrUsername)}/follow`);
|
|
42
|
+
return this.fetcher.request("DELETE", `/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/follow`);
|
|
43
43
|
}
|
|
44
44
|
watchAccount(addressOrUsername) {
|
|
45
|
-
return this.fetcher.request("POST", `/api/v2/accounts/${segment(addressOrUsername)}/watch`);
|
|
45
|
+
return this.fetcher.request("POST", `/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/watch`);
|
|
46
46
|
}
|
|
47
47
|
unwatchAccount(addressOrUsername) {
|
|
48
|
-
return this.fetcher.request("DELETE", `/api/v2/accounts/${segment(addressOrUsername)}/watch`);
|
|
48
|
+
return this.fetcher.request("DELETE", `/api/v2/accounts/${(0, apiPaths_1.segment)(addressOrUsername)}/watch`);
|
|
49
49
|
}
|
|
50
50
|
listSavedTools(query) {
|
|
51
51
|
return this.fetcher.get("/api/v2/saved-tools", query);
|
|
@@ -70,22 +70,22 @@ class WalletAuthAPI {
|
|
|
70
70
|
* the signature, turning a signed cancel into an unsigned one. Sent verbatim.
|
|
71
71
|
*/
|
|
72
72
|
cancelOrder(chain, protocolAddress, orderHash, body) {
|
|
73
|
-
return this.fetcher.request("POST", `/api/v2/orders/chain/${segment(chain)}/protocol/${segment(protocolAddress)}/${segment(orderHash)}/cancel`, body, undefined, { snakeizeBody: false });
|
|
73
|
+
return this.fetcher.request("POST", `/api/v2/orders/chain/${(0, apiPaths_1.segment)(chain)}/protocol/${(0, apiPaths_1.segment)(protocolAddress)}/${(0, apiPaths_1.segment)(orderHash)}/cancel`, body, undefined, { snakeizeBody: false });
|
|
74
74
|
}
|
|
75
75
|
saveDropEdits(slug, body) {
|
|
76
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}`, body);
|
|
76
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}`, body);
|
|
77
77
|
}
|
|
78
78
|
savePrerevealDropItem(slug, body) {
|
|
79
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/prereveal-item`, body);
|
|
79
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/prereveal-item`, body);
|
|
80
80
|
}
|
|
81
81
|
saveSelfMintDropItem(slug, body) {
|
|
82
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/items`, body);
|
|
82
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/items`, body);
|
|
83
83
|
}
|
|
84
84
|
updateSelfMintDropItem(slug, tokenId, body) {
|
|
85
|
-
return this.fetcher.request("PUT", `/api/v2/drops/${segment(slug)}/items/${segment(tokenId)}`, body);
|
|
85
|
+
return this.fetcher.request("PUT", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/items/${(0, apiPaths_1.segment)(tokenId)}`, body);
|
|
86
86
|
}
|
|
87
87
|
updateDropItem(slug, tokenId, body) {
|
|
88
|
-
return this.fetcher.request("PATCH", `/api/v2/drops/${segment(slug)}/items/${segment(tokenId)}`, body);
|
|
88
|
+
return this.fetcher.request("PATCH", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/items/${(0, apiPaths_1.segment)(tokenId)}`, body);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* `UploadContext.fields` is an opaque signed multipart field map that the
|
|
@@ -94,10 +94,10 @@ class WalletAuthAPI {
|
|
|
94
94
|
* `successActionStatus` and the form no longer matches the signed policy.
|
|
95
95
|
*/
|
|
96
96
|
createDropItemMediaUpload(slug, body) {
|
|
97
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/items/media`, body, undefined, { camelizeResponse: false });
|
|
97
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/items/media`, body, undefined, { camelizeResponse: false });
|
|
98
98
|
}
|
|
99
99
|
saveDropItemMedia(slug, body) {
|
|
100
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/items/media/save`, body);
|
|
100
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/items/media/save`, body);
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* `UploadContext.fields` is an opaque signed multipart field map that the
|
|
@@ -106,19 +106,19 @@ class WalletAuthAPI {
|
|
|
106
106
|
* `successActionStatus` and the form no longer matches the signed policy.
|
|
107
107
|
*/
|
|
108
108
|
createDropAllowlistUpload(slug) {
|
|
109
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/allowlist`, undefined, undefined, { camelizeResponse: false });
|
|
109
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/allowlist`, undefined, undefined, { camelizeResponse: false });
|
|
110
110
|
}
|
|
111
111
|
validateDropAllowlist(slug, body) {
|
|
112
|
-
return this.fetcher.request("POST", `/api/v2/drops/${segment(slug)}/allowlist/validate`, body);
|
|
112
|
+
return this.fetcher.request("POST", `/api/v2/drops/${(0, apiPaths_1.segment)(slug)}/allowlist/validate`, body);
|
|
113
113
|
}
|
|
114
114
|
modifyCollection(slug, body) {
|
|
115
|
-
return this.fetcher.request("PATCH", `/api/v2/collections/${segment(slug)}`, body);
|
|
115
|
+
return this.fetcher.request("PATCH", `/api/v2/collections/${(0, apiPaths_1.segment)(slug)}`, body);
|
|
116
116
|
}
|
|
117
117
|
updateCollectionMetadata(slug, body) {
|
|
118
|
-
return this.fetcher.request("PATCH", `/api/v2/collections/${segment(slug)}/metadata`, body);
|
|
118
|
+
return this.fetcher.request("PATCH", `/api/v2/collections/${(0, apiPaths_1.segment)(slug)}/metadata`, body);
|
|
119
119
|
}
|
|
120
120
|
setCollectionVisibility(slug, body) {
|
|
121
|
-
return this.fetcher.request("PATCH", `/api/v2/collections/${segment(slug)}/visibility`, body);
|
|
121
|
+
return this.fetcher.request("PATCH", `/api/v2/collections/${(0, apiPaths_1.segment)(slug)}/visibility`, body);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* `UploadContext.fields` is an opaque signed multipart field map that the
|
|
@@ -128,7 +128,7 @@ class WalletAuthAPI {
|
|
|
128
128
|
*/
|
|
129
129
|
createCollectionImageUpload(slug, imageType, contentType) {
|
|
130
130
|
const query = new URLSearchParams({ content_type: contentType });
|
|
131
|
-
return this.fetcher.request("POST", `/api/v2/collections/${segment(slug)}/images/${segment(imageType)}?${query}`, undefined, undefined, { camelizeResponse: false });
|
|
131
|
+
return this.fetcher.request("POST", `/api/v2/collections/${(0, apiPaths_1.segment)(slug)}/images/${(0, apiPaths_1.segment)(imageType)}?${query}`, undefined, undefined, { camelizeResponse: false });
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* `UpdateProfileSettingsRequest` is camelCase on the wire (`displayName`,
|
|
@@ -170,10 +170,10 @@ class WalletAuthAPI {
|
|
|
170
170
|
return this.fetcher.request("PATCH", "/api/v2/profile/shelves", body);
|
|
171
171
|
}
|
|
172
172
|
updateProfileShelf(shelfId, body) {
|
|
173
|
-
return this.fetcher.request("PATCH", `/api/v2/profile/shelves/${segment(shelfId)}`, body);
|
|
173
|
+
return this.fetcher.request("PATCH", `/api/v2/profile/shelves/${(0, apiPaths_1.segment)(shelfId)}`, body);
|
|
174
174
|
}
|
|
175
175
|
deleteProfileShelf(shelfId) {
|
|
176
|
-
return this.fetcher.request("DELETE", `/api/v2/profile/shelves/${segment(shelfId)}`);
|
|
176
|
+
return this.fetcher.request("DELETE", `/api/v2/profile/shelves/${(0, apiPaths_1.segment)(shelfId)}`);
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* `LinkWalletSiwxRequest` is camelCase on the wire. `chainArch` is required, so
|
|
@@ -186,13 +186,13 @@ class WalletAuthAPI {
|
|
|
186
186
|
return this.fetcher.request("POST", "/api/v2/accounts/wallets/siwx", body, undefined, { snakeizeBody: false });
|
|
187
187
|
}
|
|
188
188
|
unlinkWallet(wallet) {
|
|
189
|
-
return this.fetcher.request("DELETE", `/api/v2/accounts/wallets/${segment(wallet)}`);
|
|
189
|
+
return this.fetcher.request("DELETE", `/api/v2/accounts/wallets/${(0, apiPaths_1.segment)(wallet)}`);
|
|
190
190
|
}
|
|
191
191
|
makeWalletPrivate(wallet) {
|
|
192
|
-
return this.fetcher.request("PUT", `/api/v2/accounts/wallets/${segment(wallet)}/private`);
|
|
192
|
+
return this.fetcher.request("PUT", `/api/v2/accounts/wallets/${(0, apiPaths_1.segment)(wallet)}/private`);
|
|
193
193
|
}
|
|
194
194
|
makeWalletPublic(wallet) {
|
|
195
|
-
return this.fetcher.request("DELETE", `/api/v2/accounts/wallets/${segment(wallet)}/private`);
|
|
195
|
+
return this.fetcher.request("DELETE", `/api/v2/accounts/wallets/${(0, apiPaths_1.segment)(wallet)}/private`);
|
|
196
196
|
}
|
|
197
197
|
// ── Agent accounts ────────────────────────────────────────────────
|
|
198
198
|
//
|