@0xsequence/marketplace-sdk 0.8.9 → 0.8.11
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/.changeset/fluffy-jokes-lay.md +5 -0
- package/.changeset/wise-bugs-boil.md +8 -0
- package/CHANGELOG.md +43 -0
- package/dist/{chunk-FMEEJFAF.js → chunk-5C6ZZ6WX.js} +1 -1
- package/dist/{chunk-YEGD7PWE.js → chunk-5O44EPXZ.js} +2 -2
- package/dist/chunk-6CTFVBKU.js +1 -0
- package/dist/{chunk-DWTLVJAW.js → chunk-6OPMUCGX.js} +1 -1
- package/dist/chunk-6OPMUCGX.js.map +1 -0
- package/dist/{chunk-O34GCB47.js → chunk-L6KWLCER.js} +4 -4
- package/dist/chunk-L6KWLCER.js.map +1 -0
- package/dist/{chunk-4XLXOEXQ.js → chunk-LAP2CKLN.js} +78 -4
- package/dist/chunk-LAP2CKLN.js.map +1 -0
- package/dist/{chunk-Y63BOO6M.js → chunk-LECCEZAO.js} +1 -1
- package/dist/{chunk-YALXP2PW.js → chunk-N7SQWS2R.js} +3 -3
- package/dist/{chunk-KGM2WLSP.js → chunk-OAOONM4S.js} +695 -440
- package/dist/chunk-OAOONM4S.js.map +1 -0
- package/dist/chunk-Q3ECVC4F.js +811 -0
- package/dist/chunk-Q3ECVC4F.js.map +1 -0
- package/dist/chunk-QY52UADF.js +107 -0
- package/dist/chunk-QY52UADF.js.map +1 -0
- package/dist/{chunk-I2BYHDFE.js → chunk-TNAR3XEF.js} +3898 -844
- package/dist/chunk-TNAR3XEF.js.map +1 -0
- package/dist/chunk-XABYNWXO.js +549 -0
- package/dist/chunk-XABYNWXO.js.map +1 -0
- package/dist/chunk-YB5UUF2G.js +11 -0
- package/dist/chunk-YB5UUF2G.js.map +1 -0
- package/dist/{chunk-35WWD5V6.js → chunk-YWGFI4PN.js} +88 -25
- package/dist/chunk-YWGFI4PN.js.map +1 -0
- package/dist/{create-config-DwrnzwpM.d.ts → create-config-DLMvMTkZ.d.ts} +2 -2
- package/dist/index.css +7 -7
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.js +19 -14
- package/dist/{lowestListing-BQHIuvNF.d.ts → marketCurrencies-enNVYwBk.d.ts} +95 -3
- package/dist/{marketplace.gen-DQzWciwC.d.ts → marketplace.gen-D24veUQs.d.ts} +3 -2
- package/dist/marketplaceConfig-BwNAbLPw.d.ts +21 -0
- package/dist/new-marketplace-types-BCw19X9S.d.ts +102 -0
- package/dist/react/_internal/api/index.d.ts +4 -3
- package/dist/react/_internal/api/index.js +5 -1
- package/dist/react/_internal/databeat/index.css +2764 -0
- package/dist/react/_internal/databeat/index.css.map +1 -0
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +15 -14
- package/dist/react/_internal/index.d.ts +62 -9
- package/dist/react/_internal/index.js +7 -3
- package/dist/react/_internal/wagmi/index.d.ts +5 -6
- package/dist/react/_internal/wagmi/index.js +1 -1
- package/dist/react/hooks/index.css +2764 -0
- package/dist/react/hooks/index.css.map +1 -0
- package/dist/react/hooks/index.d.ts +74 -222
- package/dist/react/hooks/index.js +21 -22
- package/dist/react/hooks/options/index.d.ts +5 -4
- package/dist/react/hooks/options/index.js +9 -7
- package/dist/react/index.css +7 -7
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +12 -11
- package/dist/react/index.js +34 -37
- package/dist/react/queries/index.d.ts +4 -3
- package/dist/react/queries/index.js +19 -6
- package/dist/react/ssr/index.d.ts +3 -3
- package/dist/react/ssr/index.js +6 -5
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/collectible-card/index.css +7 -7
- package/dist/react/ui/components/collectible-card/index.css.map +1 -1
- package/dist/react/ui/components/collectible-card/index.d.ts +9 -6
- package/dist/react/ui/components/collectible-card/index.js +19 -23
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +9 -8
- package/dist/react/ui/index.css +7 -7
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +2 -2
- package/dist/react/ui/index.js +17 -21
- package/dist/react/ui/modals/_internal/components/actionModal/index.css +2764 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.css.map +1 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +15 -14
- package/dist/sdk-config-qorA0TgF.d.ts +165 -0
- package/dist/{services-BI_w8Eq4.d.ts → services-WrshxCqc.d.ts} +6 -3
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +7 -7
- package/dist/{index-DGsVBflk.d.ts → useCollection-YAdXfVO7.d.ts} +1 -2
- package/dist/utils/abi/index.d.ts +1 -0
- package/dist/utils/abi/index.js +7 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1054 -0
- package/dist/utils/abi/primary-sale/index.js +9 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +13 -6
- package/package.json +32 -32
- package/src/react/_internal/api/__mocks__/builder.msw.ts +157 -80
- package/src/react/_internal/api/builder-api.ts +2 -2
- package/src/react/_internal/api/builder.gen.ts +667 -112
- package/src/react/_internal/api/marketplace.gen.ts +1981 -1316
- package/src/react/_internal/api/services.ts +12 -1
- package/src/react/_internal/types.ts +1 -13
- package/src/react/_internal/wagmi/__tests__/create-config.test.ts +99 -84
- package/src/react/_internal/wagmi/create-config.ts +8 -4
- package/src/react/_internal/wagmi/get-connectors.ts +24 -19
- package/src/react/hooks/__tests__/__snapshots__/useListCollections.test.tsx.snap +114 -0
- package/src/react/hooks/__tests__/__snapshots__/useMarketplaceConfig.test.tsx.snap +85 -83
- package/src/react/hooks/__tests__/useFilters.test.tsx +0 -16
- package/src/react/hooks/__tests__/useInventory.test.tsx +16 -16
- package/src/react/hooks/__tests__/useListCollections.test.tsx +23 -56
- package/src/react/hooks/__tests__/{useCurrencies.test.tsx → useMarketCurrencies.test.tsx} +21 -15
- package/src/react/hooks/__tests__/useMarketplaceConfig.test.tsx +2 -59
- package/src/react/hooks/index.ts +3 -1
- package/src/react/hooks/useBalanceOfCollectible.tsx +5 -3
- package/src/react/hooks/useConvertPriceToUSD.tsx +1 -1
- package/src/react/hooks/useFilters.tsx +14 -22
- package/src/react/hooks/useGetTokenSuppliesMap.ts +28 -0
- package/src/react/hooks/useInventory.tsx +4 -3
- package/src/react/hooks/useList1155SaleSupplies.tsx +62 -0
- package/src/react/hooks/useListBalances.tsx +5 -3
- package/src/react/hooks/useListCollectibles.tsx +5 -3
- package/src/react/hooks/useListCollections.tsx +14 -76
- package/src/react/hooks/useListTokenMetadata.ts +19 -0
- package/src/react/hooks/useMarketCurrencies.tsx +8 -0
- package/src/react/hooks/useMarketplaceConfig.tsx +0 -2
- package/src/react/queries/index.ts +2 -0
- package/src/react/queries/inventory.ts +1 -1
- package/src/react/queries/listCollections.ts +118 -0
- package/src/react/queries/listTokenMetadata.ts +38 -0
- package/src/react/queries/marketCurrencies.ts +77 -0
- package/src/react/queries/marketplaceConfig.ts +83 -55
- package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +85 -83
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +2 -2
- package/src/react/ui/components/collectible-card/__tests__/{CollectibleAsset.test.tsx → Media.test.tsx} +48 -14
- package/src/react/ui/components/collectible-card/index.ts +1 -1
- package/src/react/ui/components/collectible-card/media/Media.tsx +211 -0
- package/src/react/ui/components/collectible-card/{collectible-asset/CollectibleAssetSkeleton.tsx → media/MediaSkeleton.tsx} +2 -2
- package/src/react/ui/components/collectible-card/media/types.ts +18 -0
- package/src/react/ui/components/collectible-card/{collectible-asset → media}/utils.ts +8 -3
- package/src/react/ui/index.ts +1 -1
- package/src/react/ui/modals/BuyModal/ERC1155QuantityModal.tsx +9 -3
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useFees.test.tsx +31 -21
- package/src/react/ui/modals/BuyModal/hooks/useFees.ts +3 -2
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +28 -3
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +3 -5
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +5 -3
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +2 -3
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +4 -3
- package/src/react/ui/modals/SellModal/Modal.tsx +0 -1
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +2 -2
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/WalletAddressInput.tsx +1 -1
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +0 -1
- package/src/react/ui/modals/TransferModal/index.tsx +0 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +2 -2
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +7 -6
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/__tests__/SelectWaasFeeOptions.test.tsx +13 -7
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.tsx +3 -5
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/useWaasFeeOptionManager.tsx +5 -3
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +2 -2
- package/src/react/ui/modals/_internal/hooks/useSelectWaasFeeOptions.ts +2 -12
- package/src/types/index.ts +1 -6
- package/src/types/new-marketplace-types.ts +119 -0
- package/src/types/sdk-config.ts +19 -2
- package/src/types/types.ts +1 -0
- package/src/utils/abi/index.ts +1 -0
- package/src/utils/abi/primary-sale/index.ts +2 -0
- package/src/utils/abi/primary-sale/sequence-1155-sales-contract.ts +450 -0
- package/src/utils/abi/primary-sale/sequence-721-sales-contract.ts +352 -0
- package/src/utils/abi/token/sequence-erc1155-items.ts +454 -0
- package/src/utils/fetchContentType.ts +5 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-35WWD5V6.js.map +0 -1
- package/dist/chunk-4XLXOEXQ.js.map +0 -1
- package/dist/chunk-D7RVSZAQ.js +0 -332
- package/dist/chunk-D7RVSZAQ.js.map +0 -1
- package/dist/chunk-DWTLVJAW.js.map +0 -1
- package/dist/chunk-EODKQL6Y.js +0 -76
- package/dist/chunk-EODKQL6Y.js.map +0 -1
- package/dist/chunk-G3447GIP.js +0 -2880
- package/dist/chunk-G3447GIP.js.map +0 -1
- package/dist/chunk-HHYNOPPI.js +0 -53
- package/dist/chunk-HHYNOPPI.js.map +0 -1
- package/dist/chunk-I2BYHDFE.js.map +0 -1
- package/dist/chunk-JKCF7HEA.js +0 -1
- package/dist/chunk-KGM2WLSP.js.map +0 -1
- package/dist/chunk-MAD64DLJ.js +0 -81
- package/dist/chunk-MAD64DLJ.js.map +0 -1
- package/dist/chunk-N7BPFK46.js +0 -1
- package/dist/chunk-O34GCB47.js.map +0 -1
- package/dist/chunk-UISBTKFF.js +0 -1
- package/dist/chunk-UISBTKFF.js.map +0 -1
- package/dist/chunk-YBOFRP65.js +0 -128
- package/dist/chunk-YBOFRP65.js.map +0 -1
- package/dist/marketplaceConfig-B4Fdsmxu.d.ts +0 -17
- package/dist/sdk-config-txlivEKe.d.ts +0 -133
- package/dist/types-isjvwapz.d.ts +0 -68
- package/src/react/hooks/useCurrencies.tsx +0 -77
- package/src/react/ui/components/collectible-card/collectible-asset/CollectibleAsset.tsx +0 -174
- /package/dist/{chunk-FMEEJFAF.js.map → chunk-5C6ZZ6WX.js.map} +0 -0
- /package/dist/{chunk-YEGD7PWE.js.map → chunk-5O44EPXZ.js.map} +0 -0
- /package/dist/{chunk-JKCF7HEA.js.map → chunk-6CTFVBKU.js.map} +0 -0
- /package/dist/{chunk-Y63BOO6M.js.map → chunk-LECCEZAO.js.map} +0 -0
- /package/dist/{chunk-YALXP2PW.js.map → chunk-N7SQWS2R.js.map} +0 -0
- /package/dist/{chunk-N7BPFK46.js.map → utils/abi/primary-sale/index.js.map} +0 -0
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
export const SEQUENCE_1155_ITEMS_ABI = [
|
|
2
|
+
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
3
|
+
{
|
|
4
|
+
type: 'function',
|
|
5
|
+
name: 'DEFAULT_ADMIN_ROLE',
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
8
|
+
stateMutability: 'view',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
type: 'function',
|
|
12
|
+
name: 'balanceOf',
|
|
13
|
+
inputs: [
|
|
14
|
+
{ name: '_owner', type: 'address', internalType: 'address' },
|
|
15
|
+
{ name: '_id', type: 'uint256', internalType: 'uint256' },
|
|
16
|
+
],
|
|
17
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
18
|
+
stateMutability: 'view',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'function',
|
|
22
|
+
name: 'balanceOfBatch',
|
|
23
|
+
inputs: [
|
|
24
|
+
{ name: '_owners', type: 'address[]', internalType: 'address[]' },
|
|
25
|
+
{ name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
|
|
26
|
+
],
|
|
27
|
+
outputs: [{ name: '', type: 'uint256[]', internalType: 'uint256[]' }],
|
|
28
|
+
stateMutability: 'view',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: 'function',
|
|
32
|
+
name: 'baseURI',
|
|
33
|
+
inputs: [],
|
|
34
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
35
|
+
stateMutability: 'view',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'function',
|
|
39
|
+
name: 'batchBurn',
|
|
40
|
+
inputs: [
|
|
41
|
+
{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
|
|
42
|
+
{ name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
43
|
+
],
|
|
44
|
+
outputs: [],
|
|
45
|
+
stateMutability: 'nonpayable',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: 'function',
|
|
49
|
+
name: 'batchMint',
|
|
50
|
+
inputs: [
|
|
51
|
+
{ name: 'to', type: 'address', internalType: 'address' },
|
|
52
|
+
{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
|
|
53
|
+
{ name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
54
|
+
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
55
|
+
],
|
|
56
|
+
outputs: [],
|
|
57
|
+
stateMutability: 'nonpayable',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: 'function',
|
|
61
|
+
name: 'burn',
|
|
62
|
+
inputs: [
|
|
63
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
64
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
65
|
+
],
|
|
66
|
+
outputs: [],
|
|
67
|
+
stateMutability: 'nonpayable',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
type: 'function',
|
|
71
|
+
name: 'contractURI',
|
|
72
|
+
inputs: [],
|
|
73
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
74
|
+
stateMutability: 'view',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: 'function',
|
|
78
|
+
name: 'getRoleAdmin',
|
|
79
|
+
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
80
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
81
|
+
stateMutability: 'view',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: 'function',
|
|
85
|
+
name: 'getRoleMember',
|
|
86
|
+
inputs: [
|
|
87
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
88
|
+
{ name: 'index', type: 'uint256', internalType: 'uint256' },
|
|
89
|
+
],
|
|
90
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
91
|
+
stateMutability: 'view',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'function',
|
|
95
|
+
name: 'getRoleMemberCount',
|
|
96
|
+
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
97
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
98
|
+
stateMutability: 'view',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'function',
|
|
102
|
+
name: 'grantRole',
|
|
103
|
+
inputs: [
|
|
104
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
105
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
106
|
+
],
|
|
107
|
+
outputs: [],
|
|
108
|
+
stateMutability: 'nonpayable',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'function',
|
|
112
|
+
name: 'hasRole',
|
|
113
|
+
inputs: [
|
|
114
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
115
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
116
|
+
],
|
|
117
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
118
|
+
stateMutability: 'view',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'function',
|
|
122
|
+
name: 'initialize',
|
|
123
|
+
inputs: [
|
|
124
|
+
{ name: 'owner', type: 'address', internalType: 'address' },
|
|
125
|
+
{ name: 'tokenName', type: 'string', internalType: 'string' },
|
|
126
|
+
{ name: 'tokenBaseURI', type: 'string', internalType: 'string' },
|
|
127
|
+
{ name: 'tokenContractURI', type: 'string', internalType: 'string' },
|
|
128
|
+
{ name: 'royaltyReceiver', type: 'address', internalType: 'address' },
|
|
129
|
+
{ name: 'royaltyFeeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
130
|
+
],
|
|
131
|
+
outputs: [],
|
|
132
|
+
stateMutability: 'nonpayable',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'function',
|
|
136
|
+
name: 'isApprovedForAll',
|
|
137
|
+
inputs: [
|
|
138
|
+
{ name: '_owner', type: 'address', internalType: 'address' },
|
|
139
|
+
{ name: '_operator', type: 'address', internalType: 'address' },
|
|
140
|
+
],
|
|
141
|
+
outputs: [{ name: 'isOperator', type: 'bool', internalType: 'bool' }],
|
|
142
|
+
stateMutability: 'view',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: 'function',
|
|
146
|
+
name: 'mint',
|
|
147
|
+
inputs: [
|
|
148
|
+
{ name: 'to', type: 'address', internalType: 'address' },
|
|
149
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
150
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
151
|
+
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
152
|
+
],
|
|
153
|
+
outputs: [],
|
|
154
|
+
stateMutability: 'nonpayable',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'function',
|
|
158
|
+
name: 'name',
|
|
159
|
+
inputs: [],
|
|
160
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
161
|
+
stateMutability: 'view',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: 'function',
|
|
165
|
+
name: 'renounceRole',
|
|
166
|
+
inputs: [
|
|
167
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
168
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
169
|
+
],
|
|
170
|
+
outputs: [],
|
|
171
|
+
stateMutability: 'nonpayable',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: 'function',
|
|
175
|
+
name: 'revokeRole',
|
|
176
|
+
inputs: [
|
|
177
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
178
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
179
|
+
],
|
|
180
|
+
outputs: [],
|
|
181
|
+
stateMutability: 'nonpayable',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
type: 'function',
|
|
185
|
+
name: 'royaltyInfo',
|
|
186
|
+
inputs: [
|
|
187
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
188
|
+
{ name: 'salePrice', type: 'uint256', internalType: 'uint256' },
|
|
189
|
+
],
|
|
190
|
+
outputs: [
|
|
191
|
+
{ name: '', type: 'address', internalType: 'address' },
|
|
192
|
+
{ name: '', type: 'uint256', internalType: 'uint256' },
|
|
193
|
+
],
|
|
194
|
+
stateMutability: 'view',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'function',
|
|
198
|
+
name: 'safeBatchTransferFrom',
|
|
199
|
+
inputs: [
|
|
200
|
+
{ name: '_from', type: 'address', internalType: 'address' },
|
|
201
|
+
{ name: '_to', type: 'address', internalType: 'address' },
|
|
202
|
+
{ name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
|
|
203
|
+
{ name: '_amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
204
|
+
{ name: '_data', type: 'bytes', internalType: 'bytes' },
|
|
205
|
+
],
|
|
206
|
+
outputs: [],
|
|
207
|
+
stateMutability: 'nonpayable',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: 'function',
|
|
211
|
+
name: 'safeTransferFrom',
|
|
212
|
+
inputs: [
|
|
213
|
+
{ name: '_from', type: 'address', internalType: 'address' },
|
|
214
|
+
{ name: '_to', type: 'address', internalType: 'address' },
|
|
215
|
+
{ name: '_id', type: 'uint256', internalType: 'uint256' },
|
|
216
|
+
{ name: '_amount', type: 'uint256', internalType: 'uint256' },
|
|
217
|
+
{ name: '_data', type: 'bytes', internalType: 'bytes' },
|
|
218
|
+
],
|
|
219
|
+
outputs: [],
|
|
220
|
+
stateMutability: 'nonpayable',
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
type: 'function',
|
|
224
|
+
name: 'setApprovalForAll',
|
|
225
|
+
inputs: [
|
|
226
|
+
{ name: '_operator', type: 'address', internalType: 'address' },
|
|
227
|
+
{ name: '_approved', type: 'bool', internalType: 'bool' },
|
|
228
|
+
],
|
|
229
|
+
outputs: [],
|
|
230
|
+
stateMutability: 'nonpayable',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: 'function',
|
|
234
|
+
name: 'setBaseMetadataURI',
|
|
235
|
+
inputs: [{ name: 'tokenBaseURI', type: 'string', internalType: 'string' }],
|
|
236
|
+
outputs: [],
|
|
237
|
+
stateMutability: 'nonpayable',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
type: 'function',
|
|
241
|
+
name: 'setContractName',
|
|
242
|
+
inputs: [{ name: 'tokenName', type: 'string', internalType: 'string' }],
|
|
243
|
+
outputs: [],
|
|
244
|
+
stateMutability: 'nonpayable',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
type: 'function',
|
|
248
|
+
name: 'setContractURI',
|
|
249
|
+
inputs: [
|
|
250
|
+
{ name: 'tokenContractURI', type: 'string', internalType: 'string' },
|
|
251
|
+
],
|
|
252
|
+
outputs: [],
|
|
253
|
+
stateMutability: 'nonpayable',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: 'function',
|
|
257
|
+
name: 'setDefaultRoyalty',
|
|
258
|
+
inputs: [
|
|
259
|
+
{ name: 'receiver', type: 'address', internalType: 'address' },
|
|
260
|
+
{ name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
261
|
+
],
|
|
262
|
+
outputs: [],
|
|
263
|
+
stateMutability: 'nonpayable',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
type: 'function',
|
|
267
|
+
name: 'setTokenRoyalty',
|
|
268
|
+
inputs: [
|
|
269
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
270
|
+
{ name: 'receiver', type: 'address', internalType: 'address' },
|
|
271
|
+
{ name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
272
|
+
],
|
|
273
|
+
outputs: [],
|
|
274
|
+
stateMutability: 'nonpayable',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
type: 'function',
|
|
278
|
+
name: 'supportsInterface',
|
|
279
|
+
inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
|
|
280
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
281
|
+
stateMutability: 'view',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
type: 'function',
|
|
285
|
+
name: 'tokenSupply',
|
|
286
|
+
inputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
287
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
288
|
+
stateMutability: 'view',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
type: 'function',
|
|
292
|
+
name: 'totalSupply',
|
|
293
|
+
inputs: [],
|
|
294
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
295
|
+
stateMutability: 'view',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
type: 'function',
|
|
299
|
+
name: 'uri',
|
|
300
|
+
inputs: [{ name: '_id', type: 'uint256', internalType: 'uint256' }],
|
|
301
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
302
|
+
stateMutability: 'view',
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
type: 'event',
|
|
306
|
+
name: 'ApprovalForAll',
|
|
307
|
+
inputs: [
|
|
308
|
+
{
|
|
309
|
+
name: '_owner',
|
|
310
|
+
type: 'address',
|
|
311
|
+
indexed: true,
|
|
312
|
+
internalType: 'address',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: '_operator',
|
|
316
|
+
type: 'address',
|
|
317
|
+
indexed: true,
|
|
318
|
+
internalType: 'address',
|
|
319
|
+
},
|
|
320
|
+
{ name: '_approved', type: 'bool', indexed: false, internalType: 'bool' },
|
|
321
|
+
],
|
|
322
|
+
anonymous: false,
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
type: 'event',
|
|
326
|
+
name: 'RoleAdminChanged',
|
|
327
|
+
inputs: [
|
|
328
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
329
|
+
{
|
|
330
|
+
name: 'previousAdminRole',
|
|
331
|
+
type: 'bytes32',
|
|
332
|
+
indexed: true,
|
|
333
|
+
internalType: 'bytes32',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'newAdminRole',
|
|
337
|
+
type: 'bytes32',
|
|
338
|
+
indexed: true,
|
|
339
|
+
internalType: 'bytes32',
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
anonymous: false,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
type: 'event',
|
|
346
|
+
name: 'RoleGranted',
|
|
347
|
+
inputs: [
|
|
348
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
349
|
+
{
|
|
350
|
+
name: 'account',
|
|
351
|
+
type: 'address',
|
|
352
|
+
indexed: true,
|
|
353
|
+
internalType: 'address',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'sender',
|
|
357
|
+
type: 'address',
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: 'address',
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
anonymous: false,
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
type: 'event',
|
|
366
|
+
name: 'RoleRevoked',
|
|
367
|
+
inputs: [
|
|
368
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
369
|
+
{
|
|
370
|
+
name: 'account',
|
|
371
|
+
type: 'address',
|
|
372
|
+
indexed: true,
|
|
373
|
+
internalType: 'address',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'sender',
|
|
377
|
+
type: 'address',
|
|
378
|
+
indexed: true,
|
|
379
|
+
internalType: 'address',
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
anonymous: false,
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
type: 'event',
|
|
386
|
+
name: 'TransferBatch',
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
name: '_operator',
|
|
390
|
+
type: 'address',
|
|
391
|
+
indexed: true,
|
|
392
|
+
internalType: 'address',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: '_from',
|
|
396
|
+
type: 'address',
|
|
397
|
+
indexed: true,
|
|
398
|
+
internalType: 'address',
|
|
399
|
+
},
|
|
400
|
+
{ name: '_to', type: 'address', indexed: true, internalType: 'address' },
|
|
401
|
+
{
|
|
402
|
+
name: '_ids',
|
|
403
|
+
type: 'uint256[]',
|
|
404
|
+
indexed: false,
|
|
405
|
+
internalType: 'uint256[]',
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: '_amounts',
|
|
409
|
+
type: 'uint256[]',
|
|
410
|
+
indexed: false,
|
|
411
|
+
internalType: 'uint256[]',
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
anonymous: false,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
type: 'event',
|
|
418
|
+
name: 'TransferSingle',
|
|
419
|
+
inputs: [
|
|
420
|
+
{
|
|
421
|
+
name: '_operator',
|
|
422
|
+
type: 'address',
|
|
423
|
+
indexed: true,
|
|
424
|
+
internalType: 'address',
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: '_from',
|
|
428
|
+
type: 'address',
|
|
429
|
+
indexed: true,
|
|
430
|
+
internalType: 'address',
|
|
431
|
+
},
|
|
432
|
+
{ name: '_to', type: 'address', indexed: true, internalType: 'address' },
|
|
433
|
+
{ name: '_id', type: 'uint256', indexed: false, internalType: 'uint256' },
|
|
434
|
+
{
|
|
435
|
+
name: '_amount',
|
|
436
|
+
type: 'uint256',
|
|
437
|
+
indexed: false,
|
|
438
|
+
internalType: 'uint256',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
anonymous: false,
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
type: 'event',
|
|
445
|
+
name: 'URI',
|
|
446
|
+
inputs: [
|
|
447
|
+
{ name: '_uri', type: 'string', indexed: false, internalType: 'string' },
|
|
448
|
+
{ name: '_id', type: 'uint256', indexed: true, internalType: 'uint256' },
|
|
449
|
+
],
|
|
450
|
+
anonymous: false,
|
|
451
|
+
},
|
|
452
|
+
{ type: 'error', name: 'InvalidArrayLength', inputs: [] },
|
|
453
|
+
{ type: 'error', name: 'InvalidInitialization', inputs: [] },
|
|
454
|
+
] as const;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @returns A Promise that resolves with 'image', 'video', 'html', or null.
|
|
5
5
|
*/
|
|
6
6
|
export function fetchContentType(
|
|
7
|
-
url: string,
|
|
7
|
+
url: string | undefined,
|
|
8
8
|
): Promise<'image' | 'video' | 'html' | '3d-model' | null> {
|
|
9
9
|
return new Promise((resolve, reject) => {
|
|
10
10
|
if (typeof XMLHttpRequest === 'undefined') {
|
|
@@ -12,6 +12,10 @@ export function fetchContentType(
|
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
if (!url) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
const client = new XMLHttpRequest();
|
|
16
20
|
let settled = false;
|
|
17
21
|
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/__tests__/provider.test.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/logger.ts","./src/react/_internal/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/builder-api.ts","./src/react/_internal/api/builder.gen.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/laos-api.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/api/__mocks__/builder.msw.ts","./src/react/_internal/api/__mocks__/indexer.msw.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/api/__mocks__/metadata.msw.ts","./src/react/_internal/databeat/index.ts","./src/react/_internal/databeat/types.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/get-connectors.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/__tests__/create-config.test.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/_internal/wallet/__tests__/wallet.test.ts","./src/react/hooks/index.ts","./src/react/hooks/useautoselectfeeoption.tsx","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecanceltransactionsteps.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/usecollectionbalancedetails.tsx","./src/react/hooks/usecollectiondetails.tsx","./src/react/hooks/usecollectiondetailspolling.tsx","./src/react/hooks/usecompareprices.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/useconvertpricetousd.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecurrencies.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usecurrencybalance.tsx","./src/react/hooks/usefilterstate.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usegetreceiptfromhash.tsx","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/useinventory.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectiblespaginated.tsx","./src/react/hooks/uselistcollectionactivities.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyalty.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/__tests__/useautoselectfeeoption.test.tsx","./src/react/hooks/__tests__/usebalanceofcollectible.test.tsx","./src/react/hooks/__tests__/usecancelorder.test.tsx","./src/react/hooks/__tests__/usecanceltransactionsteps.test.tsx","./src/react/hooks/__tests__/usecollectible.test.tsx","./src/react/hooks/__tests__/usecollection.test.tsx","./src/react/hooks/__tests__/usecollectionbalancedetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetailspolling.test.tsx","./src/react/hooks/__tests__/usecompareprices.test.tsx","./src/react/hooks/__tests__/useconvertpricetousd.test.tsx","./src/react/hooks/__tests__/usecountlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/usecountofcollectables.test.tsx","./src/react/hooks/__tests__/usecountoffersforcollectible.test.tsx","./src/react/hooks/__tests__/usecurrencies.test.tsx","./src/react/hooks/__tests__/usecurrency.test.tsx","./src/react/hooks/__tests__/usecurrencybalance.test.tsx","./src/react/hooks/__tests__/usefilters.test.tsx","./src/react/hooks/__tests__/usefloororder.test.tsx","./src/react/hooks/__tests__/usegeneratecanceltransaction.test.tsx","./src/react/hooks/__tests__/usegeneratelistingtransaction.test.tsx","./src/react/hooks/__tests__/usegenerateoffertransaction.test.tsx","./src/react/hooks/__tests__/usegenerateselltransaction.test.tsx","./src/react/hooks/__tests__/usehighestoffer.test.tsx","./src/react/hooks/__tests__/useinventory.test.tsx","./src/react/hooks/__tests__/uselistbalances.test.tsx","./src/react/hooks/__tests__/uselistcollectibleactivities.test.tsx","./src/react/hooks/__tests__/uselistcollectibles.test.tsx","./src/react/hooks/__tests__/uselistcollectiblespaginated.test.tsx","./src/react/hooks/__tests__/uselistcollectionactivities.test.tsx","./src/react/hooks/__tests__/uselistcollections.test.tsx","./src/react/hooks/__tests__/uselistlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/uselistoffersforcollectible.test.tsx","./src/react/hooks/__tests__/uselowestlisting.test.tsx","./src/react/hooks/__tests__/usemarketplaceconfig.test.tsx","./src/react/hooks/__tests__/useroyalty.test.tsx","./src/react/hooks/options/collectionoptions.ts","./src/react/hooks/options/index.ts","./src/react/hooks/util/optimisticcancelupdates.ts","./src/react/queries/balanceofcollectible.ts","./src/react/queries/gettokensupplies.ts","./src/react/queries/highestoffer.ts","./src/react/queries/index.ts","./src/react/queries/inventory.ts","./src/react/queries/listbalances.ts","./src/react/queries/listcollectibles.ts","./src/react/queries/lowestlisting.ts","./src/react/queries/marketplaceconfig.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ssr/__tests__/create-ssr-client.test.ts","./src/react/ui/index.ts","./src/react/ui/components/modelviewer.tsx","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/action-button/store.ts","./src/react/ui/components/_internals/action-button/types.ts","./src/react/ui/components/_internals/action-button/__tests__/actionbuttonbody.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/nonowneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/owneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/useactionbuttonlogic.test.tsx","./src/react/ui/components/_internals/action-button/components/actionbuttonbody.tsx","./src/react/ui/components/_internals/action-button/components/nonowneractions.tsx","./src/react/ui/components/_internals/action-button/components/owneractions.tsx","./src/react/ui/components/_internals/action-button/hooks/useactionbuttonlogic.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/_internals/pill/__tests__/pill.test.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/index.ts","./src/react/ui/components/collectible-card/__tests__/collectibleasset.test.tsx","./src/react/ui/components/collectible-card/__tests__/collectiblecard.test.tsx","./src/react/ui/components/collectible-card/__tests__/footer.test.tsx","./src/react/ui/components/collectible-card/collectible-asset/collectibleasset.tsx","./src/react/ui/components/collectible-card/collectible-asset/collectibleassetskeleton.tsx","./src/react/ui/components/collectible-card/collectible-asset/utils.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/bellicon.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/carticon.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/iconvariants.ts","./src/react/ui/icons/index.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/erc1155quantitymodal.tsx","./src/react/ui/modals/buymodal/modal.tsx","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/buymodal/store.ts","./src/react/ui/modals/buymodal/__tests__/modal.test.tsx","./src/react/ui/modals/buymodal/__tests__/modal1155.test.tsx","./src/react/ui/modals/buymodal/__tests__/store.test.ts","./src/react/ui/modals/buymodal/hooks/usecheckoutoptions.ts","./src/react/ui/modals/buymodal/hooks/usefees.ts","./src/react/ui/modals/buymodal/hooks/useloaddata.ts","./src/react/ui/modals/buymodal/hooks/usepaymentmodalparams.ts","./src/react/ui/modals/buymodal/hooks/__tests__/usecheckoutoptions.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usefees.test.tsx","./src/react/ui/modals/createlistingmodal/modal.tsx","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/createlistingmodal/store.ts","./src/react/ui/modals/createlistingmodal/__tests__/modal.test.tsx","./src/react/ui/modals/createlistingmodal/hooks/usecreatelisting.tsx","./src/react/ui/modals/createlistingmodal/hooks/usegettokenapproval.ts","./src/react/ui/modals/createlistingmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/makeoffermodal/modal.tsx","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/makeoffermodal/store.ts","./src/react/ui/modals/makeoffermodal/__tests__/modal.test.tsx","./src/react/ui/modals/makeoffermodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/makeoffermodal/hooks/usemakeoffer.tsx","./src/react/ui/modals/makeoffermodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/sellmodal/modal.tsx","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/store.ts","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/sellmodal/__tests__/modal.test.tsx","./src/react/ui/modals/sellmodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/sellmodal/hooks/usesell.tsx","./src/react/ui/modals/sellmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/__tests__/modal.test.tsx","./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/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/tokenquantityinput.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/transferbutton.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/walletaddressinput.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/consts.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.test.tsx","./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/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendardropdown/index.tsx","./src/react/ui/modals/_internal/components/currencyimage/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/__tests__/index.test.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/floorpricetext/__tests__/floorpricetext.test.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/priceinput.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/index.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/store.ts","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/usewaasfeeoptionmanager.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/actionbuttons.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/balanceindicator.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/selectwaasfeeoptions.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/actionbuttons.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/balanceindicator.tsx","./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/__tests__/switchchainmodal.test.tsx","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./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/__tests__/transactionstatusmodal.test.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/utils.test.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/hooks/usetransactionstatus.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/components/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/hooks/useselectwaasfeeoptions.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/types/waas-types.ts","./src/utils/address.ts","./src/utils/cn.ts","./src/utils/date.ts","./src/utils/fetchcontenttype.ts","./src/utils/getmarketplacedetails.ts","./src/utils/getsequencemarketrequestid.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/networkconfigtowagmichain.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.test.ts","./src/utils/__tests__/getmarketplacedetails.test.ts","./src/utils/__tests__/price.test.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/config.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","./src/utils/decode/erc20.ts","./tsup.config.ts","./test/const.ts","./test/globalsetup.ts","./test/index.ts","./test/setup.ts","./test/test-utils.tsx","./test/mocks/wallet.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/__tests__/provider.test.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/logger.ts","./src/react/_internal/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/builder-api.ts","./src/react/_internal/api/builder.gen.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/laos-api.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/api/__mocks__/builder.msw.ts","./src/react/_internal/api/__mocks__/indexer.msw.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/api/__mocks__/metadata.msw.ts","./src/react/_internal/databeat/index.ts","./src/react/_internal/databeat/types.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/get-connectors.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/__tests__/create-config.test.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/_internal/wallet/__tests__/wallet.test.ts","./src/react/hooks/index.ts","./src/react/hooks/useautoselectfeeoption.tsx","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecanceltransactionsteps.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/usecollectionbalancedetails.tsx","./src/react/hooks/usecollectiondetails.tsx","./src/react/hooks/usecollectiondetailspolling.tsx","./src/react/hooks/usecompareprices.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/useconvertpricetousd.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usecurrencybalance.tsx","./src/react/hooks/usefilterstate.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usegetreceiptfromhash.tsx","./src/react/hooks/usegettokensuppliesmap.ts","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/useinventory.tsx","./src/react/hooks/uselist1155salesupplies.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectiblespaginated.tsx","./src/react/hooks/uselistcollectionactivities.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselisttokenmetadata.ts","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemarketcurrencies.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyalty.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/__tests__/useautoselectfeeoption.test.tsx","./src/react/hooks/__tests__/usebalanceofcollectible.test.tsx","./src/react/hooks/__tests__/usecancelorder.test.tsx","./src/react/hooks/__tests__/usecanceltransactionsteps.test.tsx","./src/react/hooks/__tests__/usecollectible.test.tsx","./src/react/hooks/__tests__/usecollection.test.tsx","./src/react/hooks/__tests__/usecollectionbalancedetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetailspolling.test.tsx","./src/react/hooks/__tests__/usecompareprices.test.tsx","./src/react/hooks/__tests__/useconvertpricetousd.test.tsx","./src/react/hooks/__tests__/usecountlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/usecountofcollectables.test.tsx","./src/react/hooks/__tests__/usecountoffersforcollectible.test.tsx","./src/react/hooks/__tests__/usecurrency.test.tsx","./src/react/hooks/__tests__/usecurrencybalance.test.tsx","./src/react/hooks/__tests__/usefilters.test.tsx","./src/react/hooks/__tests__/usefloororder.test.tsx","./src/react/hooks/__tests__/usegeneratecanceltransaction.test.tsx","./src/react/hooks/__tests__/usegeneratelistingtransaction.test.tsx","./src/react/hooks/__tests__/usegenerateoffertransaction.test.tsx","./src/react/hooks/__tests__/usegenerateselltransaction.test.tsx","./src/react/hooks/__tests__/usehighestoffer.test.tsx","./src/react/hooks/__tests__/useinventory.test.tsx","./src/react/hooks/__tests__/uselistbalances.test.tsx","./src/react/hooks/__tests__/uselistcollectibleactivities.test.tsx","./src/react/hooks/__tests__/uselistcollectibles.test.tsx","./src/react/hooks/__tests__/uselistcollectiblespaginated.test.tsx","./src/react/hooks/__tests__/uselistcollectionactivities.test.tsx","./src/react/hooks/__tests__/uselistcollections.test.tsx","./src/react/hooks/__tests__/uselistlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/uselistoffersforcollectible.test.tsx","./src/react/hooks/__tests__/uselowestlisting.test.tsx","./src/react/hooks/__tests__/usemarketcurrencies.test.tsx","./src/react/hooks/__tests__/usemarketplaceconfig.test.tsx","./src/react/hooks/__tests__/useroyalty.test.tsx","./src/react/hooks/options/collectionoptions.ts","./src/react/hooks/options/index.ts","./src/react/hooks/util/optimisticcancelupdates.ts","./src/react/queries/balanceofcollectible.ts","./src/react/queries/gettokensupplies.ts","./src/react/queries/highestoffer.ts","./src/react/queries/index.ts","./src/react/queries/inventory.ts","./src/react/queries/listbalances.ts","./src/react/queries/listcollectibles.ts","./src/react/queries/listcollections.ts","./src/react/queries/listtokenmetadata.ts","./src/react/queries/lowestlisting.ts","./src/react/queries/marketcurrencies.ts","./src/react/queries/marketplaceconfig.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ssr/__tests__/create-ssr-client.test.ts","./src/react/ui/index.ts","./src/react/ui/components/modelviewer.tsx","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/action-button/store.ts","./src/react/ui/components/_internals/action-button/types.ts","./src/react/ui/components/_internals/action-button/__tests__/actionbuttonbody.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/nonowneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/owneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/useactionbuttonlogic.test.tsx","./src/react/ui/components/_internals/action-button/components/actionbuttonbody.tsx","./src/react/ui/components/_internals/action-button/components/nonowneractions.tsx","./src/react/ui/components/_internals/action-button/components/owneractions.tsx","./src/react/ui/components/_internals/action-button/hooks/useactionbuttonlogic.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/_internals/pill/__tests__/pill.test.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/index.ts","./src/react/ui/components/collectible-card/__tests__/collectiblecard.test.tsx","./src/react/ui/components/collectible-card/__tests__/footer.test.tsx","./src/react/ui/components/collectible-card/__tests__/media.test.tsx","./src/react/ui/components/collectible-card/media/media.tsx","./src/react/ui/components/collectible-card/media/mediaskeleton.tsx","./src/react/ui/components/collectible-card/media/types.ts","./src/react/ui/components/collectible-card/media/utils.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/bellicon.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/carticon.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/iconvariants.ts","./src/react/ui/icons/index.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/erc1155quantitymodal.tsx","./src/react/ui/modals/buymodal/modal.tsx","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/buymodal/store.ts","./src/react/ui/modals/buymodal/__tests__/modal.test.tsx","./src/react/ui/modals/buymodal/__tests__/modal1155.test.tsx","./src/react/ui/modals/buymodal/__tests__/store.test.ts","./src/react/ui/modals/buymodal/hooks/usecheckoutoptions.ts","./src/react/ui/modals/buymodal/hooks/usefees.ts","./src/react/ui/modals/buymodal/hooks/useloaddata.ts","./src/react/ui/modals/buymodal/hooks/usepaymentmodalparams.ts","./src/react/ui/modals/buymodal/hooks/__tests__/usecheckoutoptions.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usefees.test.tsx","./src/react/ui/modals/createlistingmodal/modal.tsx","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/createlistingmodal/store.ts","./src/react/ui/modals/createlistingmodal/__tests__/modal.test.tsx","./src/react/ui/modals/createlistingmodal/hooks/usecreatelisting.tsx","./src/react/ui/modals/createlistingmodal/hooks/usegettokenapproval.ts","./src/react/ui/modals/createlistingmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/makeoffermodal/modal.tsx","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/makeoffermodal/store.ts","./src/react/ui/modals/makeoffermodal/__tests__/modal.test.tsx","./src/react/ui/modals/makeoffermodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/makeoffermodal/hooks/usemakeoffer.tsx","./src/react/ui/modals/makeoffermodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/sellmodal/modal.tsx","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/store.ts","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/sellmodal/__tests__/modal.test.tsx","./src/react/ui/modals/sellmodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/sellmodal/hooks/usesell.tsx","./src/react/ui/modals/sellmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/__tests__/modal.test.tsx","./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/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/tokenquantityinput.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/transferbutton.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/walletaddressinput.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/consts.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.test.tsx","./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/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendardropdown/index.tsx","./src/react/ui/modals/_internal/components/currencyimage/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/__tests__/index.test.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/floorpricetext/__tests__/floorpricetext.test.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/priceinput.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/index.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/store.ts","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/usewaasfeeoptionmanager.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/actionbuttons.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/balanceindicator.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/selectwaasfeeoptions.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/actionbuttons.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/balanceindicator.tsx","./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/__tests__/switchchainmodal.test.tsx","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./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/__tests__/transactionstatusmodal.test.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/utils.test.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/hooks/usetransactionstatus.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/components/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/hooks/useselectwaasfeeoptions.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/messages.ts","./src/types/new-marketplace-types.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/types/waas-types.ts","./src/utils/address.ts","./src/utils/cn.ts","./src/utils/date.ts","./src/utils/fetchcontenttype.ts","./src/utils/getmarketplacedetails.ts","./src/utils/getsequencemarketrequestid.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/networkconfigtowagmichain.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.test.ts","./src/utils/__tests__/getmarketplacedetails.test.ts","./src/utils/__tests__/price.test.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/config.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/primary-sale/index.ts","./src/utils/abi/primary-sale/sequence-1155-sales-contract.ts","./src/utils/abi/primary-sale/sequence-721-sales-contract.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","./src/utils/abi/token/sequence-erc1155-items.ts","./src/utils/decode/erc20.ts","./tsup.config.ts","./test/const.ts","./test/globalsetup.ts","./test/index.ts","./test/setup.ts","./test/test-utils.tsx","./test/mocks/wallet.ts"],"version":"5.8.3"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/react/ui/icons/CalendarIcon.tsx","../src/react/ui/icons/CartIcon.tsx","../src/react/ui/icons/BellIcon.tsx"],"sourcesContent":["'use client';\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-label=\"Calendar icon\"\n\t\t{...props}\n\t>\n\t\t<title>Calendar icon</title>\n\t\t<path\n\t\t\td=\"M4.57634 17.5C3.73146 17.5 3.08946 17.2816 2.65034 16.8449C2.21678 16.4081 2 15.7586 2 14.8965V5.10352C2 4.24135 2.21678 3.59189 2.65034 3.15513C3.08946 2.71838 3.73146 2.5 4.57634 2.5H15.4237C16.2741 2.5 16.9161 2.72121 17.3497 3.16364C17.7832 3.6004 18 4.24702 18 5.10352V14.8965C18 15.753 17.7832 16.3996 17.3497 16.8364C16.9161 17.2788 16.2741 17.5 15.4237 17.5H4.57634ZM4.55133 15.9515H15.4403C15.7738 15.9515 16.0295 15.8636 16.2074 15.6877C16.3908 15.5062 16.4825 15.2396 16.4825 14.888V7.44328C16.4825 7.08593 16.3908 6.81934 16.2074 6.64351C16.0295 6.46767 15.7738 6.37975 15.4403 6.37975H4.55133C4.21782 6.37975 3.96213 6.46767 3.78426 6.64351C3.61195 6.81934 3.52579 7.08593 3.52579 7.44328V14.888C3.52579 15.2396 3.61195 15.5062 3.78426 15.6877C3.96213 15.8636 4.21782 15.9515 4.55133 15.9515ZM8.48671 9.17896C8.34775 9.17896 8.25048 9.15343 8.19489 9.10238C8.13931 9.05133 8.11152 8.95207 8.11152 8.80459V8.33664C8.11152 8.19484 8.13931 8.09841 8.19489 8.04736C8.25048 7.99064 8.34775 7.96228 8.48671 7.96228H8.94528C9.0898 7.96228 9.18708 7.99064 9.2371 8.04736C9.29269 8.09841 9.32048 8.19484 9.32048 8.33664V8.80459C9.32048 8.95207 9.29269 9.05133 9.2371 9.10238C9.18708 9.15343 9.0898 9.17896 8.94528 9.17896H8.48671ZM11.0714 9.17896C10.9269 9.17896 10.8268 9.15343 10.7712 9.10238C10.7212 9.05133 10.6962 8.95207 10.6962 8.80459V8.33664C10.6962 8.19484 10.7212 8.09841 10.7712 8.04736C10.8268 7.99064 10.9269 7.96228 11.0714 7.96228H11.5383C11.6773 7.96228 11.7745 7.99064 11.8301 8.04736C11.8857 8.09841 11.9135 8.19484 11.9135 8.33664V8.80459C11.9135 8.95207 11.8857 9.05133 11.8301 9.10238C11.7745 9.15343 11.6773 9.17896 11.5383 9.17896H11.0714ZM13.6477 9.17896C13.5088 9.17896 13.4115 9.15343 13.3559 9.10238C13.3003 9.05133 13.2725 8.95207 13.2725 8.80459V8.33664C13.2725 8.19484 13.3003 8.09841 13.3559 8.04736C13.4115 7.99064 13.5088 7.96228 13.6477 7.96228H14.1146C14.2592 7.96228 14.3564 7.99064 14.4065 8.04736C14.462 8.09841 14.4898 8.19484 14.4898 8.33664V8.80459C14.4898 8.95207 14.462 9.05133 14.4065 9.10238C14.3564 9.15343 14.2592 9.17896 14.1146 9.17896H13.6477ZM5.90203 11.7825C5.75751 11.7825 5.65746 11.7541 5.60188 11.6974C5.55185 11.6407 5.52684 11.5442 5.52684 11.4081V10.9317C5.52684 10.7842 5.55185 10.6849 5.60188 10.6339C5.65746 10.5828 5.75751 10.5573 5.90203 10.5573H6.36894C6.5079 10.5573 6.60518 10.5828 6.66076 10.6339C6.71635 10.6849 6.74414 10.7842 6.74414 10.9317V11.4081C6.74414 11.5442 6.71635 11.6407 6.66076 11.6974C6.60518 11.7541 6.5079 11.7825 6.36894 11.7825H5.90203ZM8.48671 11.7825C8.34775 11.7825 8.25048 11.7541 8.19489 11.6974C8.13931 11.6407 8.11152 11.5442 8.11152 11.4081V10.9317C8.11152 10.7842 8.13931 10.6849 8.19489 10.6339C8.25048 10.5828 8.34775 10.5573 8.48671 10.5573H8.94528C9.0898 10.5573 9.18708 10.5828 9.2371 10.6339C9.29269 10.6849 9.32048 10.7842 9.32048 10.9317V11.4081C9.32048 11.5442 9.29269 11.6407 9.2371 11.6974C9.18708 11.7541 9.0898 11.7825 8.94528 11.7825H8.48671ZM11.0714 11.7825C10.9269 11.7825 10.8268 11.7541 10.7712 11.6974C10.7212 11.6407 10.6962 11.5442 10.6962 11.4081V10.9317C10.6962 10.7842 10.7212 10.6849 10.7712 10.6339C10.8268 10.5828 10.9269 10.5573 11.0714 10.5573H11.5383C11.6773 10.5573 11.7745 10.5828 11.8301 10.6339C11.8857 10.6849 11.9135 10.7842 11.9135 10.9317V11.4081C11.9135 11.5442 11.8857 11.6407 11.8301 11.6974C11.7745 11.7541 11.6773 11.7825 11.5383 11.7825H11.0714ZM13.6477 11.7825C13.5088 11.7825 13.4115 11.7541 13.3559 11.6974C13.3003 11.6407 13.2725 11.5442 13.2725 11.4081V10.9317C13.2725 10.7842 13.3003 10.6849 13.3559 10.6339C13.4115 10.5828 13.5088 10.5573 13.6477 10.5573H14.1146C14.2592 10.5573 14.3564 10.5828 14.4065 10.6339C14.462 10.6849 14.4898 10.7842 14.4898 10.9317V11.4081C14.4898 11.5442 14.462 11.6407 14.4065 11.6974C14.3564 11.7541 14.2592 11.7825 14.1146 11.7825H13.6477ZM5.90203 14.369C5.75751 14.369 5.65746 14.3434 5.60188 14.2924C5.55185 14.2414 5.52684 14.1421 5.52684 13.9946V13.5267C5.52684 13.3849 5.55185 13.2884 5.60188 13.2374C5.65746 13.1807 5.75751 13.1523 5.90203 13.1523H6.36894C6.5079 13.1523 6.60518 13.1807 6.66076 13.2374C6.71635 13.2884 6.74414 13.3849 6.74414 13.5267V13.9946C6.74414 14.1421 6.71635 14.2414 6.66076 14.2924C6.60518 14.3434 6.5079 14.369 6.36894 14.369H5.90203ZM8.48671 14.369C8.34775 14.369 8.25048 14.3434 8.19489 14.2924C8.13931 14.2414 8.11152 14.1421 8.11152 13.9946V13.5267C8.11152 13.3849 8.13931 13.2884 8.19489 13.2374C8.25048 13.1807 8.34775 13.1523 8.48671 13.1523H8.94528C9.0898 13.1523 9.18708 13.1807 9.2371 13.2374C9.29269 13.2884 9.32048 13.3849 9.32048 13.5267V13.9946C9.32048 14.1421 9.29269 14.2414 9.2371 14.2924C9.18708 14.3434 9.0898 14.369 8.94528 14.369H8.48671ZM11.0714 14.369C10.9269 14.369 10.8268 14.3434 10.7712 14.2924C10.7212 14.2414 10.6962 14.1421 10.6962 13.9946V13.5267C10.6962 13.3849 10.7212 13.2884 10.7712 13.2374C10.8268 13.1807 10.9269 13.1523 11.0714 13.1523H11.5383C11.6773 13.1523 11.7745 13.1807 11.8301 13.2374C11.8857 13.2884 11.9135 13.3849 11.9135 13.5267V13.9946C11.9135 14.1421 11.8857 14.2414 11.8301 14.2924C11.7745 14.3434 11.6773 14.369 11.5383 14.369H11.0714Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCalendarIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCalendarIcon;\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"cart-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"cart-title\">Cart Icon</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M2.5 3.46836C2.5 3.20969 2.72366 3 2.99955 3H5.16925C5.88938 3 6.5077 3.48022 6.64172 4.14359L8.33188 12.5093C8.37655 12.7304 8.58266 12.8905 8.8227 12.8905H16.987C17.2629 12.8905 17.4866 13.1002 17.4866 13.3589C17.4866 13.6175 17.2629 13.8272 16.987 13.8272H8.8227C8.10257 13.8272 7.48425 13.347 7.35023 12.6836L5.66007 4.31793C5.6154 4.0968 5.40929 3.93673 5.16925 3.93673H2.99955C2.72366 3.93673 2.5 3.72704 2.5 3.46836Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M18.0003 5.34182H6.40946L7.49564 10.8234H17.0736C17.3133 10.8234 17.5193 10.6637 17.5643 10.443L18.491 5.89813C18.5498 5.60942 18.3138 5.34182 18.0003 5.34182Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M10.0889 15.8559C10.0889 16.4878 9.54259 17 8.86866 17C8.19473 17 7.64841 16.4878 7.64841 15.8559C7.64841 15.2241 8.19473 14.7119 8.86866 14.7119C9.54259 14.7119 10.0889 15.2241 10.0889 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M16.6268 15.8559C16.6268 16.4878 16.0804 17 15.4065 17C14.7326 17 14.1863 16.4878 14.1863 15.8559C14.1863 15.2241 14.7326 14.7119 15.4065 14.7119C16.0804 14.7119 16.6268 15.2241 16.6268 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCartIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCartIcon;\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-17 w-17\"\n\t\tviewBox=\"0 0 17 17\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"bell-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"bell-title\">Notification Bell</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M12.3127 7.45705V9.74274C12.3127 10.3805 12.6293 10.6971 12.9647 11.0326L12.9652 11.033L12.9679 11.0358C13.3205 11.3893 13.6843 11.754 13.6843 12.4854C13.6843 12.5491 13.6335 12.5998 13.57 12.5998H3.51277C3.44959 12.5998 3.39844 12.5489 3.39844 12.4854C3.39844 11.7539 3.76242 11.389 4.11507 11.0354L4.11754 11.033C4.45305 10.6975 4.76984 10.3807 4.76984 9.74245V7.45676C4.76984 5.6932 5.98854 4.21248 7.62704 3.802V3.11399C7.62704 2.60926 8.03659 2.19971 8.54132 2.19971C9.04606 2.19971 9.45561 2.60926 9.45561 3.11399V3.802C11.094 4.21286 12.3127 5.69335 12.3127 7.45705ZM10.3698 13.1711C10.3698 14.1809 9.55099 14.9997 8.54121 14.9997C7.53128 14.9997 6.71272 14.181 6.71272 13.1711H10.3698ZM8.758 7.70501C9.30005 7.85574 9.6696 7.99832 9.86302 8.13224C10.1776 8.35015 10.3374 8.67657 10.338 9.106C10.338 9.7284 10.1359 10.1706 9.72956 10.4326C9.50571 10.5778 9.18295 10.6723 8.75846 10.7195V11.4005H8.42657V10.7195C7.74604 10.6746 7.28244 10.4349 7.04094 9.99812C6.90703 9.76157 6.83984 9.44246 6.83984 9.04019H7.46277C7.48004 9.35983 7.53041 9.59501 7.6135 9.74163C7.75837 10.0063 8.0303 10.1548 8.42664 10.1861V8.27703C7.9177 8.18078 7.54357 8.01963 7.30116 7.79532C7.0605 7.57102 6.93929 7.25914 6.93929 6.86234C6.93929 6.50686 7.06917 6.18768 7.32977 5.90212C7.58991 5.61657 7.95581 5.47132 8.42619 5.46675V5.00049H8.75808V5.45861C9.22343 5.4927 9.58119 5.62981 9.82863 5.87039C10.0787 6.11144 10.2086 6.43062 10.2204 6.82651H9.60569C9.5907 6.64899 9.54299 6.49507 9.4631 6.36884C9.31595 6.13183 9.08076 6.00697 8.758 5.99518V7.70501ZM7.80143 7.36315C7.95574 7.49478 8.16369 7.58608 8.42611 7.63691L8.42619 5.98886C8.11651 5.99936 7.89723 6.09424 7.76651 6.2681C7.63572 6.4447 7.57036 6.62815 7.57036 6.82019C7.57036 7.05081 7.64705 7.23289 7.80143 7.36315ZM8.75747 10.2033C9.15883 10.1847 9.43305 10.0394 9.58606 9.76522C9.66504 9.62408 9.70415 9.46285 9.70399 9.27948C9.70399 8.98624 9.59686 8.76376 9.38123 8.61121C9.2582 8.52219 9.05079 8.4391 8.75747 8.35921V10.2033Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgBellIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgBellIcon;\n"],"mappings":";;;;;;;;AAOC,SASC,KATD;AADD,IAAM,MAAM,CAAC,UACZ;AAAA,EAAC;AAAA;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN,MAAK;AAAA,IACL,cAAW;AAAA,IACV,GAAG;AAAA,IAEJ;AAAA,0BAAC,WAAM,2BAAa;AAAA,MACpB;AAAA,QAAC;AAAA;AAAA,UACA,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA;AAAA;AACD;AAGD,IAAM,kBAAkB,CAAC,EAAE,WAAW,OAAO,MAAM,GAAG,MAAM,MAC3D;AAAA,EAAC;AAAA;AAAA,IACA,WAAW;AAAA,MACV,aAAa;AAAA,QACZ;AAAA,MACD,CAAC;AAAA,MACD;AAAA,IACD;AAAA,IACC,GAAG;AAAA;AACL;AAGD,IAAO,uBAAQ;;;AC5Bd,SASC,OAAAA,MATD,QAAAC,aAAA;AADD,IAAMC,OAAM,CAAC,UACZ,gBAAAD;AAAA,EAAC;AAAA;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN,MAAK;AAAA,IACL,mBAAgB;AAAA,IACf,GAAG;AAAA,IAEJ;AAAA,sBAAAD,KAAC,WAAM,IAAG,cAAa,uBAAS;AAAA,MAChC,gBAAAA;AAAA,QAAC;AAAA;AAAA,UACA,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA;AAAA,UACA,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA;AAAA,UACA,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA;AAAA,UACA,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA;AAAA;AACD;AAGD,IAAM,cAAc,CAAC,EAAE,WAAW,OAAO,MAAM,GAAG,MAAM,MACvD,gBAAAA;AAAA,EAACE;AAAA,EAAA;AAAA,IACA,WAAW;AAAA,MACV,aAAa;AAAA,QACZ;AAAA,MACD,CAAC;AAAA,MACD;AAAA,IACD;AAAA,IACC,GAAG;AAAA;AACL;AAGD,IAAO,mBAAQ;;;AC3Cd,SASC,OAAAC,MATD,QAAAC,aAAA;AADD,IAAMC,OAAM,CAAC,UACZ,gBAAAD;AAAA,EAAC;AAAA;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN,MAAK;AAAA,IACL,mBAAgB;AAAA,IACf,GAAG;AAAA,IAEJ;AAAA,sBAAAD,KAAC,WAAM,IAAG,cAAa,+BAAiB;AAAA,MACxC,gBAAAA;AAAA,QAAC;AAAA;AAAA,UACA,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA;AAAA,MACN;AAAA;AAAA;AACD;AAGD,IAAM,cAAc,CAAC,EAAE,WAAW,OAAO,MAAM,GAAG,MAAM,MACvD,gBAAAA;AAAA,EAACE;AAAA,EAAA;AAAA,IACA,WAAW;AAAA,MACV,aAAa;AAAA,QACZ;AAAA,MACD,CAAC;AAAA,MACD;AAAA,IACD;AAAA,IACC,GAAG;AAAA;AACL;AAGD,IAAO,mBAAQ;","names":["jsx","jsxs","Svg","jsx","jsxs","Svg"]}
|