@0xsequence/marketplace-sdk 0.4.8 → 0.5.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/{chunk-2OJB35FS.js → chunk-5NORRVPM.js} +5 -5
- package/dist/{chunk-2OJB35FS.js.map → chunk-5NORRVPM.js.map} +1 -1
- package/dist/{chunk-ATDCYXXV.js → chunk-6YHHCGGY.js} +2 -2
- package/dist/{chunk-WRMJ5FZM.js → chunk-HV2X2VZN.js} +874 -194
- package/dist/chunk-HV2X2VZN.js.map +1 -0
- package/dist/{chunk-AQT3BQ67.js → chunk-J2XJZ6SJ.js} +12 -5
- package/dist/chunk-J2XJZ6SJ.js.map +1 -0
- package/dist/{chunk-JEOUQFT3.js → chunk-LJAB3S6U.js} +4 -3
- package/dist/chunk-LJAB3S6U.js.map +1 -0
- package/dist/{chunk-7WCZP6FN.js → chunk-OUVFTA63.js} +649 -386
- package/dist/chunk-OUVFTA63.js.map +1 -0
- package/dist/{chunk-XXML5K3X.js → chunk-QTJF5GDQ.js} +2 -2
- package/dist/{chunk-LF44FCG5.js → chunk-TQWM4ER6.js} +2 -2
- package/dist/{chunk-LF44FCG5.js.map → chunk-TQWM4ER6.js.map} +1 -1
- package/dist/{chunk-6R4G7J6Q.js → chunk-WSCUPAGR.js} +33 -5
- package/dist/chunk-WSCUPAGR.js.map +1 -0
- package/dist/{create-config-D5WqfUft.d.ts → create-config-BXvwUh55.d.ts} +2 -2
- package/dist/index.css +31 -17
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{marketplace-config-C_fDWzz0.d.ts → marketplace-config-znEu4L0K.d.ts} +1 -1
- package/dist/{marketplace.gen-B8S8fflj.d.ts → marketplace.gen-CCJ-URn2.d.ts} +16 -4
- package/dist/react/_internal/api/index.d.ts +3 -2
- package/dist/react/_internal/api/index.js +3 -1
- package/dist/react/_internal/index.d.ts +5 -5
- package/dist/react/_internal/index.js +3 -1
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/hooks/index.d.ts +249 -74
- package/dist/react/hooks/index.js +18 -5
- package/dist/react/index.css +37 -17
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +22 -9
- package/dist/react/ssr/index.js +4 -0
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/collectible-card/index.css +37 -17
- package/dist/react/ui/components/collectible-card/index.css.map +1 -1
- package/dist/react/ui/components/collectible-card/index.d.ts +27 -4
- package/dist/react/ui/components/collectible-card/index.js +8 -9
- package/dist/react/ui/icons/index.js +3 -3
- package/dist/react/ui/index.css +37 -17
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +3 -3
- package/dist/react/ui/index.js +8 -9
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +5 -5
- package/dist/{sdk-config-BXVH8PS2.d.ts → sdk-config-B32_2bG3.d.ts} +29 -7
- package/dist/{services-CdXAIjt1.d.ts → services-BRBVE0mm.d.ts} +1 -1
- package/dist/styles/index.css +31 -17
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/index.d.ts +2 -2
- package/dist/styles/index.js +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +1 -1
- package/dist/{types-eX4P9xju.d.ts → types-Yto6KrTN.d.ts} +2 -2
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +1 -1
- package/package.json +16 -16
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +4 -0
- package/src/react/_internal/api/marketplace.gen.ts +45 -7
- package/src/react/_internal/api/query-keys.ts +4 -0
- package/src/react/_internal/wallet/useWallet.ts +30 -46
- package/src/react/_internal/wallet/wallet.ts +52 -6
- package/src/react/hooks/index.ts +4 -0
- package/src/react/hooks/options/__mocks__/marketplaceConfig.msw.ts +10 -1
- package/src/react/hooks/useAutoSelectFeeOption.tsx +104 -0
- package/src/react/hooks/useCancelOrder.tsx +57 -1
- package/src/react/hooks/useCollectionBalanceDetails.tsx +87 -0
- package/src/react/hooks/useCollectionDetails.tsx +35 -0
- package/src/react/hooks/useCollectionDetailsPolling.tsx +60 -0
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +36 -118
- package/src/react/ui/components/_internals/action-button/components/ActionButtonBody.tsx +52 -0
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +72 -0
- package/src/react/ui/components/_internals/action-button/components/OwnerActions.tsx +81 -0
- package/src/react/ui/components/_internals/action-button/hooks/useActionButtonLogic.ts +93 -0
- package/src/react/ui/components/_internals/action-button/store.ts +47 -0
- package/src/react/ui/components/_internals/action-button/styles.css.ts +8 -0
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +35 -18
- package/src/react/ui/components/collectible-card/Footer.tsx +5 -8
- package/src/react/ui/components/collectible-card/styles.css.ts +44 -31
- package/src/react/ui/icons/CartIcon.tsx +46 -0
- package/src/react/ui/modals/BuyModal/Modal.tsx +0 -2
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx +253 -0
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +100 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useBuyCollectable.test.tsx +402 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +267 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useFees.test.tsx +166 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useLoadData.test.tsx +209 -0
- package/src/react/ui/modals/BuyModal/hooks/useBuyCollectable.ts +7 -4
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +19 -17
- package/src/react/ui/modals/BuyModal/hooks/useLoadData.ts +9 -7
- package/src/react/ui/modals/BuyModal/modals/Modal1155.tsx +36 -18
- package/src/react/ui/modals/BuyModal/modals/__tests__/CheckoutModal.test.tsx +162 -0
- package/src/react/ui/modals/BuyModal/modals/__tests__/Modal1155.test.tsx +243 -0
- package/src/react/ui/modals/BuyModal/store.ts +11 -10
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +26 -3
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +141 -29
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +5 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +20 -11
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +13 -58
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/index.test.tsx +2 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +18 -19
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +62 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +53 -100
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +2 -10
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-6R4G7J6Q.js.map +0 -1
- package/dist/chunk-7WCZP6FN.js.map +0 -1
- package/dist/chunk-AQT3BQ67.js.map +0 -1
- package/dist/chunk-FWN2MCLI.js +0 -425
- package/dist/chunk-FWN2MCLI.js.map +0 -1
- package/dist/chunk-JEOUQFT3.js.map +0 -1
- package/dist/chunk-WRMJ5FZM.js.map +0 -1
- /package/dist/{chunk-ATDCYXXV.js.map → chunk-6YHHCGGY.js.map} +0 -0
- /package/dist/{chunk-XXML5K3X.js.map → chunk-QTJF5GDQ.js.map} +0 -0
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
balanceOfCollectibleOptions,
|
|
5
5
|
checkoutOptionsOptions,
|
|
6
6
|
collectibleOptions,
|
|
7
|
+
collectionBalanceDetailsOptions,
|
|
8
|
+
collectionDetailsOptions,
|
|
9
|
+
collectionDetailsPollingOptions,
|
|
7
10
|
collectionOptions,
|
|
8
11
|
countListingsForCollectibleOptions,
|
|
9
12
|
countOfCollectablesOptions,
|
|
@@ -31,11 +34,15 @@ import {
|
|
|
31
34
|
marketplaceConfigOptions,
|
|
32
35
|
metadataOptionsSchema,
|
|
33
36
|
royaletyPercentageOptions,
|
|
37
|
+
useAutoSelectFeeOption,
|
|
34
38
|
useBalanceOfCollectible,
|
|
35
39
|
useCancelOrder,
|
|
36
40
|
useCheckoutOptions,
|
|
37
41
|
useCollectible,
|
|
38
42
|
useCollection,
|
|
43
|
+
useCollectionBalanceDetails,
|
|
44
|
+
useCollectionDetails,
|
|
45
|
+
useCollectionDetailsPolling,
|
|
39
46
|
useConfig,
|
|
40
47
|
useCountListingsForCollectible,
|
|
41
48
|
useCountOfCollectables,
|
|
@@ -62,12 +69,11 @@ import {
|
|
|
62
69
|
useMarketplaceConfig,
|
|
63
70
|
useRoyaltyPercentage,
|
|
64
71
|
useTransferTokens
|
|
65
|
-
} from "../../chunk-
|
|
66
|
-
import "../../chunk-
|
|
67
|
-
import "../../chunk-XXML5K3X.js";
|
|
72
|
+
} from "../../chunk-HV2X2VZN.js";
|
|
73
|
+
import "../../chunk-QTJF5GDQ.js";
|
|
68
74
|
import "../../chunk-Y75XGZOB.js";
|
|
69
75
|
import "../../chunk-FI723DGL.js";
|
|
70
|
-
import "../../chunk-
|
|
76
|
+
import "../../chunk-TQWM4ER6.js";
|
|
71
77
|
import "../../chunk-NJ2GXOPW.js";
|
|
72
78
|
import "../../chunk-XP3WY5AX.js";
|
|
73
79
|
import "../../chunk-MWDG7UTB.js";
|
|
@@ -76,7 +82,7 @@ import "../../chunk-3OHM45R3.js";
|
|
|
76
82
|
import "../../chunk-WFE6OCYF.js";
|
|
77
83
|
import "../../chunk-RK6KYMZM.js";
|
|
78
84
|
import "../../chunk-YOKGP2EQ.js";
|
|
79
|
-
import "../../chunk-
|
|
85
|
+
import "../../chunk-WSCUPAGR.js";
|
|
80
86
|
import "../../chunk-FCF57DZI.js";
|
|
81
87
|
import "../../chunk-WM4RGBFQ.js";
|
|
82
88
|
export {
|
|
@@ -84,6 +90,9 @@ export {
|
|
|
84
90
|
balanceOfCollectibleOptions,
|
|
85
91
|
checkoutOptionsOptions,
|
|
86
92
|
collectibleOptions,
|
|
93
|
+
collectionBalanceDetailsOptions,
|
|
94
|
+
collectionDetailsOptions,
|
|
95
|
+
collectionDetailsPollingOptions,
|
|
87
96
|
collectionOptions,
|
|
88
97
|
countListingsForCollectibleOptions,
|
|
89
98
|
countOfCollectablesOptions,
|
|
@@ -111,11 +120,15 @@ export {
|
|
|
111
120
|
marketplaceConfigOptions,
|
|
112
121
|
metadataOptionsSchema,
|
|
113
122
|
royaletyPercentageOptions,
|
|
123
|
+
useAutoSelectFeeOption,
|
|
114
124
|
useBalanceOfCollectible,
|
|
115
125
|
useCancelOrder,
|
|
116
126
|
useCheckoutOptions,
|
|
117
127
|
useCollectible,
|
|
118
128
|
useCollection,
|
|
129
|
+
useCollectionBalanceDetails,
|
|
130
|
+
useCollectionDetails,
|
|
131
|
+
useCollectionDetailsPolling,
|
|
119
132
|
useConfig,
|
|
120
133
|
useCountListingsForCollectible,
|
|
121
134
|
useCountOfCollectables,
|
package/dist/react/index.css
CHANGED
|
@@ -216,43 +216,63 @@
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
/* vanilla-extract-css-ns:src/react/ui/components/
|
|
219
|
+
/* vanilla-extract-css-ns:src/react/ui/components/_internals/action-button/styles.css.ts.vanilla.css?source=LnN0eWxlc19hY3Rpb25CdXR0b25fX204bGw0cTAgPiBkaXYgewogIGp1c3RpZnktY29udGVudDogY2VudGVyOwogIGFsaWduLWl0ZW1zOiBjZW50ZXI7Cn0= */
|
|
220
|
+
.styles_actionButton__m8ll4q0 > div {
|
|
221
|
+
justify-content: center;
|
|
222
|
+
align-items: center;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* vanilla-extract-css-ns:src/react/ui/components/collectible-card/styles.css.ts.vanilla.css?source=#H4sIAAAAAAAAE61UwY6bMBC95yvmUimV1ggIFIm97Z56r1T1FBk8BHe9NrJNNlXVf+8YCsuiZDeRekgEk5k3772ZSeT8L4VuXxulsPayUvjIrdjvK4ldwWP4vQF4kcK3JSRF3p3u6b0yVqClQHcCZ5QU0DrFt/EdxJ/uYJfQV/L5fvNnE32AXnIKHnFocgE0zQpCiwNwkf8DDskn5louzEsJMRVMn1B8sewKPo2pe8eO0oWf/h+t9D1aAKb3SmosIVs1ybMpOy/W2cw0jUNfBvAL2r5Jhd8t7zq0k8RkENVxIaQ+EMnlOLXR+PrOLBeyd1MOr58O1vRavOZ1xkkvjS7BouJhkDfwGK0e2MzyR+BrxwS3KJ577GaLK0WazhnKdss1n31I4otGf33mB5wapmdvpkV5aP0iYKqfVM0aScHaHNGGoLdcT6YOz42xzxBHqQPkDpnUjNjeYnMboM9ZdYbz3LEEV3OF2yRKvuRvLoc8QvuASj303hs91e+WmtP0reR0taHh6I1eMc3Ha1us2fI/ZTyCOBov4FqXlivKK5p674fFnWZDoOOcSQppZll20ymtvH1H1sLY4ZGuBX9sh37B3b/e/LhOhQUAAA== */
|
|
220
226
|
.styles_collectibleCard__biep7a0 {
|
|
221
227
|
width: 175px;
|
|
222
228
|
border: 1px solid hsla(0, 0%, 31%, 1);
|
|
223
229
|
}
|
|
224
|
-
.
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
object-fit: cover;
|
|
230
|
+
.styles_collectibleCard__biep7a0:active {
|
|
231
|
+
border: 1px solid hsla(247, 100%, 75%, 1);
|
|
232
|
+
box-shadow: 0px 0px 0px 1px hsla(247, 100%, 75%, 1);
|
|
228
233
|
}
|
|
229
|
-
.
|
|
234
|
+
.styles_collectibleCard__biep7a0:focus-visible {
|
|
235
|
+
border: 1px solid hsla(247, 100%, 75%, 1);
|
|
236
|
+
box-shadow: 0px 0px 0px 2px hsla(247, 100%, 75%, 1);
|
|
237
|
+
outline: 4px solid hsla(254, 100%, 57%, 1);
|
|
238
|
+
outline-offset: 2px;
|
|
239
|
+
}
|
|
240
|
+
.styles_collectibleTileWrapper__biep7a1 {
|
|
230
241
|
padding: 0;
|
|
231
242
|
border: none;
|
|
232
243
|
border-radius: 0;
|
|
233
244
|
background: none;
|
|
234
245
|
position: relative;
|
|
235
246
|
}
|
|
236
|
-
.
|
|
247
|
+
.styles_collectibleTileWrapper__biep7a1:focus {
|
|
237
248
|
outline: none;
|
|
238
249
|
}
|
|
239
|
-
.
|
|
240
|
-
|
|
241
|
-
|
|
250
|
+
.styles_collectibleCard__biep7a0:focus .styles_collectibleTileWrapper__biep7a1 {
|
|
251
|
+
outline: 3px solid black;
|
|
252
|
+
outline-offset: -3px;
|
|
253
|
+
border-radius: 10px;
|
|
242
254
|
}
|
|
243
|
-
.
|
|
255
|
+
.styles_collectibleImage__biep7a2 {
|
|
256
|
+
width: 175px;
|
|
257
|
+
height: 175px;
|
|
258
|
+
object-fit: cover;
|
|
244
259
|
transition: transform 0.2s ease-in-out;
|
|
245
260
|
}
|
|
246
|
-
.
|
|
247
|
-
transform:
|
|
261
|
+
.styles_collectibleTileWrapper__biep7a1:hover .styles_collectibleImage__biep7a2 {
|
|
262
|
+
transform: scale(1.165);
|
|
263
|
+
}
|
|
264
|
+
.styles_offerBellButton__biep7a3 {
|
|
265
|
+
width: 22px;
|
|
266
|
+
height: 22px;
|
|
248
267
|
}
|
|
249
|
-
.
|
|
268
|
+
.styles_actionWrapper__biep7a5 {
|
|
269
|
+
background: hsla(0, 0%, 100%, 0.1);
|
|
250
270
|
transition: transform 0.2s ease-in-out;
|
|
251
271
|
position: absolute;
|
|
252
272
|
width: 100%;
|
|
253
|
-
bottom: -
|
|
273
|
+
bottom: -44px;
|
|
254
274
|
}
|
|
255
|
-
.
|
|
256
|
-
transform: translateY(-
|
|
275
|
+
.styles_collectibleTileWrapper__biep7a1:hover .styles_actionWrapper__biep7a5 {
|
|
276
|
+
transform: translateY(-44px);
|
|
257
277
|
}
|
|
258
278
|
/*# sourceMappingURL=index.css.map */
|
package/dist/react/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["vanilla-extract-css-ns:src/react/ui/icons/styles.css.ts.vanilla.css?source=LnN0eWxlc19pY29uVmFyaWFudHNfXzF4MTJ0YmUwIHsKICBmbGV4LXNocmluazogMDsKfQouc3R5bGVzX2ljb25WYXJpYW50c19zaXplX3hzX18xeDEydGJlMSB7CiAgaGVpZ2h0OiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTQpOwogIHdpZHRoOiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTQpOwp9Ci5zdHlsZXNfaWNvblZhcmlhbnRzX3NpemVfc21fXzF4MTJ0YmUyIHsKICBoZWlnaHQ6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtNSk7CiAgd2lkdGg6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtNSk7Cn0KLnN0eWxlc19pY29uVmFyaWFudHNfc2l6ZV9tZF9fMXgxMnRiZTMgewogIGhlaWdodDogdmFyKC0tc2VxLWxpbmUtaGVpZ2h0cy02KTsKICB3aWR0aDogdmFyKC0tc2VxLWxpbmUtaGVpZ2h0cy02KTsKfQouc3R5bGVzX2ljb25WYXJpYW50c19zaXplX2xnX18xeDEydGJlNCB7CiAgaGVpZ2h0OiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTcpOwogIHdpZHRoOiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTcpOwp9Ci5zdHlsZXNfaWNvblZhcmlhbnRzX3NpemVfeGxfXzF4MTJ0YmU1IHsKICBoZWlnaHQ6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtOSk7CiAgd2lkdGg6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtOSk7Cn0=","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/alertMessage/styles.css.ts.vanilla.css?source=LnN0eWxlc19hbGVydE1lc3NhZ2VCb3hWYXJpYW50c193YXJuaW5nX195emZ0YWwxIHsKICB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DsKICAgIGxlZnQ6IHVuc2V0OwogICAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogMCAhaW1wb3J0YW50OwogICAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDAgIWltcG9ydGFudDsKICB9Cn0=","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/switchChainModal/styles.css.ts.vanilla.css?source=LnN0eWxlc19zd2l0Y2hDaGFpbkN0YUJhc2VfX3htaTA2cTEgewogIHdpZHRoOiAxNDdweDsKfQouc3R5bGVzX3N3aXRjaENoYWluQ3RhX3BlbmRpbmdfX3htaTA2cTMgewogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKfQouc3R5bGVzX3N3aXRjaENoYWluQ3RhX3BlbmRpbmdfX3htaTA2cTMgPiBkaXYgewogIGp1c3RpZnktY29udGVudDogY2VudGVyOwp9","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/actionModal/styles.css.ts.vanilla.css?source=LnN0eWxlc19jdGFfXzFyb3A3dHcwIHsKICBib3JkZXItcmFkaXVzOiAxMnB4ICFpbXBvcnRhbnQ7Cn0KLnN0eWxlc19jdGFfXzFyb3A3dHcwID4gZGl2IHsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlciAhaW1wb3J0YW50Owp9","vanilla-extract-css-ns:src/react/ui/components/_internals/custom-select/styles.css.ts.vanilla.css?source=LnN0eWxlc19pdGVtX18xZGR0dWprMjpob3ZlciB7CiAgYmFja2dyb3VuZDogdmFyKC0tc2VxLWNvbG9ycy1iYWNrZ3JvdW5kLW11dGVkKTsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/waasFeeOptionsBox/styles.css.ts.vanilla.css?source=LnN0eWxlc19mZWVPcHRpb25zV3JhcHBlcl9fMTI0aWswdzAgewogIGJvdHRvbTogLTE0MHB4Owp9Ci5zdHlsZXNfZGlhbG9nQ29udGVudF9fMTI0aWswdzIgewogIHRvcDogNTAlOwogIGxlZnQ6IDUwJTsKICB0cmFuc2Zvcm06IHRyYW5zbGF0ZSgtNTAlLCAtNTAlKTsKICBwYWRkaW5nOiAyNHB4Owp9Ci5zdHlsZXNfY3RhX18xMjRpazB3MyB7CiAgYm9yZGVyLXJhZGl1czogMTJweCAhaW1wb3J0YW50Owp9Ci5zdHlsZXNfY3RhX18xMjRpazB3MyA+IGRpdiB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXIgIWltcG9ydGFudDsKfQ==","../../src/react/ui/modals/_internal/components/calendarPopover/overrides.css","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/calendarPopover/styles.css.ts.vanilla.css?source=LnN0eWxlc19kYXRlU2VsZWN0QnV0dG9uX18xamM2cDhqMCB7CiAgZmxleDogMyAhaW1wb3J0YW50OwogIHBhZGRpbmc6IDEwcHggOHB4ICFpbXBvcnRhbnQ7CiAgaGVpZ2h0OiAzNnB4ICFpbXBvcnRhbnQ7CiAgYm9yZGVyOiAxcHggc29saWQgIzRGNEY0RiAhaW1wb3J0YW50OwogIGJvcmRlci1yYWRpdXM6IDRweCAhaW1wb3J0YW50OwogIGZvbnQtd2VpZ2h0OiA0MDAgIWltcG9ydGFudDsKICBmb250LXNpemU6IDEycHggIWltcG9ydGFudDsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/priceInput/styles.css.ts.vanilla.css?source=LnN0eWxlc19wcmljZUlucHV0V3JhcHBlcl9fNmpqejh0MCB7CiAgZGlzcGxheTogZmxleDsKICBmbGV4LWRpcmVjdGlvbjogY29sdW1uOwogIHdpZHRoOiAxMDAlOwp9Ci5zdHlsZXNfcHJpY2VJbnB1dEN1cnJlbmN5SW1hZ2VfXzZqano4dDEgewogIHRvcDogMjlweDsKfQouc3R5bGVzX3ByaWNlSW5wdXRXcmFwcGVyX182amp6OHQwID4gbGFiZWwgewogIGdhcDogMnB4Owp9Ci5zdHlsZXNfcHJpY2VJbnB1dFdyYXBwZXJfXzZqano4dDAgPiBsYWJlbCA+IGRpdiA+IGRpdiB7CiAgaGVpZ2h0OiAzNnB4OwogIGZvbnQtc2l6ZTogMTJweDsKICBib3JkZXItcmFkaXVzOiA0cHg7CiAgcGFkZGluZy1sZWZ0OiAyOHB4OwogIHBhZGRpbmctcmlnaHQ6IDA7Cn0KLnN0eWxlc19wcmljZUlucHV0V3JhcHBlcl9fNmpqejh0MCA+IGxhYmVsID4gZGl2ID4gZGl2ID4gaW5wdXQgewogIGZvbnQtc2l6ZTogMTJweDsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/quantityInput/styles.css.ts.vanilla.css?source=LnN0eWxlc19xdWFudGl0eUlucHV0V3JhcHBlcl9fNTBnNG05MCB7CiAgZGlzcGxheTogZmxleDsKICBmbGV4LWRpcmVjdGlvbjogY29sdW1uOwogIHdpZHRoOiAxMDAlOwp9Ci5zdHlsZXNfcXVhbnRpdHlJbnB1dFdyYXBwZXJfXzUwZzRtOTAgPiBsYWJlbCB7CiAgZ2FwOiAycHg7Cn0KLnN0eWxlc19xdWFudGl0eUlucHV0V3JhcHBlcl9fNTBnNG05MCA+IGxhYmVsID4gZGl2ID4gZGl2IHsKICBoZWlnaHQ6IDM2cHg7CiAgZm9udC1zaXplOiAxMnB4OwogIGJvcmRlci1yYWRpdXM6IDRweDsKICBwYWRkaW5nLWxlZnQ6IDEycHg7CiAgcGFkZGluZy1yaWdodDogMDsKfQouc3R5bGVzX3F1YW50aXR5SW5wdXRXcmFwcGVyX181MGc0bTkwID4gbGFiZWwgPiBkaXYgPiBkaXY6aGFzKDpkaXNhYmxlZCkgLCAuc3R5bGVzX3F1YW50aXR5SW5wdXRXcmFwcGVyX181MGc0bTkwID4gbGFiZWwgPiBkaXYgPiBkaXY6aGFzKDpkaXNhYmxlZCk6aG92ZXIgewogIG9wYWNpdHk6IDE7Cn0KLnN0eWxlc19xdWFudGl0eUlucHV0V3JhcHBlcl9fNTBnNG05M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BvYmplY3QtZml0OiBjb250YWluOwp9Ci5zdHlsZXNfY29sbGVjdGlibGVzR3JpZEltYWdlUGFsZV9fMW5qa3dmZTMgewogIG9wYWNpdHk6IDAuNCAhaW1wb3J0YW50Owp9","vanilla-extract-css-ns:src/react/ui/modals/TransferModal/styles.css.ts.vanilla.css?source=LnN0eWxlc190cmFuc2Zlck1vZGFsQ29udGVudF9faTFxejlnMCB7CiAgd2lkdGg6IDU0MHB4Owp9CkBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDU0MHB4KSB7CiAgLnN0eWxlc190cmFuc2Zlck1vZGFsQ29udGVudF9faTFxejlnMCB7CiAgICB3aWR0aDogMTAwJTsKICB9Cn0=","vanilla-extract-css-ns:src/react/ui/components/collectible-card/styles.css.ts.vanilla.css?source=LnN0eWxlc19jb2xsZWN0aWJsZUNhcmRfX2JpZXA3YTAgewogIHdpZHRoOiAxNzVweDsKICBib3JkZXI6IDFweCBzb2xpZCBoc2xhKDAsIDAlLCAzMSUsIDEpOwp9Ci5zdHlsZXNfY29sbGVjdGlibGVJbWFnZV9fYmllcDdhMSB7CiAgd2lkdGg6IDE3NXB4OwogIGhlaWdodDogMTc1cHg7CiAgb2JqZWN0LWZpdDogY292ZXI7Cn0KLnN0eWxlc19jb2xsZWN0aWJsZVRpbGVXcmFwcGVyX19iaWVwN2EyIHsKICBwYWRkaW5nOiAwOwogIGJvcmRlcjogbm9uZTsKICBib3JkZXItcmFkaXVzOiAwOwogIGJhY2tncm91bmQ6IG5vbmU7CiAgcG9zaXRpb246IHJlbGF0aXZlOwp9Ci5zdHlsZXNfY29sbGVjdGlibGVUaWxlV3JhcHBlcl9fYmllcDdhMjpmb2N1cyB7CiAgb3V0bGluZTogbm9uZTsKfQouc3R5bGVzX29mZmVyQmVsbEJ1dHRvbl9fYmllcDdhMyB7CiAgd2lkdGg6IDIycHg7CiAgaGVpZ2h0OiAyMnB4Owp9Ci5zdHlsZXNfZm9vdGVyX2FuaW1hdGVkX19iaWVwN2E1IHsKICB0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gMC4ycyBlYXNlLWluLW91dDsKfQouc3R5bGVzX2NvbGxlY3RpYmxlVGlsZVdyYXBwZXJfX2JpZXA3YTI6aG92ZXIgLnN0eWxlc19mb290ZXJfYW5pbWF0ZWRfX2JpZXA3YTUgewogIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtMzBweCk7Cn0KLnN0eWxlc19hY3Rpb25XcmFwcGVyX19iaWVwN2E3IHsKICB0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gMC4ycyBlYXNlLWluLW91dDsKICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgd2lkdGg6IDEwMCU7CiAgYm90dG9tOiAtMzZweDsKfQouc3R5bGVzX2NvbGxlY3RpYmxlVGlsZVdyYXBwZXJfX2JpZXA3YTI6aG92ZXIgLnN0eWxlc19hY3Rpb25XcmFwcGVyX19iaWVwN2E3IHsKICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTM2cHgpOwp9"],"sourcesContent":[".styles_iconVariants__1x12tbe0 {\n flex-shrink: 0;\n}\n.styles_iconVariants_size_xs__1x12tbe1 {\n height: var(--seq-line-heights-4);\n width: var(--seq-line-heights-4);\n}\n.styles_iconVariants_size_sm__1x12tbe2 {\n height: var(--seq-line-heights-5);\n width: var(--seq-line-heights-5);\n}\n.styles_iconVariants_size_md__1x12tbe3 {\n height: var(--seq-line-heights-6);\n width: var(--seq-line-heights-6);\n}\n.styles_iconVariants_size_lg__1x12tbe4 {\n height: var(--seq-line-heights-7);\n width: var(--seq-line-heights-7);\n}\n.styles_iconVariants_size_xl__1x12tbe5 {\n height: var(--seq-line-heights-9);\n width: var(--seq-line-heights-9);\n}",".styles_alertMessageBoxVariants_warning__yzftal1 {\n background: hsla(39, 71%, 40%, 0.3);\n}\n.styles_alertMessageBoxVariants_info__yzftal2 {\n background: hsla(247, 100%, 75%, 0.3);\n}",".modal_dialogContentBase__1ypl6nt1 {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n}\n.modal_dialogContent_narrow__1ypl6nt2 {\n width: 360px;\n}\n.modal_dialogContent_wide__1ypl6nt3 {\n width: 540px;\n}\n@media screen and (max-width: 360px) {\n .modal_dialogContent_narrow__1ypl6nt2 {\n width: 100%;\n bottom: 0;\n transform: unset;\n top: unset;\n left: unset;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n }\n}\n@media screen and (max-width: 540px) {\n .modal_dialogContent_wide__1ypl6nt3 {\n width: 100%;\n bottom: 0;\n transform: unset;\n top: unset;\n left: unset;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n }\n}",".styles_switchChainCtaBase__xmi06q1 {\n width: 147px;\n}\n.styles_switchChainCta_pending__xmi06q3 {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles_switchChainCta_pending__xmi06q3 > div {\n justify-content: center;\n}",".styles_cta__1rop7tw0 {\n border-radius: 12px !important;\n}\n.styles_cta__1rop7tw0 > div {\n justify-content: center !important;\n}",".styles_item__1ddtujk2:hover {\n background: var(--seq-colors-background-muted);\n}",".styles_feeOptionsWrapper__124ik0w0 {\n bottom: -140px;\n}\n.styles_dialogContent__124ik0w2 {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n}\n.styles_cta__124ik0w3 {\n border-radius: 12px !important;\n}\n.styles_cta__124ik0w3 > div {\n justify-content: center !important;\n}",".rdp-button_previous > svg,\n.rdp-button_next > svg {\n\tfill: var(--seq-colors-text100);\n}\n\n.rdp-selected > .rdp-day_button {\n\tbackground-color: var(--seq-colors-button-glass);\n}\n",".styles_dateSelectButton__1jc6p8j0 {\n flex: 3 !important;\n padding: 10px 8px !important;\n height: 36px !important;\n border: 1px solid #4F4F4F !important;\n border-radius: 4px !important;\n font-weight: 400 !important;\n font-size: 12px !important;\n}",".styles_priceInputWrapper__6jjz8t0 {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.styles_priceInputCurrencyImage__6jjz8t1 {\n top: 29px;\n}\n.styles_priceInputWrapper__6jjz8t0 > label {\n gap: 2px;\n}\n.styles_priceInputWrapper__6jjz8t0 > label > div > div {\n height: 36px;\n font-size: 12px;\n border-radius: 4px;\n padding-left: 28px;\n padding-right: 0;\n}\n.styles_priceInputWrapper__6jjz8t0 > label > div > div > input {\n font-size: 12px;\n}",".styles_quantityInputWrapper__50g4m90 {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.styles_quantityInputWrapper__50g4m90 > label {\n gap: 2px;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div {\n height: 36px;\n font-size: 12px;\n border-radius: 4px;\n padding-left: 12px;\n padding-right: 0;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div:has(:disabled) , .styles_quantityInputWrapper__50g4m90 > label > div > div:has(:disabled):hover {\n opacity: 1;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div > input {\n font-size: 12px;\n}",".styles_collectiblesGrid__1njkwfe0 {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));\n}\n.styles_collectiblesGridItem__1njkwfe1 {\n width: 150px;\n height: 150px;\n}\n.styles_collectiblesGrid__1njkwfe0 > .styles_collectiblesGridItem__1njkwfe1:nth-child(1):only-child {\n width: 312px;\n height: 312px;\n}\n.styles_collectiblesGrid__1njkwfe0 > .styles_collectiblesGridItem__1njkwfe1:nth-child(3) {\n grid-column: 1 / -1;\n justify-self: center;\n}\n.styles_collectiblesGrid__1njkwfe0:has(.styles_collectiblesGridItem__1njkwfe1:nth-child(4)) > .styles_collectiblesGridItem__1njkwfe1 {\n grid-column: unset;\n}\n.styles_collectiblesGridImage__1njkwfe2 {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n.styles_collectiblesGridImagePale__1njkwfe3 {\n opacity: 0.4 !important;\n}",".styles_transferModalContent__i1qz9g0 {\n width: 540px;\n}\n@media screen and (max-width: 540px) {\n .styles_transferModalContent__i1qz9g0 {\n width: 100%;\n }\n}",".styles_collectibleCard__biep7a0 {\n width: 175px;\n border: 1px solid hsla(0, 0%, 31%, 1);\n}\n.styles_collectibleImage__biep7a1 {\n width: 175px;\n height: 175px;\n object-fit: cover;\n}\n.styles_collectibleTileWrapper__biep7a2 {\n padding: 0;\n border: none;\n border-radius: 0;\n background: none;\n position: relative;\n}\n.styles_collectibleTileWrapper__biep7a2:focus {\n outline: none;\n}\n.styles_offerBellButton__biep7a3 {\n width: 22px;\n height: 22px;\n}\n.styles_footer_animated__biep7a5 {\n transition: transform 0.2s ease-in-out;\n}\n.styles_collectibleTileWrapper__biep7a2:hover .styles_footer_animated__biep7a5 {\n transform: translateY(-30px);\n}\n.styles_actionWrapper__biep7a7 {\n transition: transform 0.2s ease-in-out;\n position: absolute;\n width: 100%;\n bottom: -36px;\n}\n.styles_collectibleTileWrapper__biep7a2:hover .styles_actionWrapper__biep7a7 {\n transform: translateY(-36px);\n}"],"mappings":";AAAA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;;;ACtBA,CAAC;AACC,cAAY,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AACjC;AACA,CAAC;AACC,cAAY,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACnC;;;ACLA,CAAC;AACC,OAAK;AACL,QAAM;AACN,aAAW,UAAU,IAAI,EAAE;AAC3B,WAAS;AACX;AACA,CAAC;AACC,SAAO;AACT;AACA,CAAC;AACC,SAAO;AACT;AACA,OAAO,OAAO,IAAI,CAAC,SAAS,EAAE;AAC5B,GAPD;AAQG,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CAPC,sCAOsC;AACrC,WAAS;AACX;AACA,CAAC;AACC,SAAO;AACP,UAAQ;AACV;AACA,CAAC;AACC,cAAY,UAAU,KAAK;AAC7B;AACA,CAjBC,sCAiBsC,OAAO,CAH7C;AAIC,aAAW,WAAW;AACxB;AACA,CAAC;AACC,cAAY,UAAU,KAAK;AAC3B,YAAU;AACV,SAAO;AACP,UAAQ;AACV;AACA,CA1BC,sCA0BsC,OAAO,CAN7C;AAOC,aAAW,WAAW;AACxB;","names":[]}
|
|
1
|
+
{"version":3,"sources":["vanilla-extract-css-ns:src/react/ui/icons/styles.css.ts.vanilla.css?source=LnN0eWxlc19pY29uVmFyaWFudHNfXzF4MTJ0YmUwIHsKICBmbGV4LXNocmluazogMDsKfQouc3R5bGVzX2ljb25WYXJpYW50c19zaXplX3hzX18xeDEydGJlMSB7CiAgaGVpZ2h0OiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTQpOwogIHdpZHRoOiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTQpOwp9Ci5zdHlsZXNfaWNvblZhcmlhbnRzX3NpemVfc21fXzF4MTJ0YmUyIHsKICBoZWlnaHQ6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtNSk7CiAgd2lkdGg6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtNSk7Cn0KLnN0eWxlc19pY29uVmFyaWFudHNfc2l6ZV9tZF9fMXgxMnRiZTMgewogIGhlaWdodDogdmFyKC0tc2VxLWxpbmUtaGVpZ2h0cy02KTsKICB3aWR0aDogdmFyKC0tc2VxLWxpbmUtaGVpZ2h0cy02KTsKfQouc3R5bGVzX2ljb25WYXJpYW50c19zaXplX2xnX18xeDEydGJlNCB7CiAgaGVpZ2h0OiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTcpOwogIHdpZHRoOiB2YXIoLS1zZXEtbGluZS1oZWlnaHRzLTcpOwp9Ci5zdHlsZXNfaWNvblZhcmlhbnRzX3NpemVfeGxfXzF4MTJ0YmU1IHsKICBoZWlnaHQ6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtOSk7CiAgd2lkdGg6IHZhcigtLXNlcS1saW5lLWhlaWdodHMtOSk7Cn0=","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/alertMessage/styles.css.ts.vanilla.css?source=LnN0eWxlc19hbGVydE1lc3NhZ2VCb3hWYXJpYW50c193YXJuaW5nX195emZ0YWwxIHsKICBiYWNrZ3JvdW5kOiBoc2xhKDM5LCA3MSUsIDQwJSwgMC4zKTsKfQouc3R5bGVzX2FsZXJ0TWVzc2FnZUJveFZhcmlhbnRzX2luZm9fX3l6ZnRhbDIgewogIGJhY2tncm91bmQ6IGhzbGEoMjQ3LCAxMDAlLCA3NSUsIDAuMyk7Cn0=","vanilla-extract-css-ns:src/react/ui/styles/modal.css.ts.vanilla.css?source=Lm1vZGFsX2RpYWxvZ0NvbnRlbnRCYXNlX18xeXBsNm50MSB7CiAgdG9wOiA1MCU7CiAgbGVmdDogNTAlOwogIHRyYW5zZm9ybTogdHJhbnNsYXRlKC01MCUsIC01MCUpOwogIHBhZGRpbmc6IDI0cHg7Cn0KLm1vZGFsX2RpYWxvZ0NvbnRlbnRfbmFycm93X18xeXBsNm50MiB7CiAgd2lkdGg6IDM2MHB4Owp9Ci5tb2RhbF9kaWFsb2dDb250ZW50X3dpZGVfXzF5cGw2bnQzIHsKICB3aWR0aDogNTQwcHg7Cn0KQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogMzYwcHgpIHsKICAubW9kYWxfZGlhbG9nQ29udGVudF9uYXJyb3dfXzF5cGw2bnQyIHsKICAgIHdpZHRoOiAxMDAlOwogICAgYm90dG9tOiAwOwogICAgdHJhbnNmb3JtOiB1bnNldDsKICAgIHRvcDogdW5zZXQ7CiAgICBsZWZ0OiB1bnNldDsKICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDAgIWltcG9ydGFudDsKICAgIGJvcmRlci1ib3R0b20tcmlnaHQtcmFkaXVzOiAwICFpbXBvcnRhbnQ7CiAgfQp9CkBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDU0MHB4KSB7CiAgLm1vZGFsX2RpYWxvZ0NvbnRlbnRfd2lkZV9fMXlwbDZudDMgewogICAgd2lkdGg6IDEwMCU7CiAgICBib3R0b206IDA7CiAgICB0cmFuc2Zvcm06IHVuc2V0OwogICAgdG9wOiB1bnNldDsKICAgIGxlZnQ6IHVuc2V0OwogICAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogMCAhaW1wb3J0YW50OwogICAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDAgIWltcG9ydGFudDsKICB9Cn0=","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/switchChainModal/styles.css.ts.vanilla.css?source=LnN0eWxlc19zd2l0Y2hDaGFpbkN0YUJhc2VfX3htaTA2cTEgewogIHdpZHRoOiAxNDdweDsKfQouc3R5bGVzX3N3aXRjaENoYWluQ3RhX3BlbmRpbmdfX3htaTA2cTMgewogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKfQouc3R5bGVzX3N3aXRjaENoYWluQ3RhX3BlbmRpbmdfX3htaTA2cTMgPiBkaXYgewogIGp1c3RpZnktY29udGVudDogY2VudGVyOwp9","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/actionModal/styles.css.ts.vanilla.css?source=LnN0eWxlc19jdGFfXzFyb3A3dHcwIHsKICBib3JkZXItcmFkaXVzOiAxMnB4ICFpbXBvcnRhbnQ7Cn0KLnN0eWxlc19jdGFfXzFyb3A3dHcwID4gZGl2IHsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlciAhaW1wb3J0YW50Owp9","vanilla-extract-css-ns:src/react/ui/components/_internals/custom-select/styles.css.ts.vanilla.css?source=LnN0eWxlc19pdGVtX18xZGR0dWprMjpob3ZlciB7CiAgYmFja2dyb3VuZDogdmFyKC0tc2VxLWNvbG9ycy1iYWNrZ3JvdW5kLW11dGVkKTsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/waasFeeOptionsBox/styles.css.ts.vanilla.css?source=LnN0eWxlc19mZWVPcHRpb25zV3JhcHBlcl9fMTI0aWswdzAgewogIGJvdHRvbTogLTE0MHB4Owp9Ci5zdHlsZXNfZGlhbG9nQ29udGVudF9fMTI0aWswdzIgewogIHRvcDogNTAlOwogIGxlZnQ6IDUwJTsKICB0cmFuc2Zvcm06IHRyYW5zbGF0ZSgtNTAlLCAtNTAlKTsKICBwYWRkaW5nOiAyNHB4Owp9Ci5zdHlsZXNfY3RhX18xMjRpazB3MyB7CiAgYm9yZGVyLXJhZGl1czogMTJweCAhaW1wb3J0YW50Owp9Ci5zdHlsZXNfY3RhX18xMjRpazB3MyA+IGRpdiB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXIgIWltcG9ydGFudDsKfQ==","../../src/react/ui/modals/_internal/components/calendarPopover/overrides.css","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/calendarPopover/styles.css.ts.vanilla.css?source=LnN0eWxlc19kYXRlU2VsZWN0QnV0dG9uX18xamM2cDhqMCB7CiAgZmxleDogMyAhaW1wb3J0YW50OwogIHBhZGRpbmc6IDEwcHggOHB4ICFpbXBvcnRhbnQ7CiAgaGVpZ2h0OiAzNnB4ICFpbXBvcnRhbnQ7CiAgYm9yZGVyOiAxcHggc29saWQgIzRGNEY0RiAhaW1wb3J0YW50OwogIGJvcmRlci1yYWRpdXM6IDRweCAhaW1wb3J0YW50OwogIGZvbnQtd2VpZ2h0OiA0MDAgIWltcG9ydGFudDsKICBmb250LXNpemU6IDEycHggIWltcG9ydGFudDsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/priceInput/styles.css.ts.vanilla.css?source=LnN0eWxlc19wcmljZUlucHV0V3JhcHBlcl9fNmpqejh0MCB7CiAgZGlzcGxheTogZmxleDsKICBmbGV4LWRpcmVjdGlvbjogY29sdW1uOwogIHdpZHRoOiAxMDAlOwp9Ci5zdHlsZXNfcHJpY2VJbnB1dEN1cnJlbmN5SW1hZ2VfXzZqano4dDEgewogIHRvcDogMjlweDsKfQouc3R5bGVzX3ByaWNlSW5wdXRXcmFwcGVyX182amp6OHQwID4gbGFiZWwgewogIGdhcDogMnB4Owp9Ci5zdHlsZXNfcHJpY2VJbnB1dFdyYXBwZXJfXzZqano4dDAgPiBsYWJlbCA+IGRpdiA+IGRpdiB7CiAgaGVpZ2h0OiAzNnB4OwogIGZvbnQtc2l6ZTogMTJweDsKICBib3JkZXItcmFkaXVzOiA0cHg7CiAgcGFkZGluZy1sZWZ0OiAyOHB4OwogIHBhZGRpbmctcmlnaHQ6IDA7Cn0KLnN0eWxlc19wcmljZUlucHV0V3JhcHBlcl9fNmpqejh0MCA+IGxhYmVsID4gZGl2ID4gZGl2ID4gaW5wdXQgewogIGZvbnQtc2l6ZTogMTJweDsKfQ==","vanilla-extract-css-ns:src/react/ui/modals/_internal/components/quantityInput/styles.css.ts.vanilla.css?source=LnN0eWxlc19xdWFudGl0eUlucHV0V3JhcHBlcl9fNTBnNG05MCB7CiAgZGlzcGxheTogZmxleDsKICBmbGV4LWRpcmVjdGlvbjogY29sdW1uOwogIHdpZHRoOiAxMDAlOwp9Ci5zdHlsZXNfcXVhbnRpdHlJbnB1dFdyYXBwZXJfXzUwZzRtOTAgPiBsYWJlbCB7CiAgZ2FwOiAycHg7Cn0KLnN0eWxlc19xdWFudGl0eUlucHV0V3JhcHBlcl9fNTBnNG05MCA+IGxhYmVsID4gZGl2ID4gZGl2IHsKICBoZWlnaHQ6IDM2cHg7CiAgZm9udC1zaXplOiAxMnB4OwogIGJvcmRlci1yYWRpdXM6IDRweDsKICBwYWRkaW5nLWxlZnQ6IDEycHg7CiAgcGFkZGluZy1yaWdodDogMDsKfQouc3R5bGVzX3F1YW50aXR5SW5wdXRXcmFwcGVyX181MGc0bTkwID4gbGF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RJdGVtX18xbmprd2ZlMTpudGgtY2hpbGQoNCkpID4gLnN0eWxlc19jb2xsZWN0aWJsZXNHcmlkSXRlbV9fMW5qa3dmZTEgewogIGdyaWQtY29sdW1uOiB1bnNldDsKfQouc3R5bGVzX2NvbGxlY3RpYmxlc0dyaWRJbWFnZV9fMW5qa3dmZTIgewogIHdpZHRoOiAxMDAlOwogIGhlaWdodDogMTAwJTsKICBvYmplY3QtZml0OiBjb250YWluOwp9Ci5zdHlsZXNfY29sbGVjdGlibGVzR3JpZEltYWdlUGFsZV9fMW5qa3dmZTMgewogIG9wYWNpdHk6IDAuNCAhaW1wb3J0YW50Owp9","vanilla-extract-css-ns:src/react/ui/modals/TransferModal/styles.css.ts.vanilla.css?source=LnN0eWxlc190cmFuc2Zlck1vZGFsQ29udGVudF9faTFxejlnMCB7CiAgd2lkdGg6IDU0MHB4Owp9CkBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDU0MHB4KSB7CiAgLnN0eWxlc190cmFuc2Zlck1vZGFsQ29udGVudF9faTFxejlnMCB7CiAgICB3aWR0aDogMTAwJTsKICB9Cn0=","vanilla-extract-css-ns:src/react/ui/components/_internals/action-button/styles.css.ts.vanilla.css?source=LnN0eWxlc19hY3Rpb25CdXR0b25fX204bGw0cTAgPiBkaXYgewogIGp1c3RpZnktY29udGVudDogY2VudGVyOwogIGFsaWduLWl0ZW1zOiBjZW50ZXI7Cn0=","vanilla-extract-css-ns:src/react/ui/components/collectible-card/styles.css.ts.vanilla.css?source=#H4sIAAAAAAAAE61UwY6bMBC95yvmUimV1ggIFIm97Z56r1T1FBk8BHe9NrJNNlXVf+8YCsuiZDeRekgEk5k3772ZSeT8L4VuXxulsPayUvjIrdjvK4ldwWP4vQF4kcK3JSRF3p3u6b0yVqClQHcCZ5QU0DrFt/EdxJ/uYJfQV/L5fvNnE32AXnIKHnFocgE0zQpCiwNwkf8DDskn5louzEsJMRVMn1B8sewKPo2pe8eO0oWf/h+t9D1aAKb3SmosIVs1ybMpOy/W2cw0jUNfBvAL2r5Jhd8t7zq0k8RkENVxIaQ+EMnlOLXR+PrOLBeyd1MOr58O1vRavOZ1xkkvjS7BouJhkDfwGK0e2MzyR+BrxwS3KJ577GaLK0WazhnKdss1n31I4otGf33mB5wapmdvpkV5aP0iYKqfVM0aScHaHNGGoLdcT6YOz42xzxBHqQPkDpnUjNjeYnMboM9ZdYbz3LEEV3OF2yRKvuRvLoc8QvuASj303hs91e+WmtP0reR0taHh6I1eMc3Ha1us2fI/ZTyCOBov4FqXlivKK5p674fFnWZDoOOcSQppZll20ymtvH1H1sLY4ZGuBX9sh37B3b/e/LhOhQUAAA=="],"sourcesContent":[".styles_iconVariants__1x12tbe0 {\n flex-shrink: 0;\n}\n.styles_iconVariants_size_xs__1x12tbe1 {\n height: var(--seq-line-heights-4);\n width: var(--seq-line-heights-4);\n}\n.styles_iconVariants_size_sm__1x12tbe2 {\n height: var(--seq-line-heights-5);\n width: var(--seq-line-heights-5);\n}\n.styles_iconVariants_size_md__1x12tbe3 {\n height: var(--seq-line-heights-6);\n width: var(--seq-line-heights-6);\n}\n.styles_iconVariants_size_lg__1x12tbe4 {\n height: var(--seq-line-heights-7);\n width: var(--seq-line-heights-7);\n}\n.styles_iconVariants_size_xl__1x12tbe5 {\n height: var(--seq-line-heights-9);\n width: var(--seq-line-heights-9);\n}",".styles_alertMessageBoxVariants_warning__yzftal1 {\n background: hsla(39, 71%, 40%, 0.3);\n}\n.styles_alertMessageBoxVariants_info__yzftal2 {\n background: hsla(247, 100%, 75%, 0.3);\n}",".modal_dialogContentBase__1ypl6nt1 {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n}\n.modal_dialogContent_narrow__1ypl6nt2 {\n width: 360px;\n}\n.modal_dialogContent_wide__1ypl6nt3 {\n width: 540px;\n}\n@media screen and (max-width: 360px) {\n .modal_dialogContent_narrow__1ypl6nt2 {\n width: 100%;\n bottom: 0;\n transform: unset;\n top: unset;\n left: unset;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n }\n}\n@media screen and (max-width: 540px) {\n .modal_dialogContent_wide__1ypl6nt3 {\n width: 100%;\n bottom: 0;\n transform: unset;\n top: unset;\n left: unset;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n }\n}",".styles_switchChainCtaBase__xmi06q1 {\n width: 147px;\n}\n.styles_switchChainCta_pending__xmi06q3 {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles_switchChainCta_pending__xmi06q3 > div {\n justify-content: center;\n}",".styles_cta__1rop7tw0 {\n border-radius: 12px !important;\n}\n.styles_cta__1rop7tw0 > div {\n justify-content: center !important;\n}",".styles_item__1ddtujk2:hover {\n background: var(--seq-colors-background-muted);\n}",".styles_feeOptionsWrapper__124ik0w0 {\n bottom: -140px;\n}\n.styles_dialogContent__124ik0w2 {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 24px;\n}\n.styles_cta__124ik0w3 {\n border-radius: 12px !important;\n}\n.styles_cta__124ik0w3 > div {\n justify-content: center !important;\n}",".rdp-button_previous > svg,\n.rdp-button_next > svg {\n\tfill: var(--seq-colors-text100);\n}\n\n.rdp-selected > .rdp-day_button {\n\tbackground-color: var(--seq-colors-button-glass);\n}\n",".styles_dateSelectButton__1jc6p8j0 {\n flex: 3 !important;\n padding: 10px 8px !important;\n height: 36px !important;\n border: 1px solid #4F4F4F !important;\n border-radius: 4px !important;\n font-weight: 400 !important;\n font-size: 12px !important;\n}",".styles_priceInputWrapper__6jjz8t0 {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.styles_priceInputCurrencyImage__6jjz8t1 {\n top: 29px;\n}\n.styles_priceInputWrapper__6jjz8t0 > label {\n gap: 2px;\n}\n.styles_priceInputWrapper__6jjz8t0 > label > div > div {\n height: 36px;\n font-size: 12px;\n border-radius: 4px;\n padding-left: 28px;\n padding-right: 0;\n}\n.styles_priceInputWrapper__6jjz8t0 > label > div > div > input {\n font-size: 12px;\n}",".styles_quantityInputWrapper__50g4m90 {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.styles_quantityInputWrapper__50g4m90 > label {\n gap: 2px;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div {\n height: 36px;\n font-size: 12px;\n border-radius: 4px;\n padding-left: 12px;\n padding-right: 0;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div:has(:disabled) , .styles_quantityInputWrapper__50g4m90 > label > div > div:has(:disabled):hover {\n opacity: 1;\n}\n.styles_quantityInputWrapper__50g4m90 > label > div > div > input {\n font-size: 12px;\n}",".styles_collectiblesGrid__1njkwfe0 {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));\n}\n.styles_collectiblesGridItem__1njkwfe1 {\n width: 150px;\n height: 150px;\n}\n.styles_collectiblesGrid__1njkwfe0 > .styles_collectiblesGridItem__1njkwfe1:nth-child(1):only-child {\n width: 312px;\n height: 312px;\n}\n.styles_collectiblesGrid__1njkwfe0 > .styles_collectiblesGridItem__1njkwfe1:nth-child(3) {\n grid-column: 1 / -1;\n justify-self: center;\n}\n.styles_collectiblesGrid__1njkwfe0:has(.styles_collectiblesGridItem__1njkwfe1:nth-child(4)) > .styles_collectiblesGridItem__1njkwfe1 {\n grid-column: unset;\n}\n.styles_collectiblesGridImage__1njkwfe2 {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n.styles_collectiblesGridImagePale__1njkwfe3 {\n opacity: 0.4 !important;\n}",".styles_transferModalContent__i1qz9g0 {\n width: 540px;\n}\n@media screen and (max-width: 540px) {\n .styles_transferModalContent__i1qz9g0 {\n width: 100%;\n }\n}",".styles_actionButton__m8ll4q0 > div {\n justify-content: center;\n align-items: center;\n}",".styles_collectibleCard__biep7a0 {\n width: 175px;\n border: 1px solid hsla(0, 0%, 31%, 1);\n}\n.styles_collectibleCard__biep7a0:active {\n border: 1px solid hsla(247, 100%, 75%, 1);\n box-shadow: 0px 0px 0px 1px hsla(247, 100%, 75%, 1);\n}\n.styles_collectibleCard__biep7a0:focus-visible {\n border: 1px solid hsla(247, 100%, 75%, 1);\n box-shadow: 0px 0px 0px 2px hsla(247, 100%, 75%, 1);\n outline: 4px solid hsla(254, 100%, 57%, 1);\n outline-offset: 2px;\n}\n.styles_collectibleTileWrapper__biep7a1 {\n padding: 0;\n border: none;\n border-radius: 0;\n background: none;\n position: relative;\n}\n.styles_collectibleTileWrapper__biep7a1:focus {\n outline: none;\n}\n.styles_collectibleCard__biep7a0:focus .styles_collectibleTileWrapper__biep7a1 {\n outline: 3px solid black;\n outline-offset: -3px;\n border-radius: 10px;\n}\n.styles_collectibleImage__biep7a2 {\n width: 175px;\n height: 175px;\n object-fit: cover;\n transition: transform 0.2s ease-in-out;\n}\n.styles_collectibleTileWrapper__biep7a1:hover .styles_collectibleImage__biep7a2 {\n transform: scale(1.165);\n}\n.styles_offerBellButton__biep7a3 {\n width: 22px;\n height: 22px;\n}\n.styles_actionWrapper__biep7a5 {\n background: hsla(0, 0%, 100%, 0.1);\n transition: transform 0.2s ease-in-out;\n position: absolute;\n width: 100%;\n bottom: -44px;\n}\n.styles_collectibleTileWrapper__biep7a1:hover .styles_actionWrapper__biep7a5 {\n transform: translateY(-44px);\n}"],"mappings":";AAAA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;AACA,CAAC;AACC,UAAQ,IAAI;AACZ,SAAO,IAAI;AACb;;;ACtBA,CAAC;AACC,cAAY,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AACjC;AACA,CAAC;AACC,cAAY,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACnC;;;ACLA,CAAC;AACC,O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eAAa;AACf;;;ACHA,CAAC;AACC,SAAO;AACP,UAAQ,IAAI,MAAM,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE;AACrC;AACA,CAJC,+BAI+B;AAC9B,UAAQ,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACvC,cAAY,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACnD;AACA,CARC,+BAQ+B;AAC9B,UAAQ,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACvC,cAAY,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACjD,WAAS,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACxC,kBAAgB;AAClB;AACA,CAAC;AACC,WAAS;AACT,UAAQ;AACR,iBAAe;AACf,cAAY;AACZ,YAAU;AACZ;AACA,CAPC,sCAOsC;AACrC,WAAS;AACX;AACA,CAxBC,+BAwB+B,OAAO,CAVtC;AAWC,WAAS,IAAI,MAAM;AACnB,kBAAgB;AAChB,iBAAe;AACjB;AACA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,cAAY;AACZ,cAAY,UAAU,KAAK;AAC7B;AACA,CArBC,sCAqBsC,OAAO,CAN7C;AAOC,aAAW,MAAM;AACnB;AACA,CAAC;AACC,SAAO;AACP,UAAQ;AACV;AACA,CAAC;AACC,cAAY,KAAK,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE;AAC9B,cAAY,UAAU,KAAK;AAC3B,YAAU;AACV,SAAO;AACP,UAAQ;AACV;AACA,CAnCC,sCAmCsC,OAAO,CAP7C;AAQC,aAAW,WAAW;AACxB;","names":[]}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { Q as SdkConfig } from '../sdk-config-
|
|
4
|
-
export { CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseCheckoutOptionsArgs, UseCheckoutOptionsReturn, UseCollectibleArgs, UseCollectibleReturn, UseCollectionArgs, UseCollectionReturn, UseContOfCollectableReturn, UseCountListingsForCollectibleArgs, UseCountListingsForCollectibleReturn, UseCountOfCollectablesArgs, UseCountOffersForCollectibleArgs, UseCountOffersForCollectibleReturn, UseCurrenciesReturn, UseCurrencyReturn, UseFetchTokenBalancesReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateBuyTransactionArgsSchema, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseHighestOfferArgs, UseHighestOfferReturn, UseListBalancesArgs, UseListCollectibleActivitiesArgs, UseListCollectibleActivitiesReturn, UseListCollectiblesArgs, UseListCollectiblesReturn, UseListCollectionActivitiesArgs, UseListCollectionActivitiesReturn, UseListCollectionsArgs, UseListCollectionsReturn, UseListListingsForCollectibleReturn, UseListOffersForCollectibleReturn, UseLowestListingArgs, UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectibleActivitiesOptions, listCollectiblesOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens } from './hooks/index.js';
|
|
3
|
+
import { Q as SdkConfig } from '../sdk-config-B32_2bG3.js';
|
|
4
|
+
export { CollectionBalanceFilter, CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseCheckoutOptionsArgs, UseCheckoutOptionsReturn, UseCollectibleArgs, UseCollectibleReturn, UseCollectionArgs, UseCollectionBalanceDetailsArgs, UseCollectionReturn, UseContOfCollectableReturn, UseCountListingsForCollectibleArgs, UseCountListingsForCollectibleReturn, UseCountOfCollectablesArgs, UseCountOffersForCollectibleArgs, UseCountOffersForCollectibleReturn, UseCurrenciesReturn, UseCurrencyReturn, UseFetchTokenBalancesReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateBuyTransactionArgsSchema, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseHighestOfferArgs, UseHighestOfferReturn, UseListBalancesArgs, UseListCollectibleActivitiesArgs, UseListCollectibleActivitiesReturn, UseListCollectiblesArgs, UseListCollectiblesReturn, UseListCollectionActivitiesArgs, UseListCollectionActivitiesReturn, UseListCollectionsArgs, UseListCollectionsReturn, UseListListingsForCollectibleReturn, UseListOffersForCollectibleReturn, UseLowestListingArgs, UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectibleActivitiesOptions, listCollectiblesOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens } from './hooks/index.js';
|
|
5
5
|
export { g as getQueryClient } from '../get-query-client-D46hbjk6.js';
|
|
6
|
-
export { c as createWagmiConfig } from '../create-config-
|
|
6
|
+
export { c as createWagmiConfig } from '../create-config-BXvwUh55.js';
|
|
7
7
|
export { ModalProvider, useBuyModal, useCreateListingModal, useMakeOfferModal, useSellModal, useSuccessfulPurchaseModal, useTransferModal } from './ui/index.js';
|
|
8
8
|
export { CollectibleCard } from './ui/components/collectible-card/index.js';
|
|
9
9
|
import '@tanstack/react-query';
|
|
@@ -11,10 +11,10 @@ import '@0xsequence/indexer';
|
|
|
11
11
|
import '@0xsequence/network';
|
|
12
12
|
import 'viem';
|
|
13
13
|
import 'zod';
|
|
14
|
-
import '../types-
|
|
15
|
-
import '../marketplace-config-
|
|
14
|
+
import '../types-Yto6KrTN.js';
|
|
15
|
+
import '../marketplace-config-znEu4L0K.js';
|
|
16
16
|
import '@0xsequence/metadata';
|
|
17
|
-
import '../services-
|
|
17
|
+
import '../services-BRBVE0mm.js';
|
|
18
18
|
import 'wagmi';
|
|
19
19
|
import '@0xsequence/design-system';
|
|
20
20
|
|
package/dist/react/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
useSellModal,
|
|
9
9
|
useSuccessfulPurchaseModal,
|
|
10
10
|
useTransferModal
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-OUVFTA63.js";
|
|
12
|
+
import "../chunk-J2XJZ6SJ.js";
|
|
13
|
+
import "../chunk-6YHHCGGY.js";
|
|
14
|
+
import "../chunk-5NORRVPM.js";
|
|
15
15
|
import "../chunk-TDTORZHC.js";
|
|
16
16
|
import {
|
|
17
17
|
MarketplaceProvider,
|
|
@@ -21,6 +21,9 @@ import {
|
|
|
21
21
|
balanceOfCollectibleOptions,
|
|
22
22
|
checkoutOptionsOptions,
|
|
23
23
|
collectibleOptions,
|
|
24
|
+
collectionBalanceDetailsOptions,
|
|
25
|
+
collectionDetailsOptions,
|
|
26
|
+
collectionDetailsPollingOptions,
|
|
24
27
|
collectionOptions,
|
|
25
28
|
countListingsForCollectibleOptions,
|
|
26
29
|
countOfCollectablesOptions,
|
|
@@ -48,11 +51,15 @@ import {
|
|
|
48
51
|
marketplaceConfigOptions,
|
|
49
52
|
metadataOptionsSchema,
|
|
50
53
|
royaletyPercentageOptions,
|
|
54
|
+
useAutoSelectFeeOption,
|
|
51
55
|
useBalanceOfCollectible,
|
|
52
56
|
useCancelOrder,
|
|
53
57
|
useCheckoutOptions,
|
|
54
58
|
useCollectible,
|
|
55
59
|
useCollection,
|
|
60
|
+
useCollectionBalanceDetails,
|
|
61
|
+
useCollectionDetails,
|
|
62
|
+
useCollectionDetailsPolling,
|
|
56
63
|
useConfig,
|
|
57
64
|
useCountListingsForCollectible,
|
|
58
65
|
useCountOfCollectables,
|
|
@@ -79,12 +86,11 @@ import {
|
|
|
79
86
|
useMarketplaceConfig,
|
|
80
87
|
useRoyaltyPercentage,
|
|
81
88
|
useTransferTokens
|
|
82
|
-
} from "../chunk-
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-XXML5K3X.js";
|
|
89
|
+
} from "../chunk-HV2X2VZN.js";
|
|
90
|
+
import "../chunk-QTJF5GDQ.js";
|
|
85
91
|
import "../chunk-Y75XGZOB.js";
|
|
86
92
|
import "../chunk-FI723DGL.js";
|
|
87
|
-
import "../chunk-
|
|
93
|
+
import "../chunk-TQWM4ER6.js";
|
|
88
94
|
import "../chunk-NJ2GXOPW.js";
|
|
89
95
|
import "../chunk-XP3WY5AX.js";
|
|
90
96
|
import "../chunk-MWDG7UTB.js";
|
|
@@ -95,7 +101,7 @@ import "../chunk-RK6KYMZM.js";
|
|
|
95
101
|
import "../chunk-YOKGP2EQ.js";
|
|
96
102
|
import {
|
|
97
103
|
getQueryClient
|
|
98
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-WSCUPAGR.js";
|
|
99
105
|
import {
|
|
100
106
|
createWagmiConfig
|
|
101
107
|
} from "../chunk-FCF57DZI.js";
|
|
@@ -110,6 +116,9 @@ export {
|
|
|
110
116
|
balanceOfCollectibleOptions,
|
|
111
117
|
checkoutOptionsOptions,
|
|
112
118
|
collectibleOptions,
|
|
119
|
+
collectionBalanceDetailsOptions,
|
|
120
|
+
collectionDetailsOptions,
|
|
121
|
+
collectionDetailsPollingOptions,
|
|
113
122
|
collectionOptions,
|
|
114
123
|
countListingsForCollectibleOptions,
|
|
115
124
|
countOfCollectablesOptions,
|
|
@@ -139,12 +148,16 @@ export {
|
|
|
139
148
|
marketplaceConfigOptions,
|
|
140
149
|
metadataOptionsSchema,
|
|
141
150
|
royaletyPercentageOptions,
|
|
151
|
+
useAutoSelectFeeOption,
|
|
142
152
|
useBalanceOfCollectible,
|
|
143
153
|
useBuyModal,
|
|
144
154
|
useCancelOrder,
|
|
145
155
|
useCheckoutOptions,
|
|
146
156
|
useCollectible,
|
|
147
157
|
useCollection,
|
|
158
|
+
useCollectionBalanceDetails,
|
|
159
|
+
useCollectionDetails,
|
|
160
|
+
useCollectionDetailsPolling,
|
|
148
161
|
useConfig,
|
|
149
162
|
useCountListingsForCollectible,
|
|
150
163
|
useCountOfCollectables,
|
package/dist/react/ssr/index.js
CHANGED
|
@@ -278,6 +278,10 @@ var CollectionKeys = class _CollectionKeys {
|
|
|
278
278
|
var BalanceQueries = class _BalanceQueries {
|
|
279
279
|
static all = ["balances"];
|
|
280
280
|
static lists = [..._BalanceQueries.all, "tokenBalances"];
|
|
281
|
+
static collectionBalanceDetails = [
|
|
282
|
+
..._BalanceQueries.all,
|
|
283
|
+
"collectionBalanceDetails"
|
|
284
|
+
];
|
|
281
285
|
};
|
|
282
286
|
var CheckoutKeys = class _CheckoutKeys {
|
|
283
287
|
static all = ["checkouts"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/react/ssr/create-ssr-client.ts","../../../src/react/_internal/wagmi/create-config.ts","../../../src/react/_internal/wagmi/embedded.ts","../../../src/utils/_internal/error/base.ts","../../../src/utils/_internal/error/transaction.ts","../../../src/react/_internal/consts.ts","../../../src/react/_internal/wagmi/universal.ts","../../../src/react/hooks/options/marketplaceConfigOptions.ts","../../../src/react/_internal/api/query-keys.ts","../../../src/react/_internal/api/services.ts"],"sourcesContent":["import { type State, cookieToInitialState } from 'wagmi';\nimport type { SdkConfig } from '../../types/sdk-config';\nimport { createWagmiConfig } from '../_internal/wagmi/create-config';\nimport { marketplaceConfigOptions } from '../hooks/options/marketplaceConfigOptions';\nimport type { QueryClient } from '@tanstack/react-query';\n\ntype InitSSRClientArgs = {\n\tcookie: string;\n\tconfig: SdkConfig;\n\tqueryClient: QueryClient;\n};\n\ntype InitialState = { wagmi?: State };\n\nconst marketplaceConfig = async (\n\tconfig: SdkConfig,\n\tqueryClient: QueryClient,\n) => {\n\tconst configOptions = marketplaceConfigOptions(config);\n\treturn queryClient.fetchQuery(configOptions);\n};\n\nconst initialState = async (args: InitSSRClientArgs): Promise<InitialState> => {\n\tconst marketConfig = await marketplaceConfig(args.config, args.queryClient);\n\tconst wagmiConfig = createWagmiConfig(marketConfig, args.config, true);\n\treturn { wagmi: cookieToInitialState(wagmiConfig, args.cookie) };\n};\n\nexport const createSSRClient = (args: InitSSRClientArgs) => {\n\tconst getMarketplaceConfig = async () =>\n\t\tmarketplaceConfig(args.config, args.queryClient);\n\tconst getInitialState = async () => initialState(args);\n\tconst config = args.config;\n\treturn { getInitialState, getMarketplaceConfig, config };\n};\n","import { getDefaultChains } from '@0xsequence/kit';\nimport { allNetworks, findNetworkConfig } from '@0xsequence/network';\nimport type { Chain, Transport } from 'viem';\nimport { polygon } from 'viem/chains';\nimport { http, cookieStorage, createConfig, createStorage } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { getWaasConnectors } from './embedded';\nimport { getUniversalConnectors } from './universal';\n\nexport const createWagmiConfig = (\n\tmarketplaceConfig: MarketplaceConfig,\n\tsdkConfig: SdkConfig,\n\tssr?: boolean,\n) => {\n\tconst chains = getChainConfigs(marketplaceConfig);\n\tconst transports = getTransportConfigs(chains, sdkConfig.projectAccessKey);\n\n\tconst walletType = sdkConfig.wallet?.embedded?.waasConfigKey\n\t\t? 'waas'\n\t\t: 'universal';\n\n\tconst connectors =\n\t\twalletType === 'universal'\n\t\t\t? getUniversalConnectors(marketplaceConfig, sdkConfig)\n\t\t\t: getWaasConnectors(marketplaceConfig, sdkConfig);\n\n\t// The old config did not support disabling EIP-6963 wallets\n\tconst includeEIP6963Wallets =\n\t\tmarketplaceConfig.walletOptionsNew?.includeEIP6963Wallets ?? true;\n\n\treturn createConfig({\n\t\tconnectors,\n\t\tchains,\n\t\tssr,\n\t\tmultiInjectedProviderDiscovery: includeEIP6963Wallets,\n\t\tstorage: ssr\n\t\t\t? createStorage({\n\t\t\t\t\tstorage: cookieStorage,\n\t\t\t\t})\n\t\t\t: undefined,\n\t\ttransports,\n\t});\n};\n\nfunction getChainConfigs(marketConfig: MarketplaceConfig): [Chain, ...Chain[]] {\n\tconst supportedChainIds = new Set(\n\t\tmarketConfig.collections.map((c) => c.chainId),\n\t);\n\n\t// Marketplace config does not specify any chains, use polygon as default\n\tif (supportedChainIds.size === 0) {\n\t\tsupportedChainIds.add(polygon.id); // Mainnet chain ID\n\t}\n\tconst chains = getDefaultChains([...supportedChainIds]);\n\n\treturn chains;\n}\n\nfunction getTransportConfigs(\n\tchains: [Chain, ...Chain[]],\n\tprojectAccessKey: string,\n): Record<number, Transport> {\n\treturn chains.reduce(\n\t\t(acc, chain) => {\n\t\t\tconst network = findNetworkConfig(allNetworks, chain.id);\n\t\t\tif (network) {\n\t\t\t\tlet rpcUrl = network.rpcUrl;\n\t\t\t\tif (!network.rpcUrl.endsWith(projectAccessKey))\n\t\t\t\t\trpcUrl = `${rpcUrl}/${projectAccessKey}`;\n\t\t\t\tacc[chain.id] = http(rpcUrl);\n\t\t\t}\n\t\t\treturn acc;\n\t\t},\n\t\t{} as Record<number, Transport>,\n\t);\n}\n","import {\n\ttype Wallet,\n\tappleWaas,\n\tcoinbaseWallet,\n\temailWaas,\n\tgetKitConnectWallets,\n\tgoogleWaas,\n\twalletConnect,\n} from '@0xsequence/kit';\nimport type { CreateConnectorFn } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { MissingConfigError } from '../../../utils/_internal/error/transaction';\nimport { DEFAULT_NETWORK } from '../consts';\n\nexport function getWaasConnectors(\n\tmarketplaceConfig: MarketplaceConfig,\n\tsdkConfig: SdkConfig,\n): CreateConnectorFn[] {\n\tconst { projectAccessKey } = sdkConfig;\n\n\tconst waasConfigKey = sdkConfig.wallet?.embedded?.waasConfigKey;\n\n\tif (!waasConfigKey) throw new MissingConfigError('waasConfigKey');\n\n\tconst walletConnectProjectId = sdkConfig.wallet?.walletConnectProjectId;\n\tconst { googleClientId, appleClientId, appleRedirectURI } =\n\t\tsdkConfig.wallet?.embedded || {};\n\n\tconst { title: appName } = marketplaceConfig;\n\n\t// Normalizing the wallet options, TODO: remove this after the marketplaceConfig is updated\n\tconst walletOptions = marketplaceConfig.walletOptionsNew || {\n\t\tconnectors: ['coinbase', 'walletconnect'],\n\t};\n\n\tconst wallets: Wallet[] = [\n\t\temailWaas({\n\t\t\tprojectAccessKey,\n\t\t\twaasConfigKey,\n\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t}),\n\t];\n\n\tif (walletOptions.connectors.includes('coinbase')) {\n\t\twallets.push(\n\t\t\tcoinbaseWallet({\n\t\t\t\tappName,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (\n\t\twalletConnectProjectId &&\n\t\twalletOptions.connectors.includes('walletconnect')\n\t) {\n\t\twallets.push(\n\t\t\twalletConnect({\n\t\t\t\tprojectId: walletConnectProjectId,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (googleClientId) {\n\t\twallets.push(\n\t\t\tgoogleWaas({\n\t\t\t\tprojectAccessKey,\n\t\t\t\tgoogleClientId,\n\t\t\t\twaasConfigKey,\n\t\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (appleClientId) {\n\t\twallets.push(\n\t\t\tappleWaas({\n\t\t\t\tprojectAccessKey,\n\t\t\t\tappleClientId,\n\t\t\t\tappleRedirectURI,\n\t\t\t\twaasConfigKey,\n\t\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t\t}),\n\t\t);\n\t}\n\n\treturn getKitConnectWallets(projectAccessKey, wallets);\n}\n","export type ErrorType<name extends string = 'Error'> = Error & { name: name };\n\nexport type Compute<type> = { [key in keyof type]: type[key] } & unknown;\n\ntype BaseErrorOptions = Compute<\n\t{ details?: string | undefined } | { cause: BaseError | Error }\n>;\n\nexport class BaseError extends Error {\n\tdetails: string;\n\tshortMessage: string;\n\n\tname = 'MarketplaceSdkBaseError';\n\n\tconstructor(shortMessage: string, options: BaseErrorOptions = {}) {\n\t\tsuper();\n\n\t\tconst details = 'details' in options ? options.details : '';\n\t\tthis.message = [\n\t\t\tshortMessage || 'An error occurred.',\n\t\t\t'',\n\t\t\t...(details ? [`Details: ${details}`] : []),\n\t\t].join('\\n');\n\n\t\tif ('cause' in options && options.cause) {\n\t\t\tthis.cause = options.cause;\n\t\t}\n\n\t\tthis.details = details || '';\n\t\tthis.shortMessage = shortMessage;\n\t}\n}\n","import type { Address } from 'viem';\nimport { BaseError } from './base';\n\nexport type TransactionErrorType<name extends string = 'TransactionError'> =\n\tBaseError & { name: name };\n\nexport class TransactionError extends BaseError {\n\toverride name = 'TransactionError';\n}\n\nexport class ChainSwitchError extends TransactionError {\n\toverride name = 'ChainSwitchError';\n\tconstructor(currentChainId: number, targetChainId: number) {\n\t\tsuper(\n\t\t\t`Failed to switch network from ${currentChainId} to ${targetChainId}`,\n\t\t\t{\n\t\t\t\tdetails:\n\t\t\t\t\t'The user may have rejected the network switch or there might be a network connectivity issue.',\n\t\t\t},\n\t\t);\n\t}\n}\n\nexport class ChainSwitchUserRejectedError extends TransactionError {\n\toverride name = 'ChainSwitchUserRejectedError';\n\tconstructor() {\n\t\tsuper('User rejected chain switch', {\n\t\t\tdetails: 'The user rejected the chain switch request.',\n\t\t});\n\t}\n}\n\nexport class TransactionExecutionError extends TransactionError {\n\toverride name = 'TransactionExecutionError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to execute transaction step: ${stepId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction may have been rejected or failed during execution.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class TransactionSignatureError extends TransactionError {\n\toverride name = 'TransactionSignatureError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to sign transaction step: ${stepId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The signature request may have been rejected by the user.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class NoWalletConnectedError extends TransactionError {\n\toverride name = 'NoWalletConnectedError';\n\tconstructor() {\n\t\tsuper('No wallet connected', {\n\t\t\tdetails: 'Please connect your wallet before attempting this transaction.',\n\t\t});\n\t}\n}\n\nexport class NoMarketplaceConfigError extends TransactionError {\n\toverride name = 'NoMarketplaceConfigError';\n\tconstructor() {\n\t\tsuper('Marketplace configuration not found', {\n\t\t\tdetails:\n\t\t\t\t'The marketplace configuration is missing or invalid. This could be due to an initialization error.',\n\t\t});\n\t}\n}\n\nexport class UserRejectedRequestError extends TransactionError {\n\toverride name = 'UserRejectedRequestError';\n\tconstructor() {\n\t\tsuper('User rejected the request', {\n\t\t\tdetails: 'The user cancelled or rejected the transaction request.',\n\t\t});\n\t}\n}\n\nexport class InsufficientFundsError extends TransactionError {\n\toverride name = 'InsufficientFundsError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Insufficient funds for transaction', {\n\t\t\tdetails:\n\t\t\t\t'The wallet does not have enough funds to complete this transaction.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class SignatureExecutionError extends TransactionError {\n\toverride name = 'SignatureExecutionError';\n\tconstructor(signature: string, cause?: Error) {\n\t\tsuper(`Failed to execute signature: ${signature}`, {\n\t\t\tdetails: cause?.message || 'The execution of the signature failed.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class StepExecutionError extends TransactionError {\n\toverride name = 'StepExecutionError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to execute step ${stepId})`, {\n\t\t\tdetails: cause?.message || 'The step execution failed unexpectedly.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class StepGenerationError extends TransactionError {\n\toverride name = 'StepGenerationError';\n\tconstructor(transactionType: string, cause?: Error) {\n\t\tsuper(`Failed to generate steps for ${transactionType}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message || 'Could not generate the required transaction steps.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class PaymentModalError extends TransactionError {\n\toverride name = 'PaymentModalError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Payment modal operation failed', {\n\t\t\tdetails:\n\t\t\t\tcause?.message || 'The payment modal operation was unsuccessful.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class InvalidStepError extends TransactionError {\n\toverride name = 'InvalidStepError';\n\tconstructor(stepId: string, reason: string) {\n\t\tsuper(`Invalid step configuration for ${stepId}`, {\n\t\t\tdetails: reason,\n\t\t});\n\t}\n}\n\nexport class TransactionConfirmationError extends TransactionError {\n\toverride name = 'TransactionConfirmationError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Failed to confirm transaction ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction could not be confirmed on the network.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class OrderNotFoundError extends TransactionError {\n\toverride name = 'OrderNotFoundError';\n\tconstructor(orderId: string) {\n\t\tsuper(`Order ${orderId} not found`, {\n\t\t\tdetails: 'The requested order could not be found in the marketplace.',\n\t\t});\n\t}\n}\n\nexport class MissingStepDataError extends TransactionError {\n\toverride name = 'MissingStepDataError';\n\tconstructor() {\n\t\tsuper('Step is missing required data', {\n\t\t\tdetails:\n\t\t\t\t'The transaction step is missing required \"to\" or \"signature\" data.',\n\t\t});\n\t}\n}\n\nexport class MissingSignatureDataError extends TransactionError {\n\toverride name = 'MissingSignatureDataError';\n\tconstructor() {\n\t\tsuper('Step is missing signature data', {\n\t\t\tdetails:\n\t\t\t\t'The signature step is missing required signature data configuration.',\n\t\t});\n\t}\n}\n\nexport class InvalidSignatureStepError extends TransactionError {\n\toverride name = 'InvalidSignatureStepError';\n\tconstructor(stepId: string) {\n\t\tsuper(`Invalid signature step type: ${stepId}`, {\n\t\t\tdetails: 'The signature step type is not supported.',\n\t\t});\n\t}\n}\n\nexport class MissingPostStepError extends TransactionError {\n\toverride name = 'MissingPostStepError';\n\tconstructor() {\n\t\tsuper('Missing post step configuration', {\n\t\t\tdetails:\n\t\t\t\t'The signature step is missing required post-step configuration.',\n\t\t});\n\t}\n}\n\nexport class UnexpectedStepsError extends TransactionError {\n\toverride name = 'UnexpectedStepsError';\n\tconstructor() {\n\t\tsuper('Unexpected steps found', {\n\t\t\tdetails: 'The transaction contains more steps than expected.',\n\t\t});\n\t}\n}\n\nexport class NoExecutionStepError extends TransactionError {\n\toverride name = 'NoExecutionStepError';\n\tconstructor() {\n\t\tsuper('No execution step found', {\n\t\t\tdetails: 'The transaction is missing the required execution step.',\n\t\t});\n\t}\n}\n\nexport class NoStepsFoundError extends TransactionError {\n\toverride name = 'NoStepsFoundError';\n\tconstructor() {\n\t\tsuper('No steps found', {\n\t\t\tdetails: 'The transaction contains no steps to execute.',\n\t\t});\n\t}\n}\n\nexport class UnknownTransactionTypeError extends TransactionError {\n\toverride name = 'UnknownTransactionTypeError';\n\tconstructor(type: string) {\n\t\tsuper(`Unknown transaction type: ${type}`, {\n\t\t\tdetails: 'The specified transaction type is not supported.',\n\t\t});\n\t}\n}\n\nexport class InvalidContractTypeError extends TransactionError {\n\toverride name = 'InvalidContractTypeError';\n\tconstructor(contractType: string | undefined) {\n\t\tsuper(`Invalid contract type: ${contractType}`, {\n\t\t\tdetails: 'The contract type must be either ERC721 or ERC1155.',\n\t\t});\n\t}\n}\n\nexport class CollectionNotFoundError extends TransactionError {\n\toverride name = 'CollectionNotFoundError';\n\tconstructor(collectionAddress: string) {\n\t\tsuper(`Collection not found: ${collectionAddress}`, {\n\t\t\tdetails:\n\t\t\t\t'The specified collection address could not be found in the marketplace configuration.',\n\t\t});\n\t}\n}\n\nexport class InvalidCurrencyOptionsError extends TransactionError {\n\toverride name = 'InvalidCurrencyOptionsError';\n\tconstructor(currencyOptions: Address[]) {\n\t\tsuper(`Invalid currency options: ${currencyOptions}`, {\n\t\t\tdetails:\n\t\t\t\t'The currency options must be an array of valid currency contract addresses.',\n\t\t});\n\t}\n}\n\nexport class ProjectNotFoundError extends TransactionError {\n\toverride name = 'ProjectNotFoundError';\n\tconstructor(projectId: string, url: string) {\n\t\tsuper('Project not found', {\n\t\t\tdetails: `Project id: ${projectId} not found at ${url}`,\n\t\t});\n\t}\n}\n\nexport class MarketplaceConfigFetchError extends TransactionError {\n\toverride name = 'MarketplaceConfigFetchError';\n\tconstructor(message: string) {\n\t\tsuper('Failed to fetch marketplace config', {\n\t\t\tdetails: message,\n\t\t});\n\t}\n}\n\nexport class MissingConfigError extends TransactionError {\n\toverride name = 'MissingConfigError';\n\tconstructor(configName: string) {\n\t\tsuper(`Missing required config: ${configName}`, {\n\t\t\tdetails: 'A required configuration parameter is missing.',\n\t\t});\n\t}\n}\n\nexport class TransactionValidationError extends TransactionError {\n\toverride name = 'TransactionValidationError';\n\tconstructor(reason: string) {\n\t\tsuper('Transaction validation failed', {\n\t\t\tdetails: reason,\n\t\t});\n\t}\n}\n\nexport class ChainIdUnavailableError extends TransactionError {\n\toverride name = 'ChainIdUnavailableError';\n\tconstructor() {\n\t\tsuper('Chain ID is not available', {\n\t\t\tdetails: 'Could not determine the current chain ID from the wallet.',\n\t\t});\n\t}\n}\n\nexport class TransactionReceiptError extends TransactionError {\n\toverride name = 'TransactionReceiptError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Failed to get transaction receipt for ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the transaction receipt from the network.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class PaymentModalTransactionError extends TransactionError {\n\toverride name = 'PaymentModalTransactionError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Payment modal transaction failed for ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction initiated from the payment modal failed.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class CheckoutOptionsError extends TransactionError {\n\toverride name = 'CheckoutOptionsError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Failed to get checkout options', {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the checkout options from the marketplace.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class OrdersFetchError extends TransactionError {\n\toverride name = 'OrdersFetchError';\n\tconstructor(orderId: string, cause?: Error) {\n\t\tsuper(`Failed to fetch order ${orderId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the order details from the marketplace.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class WalletInstanceNotFoundError extends TransactionError {\n\toverride name = 'WalletInstanceNotFoundError';\n\tconstructor() {\n\t\tsuper('Wallet instance not found', {\n\t\t\tdetails: 'The wallet instance is undefined',\n\t\t});\n\t}\n}\n\nexport type TransactionErrorTypes =\n\t| ChainIdUnavailableError\n\t| TransactionReceiptError\n\t| PaymentModalTransactionError\n\t| CheckoutOptionsError\n\t| OrdersFetchError\n\t| TransactionConfirmationError\n\t| TransactionValidationError\n\t| MissingConfigError\n\t| MarketplaceConfigFetchError\n\t| ProjectNotFoundError\n\t| CollectionNotFoundError\n\t| InvalidCurrencyOptionsError\n\t| InvalidContractTypeError\n\t| UnknownTransactionTypeError\n\t| NoStepsFoundError\n\t| NoExecutionStepError\n\t| UnexpectedStepsError\n\t| MissingPostStepError\n\t| InvalidSignatureStepError\n\t| MissingSignatureDataError\n\t| MissingStepDataError\n\t| OrderNotFoundError\n\t| TransactionConfirmationError\n\t| InvalidStepError\n\t| PaymentModalError\n\t| StepGenerationError\n\t| StepExecutionError\n\t| UserRejectedRequestError\n\t| NoMarketplaceConfigError\n\t| InsufficientFundsError\n\t| ChainSwitchUserRejectedError\n\t| ChainSwitchError\n\t| TransactionSignatureError\n\t| TransactionExecutionError\n\t| NoWalletConnectedError\n\t| TransactionError\n\t| WalletInstanceNotFoundError;\n","export const DEFAULT_NETWORK = 137;\n","import {\n\ttype SequenceOptions,\n\ttype Wallet,\n\tapple,\n\tcoinbaseWallet,\n\temail,\n\tfacebook,\n\tgetKitConnectWallets,\n\tgoogle,\n\tsequence,\n\ttwitch,\n\twalletConnect,\n} from '@0xsequence/kit';\nimport type { CreateConnectorFn } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { DEFAULT_NETWORK } from '../consts';\n\nconst defaultNetwork = DEFAULT_NETWORK;\n\nexport function getUniversalConnectors(\n\tmarketplaceConfig: MarketplaceConfig,\n\tconfig: SdkConfig,\n): CreateConnectorFn[] {\n\tconst { projectAccessKey } = config;\n\tconst sequenceWalletOptions = {\n\t\tdefaultNetwork,\n\t\tconnect: {\n\t\t\tprojectAccessKey,\n\t\t\tapp: marketplaceConfig.title,\n\t\t\tsettings: {\n\t\t\t\tbannerUrl: marketplaceConfig.ogImage,\n\t\t\t},\n\t\t},\n\t};\n\tconst wallets = getWalletConfigs(\n\t\tmarketplaceConfig,\n\t\tsequenceWalletOptions,\n\t\tconfig.wallet?.walletConnectProjectId,\n\t);\n\tconst socialWallets = getSocialWalletConfigs(sequenceWalletOptions);\n\treturn getKitConnectWallets(projectAccessKey, [...socialWallets, ...wallets]);\n}\n\nfunction getWalletConfigs(\n\tmarketplaceConfig: MarketplaceConfig,\n\tsequenceWalletOptions: SequenceOptions,\n\twalletConnectProjectId?: string,\n): Wallet[] {\n\tconst wallets: Wallet[] = [];\n\n\t// Normalizing the wallet options, TODO: remove this after the marketplaceConfig is updated\n\tconst walletOptions = marketplaceConfig.walletOptionsNew || {\n\t\tconnectors: ['coinbase', 'walletconnect'],\n\t};\n\n\twallets.push(sequence(sequenceWalletOptions));\n\n\tif (walletOptions.connectors.includes('coinbase')) {\n\t\twallets.push(coinbaseWallet({ appName: marketplaceConfig.title }));\n\t}\n\n\tif (\n\t\twalletConnectProjectId &&\n\t\twalletOptions.connectors.includes('walletconnect')\n\t) {\n\t\twallets.push(walletConnect({ projectId: walletConnectProjectId }));\n\t}\n\n\treturn wallets;\n}\n\nfunction getSocialWalletConfigs(\n\tsequenceWalletOptions: SequenceOptions,\n): Wallet[] {\n\treturn [\n\t\temail(sequenceWalletOptions),\n\t\tfacebook(sequenceWalletOptions),\n\t\tgoogle(sequenceWalletOptions),\n\t\tapple(sequenceWalletOptions),\n\t\ttwitch(sequenceWalletOptions),\n\t] as const;\n}\n","import { queryOptions } from '@tanstack/react-query';\nimport type { Env, MarketplaceConfig, SdkConfig } from '../../../types';\nimport {\n\tMarketplaceConfigFetchError,\n\tProjectNotFoundError,\n} from '../../../utils/_internal/error/transaction';\nimport { builderMarketplaceApi, configKeys } from '../../_internal';\n\nconst fetchBuilderConfig = async (projectId: string, env: Env) => {\n\tconst url = `${builderMarketplaceApi(projectId, env)}`;\n\tconst response = await fetch(`${url}/config.json`);\n\n\tconst json = await response.json();\n\tif (!response.ok) {\n\t\tconsole.error('Failed to fetch marketplace config:', response.status, json);\n\t\t//@ts-ignore\n\t\tswitch (json.code) {\n\t\t\tcase 3000: // Throws 3000 if the project is not found\n\t\t\t\tthrow new ProjectNotFoundError(projectId, url);\n\t\t\tdefault:\n\t\t\t\t//@ts-ignore\n\t\t\t\tthrow new MarketplaceConfigFetchError(json.msg);\n\t\t}\n\t}\n\treturn json as MarketplaceConfig;\n};\n\nconst fetchStyles = async (projectId: string, env: Env) => {\n\tconst response = await fetch(\n\t\t`${builderMarketplaceApi(projectId, env)}/styles.css`,\n\t);\n\tconst styles = await response.text();\n\t// React sanitizes this string, so we need to remove all quotes, they are not needed anyway\n\treturn styles.replaceAll(/['\"]/g, '');\n};\n\nconst fetchMarketplaceConfig = async (\n\tenv: Env,\n\tprojectId: string,\n): Promise<MarketplaceConfig> => {\n\tconst [marketplaceConfig, cssString] = await Promise.all([\n\t\tfetchBuilderConfig(projectId, env),\n\t\tfetchStyles(projectId, env),\n\t]);\n\n\treturn {\n\t\t...marketplaceConfig,\n\t\tcssString,\n\t\tmanifestUrl: `${builderMarketplaceApi(projectId, env)}/manifest.json`,\n\t};\n};\n\nexport const marketplaceConfigOptions = (\n\tconfig: Pick<SdkConfig, 'projectId'> | SdkConfig,\n) => {\n\tlet env: Env = 'production';\n\tif ('_internal' in config && config._internal !== undefined) {\n\t\tenv = config._internal.builderEnv ?? env;\n\t}\n\n\tconst projectId = config.projectId;\n\treturn queryOptions({\n\t\tqueryKey: [...configKeys.marketplace, env, projectId],\n\t\tqueryFn: () => fetchMarketplaceConfig(env, projectId),\n\t});\n};\n","// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CollectableKeys {\n\tstatic all = ['collectable'] as const;\n\tstatic details = [...CollectableKeys.all, 'details'] as const;\n\tstatic lists = [...CollectableKeys.all, 'list'] as const;\n\tstatic floorOrders = [...CollectableKeys.all, 'floorOrders'] as const;\n\tstatic userBalances = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'userBalances',\n\t] as const;\n\tstatic royaltyPercentage = [\n\t\t...CollectableKeys.all,\n\t\t'royaltyPercentage',\n\t] as const;\n\tstatic highestOffers = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'highestOffers',\n\t] as const;\n\tstatic lowestListings = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'lowestListings',\n\t] as const;\n\tstatic offers = [...CollectableKeys.all, 'offers'] as const;\n\tstatic offersCount = [...CollectableKeys.all, 'offersCount'] as const;\n\tstatic listings = [...CollectableKeys.all, 'listings'] as const;\n\tstatic listingsCount = [...CollectableKeys.all, 'listingsCount'] as const;\n\tstatic filter = [...CollectableKeys.all, 'filter'] as const;\n\tstatic counts = [...CollectableKeys.all, 'counts'] as const;\n\tstatic collectibleActivities = [\n\t\t...CollectableKeys.all,\n\t\t'collectibleActivities',\n\t] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CollectionKeys {\n\tstatic all = ['collections'] as const;\n\tstatic list = [...CollectionKeys.all, 'list'] as const;\n\tstatic detail = [...CollectionKeys.all, 'detail'] as const;\n\tstatic collectionActivities = [\n\t\t...CollectionKeys.all,\n\t\t'collectionActivities',\n\t] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass BalanceQueries {\n\tstatic all = ['balances'] as const;\n\tstatic lists = [...BalanceQueries.all, 'tokenBalances'] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CheckoutKeys {\n\tstatic all = ['checkouts'] as const;\n\tstatic options = [...CheckoutKeys.all, 'options'] as const;\n\tstatic cartItems = [...CheckoutKeys.all, 'cartItems'] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CurrencyKeys {\n\tstatic all = ['currencies'] as const;\n\tstatic lists = [...CurrencyKeys.all, 'list'] as const;\n\tstatic details = [...CurrencyKeys.all, 'details'] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass ConfigKeys {\n\tstatic all = ['configs'] as const;\n\tstatic marketplace = [...ConfigKeys.all, 'marketplace'] as const;\n}\nexport const collectableKeys = CollectableKeys;\nexport const collectionKeys = CollectionKeys;\nexport const balanceQueries = BalanceQueries;\nexport const checkoutKeys = CheckoutKeys;\nexport const currencyKeys = CurrencyKeys;\nexport const configKeys = ConfigKeys;\n","import { SequenceIndexer } from '@0xsequence/indexer';\nimport { SequenceMetadata } from '@0xsequence/metadata';\nimport { networks, stringTemplate } from '@0xsequence/network';\nimport type { Env, SdkConfig } from '../../../types/sdk-config';\nimport { MissingConfigError } from '../../../utils/_internal/error/transaction';\nimport { SequenceMarketplace } from './marketplace-api';\n\nconst SERVICES = {\n\tsequenceApi: 'https://api.sequence.app',\n\tmetadata: 'https://${prefix}metadata.sequence.app',\n\tindexer: 'https://${prefix}${network}-indexer.sequence.app',\n\tmarketplaceApi: 'https://${prefix}marketplace-api.sequence.app/${network}',\n\timageProxy: 'https://imgproxy.sequence.xyz/',\n\tbuilderMarketplaceApi:\n\t\t'https://${prefix}api.sequence.build/marketplace/${projectId}',\n};\n\ntype ChainNameOrId = string | number;\n\nconst getNetwork = (nameOrId: ChainNameOrId) => {\n\tfor (const network of Object.values(networks)) {\n\t\tif (\n\t\t\tnetwork.name === String(nameOrId).toLowerCase() ||\n\t\t\tnetwork.chainId === Number(nameOrId)\n\t\t) {\n\t\t\treturn network;\n\t\t}\n\t}\n\tthrow new MissingConfigError(`Network configuration for chain ${nameOrId}`);\n};\n\nexport const imageProxy = stringTemplate(SERVICES.imageProxy, {});\nconst metadataURL = (env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\treturn stringTemplate(SERVICES.metadata, { prefix });\n};\nconst indexerURL = (chain: ChainNameOrId, env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\tconst network = getNetwork(chain).name;\n\treturn stringTemplate(SERVICES.indexer, { network: network, prefix });\n};\nconst marketplaceApiURL = (chain: ChainNameOrId, env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\tconst network = getNetwork(chain).name;\n\treturn stringTemplate(SERVICES.marketplaceApi, { network: network, prefix });\n};\nexport const builderMarketplaceApi = (\n\tprojectId: string,\n\tenv: Env = 'production',\n) => {\n\tconst prefix = getPrefix(env);\n\treturn stringTemplate(SERVICES.builderMarketplaceApi, {\n\t\tprojectId,\n\t\tprefix,\n\t});\n};\nexport const getMetadataClient = (config: SdkConfig) => {\n\tconst env = config._internal?.metadataEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceMetadata(metadataURL(env), projectAccessKey);\n};\nexport const getIndexerClient = (chain: ChainNameOrId, config: SdkConfig) => {\n\tconst env = config._internal?.indexerEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceIndexer(indexerURL(chain, env), projectAccessKey);\n};\nexport const getMarketplaceClient = (\n\tchain: ChainNameOrId,\n\tconfig: SdkConfig,\n) => {\n\tconst env = config._internal?.marketplaceEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceMarketplace(\n\t\tmarketplaceApiURL(chain, env),\n\t\tprojectAccessKey,\n\t);\n};\nconst getAccessKey = ({ env, config }: { env: Env; config: SdkConfig }) => {\n\tswitch (env) {\n\t\tcase 'development':\n\t\t\tif (!config._internal?.devAccessKey)\n\t\t\t\tthrow new MissingConfigError('devAccessKey for development env');\n\t\t\treturn config._internal?.devAccessKey;\n\t\tcase 'production':\n\t\t\treturn config.projectAccessKey;\n\t\tcase 'next':\n\t\t\tif (!config._internal?.nextAccessKey)\n\t\t\t\tthrow new MissingConfigError('nextAccessKey for next env');\n\t\t\treturn config._internal?.nextAccessKey;\n\t}\n};\n\nconst getPrefix = (env: Env) => {\n\tswitch (env) {\n\t\tcase 'development':\n\t\t\treturn 'dev-';\n\t\tcase 'production':\n\t\t\treturn '';\n\t\tcase 'next':\n\t\t\treturn 'next-';\n\t}\n};\n"],"mappings":";AAAA,SAAqB,4BAA4B;;;ACAjD,SAAS,wBAAwB;AACjC,SAAS,aAAa,yBAAyB;AAE/C,SAAS,eAAe;AACxB,SAAS,MAAM,eAAe,cAAc,qBAAqB;;;ACJjE;AAAA,EAEC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;;;ACAA,IAAM,YAAN,cAAwB,MAAM;AAAA,EACpC;AAAA,EACA;AAAA,EAEA,OAAO;AAAA,EAEP,YAAY,cAAsB,UAA4B,CAAC,GAAG;AACjE,UAAM;AAEN,UAAM,UAAU,aAAa,UAAU,QAAQ,UAAU;AACzD,SAAK,UAAU;AAAA,MACd,gBAAgB;AAAA,MAChB;AAAA,MACA,GAAI,UAAU,CAAC,YAAY,OAAO,EAAE,IAAI,CAAC;AAAA,IAC1C,EAAE,KAAK,IAAI;AAEX,QAAI,WAAW,WAAW,QAAQ,OAAO;AACxC,WAAK,QAAQ,QAAQ;AAAA,IACtB;AAEA,SAAK,UAAU,WAAW;AAC1B,SAAK,eAAe;AAAA,EACrB;AACD;;;ACzBO,IAAM,mBAAN,cAA+B,UAAU;AAAA,EACtC,OAAO;AACjB;AAuQO,IAAM,uBAAN,cAAmC,iBAAiB;AAAA,EACjD,OAAO;AA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I,eAAe,UAAU,OAAO,cAAc,QAAW;AAC5D,UAAM,OAAO,UAAU,cAAc;AAAA,EACtC;AAEA,QAAM,YAAY,OAAO;AACzB,SAAO,aAAa;AAAA,IACnB,UAAU,CAAC,GAAG,WAAW,aAAa,KAAK,SAAS;AAAA,IACpD,SAAS,MAAM,uBAAuB,KAAK,SAAS;AAAA,EACrD,CAAC;AACF;;;APnDA,IAAM,oBAAoB,OACzB,QACA,gBACI;AACJ,QAAM,gBAAgB,yBAAyB,MAAM;AACrD,SAAO,YAAY,WAAW,aAAa;AAC5C;AAEA,IAAM,eAAe,OAAO,SAAmD;AAC9E,QAAM,eAAe,MAAM,kBAAkB,KAAK,QAAQ,KAAK,WAAW;AAC1E,QAAM,cAAc,kBAAkB,cAAc,KAAK,QAAQ,IAAI;AACrE,SAAO,EAAE,OAAO,qBAAqB,aAAa,KAAK,MAAM,EAAE;AAChE;AAEO,IAAM,kBAAkB,CAAC,SAA4B;AAC3D,QAAM,uBAAuB,YAC5B,kBAAkB,KAAK,QAAQ,KAAK,WAAW;AAChD,QAAM,kBAAkB,YAAY,aAAa,IAAI;AACrD,QAAM,SAAS,KAAK;AACpB,SAAO,EAAE,iBAAiB,sBAAsB,OAAO;AACxD;","names":["marketplaceConfig","coinbaseWallet","getKitConnectWallets","walletConnect","marketplaceConfig","getKitConnectWallets","coinbaseWallet","walletConnect","marketplaceConfig","marketplaceConfig"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/react/ssr/create-ssr-client.ts","../../../src/react/_internal/wagmi/create-config.ts","../../../src/react/_internal/wagmi/embedded.ts","../../../src/utils/_internal/error/base.ts","../../../src/utils/_internal/error/transaction.ts","../../../src/react/_internal/consts.ts","../../../src/react/_internal/wagmi/universal.ts","../../../src/react/hooks/options/marketplaceConfigOptions.ts","../../../src/react/_internal/api/query-keys.ts","../../../src/react/_internal/api/services.ts"],"sourcesContent":["import { type State, cookieToInitialState } from 'wagmi';\nimport type { SdkConfig } from '../../types/sdk-config';\nimport { createWagmiConfig } from '../_internal/wagmi/create-config';\nimport { marketplaceConfigOptions } from '../hooks/options/marketplaceConfigOptions';\nimport type { QueryClient } from '@tanstack/react-query';\n\ntype InitSSRClientArgs = {\n\tcookie: string;\n\tconfig: SdkConfig;\n\tqueryClient: QueryClient;\n};\n\ntype InitialState = { wagmi?: State };\n\nconst marketplaceConfig = async (\n\tconfig: SdkConfig,\n\tqueryClient: QueryClient,\n) => {\n\tconst configOptions = marketplaceConfigOptions(config);\n\treturn queryClient.fetchQuery(configOptions);\n};\n\nconst initialState = async (args: InitSSRClientArgs): Promise<InitialState> => {\n\tconst marketConfig = await marketplaceConfig(args.config, args.queryClient);\n\tconst wagmiConfig = createWagmiConfig(marketConfig, args.config, true);\n\treturn { wagmi: cookieToInitialState(wagmiConfig, args.cookie) };\n};\n\nexport const createSSRClient = (args: InitSSRClientArgs) => {\n\tconst getMarketplaceConfig = async () =>\n\t\tmarketplaceConfig(args.config, args.queryClient);\n\tconst getInitialState = async () => initialState(args);\n\tconst config = args.config;\n\treturn { getInitialState, getMarketplaceConfig, config };\n};\n","import { getDefaultChains } from '@0xsequence/kit';\nimport { allNetworks, findNetworkConfig } from '@0xsequence/network';\nimport type { Chain, Transport } from 'viem';\nimport { polygon } from 'viem/chains';\nimport { http, cookieStorage, createConfig, createStorage } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { getWaasConnectors } from './embedded';\nimport { getUniversalConnectors } from './universal';\n\nexport const createWagmiConfig = (\n\tmarketplaceConfig: MarketplaceConfig,\n\tsdkConfig: SdkConfig,\n\tssr?: boolean,\n) => {\n\tconst chains = getChainConfigs(marketplaceConfig);\n\tconst transports = getTransportConfigs(chains, sdkConfig.projectAccessKey);\n\n\tconst walletType = sdkConfig.wallet?.embedded?.waasConfigKey\n\t\t? 'waas'\n\t\t: 'universal';\n\n\tconst connectors =\n\t\twalletType === 'universal'\n\t\t\t? getUniversalConnectors(marketplaceConfig, sdkConfig)\n\t\t\t: getWaasConnectors(marketplaceConfig, sdkConfig);\n\n\t// The old config did not support disabling EIP-6963 wallets\n\tconst includeEIP6963Wallets =\n\t\tmarketplaceConfig.walletOptionsNew?.includeEIP6963Wallets ?? true;\n\n\treturn createConfig({\n\t\tconnectors,\n\t\tchains,\n\t\tssr,\n\t\tmultiInjectedProviderDiscovery: includeEIP6963Wallets,\n\t\tstorage: ssr\n\t\t\t? createStorage({\n\t\t\t\t\tstorage: cookieStorage,\n\t\t\t\t})\n\t\t\t: undefined,\n\t\ttransports,\n\t});\n};\n\nfunction getChainConfigs(marketConfig: MarketplaceConfig): [Chain, ...Chain[]] {\n\tconst supportedChainIds = new Set(\n\t\tmarketConfig.collections.map((c) => c.chainId),\n\t);\n\n\t// Marketplace config does not specify any chains, use polygon as default\n\tif (supportedChainIds.size === 0) {\n\t\tsupportedChainIds.add(polygon.id); // Mainnet chain ID\n\t}\n\tconst chains = getDefaultChains([...supportedChainIds]);\n\n\treturn chains;\n}\n\nfunction getTransportConfigs(\n\tchains: [Chain, ...Chain[]],\n\tprojectAccessKey: string,\n): Record<number, Transport> {\n\treturn chains.reduce(\n\t\t(acc, chain) => {\n\t\t\tconst network = findNetworkConfig(allNetworks, chain.id);\n\t\t\tif (network) {\n\t\t\t\tlet rpcUrl = network.rpcUrl;\n\t\t\t\tif (!network.rpcUrl.endsWith(projectAccessKey))\n\t\t\t\t\trpcUrl = `${rpcUrl}/${projectAccessKey}`;\n\t\t\t\tacc[chain.id] = http(rpcUrl);\n\t\t\t}\n\t\t\treturn acc;\n\t\t},\n\t\t{} as Record<number, Transport>,\n\t);\n}\n","import {\n\ttype Wallet,\n\tappleWaas,\n\tcoinbaseWallet,\n\temailWaas,\n\tgetKitConnectWallets,\n\tgoogleWaas,\n\twalletConnect,\n} from '@0xsequence/kit';\nimport type { CreateConnectorFn } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { MissingConfigError } from '../../../utils/_internal/error/transaction';\nimport { DEFAULT_NETWORK } from '../consts';\n\nexport function getWaasConnectors(\n\tmarketplaceConfig: MarketplaceConfig,\n\tsdkConfig: SdkConfig,\n): CreateConnectorFn[] {\n\tconst { projectAccessKey } = sdkConfig;\n\n\tconst waasConfigKey = sdkConfig.wallet?.embedded?.waasConfigKey;\n\n\tif (!waasConfigKey) throw new MissingConfigError('waasConfigKey');\n\n\tconst walletConnectProjectId = sdkConfig.wallet?.walletConnectProjectId;\n\tconst { googleClientId, appleClientId, appleRedirectURI } =\n\t\tsdkConfig.wallet?.embedded || {};\n\n\tconst { title: appName } = marketplaceConfig;\n\n\t// Normalizing the wallet options, TODO: remove this after the marketplaceConfig is updated\n\tconst walletOptions = marketplaceConfig.walletOptionsNew || {\n\t\tconnectors: ['coinbase', 'walletconnect'],\n\t};\n\n\tconst wallets: Wallet[] = [\n\t\temailWaas({\n\t\t\tprojectAccessKey,\n\t\t\twaasConfigKey,\n\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t}),\n\t];\n\n\tif (walletOptions.connectors.includes('coinbase')) {\n\t\twallets.push(\n\t\t\tcoinbaseWallet({\n\t\t\t\tappName,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (\n\t\twalletConnectProjectId &&\n\t\twalletOptions.connectors.includes('walletconnect')\n\t) {\n\t\twallets.push(\n\t\t\twalletConnect({\n\t\t\t\tprojectId: walletConnectProjectId,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (googleClientId) {\n\t\twallets.push(\n\t\t\tgoogleWaas({\n\t\t\t\tprojectAccessKey,\n\t\t\t\tgoogleClientId,\n\t\t\t\twaasConfigKey,\n\t\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t\t}),\n\t\t);\n\t}\n\n\tif (appleClientId) {\n\t\twallets.push(\n\t\t\tappleWaas({\n\t\t\t\tprojectAccessKey,\n\t\t\t\tappleClientId,\n\t\t\t\tappleRedirectURI,\n\t\t\t\twaasConfigKey,\n\t\t\t\tnetwork: DEFAULT_NETWORK,\n\t\t\t}),\n\t\t);\n\t}\n\n\treturn getKitConnectWallets(projectAccessKey, wallets);\n}\n","export type ErrorType<name extends string = 'Error'> = Error & { name: name };\n\nexport type Compute<type> = { [key in keyof type]: type[key] } & unknown;\n\ntype BaseErrorOptions = Compute<\n\t{ details?: string | undefined } | { cause: BaseError | Error }\n>;\n\nexport class BaseError extends Error {\n\tdetails: string;\n\tshortMessage: string;\n\n\tname = 'MarketplaceSdkBaseError';\n\n\tconstructor(shortMessage: string, options: BaseErrorOptions = {}) {\n\t\tsuper();\n\n\t\tconst details = 'details' in options ? options.details : '';\n\t\tthis.message = [\n\t\t\tshortMessage || 'An error occurred.',\n\t\t\t'',\n\t\t\t...(details ? [`Details: ${details}`] : []),\n\t\t].join('\\n');\n\n\t\tif ('cause' in options && options.cause) {\n\t\t\tthis.cause = options.cause;\n\t\t}\n\n\t\tthis.details = details || '';\n\t\tthis.shortMessage = shortMessage;\n\t}\n}\n","import type { Address } from 'viem';\nimport { BaseError } from './base';\n\nexport type TransactionErrorType<name extends string = 'TransactionError'> =\n\tBaseError & { name: name };\n\nexport class TransactionError extends BaseError {\n\toverride name = 'TransactionError';\n}\n\nexport class ChainSwitchError extends TransactionError {\n\toverride name = 'ChainSwitchError';\n\tconstructor(currentChainId: number, targetChainId: number) {\n\t\tsuper(\n\t\t\t`Failed to switch network from ${currentChainId} to ${targetChainId}`,\n\t\t\t{\n\t\t\t\tdetails:\n\t\t\t\t\t'The user may have rejected the network switch or there might be a network connectivity issue.',\n\t\t\t},\n\t\t);\n\t}\n}\n\nexport class ChainSwitchUserRejectedError extends TransactionError {\n\toverride name = 'ChainSwitchUserRejectedError';\n\tconstructor() {\n\t\tsuper('User rejected chain switch', {\n\t\t\tdetails: 'The user rejected the chain switch request.',\n\t\t});\n\t}\n}\n\nexport class TransactionExecutionError extends TransactionError {\n\toverride name = 'TransactionExecutionError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to execute transaction step: ${stepId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction may have been rejected or failed during execution.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class TransactionSignatureError extends TransactionError {\n\toverride name = 'TransactionSignatureError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to sign transaction step: ${stepId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The signature request may have been rejected by the user.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class NoWalletConnectedError extends TransactionError {\n\toverride name = 'NoWalletConnectedError';\n\tconstructor() {\n\t\tsuper('No wallet connected', {\n\t\t\tdetails: 'Please connect your wallet before attempting this transaction.',\n\t\t});\n\t}\n}\n\nexport class NoMarketplaceConfigError extends TransactionError {\n\toverride name = 'NoMarketplaceConfigError';\n\tconstructor() {\n\t\tsuper('Marketplace configuration not found', {\n\t\t\tdetails:\n\t\t\t\t'The marketplace configuration is missing or invalid. This could be due to an initialization error.',\n\t\t});\n\t}\n}\n\nexport class UserRejectedRequestError extends TransactionError {\n\toverride name = 'UserRejectedRequestError';\n\tconstructor() {\n\t\tsuper('User rejected the request', {\n\t\t\tdetails: 'The user cancelled or rejected the transaction request.',\n\t\t});\n\t}\n}\n\nexport class InsufficientFundsError extends TransactionError {\n\toverride name = 'InsufficientFundsError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Insufficient funds for transaction', {\n\t\t\tdetails:\n\t\t\t\t'The wallet does not have enough funds to complete this transaction.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class SignatureExecutionError extends TransactionError {\n\toverride name = 'SignatureExecutionError';\n\tconstructor(signature: string, cause?: Error) {\n\t\tsuper(`Failed to execute signature: ${signature}`, {\n\t\t\tdetails: cause?.message || 'The execution of the signature failed.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class StepExecutionError extends TransactionError {\n\toverride name = 'StepExecutionError';\n\tconstructor(stepId: string, cause?: Error) {\n\t\tsuper(`Failed to execute step ${stepId})`, {\n\t\t\tdetails: cause?.message || 'The step execution failed unexpectedly.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class StepGenerationError extends TransactionError {\n\toverride name = 'StepGenerationError';\n\tconstructor(transactionType: string, cause?: Error) {\n\t\tsuper(`Failed to generate steps for ${transactionType}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message || 'Could not generate the required transaction steps.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class PaymentModalError extends TransactionError {\n\toverride name = 'PaymentModalError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Payment modal operation failed', {\n\t\t\tdetails:\n\t\t\t\tcause?.message || 'The payment modal operation was unsuccessful.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class InvalidStepError extends TransactionError {\n\toverride name = 'InvalidStepError';\n\tconstructor(stepId: string, reason: string) {\n\t\tsuper(`Invalid step configuration for ${stepId}`, {\n\t\t\tdetails: reason,\n\t\t});\n\t}\n}\n\nexport class TransactionConfirmationError extends TransactionError {\n\toverride name = 'TransactionConfirmationError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Failed to confirm transaction ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction could not be confirmed on the network.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class OrderNotFoundError extends TransactionError {\n\toverride name = 'OrderNotFoundError';\n\tconstructor(orderId: string) {\n\t\tsuper(`Order ${orderId} not found`, {\n\t\t\tdetails: 'The requested order could not be found in the marketplace.',\n\t\t});\n\t}\n}\n\nexport class MissingStepDataError extends TransactionError {\n\toverride name = 'MissingStepDataError';\n\tconstructor() {\n\t\tsuper('Step is missing required data', {\n\t\t\tdetails:\n\t\t\t\t'The transaction step is missing required \"to\" or \"signature\" data.',\n\t\t});\n\t}\n}\n\nexport class MissingSignatureDataError extends TransactionError {\n\toverride name = 'MissingSignatureDataError';\n\tconstructor() {\n\t\tsuper('Step is missing signature data', {\n\t\t\tdetails:\n\t\t\t\t'The signature step is missing required signature data configuration.',\n\t\t});\n\t}\n}\n\nexport class InvalidSignatureStepError extends TransactionError {\n\toverride name = 'InvalidSignatureStepError';\n\tconstructor(stepId: string) {\n\t\tsuper(`Invalid signature step type: ${stepId}`, {\n\t\t\tdetails: 'The signature step type is not supported.',\n\t\t});\n\t}\n}\n\nexport class MissingPostStepError extends TransactionError {\n\toverride name = 'MissingPostStepError';\n\tconstructor() {\n\t\tsuper('Missing post step configuration', {\n\t\t\tdetails:\n\t\t\t\t'The signature step is missing required post-step configuration.',\n\t\t});\n\t}\n}\n\nexport class UnexpectedStepsError extends TransactionError {\n\toverride name = 'UnexpectedStepsError';\n\tconstructor() {\n\t\tsuper('Unexpected steps found', {\n\t\t\tdetails: 'The transaction contains more steps than expected.',\n\t\t});\n\t}\n}\n\nexport class NoExecutionStepError extends TransactionError {\n\toverride name = 'NoExecutionStepError';\n\tconstructor() {\n\t\tsuper('No execution step found', {\n\t\t\tdetails: 'The transaction is missing the required execution step.',\n\t\t});\n\t}\n}\n\nexport class NoStepsFoundError extends TransactionError {\n\toverride name = 'NoStepsFoundError';\n\tconstructor() {\n\t\tsuper('No steps found', {\n\t\t\tdetails: 'The transaction contains no steps to execute.',\n\t\t});\n\t}\n}\n\nexport class UnknownTransactionTypeError extends TransactionError {\n\toverride name = 'UnknownTransactionTypeError';\n\tconstructor(type: string) {\n\t\tsuper(`Unknown transaction type: ${type}`, {\n\t\t\tdetails: 'The specified transaction type is not supported.',\n\t\t});\n\t}\n}\n\nexport class InvalidContractTypeError extends TransactionError {\n\toverride name = 'InvalidContractTypeError';\n\tconstructor(contractType: string | undefined) {\n\t\tsuper(`Invalid contract type: ${contractType}`, {\n\t\t\tdetails: 'The contract type must be either ERC721 or ERC1155.',\n\t\t});\n\t}\n}\n\nexport class CollectionNotFoundError extends TransactionError {\n\toverride name = 'CollectionNotFoundError';\n\tconstructor(collectionAddress: string) {\n\t\tsuper(`Collection not found: ${collectionAddress}`, {\n\t\t\tdetails:\n\t\t\t\t'The specified collection address could not be found in the marketplace configuration.',\n\t\t});\n\t}\n}\n\nexport class InvalidCurrencyOptionsError extends TransactionError {\n\toverride name = 'InvalidCurrencyOptionsError';\n\tconstructor(currencyOptions: Address[]) {\n\t\tsuper(`Invalid currency options: ${currencyOptions}`, {\n\t\t\tdetails:\n\t\t\t\t'The currency options must be an array of valid currency contract addresses.',\n\t\t});\n\t}\n}\n\nexport class ProjectNotFoundError extends TransactionError {\n\toverride name = 'ProjectNotFoundError';\n\tconstructor(projectId: string, url: string) {\n\t\tsuper('Project not found', {\n\t\t\tdetails: `Project id: ${projectId} not found at ${url}`,\n\t\t});\n\t}\n}\n\nexport class MarketplaceConfigFetchError extends TransactionError {\n\toverride name = 'MarketplaceConfigFetchError';\n\tconstructor(message: string) {\n\t\tsuper('Failed to fetch marketplace config', {\n\t\t\tdetails: message,\n\t\t});\n\t}\n}\n\nexport class MissingConfigError extends TransactionError {\n\toverride name = 'MissingConfigError';\n\tconstructor(configName: string) {\n\t\tsuper(`Missing required config: ${configName}`, {\n\t\t\tdetails: 'A required configuration parameter is missing.',\n\t\t});\n\t}\n}\n\nexport class TransactionValidationError extends TransactionError {\n\toverride name = 'TransactionValidationError';\n\tconstructor(reason: string) {\n\t\tsuper('Transaction validation failed', {\n\t\t\tdetails: reason,\n\t\t});\n\t}\n}\n\nexport class ChainIdUnavailableError extends TransactionError {\n\toverride name = 'ChainIdUnavailableError';\n\tconstructor() {\n\t\tsuper('Chain ID is not available', {\n\t\t\tdetails: 'Could not determine the current chain ID from the wallet.',\n\t\t});\n\t}\n}\n\nexport class TransactionReceiptError extends TransactionError {\n\toverride name = 'TransactionReceiptError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Failed to get transaction receipt for ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the transaction receipt from the network.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class PaymentModalTransactionError extends TransactionError {\n\toverride name = 'PaymentModalTransactionError';\n\tconstructor(hash: string, cause?: Error) {\n\t\tsuper(`Payment modal transaction failed for ${hash}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'The transaction initiated from the payment modal failed.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class CheckoutOptionsError extends TransactionError {\n\toverride name = 'CheckoutOptionsError';\n\tconstructor(cause?: Error) {\n\t\tsuper('Failed to get checkout options', {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the checkout options from the marketplace.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class OrdersFetchError extends TransactionError {\n\toverride name = 'OrdersFetchError';\n\tconstructor(orderId: string, cause?: Error) {\n\t\tsuper(`Failed to fetch order ${orderId}`, {\n\t\t\tdetails:\n\t\t\t\tcause?.message ||\n\t\t\t\t'Could not retrieve the order details from the marketplace.',\n\t\t\tcause,\n\t\t});\n\t}\n}\n\nexport class WalletInstanceNotFoundError extends TransactionError {\n\toverride name = 'WalletInstanceNotFoundError';\n\tconstructor() {\n\t\tsuper('Wallet instance not found', {\n\t\t\tdetails: 'The wallet instance is undefined',\n\t\t});\n\t}\n}\n\nexport type TransactionErrorTypes =\n\t| ChainIdUnavailableError\n\t| TransactionReceiptError\n\t| PaymentModalTransactionError\n\t| CheckoutOptionsError\n\t| OrdersFetchError\n\t| TransactionConfirmationError\n\t| TransactionValidationError\n\t| MissingConfigError\n\t| MarketplaceConfigFetchError\n\t| ProjectNotFoundError\n\t| CollectionNotFoundError\n\t| InvalidCurrencyOptionsError\n\t| InvalidContractTypeError\n\t| UnknownTransactionTypeError\n\t| NoStepsFoundError\n\t| NoExecutionStepError\n\t| UnexpectedStepsError\n\t| MissingPostStepError\n\t| InvalidSignatureStepError\n\t| MissingSignatureDataError\n\t| MissingStepDataError\n\t| OrderNotFoundError\n\t| TransactionConfirmationError\n\t| InvalidStepError\n\t| PaymentModalError\n\t| StepGenerationError\n\t| StepExecutionError\n\t| UserRejectedRequestError\n\t| NoMarketplaceConfigError\n\t| InsufficientFundsError\n\t| ChainSwitchUserRejectedError\n\t| ChainSwitchError\n\t| TransactionSignatureError\n\t| TransactionExecutionError\n\t| NoWalletConnectedError\n\t| TransactionError\n\t| WalletInstanceNotFoundError;\n","export const DEFAULT_NETWORK = 137;\n","import {\n\ttype SequenceOptions,\n\ttype Wallet,\n\tapple,\n\tcoinbaseWallet,\n\temail,\n\tfacebook,\n\tgetKitConnectWallets,\n\tgoogle,\n\tsequence,\n\ttwitch,\n\twalletConnect,\n} from '@0xsequence/kit';\nimport type { CreateConnectorFn } from 'wagmi';\nimport type { MarketplaceConfig, SdkConfig } from '../../../types';\nimport { DEFAULT_NETWORK } from '../consts';\n\nconst defaultNetwork = DEFAULT_NETWORK;\n\nexport function getUniversalConnectors(\n\tmarketplaceConfig: MarketplaceConfig,\n\tconfig: SdkConfig,\n): CreateConnectorFn[] {\n\tconst { projectAccessKey } = config;\n\tconst sequenceWalletOptions = {\n\t\tdefaultNetwork,\n\t\tconnect: {\n\t\t\tprojectAccessKey,\n\t\t\tapp: marketplaceConfig.title,\n\t\t\tsettings: {\n\t\t\t\tbannerUrl: marketplaceConfig.ogImage,\n\t\t\t},\n\t\t},\n\t};\n\tconst wallets = getWalletConfigs(\n\t\tmarketplaceConfig,\n\t\tsequenceWalletOptions,\n\t\tconfig.wallet?.walletConnectProjectId,\n\t);\n\tconst socialWallets = getSocialWalletConfigs(sequenceWalletOptions);\n\treturn getKitConnectWallets(projectAccessKey, [...socialWallets, ...wallets]);\n}\n\nfunction getWalletConfigs(\n\tmarketplaceConfig: MarketplaceConfig,\n\tsequenceWalletOptions: SequenceOptions,\n\twalletConnectProjectId?: string,\n): Wallet[] {\n\tconst wallets: Wallet[] = [];\n\n\t// Normalizing the wallet options, TODO: remove this after the marketplaceConfig is updated\n\tconst walletOptions = marketplaceConfig.walletOptionsNew || {\n\t\tconnectors: ['coinbase', 'walletconnect'],\n\t};\n\n\twallets.push(sequence(sequenceWalletOptions));\n\n\tif (walletOptions.connectors.includes('coinbase')) {\n\t\twallets.push(coinbaseWallet({ appName: marketplaceConfig.title }));\n\t}\n\n\tif (\n\t\twalletConnectProjectId &&\n\t\twalletOptions.connectors.includes('walletconnect')\n\t) {\n\t\twallets.push(walletConnect({ projectId: walletConnectProjectId }));\n\t}\n\n\treturn wallets;\n}\n\nfunction getSocialWalletConfigs(\n\tsequenceWalletOptions: SequenceOptions,\n): Wallet[] {\n\treturn [\n\t\temail(sequenceWalletOptions),\n\t\tfacebook(sequenceWalletOptions),\n\t\tgoogle(sequenceWalletOptions),\n\t\tapple(sequenceWalletOptions),\n\t\ttwitch(sequenceWalletOptions),\n\t] as const;\n}\n","import { queryOptions } from '@tanstack/react-query';\nimport type { Env, MarketplaceConfig, SdkConfig } from '../../../types';\nimport {\n\tMarketplaceConfigFetchError,\n\tProjectNotFoundError,\n} from '../../../utils/_internal/error/transaction';\nimport { builderMarketplaceApi, configKeys } from '../../_internal';\n\nconst fetchBuilderConfig = async (projectId: string, env: Env) => {\n\tconst url = `${builderMarketplaceApi(projectId, env)}`;\n\tconst response = await fetch(`${url}/config.json`);\n\n\tconst json = await response.json();\n\tif (!response.ok) {\n\t\tconsole.error('Failed to fetch marketplace config:', response.status, json);\n\t\t//@ts-ignore\n\t\tswitch (json.code) {\n\t\t\tcase 3000: // Throws 3000 if the project is not found\n\t\t\t\tthrow new ProjectNotFoundError(projectId, url);\n\t\t\tdefault:\n\t\t\t\t//@ts-ignore\n\t\t\t\tthrow new MarketplaceConfigFetchError(json.msg);\n\t\t}\n\t}\n\treturn json as MarketplaceConfig;\n};\n\nconst fetchStyles = async (projectId: string, env: Env) => {\n\tconst response = await fetch(\n\t\t`${builderMarketplaceApi(projectId, env)}/styles.css`,\n\t);\n\tconst styles = await response.text();\n\t// React sanitizes this string, so we need to remove all quotes, they are not needed anyway\n\treturn styles.replaceAll(/['\"]/g, '');\n};\n\nconst fetchMarketplaceConfig = async (\n\tenv: Env,\n\tprojectId: string,\n): Promise<MarketplaceConfig> => {\n\tconst [marketplaceConfig, cssString] = await Promise.all([\n\t\tfetchBuilderConfig(projectId, env),\n\t\tfetchStyles(projectId, env),\n\t]);\n\n\treturn {\n\t\t...marketplaceConfig,\n\t\tcssString,\n\t\tmanifestUrl: `${builderMarketplaceApi(projectId, env)}/manifest.json`,\n\t};\n};\n\nexport const marketplaceConfigOptions = (\n\tconfig: Pick<SdkConfig, 'projectId'> | SdkConfig,\n) => {\n\tlet env: Env = 'production';\n\tif ('_internal' in config && config._internal !== undefined) {\n\t\tenv = config._internal.builderEnv ?? env;\n\t}\n\n\tconst projectId = config.projectId;\n\treturn queryOptions({\n\t\tqueryKey: [...configKeys.marketplace, env, projectId],\n\t\tqueryFn: () => fetchMarketplaceConfig(env, projectId),\n\t});\n};\n","// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CollectableKeys {\n\tstatic all = ['collectable'] as const;\n\tstatic details = [...CollectableKeys.all, 'details'] as const;\n\tstatic lists = [...CollectableKeys.all, 'list'] as const;\n\tstatic floorOrders = [...CollectableKeys.all, 'floorOrders'] as const;\n\tstatic userBalances = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'userBalances',\n\t] as const;\n\tstatic royaltyPercentage = [\n\t\t...CollectableKeys.all,\n\t\t'royaltyPercentage',\n\t] as const;\n\tstatic highestOffers = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'highestOffers',\n\t] as const;\n\tstatic lowestListings = [\n\t\t...CollectableKeys.all,\n\t\t...CollectableKeys.details,\n\t\t'lowestListings',\n\t] as const;\n\tstatic offers = [...CollectableKeys.all, 'offers'] as const;\n\tstatic offersCount = [...CollectableKeys.all, 'offersCount'] as const;\n\tstatic listings = [...CollectableKeys.all, 'listings'] as const;\n\tstatic listingsCount = [...CollectableKeys.all, 'listingsCount'] as const;\n\tstatic filter = [...CollectableKeys.all, 'filter'] as const;\n\tstatic counts = [...CollectableKeys.all, 'counts'] as const;\n\tstatic collectibleActivities = [\n\t\t...CollectableKeys.all,\n\t\t'collectibleActivities',\n\t] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CollectionKeys {\n\tstatic all = ['collections'] as const;\n\tstatic list = [...CollectionKeys.all, 'list'] as const;\n\tstatic detail = [...CollectionKeys.all, 'detail'] as const;\n\tstatic collectionActivities = [\n\t\t...CollectionKeys.all,\n\t\t'collectionActivities',\n\t] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass BalanceQueries {\n\tstatic all = ['balances'] as const;\n\tstatic lists = [...BalanceQueries.all, 'tokenBalances'] as const;\n\tstatic collectionBalanceDetails = [\n\t\t...BalanceQueries.all,\n\t\t'collectionBalanceDetails',\n\t] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CheckoutKeys {\n\tstatic all = ['checkouts'] as const;\n\tstatic options = [...CheckoutKeys.all, 'options'] as const;\n\tstatic cartItems = [...CheckoutKeys.all, 'cartItems'] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass CurrencyKeys {\n\tstatic all = ['currencies'] as const;\n\tstatic lists = [...CurrencyKeys.all, 'list'] as const;\n\tstatic details = [...CurrencyKeys.all, 'details'] as const;\n}\n\n// biome-ignore lint/complexity/noStaticOnlyClass:\nclass ConfigKeys {\n\tstatic all = ['configs'] as const;\n\tstatic marketplace = [...ConfigKeys.all, 'marketplace'] as const;\n}\nexport const collectableKeys = CollectableKeys;\nexport const collectionKeys = CollectionKeys;\nexport const balanceQueries = BalanceQueries;\nexport const checkoutKeys = CheckoutKeys;\nexport const currencyKeys = CurrencyKeys;\nexport const configKeys = ConfigKeys;\n","import { SequenceIndexer } from '@0xsequence/indexer';\nimport { SequenceMetadata } from '@0xsequence/metadata';\nimport { networks, stringTemplate } from '@0xsequence/network';\nimport type { Env, SdkConfig } from '../../../types/sdk-config';\nimport { MissingConfigError } from '../../../utils/_internal/error/transaction';\nimport { SequenceMarketplace } from './marketplace-api';\n\nconst SERVICES = {\n\tsequenceApi: 'https://api.sequence.app',\n\tmetadata: 'https://${prefix}metadata.sequence.app',\n\tindexer: 'https://${prefix}${network}-indexer.sequence.app',\n\tmarketplaceApi: 'https://${prefix}marketplace-api.sequence.app/${network}',\n\timageProxy: 'https://imgproxy.sequence.xyz/',\n\tbuilderMarketplaceApi:\n\t\t'https://${prefix}api.sequence.build/marketplace/${projectId}',\n};\n\ntype ChainNameOrId = string | number;\n\nconst getNetwork = (nameOrId: ChainNameOrId) => {\n\tfor (const network of Object.values(networks)) {\n\t\tif (\n\t\t\tnetwork.name === String(nameOrId).toLowerCase() ||\n\t\t\tnetwork.chainId === Number(nameOrId)\n\t\t) {\n\t\t\treturn network;\n\t\t}\n\t}\n\tthrow new MissingConfigError(`Network configuration for chain ${nameOrId}`);\n};\n\nexport const imageProxy = stringTemplate(SERVICES.imageProxy, {});\nconst metadataURL = (env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\treturn stringTemplate(SERVICES.metadata, { prefix });\n};\nconst indexerURL = (chain: ChainNameOrId, env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\tconst network = getNetwork(chain).name;\n\treturn stringTemplate(SERVICES.indexer, { network: network, prefix });\n};\nconst marketplaceApiURL = (chain: ChainNameOrId, env: Env = 'production') => {\n\tconst prefix = getPrefix(env);\n\tconst network = getNetwork(chain).name;\n\treturn stringTemplate(SERVICES.marketplaceApi, { network: network, prefix });\n};\nexport const builderMarketplaceApi = (\n\tprojectId: string,\n\tenv: Env = 'production',\n) => {\n\tconst prefix = getPrefix(env);\n\treturn stringTemplate(SERVICES.builderMarketplaceApi, {\n\t\tprojectId,\n\t\tprefix,\n\t});\n};\nexport const getMetadataClient = (config: SdkConfig) => {\n\tconst env = config._internal?.metadataEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceMetadata(metadataURL(env), projectAccessKey);\n};\nexport const getIndexerClient = (chain: ChainNameOrId, config: SdkConfig) => {\n\tconst env = config._internal?.indexerEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceIndexer(indexerURL(chain, env), projectAccessKey);\n};\nexport const getMarketplaceClient = (\n\tchain: ChainNameOrId,\n\tconfig: SdkConfig,\n) => {\n\tconst env = config._internal?.marketplaceEnv || 'production';\n\tconst projectAccessKey = getAccessKey({ env, config });\n\treturn new SequenceMarketplace(\n\t\tmarketplaceApiURL(chain, env),\n\t\tprojectAccessKey,\n\t);\n};\nconst getAccessKey = ({ env, config }: { env: Env; config: SdkConfig }) => {\n\tswitch (env) {\n\t\tcase 'development':\n\t\t\tif (!config._internal?.devAccessKey)\n\t\t\t\tthrow new MissingConfigError('devAccessKey for development env');\n\t\t\treturn config._internal?.devAccessKey;\n\t\tcase 'production':\n\t\t\treturn config.projectAccessKey;\n\t\tcase 'next':\n\t\t\tif (!config._internal?.nextAccessKey)\n\t\t\t\tthrow new MissingConfigError('nextAccessKey for next env');\n\t\t\treturn config._internal?.nextAccessKey;\n\t}\n};\n\nconst getPrefix = (env: Env) => {\n\tswitch (env) {\n\t\tcase 'development':\n\t\t\treturn 'dev-';\n\t\tcase 'production':\n\t\t\treturn '';\n\t\tcase 'next':\n\t\t\treturn 'next-';\n\t}\n};\n"],"mappings":";AAAA,SAAqB,4BAA4B;;;ACAjD,SAAS,wBAAwB;AACjC,SAAS,aAAa,yBAAyB;AAE/C,SAAS,eAAe;AACxB,SAAS,MAAM,eAAe,cAAc,qBAAqB;;;ACJjE;AAAA,EAEC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;;;ACAA,IAAM,YAAN,cAAwB,MAAM;AAAA,EACpC;AAAA,EACA;AAAA,EAEA,OAAO;AAAA,EAEP,YAAY,cAAsB,UAA4B,CAAC,GAAG;AACjE,UAAM;AAEN,UAAM,UAAU,aAAa,UAAU,QAAQ,UAAU;AACzD,SAAK,UAAU;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allet","getKitConnectWallets","walletConnect","marketplaceConfig","getKitConnectWallets","coinbaseWallet","walletConnect","marketplaceConfig","marketplaceConfig"]}
|