@0xsequence/marketplace-sdk 0.3.7 → 0.3.9

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.
Files changed (60) hide show
  1. package/dist/{chunk-D3HRXVYJ.js → chunk-3LOJQCTV.js} +2 -2
  2. package/dist/{chunk-53Q7BNZH.js → chunk-4FC3IG7C.js} +2 -2
  3. package/dist/{chunk-T2AMWIKD.js → chunk-E3ZFT6WR.js} +7 -7
  4. package/dist/chunk-E3ZFT6WR.js.map +1 -0
  5. package/dist/{chunk-OUZ42I6B.js → chunk-KRMV6FJE.js} +2 -2
  6. package/dist/{chunk-G2FYRJMK.js → chunk-N5F6IEAK.js} +1 -1
  7. package/dist/chunk-N5F6IEAK.js.map +1 -0
  8. package/dist/{chunk-QGELCUYG.js → chunk-OQDNL7UW.js} +31 -24
  9. package/dist/chunk-OQDNL7UW.js.map +1 -0
  10. package/dist/{chunk-3LGNSRBR.js → chunk-VOSDZXYO.js} +403 -265
  11. package/dist/chunk-VOSDZXYO.js.map +1 -0
  12. package/dist/{chunk-3CXEYH2I.js → chunk-Z7NLKEXF.js} +2 -2
  13. package/dist/index.js +9 -9
  14. package/dist/react/_internal/api/index.js +2 -2
  15. package/dist/react/_internal/index.js +3 -3
  16. package/dist/react/_internal/wagmi/index.js +2 -2
  17. package/dist/react/hooks/index.d.ts +70 -13
  18. package/dist/react/hooks/index.js +6 -6
  19. package/dist/react/index.js +7 -7
  20. package/dist/react/ssr/index.js.map +1 -1
  21. package/dist/react/ui/components/index.d.ts +3 -2
  22. package/dist/react/ui/components/index.js +7 -7
  23. package/dist/react/ui/index.d.ts +3 -1
  24. package/dist/react/ui/index.js +7 -7
  25. package/dist/react/ui/modals/_internal/components/actionModal/index.js +3 -3
  26. package/dist/types/index.js +3 -3
  27. package/dist/utils/abi/index.js +5 -5
  28. package/dist/utils/index.js +7 -7
  29. package/package.json +1 -1
  30. package/src/react/_internal/transaction-machine/execute-transaction.ts +14 -3
  31. package/src/react/_internal/transaction-machine/useTransactionMachine.ts +6 -8
  32. package/src/react/hooks/useBuyCollectable.tsx +2 -1
  33. package/src/react/hooks/useCancelOrder.tsx +2 -1
  34. package/src/react/hooks/useCurrencies.tsx +23 -22
  35. package/src/react/hooks/useCurrencyBalance.tsx +52 -0
  36. package/src/react/hooks/useCurrencyOptions.tsx +16 -0
  37. package/src/react/hooks/useSell.tsx +2 -1
  38. package/src/react/ui/components/_internals/action-button/ActionButton.tsx +5 -1
  39. package/src/react/ui/components/collectible-card/CollectibleCard.tsx +8 -1
  40. package/src/react/ui/components/collectible-card/Footer.tsx +20 -14
  41. package/src/react/ui/modals/BuyModal/index.tsx +6 -3
  42. package/src/react/ui/modals/CreateListingModal/_store.ts +4 -1
  43. package/src/react/ui/modals/CreateListingModal/index.tsx +14 -2
  44. package/src/react/ui/modals/MakeOfferModal/_store.ts +5 -1
  45. package/src/react/ui/modals/MakeOfferModal/index.tsx +17 -4
  46. package/src/react/ui/modals/SellModal/index.tsx +3 -2
  47. package/src/react/ui/modals/_internal/components/currencyImage/index.tsx +53 -0
  48. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +14 -9
  49. package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +1 -1
  50. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +12 -13
  51. package/src/utils/_internal/error/transaction.ts +12 -0
  52. package/tsconfig.tsbuildinfo +1 -1
  53. package/dist/chunk-3LGNSRBR.js.map +0 -1
  54. package/dist/chunk-G2FYRJMK.js.map +0 -1
  55. package/dist/chunk-QGELCUYG.js.map +0 -1
  56. package/dist/chunk-T2AMWIKD.js.map +0 -1
  57. /package/dist/{chunk-D3HRXVYJ.js.map → chunk-3LOJQCTV.js.map} +0 -0
  58. /package/dist/{chunk-53Q7BNZH.js.map → chunk-4FC3IG7C.js.map} +0 -0
  59. /package/dist/{chunk-OUZ42I6B.js.map → chunk-KRMV6FJE.js.map} +0 -0
  60. /package/dist/{chunk-3CXEYH2I.js.map → chunk-Z7NLKEXF.js.map} +0 -0
@@ -0,0 +1,53 @@
1
+ import { Box, TokenImage } from '@0xsequence/design-system';
2
+ import { useState } from 'react';
3
+ import { Address } from 'viem';
4
+ import { Price } from '../../../../../../types';
5
+ import { Observable } from '@legendapp/state';
6
+
7
+ function CurrencyImage({
8
+ $listingPrice,
9
+ }: { $listingPrice: Observable<Price | undefined> }) {
10
+ const [imageLoadErrorCurrencyAddresses, setImageLoadErrorCurrencyAddresses] =
11
+ useState<Address[] | null>(null);
12
+
13
+ if (
14
+ imageLoadErrorCurrencyAddresses?.includes(
15
+ $listingPrice.currency.contractAddress.get() as Address,
16
+ )
17
+ ) {
18
+ return (
19
+ <Box
20
+ width="3"
21
+ height="3"
22
+ borderRadius="circle"
23
+ background="backgroundSecondary"
24
+ />
25
+ );
26
+ }
27
+
28
+ return (
29
+ <TokenImage
30
+ src={$listingPrice.currency.imageUrl.get()}
31
+ onError={() => {
32
+ const listingPrice = $listingPrice?.get();
33
+ if (listingPrice) {
34
+ setImageLoadErrorCurrencyAddresses((prev) => {
35
+ if (!prev)
36
+ return [listingPrice.currency.contractAddress as Address];
37
+ if (
38
+ !prev.includes(listingPrice.currency.contractAddress as Address)
39
+ ) {
40
+ return [
41
+ ...prev,
42
+ listingPrice.currency.contractAddress as Address,
43
+ ];
44
+ }
45
+ return prev;
46
+ });
47
+ }
48
+ }}
49
+ size="xs"
50
+ />
51
+ );
52
+ }
53
+ export default CurrencyImage;
@@ -6,6 +6,7 @@ import type { Hex } from 'viem';
6
6
  import type { ChainId, Currency } from '../../../../../_internal';
7
7
  import { useCurrencies } from '../../../../../hooks';
8
8
  import { CustomSelect } from '../../../../components/_internals/custom-select/CustomSelect';
9
+ import useCurrencyOptions from '../../../../../hooks/useCurrencyOptions';
9
10
 
10
11
  // TODO: this should be exported from design system
11
12
  type SelectOption = {
@@ -25,9 +26,10 @@ const CurrencyOptionsSelect = observer(function CurrencyOptionsSelect({
25
26
  selectedCurrency$,
26
27
  }: CurrencyOptionsSelectProps) {
27
28
  const currency = selectedCurrency$.get() as Currency;
29
+ const currencyOptions = useCurrencyOptions({ collectionAddress });
28
30
  const { data: currencies, isLoading: currenciesLoading } = useCurrencies({
29
- collectionAddress,
30
31
  chainId,
32
+ currencyOptions,
31
33
  });
32
34
 
33
35
  // set default currency
@@ -35,12 +37,18 @@ const CurrencyOptionsSelect = observer(function CurrencyOptionsSelect({
35
37
  if (
36
38
  currencies &&
37
39
  currencies.length > 0 &&
38
- !selectedCurrency$.contractAddress.get()
40
+ !selectedCurrency$.get()?.contractAddress
39
41
  ) {
42
+ console.debug('Setting default currency', currencies[0]);
40
43
  selectedCurrency$.set(currencies[0]);
41
44
  }
42
45
  }, [currencies]);
43
46
 
47
+ console.debug('CurrencyOptionsSelect', {
48
+ currencies,
49
+ currenciesLoading,
50
+ currency,
51
+ });
44
52
  if (!currencies || currenciesLoading || !currency.symbol) {
45
53
  return <Skeleton borderRadius="lg" width="20" height="7" marginRight="3" />;
46
54
  }
@@ -54,21 +62,18 @@ const CurrencyOptionsSelect = observer(function CurrencyOptionsSelect({
54
62
  );
55
63
 
56
64
  const onChange = (value: string) => {
57
- // biome-ignore lint/style/noNonNullAssertion: This can not be undefined
58
- const c = currencies.find(
65
+ const selectedCurrency = currencies.find(
59
66
  (currency) => currency.contractAddress === value,
60
- )!;
61
-
62
- selectedCurrency$.set(c);
67
+ );
68
+ selectedCurrency$.set(selectedCurrency);
63
69
  };
64
70
 
65
- console.log('currency', currency);
66
-
67
71
  return (
68
72
  <CustomSelect
69
73
  items={options}
70
74
  value={currency.symbol}
71
75
  onValueChange={onChange}
76
+ defaultValue={currency.contractAddress}
72
77
  />
73
78
  );
74
79
  });
@@ -114,10 +114,10 @@ const ExpirationDateSelect = observer(function ExpirationDateSelect({
114
114
  value: preset.value,
115
115
  }))}
116
116
  value={range}
117
- defaultValue={defaultRange}
118
117
  onValueChange={(value) =>
119
118
  handleSelectPresetRange(value as rangeType)
120
119
  }
120
+ defaultValue={defaultRange}
121
121
  />
122
122
  </Box>
123
123
 
@@ -1,12 +1,14 @@
1
- import { Box, NumericInput, TokenImage } from '@0xsequence/design-system';
1
+ import { Box, NumericInput } from '@0xsequence/design-system';
2
2
  import type { Observable } from '@legendapp/state';
3
3
  import { observer } from '@legendapp/state/react';
4
4
  import { useState } from 'react';
5
- import { type Hex, erc20Abi, parseUnits } from 'viem';
6
- import { useAccount, useReadContract } from 'wagmi';
5
+ import { type Hex, parseUnits } from 'viem';
6
+ import { useAccount } from 'wagmi';
7
7
  import type { Price } from '../../../../../../types';
8
8
  import CurrencyOptionsSelect from '../currencyOptionsSelect';
9
9
  import { priceInputCurrencyImage, priceInputWrapper } from './styles.css';
10
+ import { useCurrencyBalance } from '../../../../../hooks/useCurrencyBalance';
11
+ import CurrencyImage from '../currencyImage';
10
12
 
11
13
  type PriceInputProps = {
12
14
  collectionAddress: Hex;
@@ -26,15 +28,12 @@ const PriceInput = observer(function PriceInput({
26
28
  }: PriceInputProps) {
27
29
  const [balanceError, setBalanceError] = useState('');
28
30
  const { address: accountAddress } = useAccount();
29
- const { data: balance, isSuccess: isBalanceSuccess } = useReadContract({
30
- address: $listingPrice.currency.contractAddress.get() as Hex,
31
- abi: erc20Abi,
32
- functionName: 'balanceOf',
33
- args: [accountAddress as Hex],
34
- query: {
35
- enabled: checkBalance?.enabled,
36
- },
31
+ const { data: balance, isSuccess: isBalanceSuccess } = useCurrencyBalance({
32
+ currencyAddress: $listingPrice.currency.contractAddress.get() as Hex,
33
+ chainId: Number(chainId),
34
+ userAddress: accountAddress as Hex,
37
35
  });
36
+
38
37
  const currencyDecimals = $listingPrice.currency.decimals.get();
39
38
 
40
39
  const [value, setValue] = useState('');
@@ -44,7 +43,7 @@ const PriceInput = observer(function PriceInput({
44
43
  isBalanceSuccess &&
45
44
  priceAmountRaw &&
46
45
  currencyDecimals &&
47
- BigInt(priceAmountRaw) > (balance || 0);
46
+ BigInt(priceAmountRaw) > (balance?.value || 0);
48
47
 
49
48
  if (!checkBalance) return;
50
49
 
@@ -73,7 +72,7 @@ const PriceInput = observer(function PriceInput({
73
72
  display="flex"
74
73
  alignItems="center"
75
74
  >
76
- <TokenImage src={$listingPrice.currency.imageUrl.get()} size="xs" />
75
+ <CurrencyImage $listingPrice={$listingPrice} />
77
76
  </Box>
78
77
 
79
78
  <NumericInput
@@ -1,3 +1,4 @@
1
+ import { Address } from 'viem';
1
2
  import { BaseError } from './base';
2
3
 
3
4
  export type TransactionErrorType<name extends string = 'TransactionError'> =
@@ -239,6 +240,16 @@ export class CollectionNotFoundError extends TransactionError {
239
240
  }
240
241
  }
241
242
 
243
+ export class InvalidCurrencyOptionsError extends TransactionError {
244
+ override name = 'InvalidCurrencyOptionsError';
245
+ constructor(currencyOptions: Address[]) {
246
+ super(`Invalid currency options: ${currencyOptions}`, {
247
+ details:
248
+ 'The currency options must be an array of valid currency contract addresses.',
249
+ });
250
+ }
251
+ }
252
+
242
253
  export class ProjectNotFoundError extends TransactionError {
243
254
  override name = 'ProjectNotFoundError';
244
255
  constructor(projectId: string, url: string) {
@@ -344,6 +355,7 @@ export type TransactionErrorTypes =
344
355
  | MarketplaceConfigFetchError
345
356
  | ProjectNotFoundError
346
357
  | CollectionNotFoundError
358
+ | InvalidCurrencyOptionsError
347
359
  | InvalidContractTypeError
348
360
  | UnknownTransactionTypeError
349
361
  | NoStepsFoundError
@@ -1 +1 @@
1
- {"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/types.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/marketplace-api.ts","./src/react/_internal/api/marketplace.gen.ts","./src/react/_internal/api/query-keys.ts","./src/react/_internal/api/services.ts","./src/react/_internal/api/zod-schema.ts","./src/react/_internal/transaction-machine/execute-transaction.ts","./src/react/_internal/transaction-machine/logger.ts","./src/react/_internal/transaction-machine/usetransactionmachine.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/embedded.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/universal.ts","./src/react/hooks/index.ts","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usebuycollectable.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecreatelisting.tsx","./src/react/hooks/usecurrencies.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratebuytransaction.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemakeoffer.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyaltypercentage.tsx","./src/react/hooks/usesell.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/options/marketplaceconfigoptions.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ui/index.ts","./src/react/ui/components/index.ts","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/custom-network-image/customnetworkimage.tsx","./src/react/ui/components/_internals/custom-network-image/styles.css.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/styles.css.ts","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/styles.css.ts","./src/react/ui/icons/arrowup.tsx","./src/react/ui/icons/bell.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/diamondeye.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/inventoryicon.tsx","./src/react/ui/icons/minusicon.tsx","./src/react/ui/icons/plusicon.tsx","./src/react/ui/icons/positivecircleicon.tsx","./src/react/ui/icons/index.ts","./src/react/ui/icons/styles.css.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/account/index.tsx","./src/react/ui/modals/buymodal/_store.ts","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/createlistingmodal/_store.ts","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/makeoffermodal/_store.ts","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/sellmodal/_store.ts","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/styles.css.ts","./src/react/ui/modals/transfermodal/_store.ts","./src/react/ui/modals/transfermodal/index.tsx","./src/react/ui/modals/transfermodal/messages.ts","./src/react/ui/modals/transfermodal/styles.css.ts","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/errormodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/loadingmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/index.ts","./src/react/ui/modals/_internal/components/actionmodal/store.ts","./src/react/ui/modals/_internal/components/actionmodal/styles.css.ts","./src/react/ui/modals/_internal/components/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/alertmessage/styles.css.ts","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/styles.css.ts","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/expirationdateselect/index.tsx","./src/react/ui/modals/_internal/components/floorpricetext/index.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/styles.css.ts","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/index.tsx","./src/react/ui/modals/_internal/components/switchchainmodal/store.ts","./src/react/ui/modals/_internal/components/switchchainmodal/styles.css.ts","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/styles.css.ts","./src/react/ui/modals/_internal/components/transaction-footer/index.tsx","./src/react/ui/modals/_internal/components/transactiondetails/index.tsx","./src/react/ui/modals/_internal/components/transactionheader/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/consts.ts","./src/react/ui/modals/_internal/components/transactionpreview/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/usetransactionpreviewtitle.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/index.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/store.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/styles.css.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getformattedtype.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getmessage.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/gettitle.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/react/ui/styles/index.ts","./src/react/ui/styles/modal.css.ts","./src/styles/index.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/marketplace-config.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/utils/address.ts","./src/utils/get-public-rpc-client.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/price.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/context.ts","./src/utils/_internal/error/transaction.ts","./src/utils/abi/index.ts","./src/utils/abi/marketplace/eip2981.ts","./src/utils/abi/marketplace/index.ts","./src/utils/abi/marketplace/sequence-marketplace-v1.ts","./src/utils/abi/marketplace/sequence-marketplace-v2.ts","./src/utils/abi/token/erc1155.ts","./src/utils/abi/token/erc20.ts","./src/utils/abi/token/erc721.ts","./src/utils/abi/token/index.ts","./tsup.config.ts"],"version":"5.7.2"}
1
+ {"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/types.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/marketplace-api.ts","./src/react/_internal/api/marketplace.gen.ts","./src/react/_internal/api/query-keys.ts","./src/react/_internal/api/services.ts","./src/react/_internal/api/zod-schema.ts","./src/react/_internal/transaction-machine/execute-transaction.ts","./src/react/_internal/transaction-machine/logger.ts","./src/react/_internal/transaction-machine/usetransactionmachine.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/embedded.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/universal.ts","./src/react/hooks/index.ts","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usebuycollectable.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecreatelisting.tsx","./src/react/hooks/usecurrencies.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usecurrencybalance.tsx","./src/react/hooks/usecurrencyoptions.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratebuytransaction.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemakeoffer.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyaltypercentage.tsx","./src/react/hooks/usesell.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/options/marketplaceconfigoptions.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ui/index.ts","./src/react/ui/components/index.ts","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/custom-network-image/customnetworkimage.tsx","./src/react/ui/components/_internals/custom-network-image/styles.css.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/styles.css.ts","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/styles.css.ts","./src/react/ui/icons/arrowup.tsx","./src/react/ui/icons/bell.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/diamondeye.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/inventoryicon.tsx","./src/react/ui/icons/minusicon.tsx","./src/react/ui/icons/plusicon.tsx","./src/react/ui/icons/positivecircleicon.tsx","./src/react/ui/icons/index.ts","./src/react/ui/icons/styles.css.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/account/index.tsx","./src/react/ui/modals/buymodal/_store.ts","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/createlistingmodal/_store.ts","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/makeoffermodal/_store.ts","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/sellmodal/_store.ts","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/styles.css.ts","./src/react/ui/modals/transfermodal/_store.ts","./src/react/ui/modals/transfermodal/index.tsx","./src/react/ui/modals/transfermodal/messages.ts","./src/react/ui/modals/transfermodal/styles.css.ts","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/errormodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/loadingmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/index.ts","./src/react/ui/modals/_internal/components/actionmodal/store.ts","./src/react/ui/modals/_internal/components/actionmodal/styles.css.ts","./src/react/ui/modals/_internal/components/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/alertmessage/styles.css.ts","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/styles.css.ts","./src/react/ui/modals/_internal/components/currencyimage/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/expirationdateselect/index.tsx","./src/react/ui/modals/_internal/components/floorpricetext/index.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/styles.css.ts","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/index.tsx","./src/react/ui/modals/_internal/components/switchchainmodal/store.ts","./src/react/ui/modals/_internal/components/switchchainmodal/styles.css.ts","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/styles.css.ts","./src/react/ui/modals/_internal/components/transaction-footer/index.tsx","./src/react/ui/modals/_internal/components/transactiondetails/index.tsx","./src/react/ui/modals/_internal/components/transactionheader/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/consts.ts","./src/react/ui/modals/_internal/components/transactionpreview/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/usetransactionpreviewtitle.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/index.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/store.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/styles.css.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getformattedtype.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getmessage.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/gettitle.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/react/ui/styles/index.ts","./src/react/ui/styles/modal.css.ts","./src/styles/index.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/marketplace-config.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/utils/address.ts","./src/utils/get-public-rpc-client.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/price.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/context.ts","./src/utils/_internal/error/transaction.ts","./src/utils/abi/index.ts","./src/utils/abi/marketplace/eip2981.ts","./src/utils/abi/marketplace/index.ts","./src/utils/abi/marketplace/sequence-marketplace-v1.ts","./src/utils/abi/marketplace/sequence-marketplace-v2.ts","./src/utils/abi/token/erc1155.ts","./src/utils/abi/token/erc20.ts","./src/utils/abi/token/erc721.ts","./src/utils/abi/token/index.ts","./tsup.config.ts"],"version":"5.7.2"}