@0xsequence/marketplace-sdk 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-7CL54NCX.js +41 -0
- package/dist/chunk-7CL54NCX.js.map +1 -0
- package/dist/{chunk-G3D572BT.js → chunk-G3YU4NQ2.js} +24 -1
- package/dist/chunk-G3YU4NQ2.js.map +1 -0
- package/dist/{chunk-SM7V6ZWI.js → chunk-GNB736ZE.js} +226 -208
- package/dist/chunk-GNB736ZE.js.map +1 -0
- package/dist/chunk-ITJEOCDV.js +1006 -0
- package/dist/chunk-ITJEOCDV.js.map +1 -0
- package/dist/{chunk-QOJXWHRZ.js → chunk-LFQB477Y.js} +3 -1
- package/dist/chunk-LFQB477Y.js.map +1 -0
- package/dist/{chunk-VPGWEMWL.js → chunk-M4MXVMAM.js} +134 -25
- package/dist/chunk-M4MXVMAM.js.map +1 -0
- package/dist/{chunk-4PFMUVE4.js → chunk-SNOEEUPZ.js} +2 -2
- package/dist/{create-config-Dz0gCiQ0.d.ts → create-config-Cto2ehcz.d.ts} +1 -1
- package/dist/index.css +4 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/{marketplace-config-DZbtyrma.d.ts → marketplace-config-Bbxl-uKX.d.ts} +2 -1
- package/dist/react/_internal/index.d.ts +4 -3
- package/dist/react/_internal/index.js +9 -1
- package/dist/react/_internal/wagmi/index.d.ts +2 -2
- package/dist/react/hooks/index.d.ts +1363 -101
- package/dist/react/hooks/index.js +13 -7
- package/dist/react/index.css +4 -1
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +6 -5
- package/dist/react/index.js +28 -22
- package/dist/react/ssr/index.d.ts +2 -1
- package/dist/react/ssr/index.js +23 -0
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/index.css +4 -1
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +5 -5
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +2 -2
- package/dist/styles/index.css +4 -1
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/index.d.ts +2 -1
- package/dist/styles/index.js +3 -4972
- package/dist/styles/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +1 -1
- package/dist/types-BzZVURNL.d.ts +19 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +1 -1
- package/package.json +3 -2
- package/src/react/_internal/api/zod-schema.ts +636 -0
- package/src/react/_internal/types.ts +32 -8
- package/src/react/hooks/index.ts +1 -0
- package/src/react/hooks/useBalanceOfCollectible.tsx +43 -18
- package/src/react/hooks/useCollectible.tsx +17 -11
- package/src/react/hooks/useCollection.tsx +35 -29
- package/src/react/hooks/useCountOfCollectables.tsx +77 -0
- package/src/react/hooks/useCurrencies.tsx +23 -12
- package/src/react/hooks/useFilters.tsx +15 -9
- package/src/react/hooks/useFloorOrder.tsx +23 -8
- package/src/react/hooks/useGenerateSellTransaction.tsx +16 -9
- package/src/react/hooks/useHighestOffer.tsx +23 -13
- package/src/react/hooks/useListBalances.tsx +57 -26
- package/src/react/hooks/useListCollectibles.tsx +25 -12
- package/src/react/hooks/useListOffersForCollectible.tsx +13 -5
- package/src/react/hooks/useLowestListing.tsx +23 -14
- package/src/react/hooks/useRoyaltyPercentage.tsx +18 -8
- package/src/react/hooks/useTransferTokens.tsx +3 -3
- package/src/react/ui/modals/CreateListingModal/_store.ts +5 -5
- package/src/react/ui/modals/CreateListingModal/index.tsx +5 -4
- package/src/react/ui/modals/MakeOfferModal/_store.ts +6 -9
- package/src/react/ui/modals/MakeOfferModal/index.tsx +15 -25
- package/src/react/ui/modals/SellModal/_store.ts +28 -23
- package/src/react/ui/modals/SellModal/index.tsx +11 -10
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +8 -7
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +3 -2
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +55 -12
- package/src/react/ui/modals/_internal/components/priceInput/styles.css.ts +4 -0
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +2 -2
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +4 -4
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +14 -14
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +5 -5
- package/src/types/marketplace-config.ts +2 -1
- package/dist/chunk-G3D572BT.js.map +0 -1
- package/dist/chunk-QOJXWHRZ.js.map +0 -1
- package/dist/chunk-SM7V6ZWI.js.map +0 -1
- package/dist/chunk-STO74F2I.js +0 -14
- package/dist/chunk-STO74F2I.js.map +0 -1
- package/dist/chunk-VPGWEMWL.js.map +0 -1
- package/dist/chunk-ZE2LNX65.js +0 -394
- package/dist/chunk-ZE2LNX65.js.map +0 -1
- package/dist/types-BrAQ8-w4.d.ts +0 -12
- package/src/react/hooks/useCollectionCounts.tsx +0 -61
- /package/dist/{chunk-4PFMUVE4.js.map → chunk-SNOEEUPZ.js.map} +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
|
+
AddressSchema,
|
|
4
|
+
ChainIdSchema,
|
|
5
|
+
CollectableIdSchema,
|
|
3
6
|
PROVIDER_ID,
|
|
7
|
+
QueryArgSchema,
|
|
4
8
|
getProviderEl
|
|
5
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-7CL54NCX.js";
|
|
6
10
|
import {
|
|
7
11
|
Admin,
|
|
8
12
|
CollectibleStatus,
|
|
@@ -76,7 +80,10 @@ import {
|
|
|
76
80
|
getWaasConnectors
|
|
77
81
|
} from "../../chunk-EDTC7UES.js";
|
|
78
82
|
export {
|
|
83
|
+
AddressSchema,
|
|
79
84
|
Admin,
|
|
85
|
+
ChainIdSchema,
|
|
86
|
+
CollectableIdSchema,
|
|
80
87
|
CollectibleStatus,
|
|
81
88
|
CollectionStatus,
|
|
82
89
|
ContractType,
|
|
@@ -98,6 +105,7 @@ export {
|
|
|
98
105
|
ProjectNotFoundError,
|
|
99
106
|
ProjectStatus,
|
|
100
107
|
PropertyType,
|
|
108
|
+
QueryArgSchema,
|
|
101
109
|
SequenceMarketplace,
|
|
102
110
|
SessionExpiredError,
|
|
103
111
|
SortOrder,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as createWagmiConfig } from '../../../create-config-
|
|
1
|
+
export { c as createWagmiConfig } from '../../../create-config-Cto2ehcz.js';
|
|
2
2
|
import { S as SdkConfig } from '../../../sdk-config-xWkdBdrL.js';
|
|
3
3
|
import { CreateConnectorFn } from 'wagmi';
|
|
4
|
-
import { M as MarketplaceConfig } from '../../../marketplace-config-
|
|
4
|
+
import { M as MarketplaceConfig } from '../../../marketplace-config-Bbxl-uKX.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import '@0xsequence/network';
|
|
7
7
|
|