@0xsequence/marketplace-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chunk-3TYUQEFM.js +115 -0
- package/dist/chunk-3TYUQEFM.js.map +1 -0
- package/dist/chunk-4ESPWOBV.js +13 -0
- package/dist/chunk-4ESPWOBV.js.map +1 -0
- package/dist/chunk-4PFMUVE4.js +78 -0
- package/dist/chunk-4PFMUVE4.js.map +1 -0
- package/dist/chunk-5WRI5ZAA.js +31 -0
- package/dist/chunk-5WRI5ZAA.js.map +1 -0
- package/dist/chunk-6S4FYXP6.js +43 -0
- package/dist/chunk-6S4FYXP6.js.map +1 -0
- package/dist/chunk-7OO74L2K.js +41 -0
- package/dist/chunk-7OO74L2K.js.map +1 -0
- package/dist/chunk-BBB3XUB4.js +213 -0
- package/dist/chunk-BBB3XUB4.js.map +1 -0
- package/dist/chunk-BCNFYVAL.js +1 -0
- package/dist/chunk-BCNFYVAL.js.map +1 -0
- package/dist/chunk-D7QQP6MS.js +2 -0
- package/dist/chunk-D7QQP6MS.js.map +1 -0
- package/dist/chunk-DBFOPEV6.js +23 -0
- package/dist/chunk-DBFOPEV6.js.map +1 -0
- package/dist/chunk-EDTC7UES.js +176 -0
- package/dist/chunk-EDTC7UES.js.map +1 -0
- package/dist/chunk-G3D572BT.js +249 -0
- package/dist/chunk-G3D572BT.js.map +1 -0
- package/dist/chunk-HGBEC3WX.js +1285 -0
- package/dist/chunk-HGBEC3WX.js.map +1 -0
- package/dist/chunk-MJ4YU7RW.js +2 -0
- package/dist/chunk-MJ4YU7RW.js.map +1 -0
- package/dist/chunk-NJ2GXOPW.js +2 -0
- package/dist/chunk-NJ2GXOPW.js.map +1 -0
- package/dist/chunk-O5JXKTWP.js +1029 -0
- package/dist/chunk-O5JXKTWP.js.map +1 -0
- package/dist/chunk-O642NH7U.js +15 -0
- package/dist/chunk-O642NH7U.js.map +1 -0
- package/dist/chunk-QOJXWHRZ.js +71 -0
- package/dist/chunk-QOJXWHRZ.js.map +1 -0
- package/dist/chunk-QVFMD6S2.js +21 -0
- package/dist/chunk-QVFMD6S2.js.map +1 -0
- package/dist/chunk-RNUHUVLC.js +214 -0
- package/dist/chunk-RNUHUVLC.js.map +1 -0
- package/dist/chunk-SM7V6ZWI.js +2740 -0
- package/dist/chunk-SM7V6ZWI.js.map +1 -0
- package/dist/chunk-STO74F2I.js +14 -0
- package/dist/chunk-STO74F2I.js.map +1 -0
- package/dist/chunk-TZGLKJRF.js +198 -0
- package/dist/chunk-TZGLKJRF.js.map +1 -0
- package/dist/chunk-UYRQ5MJQ.js +1027 -0
- package/dist/chunk-UYRQ5MJQ.js.map +1 -0
- package/dist/chunk-VPGWEMWL.js +162 -0
- package/dist/chunk-VPGWEMWL.js.map +1 -0
- package/dist/chunk-ZE2LNX65.js +394 -0
- package/dist/chunk-ZE2LNX65.js.map +1 -0
- package/dist/create-config-Dz0gCiQ0.d.ts +8 -0
- package/dist/get-query-client-D46hbjk6.d.ts +5 -0
- package/dist/index.css +232 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -0
- package/dist/marketplace-config-DZbtyrma.d.ts +57 -0
- package/dist/marketplace.gen-Ceofb9Cs.d.ts +904 -0
- package/dist/react/_internal/api/index.d.ts +51 -0
- package/dist/react/_internal/api/index.js +134 -0
- package/dist/react/_internal/api/index.js.map +1 -0
- package/dist/react/_internal/index.d.ts +22 -0
- package/dist/react/_internal/index.js +150 -0
- package/dist/react/_internal/index.js.map +1 -0
- package/dist/react/_internal/wagmi/index.d.ts +12 -0
- package/dist/react/_internal/wagmi/index.js +12 -0
- package/dist/react/_internal/wagmi/index.js.map +1 -0
- package/dist/react/hooks/index.d.ts +381 -0
- package/dist/react/hooks/index.js +82 -0
- package/dist/react/hooks/index.js.map +1 -0
- package/dist/react/index.css +233 -0
- package/dist/react/index.css.map +1 -0
- package/dist/react/index.d.ts +27 -0
- package/dist/react/index.js +113 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/ssr/index.d.ts +94 -0
- package/dist/react/ssr/index.js +351 -0
- package/dist/react/ssr/index.js.map +1 -0
- package/dist/react/ui/icons/index.css +25 -0
- package/dist/react/ui/icons/index.css.map +1 -0
- package/dist/react/ui/icons/index.d.ts +2 -0
- package/dist/react/ui/icons/index.js +12 -0
- package/dist/react/ui/icons/index.js.map +1 -0
- package/dist/react/ui/index.css +233 -0
- package/dist/react/ui/index.css.map +1 -0
- package/dist/react/ui/index.d.ts +112 -0
- package/dist/react/ui/index.js +34 -0
- package/dist/react/ui/index.js.map +1 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.css +44 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.css.map +1 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +31 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +39 -0
- package/dist/react/ui/modals/_internal/components/actionModal/index.js.map +1 -0
- package/dist/react/ui/styles/index.css +36 -0
- package/dist/react/ui/styles/index.css.map +1 -0
- package/dist/react/ui/styles/index.d.ts +5 -0
- package/dist/react/ui/styles/index.js +13 -0
- package/dist/react/ui/styles/index.js.map +1 -0
- package/dist/sdk-config-xWkdBdrL.d.ts +24 -0
- package/dist/services-BIwQ1C1c.d.ts +20 -0
- package/dist/styles/index.css +233 -0
- package/dist/styles/index.css.map +1 -0
- package/dist/styles/index.d.ts +58 -0
- package/dist/styles/index.js +5019 -0
- package/dist/styles/index.js.map +1 -0
- package/dist/styles.css-BVaTR5nO.d.ts +3 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.js +39 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types-BrAQ8-w4.d.ts +12 -0
- package/dist/utils/abi/abi/standard/index.d.ts +25 -0
- package/dist/utils/abi/abi/standard/index.js +8 -0
- package/dist/utils/abi/abi/standard/index.js.map +1 -0
- package/dist/utils/abi/abi/token/index.d.ts +1125 -0
- package/dist/utils/abi/abi/token/index.js +13 -0
- package/dist/utils/abi/abi/token/index.js.map +1 -0
- package/dist/utils/abi/clients/index.d.ts +27 -0
- package/dist/utils/abi/clients/index.js +13 -0
- package/dist/utils/abi/clients/index.js.map +1 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/index.js +37 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +74 -0
- package/src/consts.ts +2 -0
- package/src/index.ts +3 -0
- package/src/react/_internal/api/get-query-client.ts +32 -0
- package/src/react/_internal/api/index.ts +5 -0
- package/src/react/_internal/api/marketplace-api.ts +31 -0
- package/src/react/_internal/api/marketplace.gen.ts +1911 -0
- package/src/react/_internal/api/query-keys.ts +61 -0
- package/src/react/_internal/api/services.ts +101 -0
- package/src/react/_internal/consts.ts +1 -0
- package/src/react/_internal/get-provider.ts +6 -0
- package/src/react/_internal/index.ts +5 -0
- package/src/react/_internal/types.ts +13 -0
- package/src/react/_internal/wagmi/create-config.ts +62 -0
- package/src/react/_internal/wagmi/embedded.ts +87 -0
- package/src/react/_internal/wagmi/index.ts +3 -0
- package/src/react/_internal/wagmi/universal.ts +82 -0
- package/src/react/hooks/index.ts +17 -0
- package/src/react/hooks/options/marketplaceConfigOptions.ts +62 -0
- package/src/react/hooks/useBalanceOfCollectible.tsx +51 -0
- package/src/react/hooks/useCollectible.tsx +47 -0
- package/src/react/hooks/useCollection.tsx +42 -0
- package/src/react/hooks/useCollectionCounts.tsx +61 -0
- package/src/react/hooks/useConfig.tsx +15 -0
- package/src/react/hooks/useCurrencies.tsx +76 -0
- package/src/react/hooks/useFilters.tsx +39 -0
- package/src/react/hooks/useFloorOrder.tsx +28 -0
- package/src/react/hooks/useGenerateListingTransaction.tsx +63 -0
- package/src/react/hooks/useGenerateOfferTransaction.tsx +60 -0
- package/src/react/hooks/useGenerateSellTransaction.tsx +43 -0
- package/src/react/hooks/useHighestOffer.tsx +46 -0
- package/src/react/hooks/useListBalances.tsx +56 -0
- package/src/react/hooks/useListCollectibles.tsx +54 -0
- package/src/react/hooks/useListOffersForCollectible.tsx +53 -0
- package/src/react/hooks/useLowestListing.tsx +47 -0
- package/src/react/hooks/useMarketplaceConfig.tsx +10 -0
- package/src/react/hooks/useRoyaltyPercentage.tsx +45 -0
- package/src/react/hooks/useTransferTokens.tsx +81 -0
- package/src/react/index.ts +5 -0
- package/src/react/provider.tsx +24 -0
- package/src/react/ssr/create-ssr-client.ts +31 -0
- package/src/react/ssr/index.ts +1 -0
- package/src/react/ui/icons/ArrowUp.tsx +29 -0
- package/src/react/ui/icons/CalendarIcon.tsx +29 -0
- package/src/react/ui/icons/InfoIcon.tsx +36 -0
- package/src/react/ui/icons/InventoryIcon.tsx +41 -0
- package/src/react/ui/icons/MinusIcon.tsx +31 -0
- package/src/react/ui/icons/PlusIcon.tsx +29 -0
- package/src/react/ui/icons/PositiveCircleIcon.tsx +35 -0
- package/src/react/ui/icons/index.ts +7 -0
- package/src/react/ui/icons/styles.css.ts +35 -0
- package/src/react/ui/index.ts +6 -0
- package/src/react/ui/modals/Account/index.tsx +29 -0
- package/src/react/ui/modals/CreateListingModal/_store.ts +326 -0
- package/src/react/ui/modals/CreateListingModal/_utils/getCreateListingTransactionTitleMessage.ts +30 -0
- package/src/react/ui/modals/CreateListingModal/index.tsx +146 -0
- package/src/react/ui/modals/MakeOfferModal/_store.ts +296 -0
- package/src/react/ui/modals/MakeOfferModal/_utils/getMakeOfferTransactionTitleMessage.ts +28 -0
- package/src/react/ui/modals/MakeOfferModal/index.tsx +157 -0
- package/src/react/ui/modals/SellModal/_store.ts +274 -0
- package/src/react/ui/modals/SellModal/_utils/getSellTransactionTitleMessage.ts +28 -0
- package/src/react/ui/modals/SellModal/index.tsx +126 -0
- package/src/react/ui/modals/SellModal/utils.ts +38 -0
- package/src/react/ui/modals/SuccessfulPurchaseModal/_store.ts +58 -0
- package/src/react/ui/modals/SuccessfulPurchaseModal/index.tsx +186 -0
- package/src/react/ui/modals/SuccessfulPurchaseModal/styles.css.ts +52 -0
- package/src/react/ui/modals/TransferModal/_store.ts +58 -0
- package/src/react/ui/modals/TransferModal/_utils/getTransferTransactionTitleMessage.ts +28 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +102 -0
- package/src/react/ui/modals/TransferModal/_views/followWalletInstructions/index.tsx +130 -0
- package/src/react/ui/modals/TransferModal/index.tsx +92 -0
- package/src/react/ui/modals/TransferModal/messages.ts +14 -0
- package/src/react/ui/modals/TransferModal/styles.css.ts +20 -0
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +94 -0
- package/src/react/ui/modals/_internal/components/actionModal/index.ts +3 -0
- package/src/react/ui/modals/_internal/components/actionModal/store.ts +19 -0
- package/src/react/ui/modals/_internal/components/actionModal/styles.css.ts +15 -0
- package/src/react/ui/modals/_internal/components/alertMessage/index.tsx +21 -0
- package/src/react/ui/modals/_internal/components/alertMessage/styles.css.ts +22 -0
- package/src/react/ui/modals/_internal/components/calendar/index.tsx +59 -0
- package/src/react/ui/modals/_internal/components/calendarPopover/index.tsx +41 -0
- package/src/react/ui/modals/_internal/components/calendarPopover/styles.css.ts +16 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +76 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/styles.css.ts +33 -0
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +127 -0
- package/src/react/ui/modals/_internal/components/expirationDateSelect/styles.css.ts +25 -0
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +54 -0
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +72 -0
- package/src/react/ui/modals/_internal/components/priceInput/styles.css.ts +23 -0
- package/src/react/ui/modals/_internal/components/priceInput/types.ts +4 -0
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +168 -0
- package/src/react/ui/modals/_internal/components/quantityInput/styles.css.ts +30 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +132 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +41 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/styles.css.ts +37 -0
- package/src/react/ui/modals/_internal/components/timeAgo/index.tsx +32 -0
- package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +58 -0
- package/src/react/ui/modals/_internal/components/tokenPreview/styles.css.ts +11 -0
- package/src/react/ui/modals/_internal/components/transaction-footer/index.tsx +48 -0
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +80 -0
- package/src/react/ui/modals/_internal/components/transactionHeader/index.tsx +30 -0
- package/src/react/ui/modals/_internal/components/transactionPreview/consts.ts +27 -0
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +111 -0
- package/src/react/ui/modals/_internal/components/transactionPreview/useTransactionPreviewTitle.tsx +24 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +123 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +87 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/styles.css.ts +15 -0
- package/src/react/ui/modals/_internal/stores/accountModal.ts +3 -0
- package/src/react/ui/modals/modal-provider.tsx +27 -0
- package/src/react/ui/styles/index.ts +1 -0
- package/src/react/ui/styles/modal.css.ts +73 -0
- package/src/styles/index.ts +18 -0
- package/src/types/api-types.ts +48 -0
- package/src/types/index.ts +4 -0
- package/src/types/marketplace-config.ts +63 -0
- package/src/types/messages.ts +43 -0
- package/src/types/sdk-config.ts +23 -0
- package/src/types/types.ts +6 -0
- package/src/utils/abi/abi/standard/EIP2981.ts +15 -0
- package/src/utils/abi/abi/standard/index.ts +1 -0
- package/src/utils/abi/abi/token/ERC1155.ts +324 -0
- package/src/utils/abi/abi/token/ERC20.ts +185 -0
- package/src/utils/abi/abi/token/ERC721.ts +506 -0
- package/src/utils/abi/abi/token/index.ts +3 -0
- package/src/utils/abi/clients/ERC1155.ts +82 -0
- package/src/utils/abi/clients/ERC20.ts +101 -0
- package/src/utils/abi/clients/ERC721.ts +97 -0
- package/src/utils/abi/clients/index.ts +3 -0
- package/src/utils/address.ts +26 -0
- package/src/utils/get-public-rpc-client.ts +32 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/network.ts +5 -0
- package/src/utils/price.ts +21 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { g as getQueryClient } from '../../../get-query-client-D46hbjk6.js';
|
|
2
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-BIwQ1C1c.js';
|
|
3
|
+
export { q as Activity, y as AdditionalFee, $ as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bb as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bc as CheckoutOptionsMarketplaceReturn, bd as CheckoutOptionsSalesContractArgs, be as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, d as CollectionStatus, C as ContractType, a0 as CreateCollectionArgs, a1 as CreateCollectionReturn, ac as CreateCurrenciesArgs, ad as CreateCurrenciesReturn, aa as CreateCurrencyArgs, ab as CreateCurrencyReturn, D as CreateReq, w as Currency, a6 as DeleteCollectionArgs, a7 as DeleteCollectionReturn, ai as DeleteCurrencyArgs, aj as DeleteCurrencyReturn, I as Domain, aT as ExecuteArgs, aU as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bE as Fetch, F as Filter, aL as GenerateBuyTransactionArgs, aM as GenerateBuyTransactionReturn, aP as GenerateListingTransactionArgs, aQ as GenerateListingTransactionReturn, aR as GenerateOfferTransactionArgs, aS as GenerateOfferTransactionReturn, aN as GenerateSellTransactionArgs, aO as GenerateSellTransactionReturn, al as GetCollectibleArgs, aF as GetCollectibleHighestListingArgs, aG as GetCollectibleHighestListingReturn, aB as GetCollectibleHighestOfferArgs, aC as GetCollectibleHighestOfferReturn, aD as GetCollectibleLowestListingArgs, aE as GetCollectibleLowestListingReturn, az as GetCollectibleLowestOfferArgs, aA as GetCollectibleLowestOfferReturn, am as GetCollectibleReturn, a2 as GetCollectionArgs, a3 as GetCollectionReturn, aX as GetCountOfAllCollectiblesArgs, aY as GetCountOfAllCollectiblesReturn, aZ as GetCountOfFilteredCollectiblesArgs, a_ as GetCountOfFilteredCollectiblesReturn, a$ as GetFloorOrderArgs, b0 as GetFloorOrderReturn, at as GetHighestPriceListingForCollectibleArgs, au as GetHighestPriceListingForCollectibleReturn, ap as GetHighestPriceOfferForCollectibleArgs, aq as GetHighestPriceOfferForCollectibleReturn, ar as GetLowestPriceListingForCollectibleArgs, as as GetLowestPriceListingForCollectibleReturn, an as GetLowestPriceOfferForCollectibleArgs, ao as GetLowestPriceOfferForCollectibleReturn, b9 as GetOrdersArgs, G as GetOrdersInput, ba as GetOrdersReturn, bw as InvalidArgumentError, bA as InvalidTierError, aH as ListCollectibleListingsArgs, aI as ListCollectibleListingsReturn, aJ as ListCollectibleOffersArgs, aK as ListCollectibleOffersReturn, aV as ListCollectiblesArgs, aW as ListCollectiblesReturn, b3 as ListCollectiblesWithHighestOfferArgs, b4 as ListCollectiblesWithHighestOfferReturn, b1 as ListCollectiblesWithLowestListingArgs, b2 as ListCollectiblesWithLowestListingReturn, a4 as ListCollectionsArgs, a5 as ListCollectionsReturn, ag as ListCurrenciesArgs, ah as ListCurrenciesReturn, av as ListListingsForCollectibleArgs, aw as ListListingsForCollectibleReturn, ax as ListOffersForCollectibleArgs, ay as ListOffersForCollectibleReturn, ak as Marketplace, M as MarketplaceKind, bu as MethodNotFoundError, bx as NotFoundError, bC as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bs as PermissionDeniedError, B as PostRequest, u as Project, bB as ProjectLimitReachedError, bz as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bt as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, a8 as SyncCollectionArgs, a9 as SyncCollectionReturn, b5 as SyncOrderArgs, b6 as SyncOrderReturn, b7 as SyncOrdersArgs, b8 as SyncOrdersReturn, bv as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Y as TransactionNFTCheckoutProvider, Z as TransactionOnRampProvider, _ as TransactionSwapProvider, br as UnauthorizedError, ae as UpdateCurrencyArgs, af as UpdateCurrencyReturn, by as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R as WebRPCVersion, bj as WebrpcBadMethodError, bk as WebrpcBadRequestError, bl as WebrpcBadResponseError, bi as WebrpcBadRouteError, bo as WebrpcClientDisconnectedError, bg as WebrpcEndpointError, bf as WebrpcError, N as WebrpcHeader, Q as WebrpcHeaderValue, bn as WebrpcInternalErrorError, bh as WebrpcRequestFailedError, bm as WebrpcServerPanicError, bq as WebrpcStreamFinishedError, bp as WebrpcStreamLostError, bD as errors } from '../../../marketplace.gen-Ceofb9Cs.js';
|
|
4
|
+
import '@tanstack/react-query';
|
|
5
|
+
import '@0xsequence/indexer';
|
|
6
|
+
import '@0xsequence/metadata';
|
|
7
|
+
import '../../../sdk-config-xWkdBdrL.js';
|
|
8
|
+
|
|
9
|
+
declare class CollectableKeys {
|
|
10
|
+
static all: readonly ["collectable"];
|
|
11
|
+
static details: readonly ["collectable", "details"];
|
|
12
|
+
static lists: readonly ["collectable", "list"];
|
|
13
|
+
static floorOrders: readonly ["collectable", "floorOrders"];
|
|
14
|
+
static userBalances: readonly ["collectable", "collectable", "details", "userBalances"];
|
|
15
|
+
static royaltyPercentage: readonly ["collectable", "royaltyPercentage"];
|
|
16
|
+
static highestOffers: readonly ["collectable", "collectable", "details", "highestOffers"];
|
|
17
|
+
static lowestListings: readonly ["collectable", "collectable", "details", "lowestListings"];
|
|
18
|
+
static offers: readonly ["collectable", "offers"];
|
|
19
|
+
static filter: readonly ["collectable", "filter"];
|
|
20
|
+
static counts: readonly ["collectable", "counts"];
|
|
21
|
+
}
|
|
22
|
+
declare class CollectionKeys {
|
|
23
|
+
static all: readonly ["collections"];
|
|
24
|
+
static list: readonly ["collections", "list"];
|
|
25
|
+
static detail: readonly ["collections", "detail"];
|
|
26
|
+
}
|
|
27
|
+
declare class BalanceQueries {
|
|
28
|
+
static all: readonly ["balances"];
|
|
29
|
+
static lists: readonly ["balances", "tokenBalances"];
|
|
30
|
+
}
|
|
31
|
+
declare class CheckoutKeys {
|
|
32
|
+
static all: readonly ["checkouts"];
|
|
33
|
+
static options: readonly ["checkouts", "options"];
|
|
34
|
+
static cartItems: readonly ["checkouts", "cartItems"];
|
|
35
|
+
}
|
|
36
|
+
declare class CurrencyKeys {
|
|
37
|
+
static all: readonly ["currencies"];
|
|
38
|
+
static lists: readonly ["currencies", "list"];
|
|
39
|
+
}
|
|
40
|
+
declare class ConfigKeys {
|
|
41
|
+
static all: readonly ["configs"];
|
|
42
|
+
static marketplace: readonly ["configs", "marketplace"];
|
|
43
|
+
}
|
|
44
|
+
declare const collectableKeys: typeof CollectableKeys;
|
|
45
|
+
declare const collectionKeys: typeof CollectionKeys;
|
|
46
|
+
declare const balanceQueries: typeof BalanceQueries;
|
|
47
|
+
declare const checkoutKeys: typeof CheckoutKeys;
|
|
48
|
+
declare const currencyKeys: typeof CurrencyKeys;
|
|
49
|
+
declare const configKeys: typeof ConfigKeys;
|
|
50
|
+
|
|
51
|
+
export { balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import {
|
|
3
|
+
Admin,
|
|
4
|
+
CollectibleStatus,
|
|
5
|
+
CollectionStatus,
|
|
6
|
+
ContractType,
|
|
7
|
+
ExecuteType,
|
|
8
|
+
InvalidArgumentError,
|
|
9
|
+
InvalidTierError,
|
|
10
|
+
Marketplace,
|
|
11
|
+
MarketplaceKind,
|
|
12
|
+
MethodNotFoundError,
|
|
13
|
+
NotFoundError,
|
|
14
|
+
NotImplementedError,
|
|
15
|
+
OrderSide,
|
|
16
|
+
OrderStatus,
|
|
17
|
+
OrderbookKind,
|
|
18
|
+
PermissionDeniedError,
|
|
19
|
+
ProjectLimitReachedError,
|
|
20
|
+
ProjectNotFoundError,
|
|
21
|
+
ProjectStatus,
|
|
22
|
+
PropertyType,
|
|
23
|
+
SequenceMarketplace,
|
|
24
|
+
SessionExpiredError,
|
|
25
|
+
SortOrder,
|
|
26
|
+
SourceKind,
|
|
27
|
+
StepType,
|
|
28
|
+
TimeoutError,
|
|
29
|
+
TransactionCrypto,
|
|
30
|
+
TransactionNFTCheckoutProvider,
|
|
31
|
+
TransactionOnRampProvider,
|
|
32
|
+
TransactionSwapProvider,
|
|
33
|
+
UnauthorizedError,
|
|
34
|
+
UserNotFoundError,
|
|
35
|
+
VersionFromHeader,
|
|
36
|
+
WalletKind,
|
|
37
|
+
WebRPCSchemaHash,
|
|
38
|
+
WebRPCSchemaVersion,
|
|
39
|
+
WebRPCVersion,
|
|
40
|
+
WebrpcBadMethodError,
|
|
41
|
+
WebrpcBadRequestError,
|
|
42
|
+
WebrpcBadResponseError,
|
|
43
|
+
WebrpcBadRouteError,
|
|
44
|
+
WebrpcClientDisconnectedError,
|
|
45
|
+
WebrpcEndpointError,
|
|
46
|
+
WebrpcError,
|
|
47
|
+
WebrpcHeader,
|
|
48
|
+
WebrpcHeaderValue,
|
|
49
|
+
WebrpcInternalErrorError,
|
|
50
|
+
WebrpcRequestFailedError,
|
|
51
|
+
WebrpcServerPanicError,
|
|
52
|
+
WebrpcStreamFinishedError,
|
|
53
|
+
WebrpcStreamLostError,
|
|
54
|
+
balanceQueries,
|
|
55
|
+
builderMarketplaceApi,
|
|
56
|
+
checkoutKeys,
|
|
57
|
+
collectableKeys,
|
|
58
|
+
collectionKeys,
|
|
59
|
+
configKeys,
|
|
60
|
+
currencyKeys,
|
|
61
|
+
errors,
|
|
62
|
+
getIndexerClient,
|
|
63
|
+
getMarketplaceClient,
|
|
64
|
+
getMetadataClient,
|
|
65
|
+
getQueryClient,
|
|
66
|
+
imageProxy
|
|
67
|
+
} from "../../../chunk-HGBEC3WX.js";
|
|
68
|
+
export {
|
|
69
|
+
Admin,
|
|
70
|
+
CollectibleStatus,
|
|
71
|
+
CollectionStatus,
|
|
72
|
+
ContractType,
|
|
73
|
+
ExecuteType,
|
|
74
|
+
InvalidArgumentError,
|
|
75
|
+
InvalidTierError,
|
|
76
|
+
Marketplace,
|
|
77
|
+
MarketplaceKind,
|
|
78
|
+
MethodNotFoundError,
|
|
79
|
+
NotFoundError,
|
|
80
|
+
NotImplementedError,
|
|
81
|
+
OrderSide,
|
|
82
|
+
OrderStatus,
|
|
83
|
+
OrderbookKind,
|
|
84
|
+
PermissionDeniedError,
|
|
85
|
+
ProjectLimitReachedError,
|
|
86
|
+
ProjectNotFoundError,
|
|
87
|
+
ProjectStatus,
|
|
88
|
+
PropertyType,
|
|
89
|
+
SequenceMarketplace,
|
|
90
|
+
SessionExpiredError,
|
|
91
|
+
SortOrder,
|
|
92
|
+
SourceKind,
|
|
93
|
+
StepType,
|
|
94
|
+
TimeoutError,
|
|
95
|
+
TransactionCrypto,
|
|
96
|
+
TransactionNFTCheckoutProvider,
|
|
97
|
+
TransactionOnRampProvider,
|
|
98
|
+
TransactionSwapProvider,
|
|
99
|
+
UnauthorizedError,
|
|
100
|
+
UserNotFoundError,
|
|
101
|
+
VersionFromHeader,
|
|
102
|
+
WalletKind,
|
|
103
|
+
WebRPCSchemaHash,
|
|
104
|
+
WebRPCSchemaVersion,
|
|
105
|
+
WebRPCVersion,
|
|
106
|
+
WebrpcBadMethodError,
|
|
107
|
+
WebrpcBadRequestError,
|
|
108
|
+
WebrpcBadResponseError,
|
|
109
|
+
WebrpcBadRouteError,
|
|
110
|
+
WebrpcClientDisconnectedError,
|
|
111
|
+
WebrpcEndpointError,
|
|
112
|
+
WebrpcError,
|
|
113
|
+
WebrpcHeader,
|
|
114
|
+
WebrpcHeaderValue,
|
|
115
|
+
WebrpcInternalErrorError,
|
|
116
|
+
WebrpcRequestFailedError,
|
|
117
|
+
WebrpcServerPanicError,
|
|
118
|
+
WebrpcStreamFinishedError,
|
|
119
|
+
WebrpcStreamLostError,
|
|
120
|
+
balanceQueries,
|
|
121
|
+
builderMarketplaceApi,
|
|
122
|
+
checkoutKeys,
|
|
123
|
+
collectableKeys,
|
|
124
|
+
collectionKeys,
|
|
125
|
+
configKeys,
|
|
126
|
+
currencyKeys,
|
|
127
|
+
errors,
|
|
128
|
+
getIndexerClient,
|
|
129
|
+
getMarketplaceClient,
|
|
130
|
+
getMetadataClient,
|
|
131
|
+
getQueryClient,
|
|
132
|
+
imageProxy
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { C as ChainId, a as CollectionType, Q as QueryArg } from '../../types-BrAQ8-w4.js';
|
|
2
|
+
export { g as getQueryClient } from '../../get-query-client-D46hbjk6.js';
|
|
3
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-BIwQ1C1c.js';
|
|
4
|
+
export { q as Activity, y as AdditionalFee, $ as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bb as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bc as CheckoutOptionsMarketplaceReturn, bd as CheckoutOptionsSalesContractArgs, be as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, d as CollectionStatus, C as ContractType, a0 as CreateCollectionArgs, a1 as CreateCollectionReturn, ac as CreateCurrenciesArgs, ad as CreateCurrenciesReturn, aa as CreateCurrencyArgs, ab as CreateCurrencyReturn, D as CreateReq, w as Currency, a6 as DeleteCollectionArgs, a7 as DeleteCollectionReturn, ai as DeleteCurrencyArgs, aj as DeleteCurrencyReturn, I as Domain, aT as ExecuteArgs, aU as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bE as Fetch, F as Filter, aL as GenerateBuyTransactionArgs, aM as GenerateBuyTransactionReturn, aP as GenerateListingTransactionArgs, aQ as GenerateListingTransactionReturn, aR as GenerateOfferTransactionArgs, aS as GenerateOfferTransactionReturn, aN as GenerateSellTransactionArgs, aO as GenerateSellTransactionReturn, al as GetCollectibleArgs, aF as GetCollectibleHighestListingArgs, aG as GetCollectibleHighestListingReturn, aB as GetCollectibleHighestOfferArgs, aC as GetCollectibleHighestOfferReturn, aD as GetCollectibleLowestListingArgs, aE as GetCollectibleLowestListingReturn, az as GetCollectibleLowestOfferArgs, aA as GetCollectibleLowestOfferReturn, am as GetCollectibleReturn, a2 as GetCollectionArgs, a3 as GetCollectionReturn, aX as GetCountOfAllCollectiblesArgs, aY as GetCountOfAllCollectiblesReturn, aZ as GetCountOfFilteredCollectiblesArgs, a_ as GetCountOfFilteredCollectiblesReturn, a$ as GetFloorOrderArgs, b0 as GetFloorOrderReturn, at as GetHighestPriceListingForCollectibleArgs, au as GetHighestPriceListingForCollectibleReturn, ap as GetHighestPriceOfferForCollectibleArgs, aq as GetHighestPriceOfferForCollectibleReturn, ar as GetLowestPriceListingForCollectibleArgs, as as GetLowestPriceListingForCollectibleReturn, an as GetLowestPriceOfferForCollectibleArgs, ao as GetLowestPriceOfferForCollectibleReturn, b9 as GetOrdersArgs, G as GetOrdersInput, ba as GetOrdersReturn, bw as InvalidArgumentError, bA as InvalidTierError, aH as ListCollectibleListingsArgs, aI as ListCollectibleListingsReturn, aJ as ListCollectibleOffersArgs, aK as ListCollectibleOffersReturn, aV as ListCollectiblesArgs, aW as ListCollectiblesReturn, b3 as ListCollectiblesWithHighestOfferArgs, b4 as ListCollectiblesWithHighestOfferReturn, b1 as ListCollectiblesWithLowestListingArgs, b2 as ListCollectiblesWithLowestListingReturn, a4 as ListCollectionsArgs, a5 as ListCollectionsReturn, ag as ListCurrenciesArgs, ah as ListCurrenciesReturn, av as ListListingsForCollectibleArgs, aw as ListListingsForCollectibleReturn, ax as ListOffersForCollectibleArgs, ay as ListOffersForCollectibleReturn, ak as Marketplace, M as MarketplaceKind, bu as MethodNotFoundError, bx as NotFoundError, bC as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bs as PermissionDeniedError, B as PostRequest, u as Project, bB as ProjectLimitReachedError, bz as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bt as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, a8 as SyncCollectionArgs, a9 as SyncCollectionReturn, b5 as SyncOrderArgs, b6 as SyncOrderReturn, b7 as SyncOrdersArgs, b8 as SyncOrdersReturn, bv as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Y as TransactionNFTCheckoutProvider, Z as TransactionOnRampProvider, _ as TransactionSwapProvider, br as UnauthorizedError, ae as UpdateCurrencyArgs, af as UpdateCurrencyReturn, by as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R as WebRPCVersion, bj as WebrpcBadMethodError, bk as WebrpcBadRequestError, bl as WebrpcBadResponseError, bi as WebrpcBadRouteError, bo as WebrpcClientDisconnectedError, bg as WebrpcEndpointError, bf as WebrpcError, N as WebrpcHeader, Q as WebrpcHeaderValue, bn as WebrpcInternalErrorError, bh as WebrpcRequestFailedError, bm as WebrpcServerPanicError, bq as WebrpcStreamFinishedError, bp as WebrpcStreamLostError, bD as errors } from '../../marketplace.gen-Ceofb9Cs.js';
|
|
5
|
+
export { balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys } from './api/index.js';
|
|
6
|
+
export { c as createWagmiConfig } from '../../create-config-Dz0gCiQ0.js';
|
|
7
|
+
export { getUniversalConnectors, getWaasConnectors } from './wagmi/index.js';
|
|
8
|
+
import '@0xsequence/network';
|
|
9
|
+
import '@tanstack/react-query';
|
|
10
|
+
import '@0xsequence/indexer';
|
|
11
|
+
import '@0xsequence/metadata';
|
|
12
|
+
import '../../sdk-config-xWkdBdrL.js';
|
|
13
|
+
import 'wagmi';
|
|
14
|
+
import 'viem';
|
|
15
|
+
import '../../marketplace-config-DZbtyrma.js';
|
|
16
|
+
|
|
17
|
+
declare const DEFAULT_NETWORK = 137;
|
|
18
|
+
|
|
19
|
+
declare const PROVIDER_ID = "sdk-provider";
|
|
20
|
+
declare function getProviderEl(): HTMLElement | null;
|
|
21
|
+
|
|
22
|
+
export { DEFAULT_NETWORK, PROVIDER_ID, getProviderEl };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import {
|
|
3
|
+
PROVIDER_ID,
|
|
4
|
+
getProviderEl
|
|
5
|
+
} from "../../chunk-STO74F2I.js";
|
|
6
|
+
import {
|
|
7
|
+
Admin,
|
|
8
|
+
CollectibleStatus,
|
|
9
|
+
CollectionStatus,
|
|
10
|
+
ContractType,
|
|
11
|
+
ExecuteType,
|
|
12
|
+
InvalidArgumentError,
|
|
13
|
+
InvalidTierError,
|
|
14
|
+
Marketplace,
|
|
15
|
+
MarketplaceKind,
|
|
16
|
+
MethodNotFoundError,
|
|
17
|
+
NotFoundError,
|
|
18
|
+
NotImplementedError,
|
|
19
|
+
OrderSide,
|
|
20
|
+
OrderStatus,
|
|
21
|
+
OrderbookKind,
|
|
22
|
+
PermissionDeniedError,
|
|
23
|
+
ProjectLimitReachedError,
|
|
24
|
+
ProjectNotFoundError,
|
|
25
|
+
ProjectStatus,
|
|
26
|
+
PropertyType,
|
|
27
|
+
SequenceMarketplace,
|
|
28
|
+
SessionExpiredError,
|
|
29
|
+
SortOrder,
|
|
30
|
+
SourceKind,
|
|
31
|
+
StepType,
|
|
32
|
+
TimeoutError,
|
|
33
|
+
TransactionCrypto,
|
|
34
|
+
TransactionNFTCheckoutProvider,
|
|
35
|
+
TransactionOnRampProvider,
|
|
36
|
+
TransactionSwapProvider,
|
|
37
|
+
UnauthorizedError,
|
|
38
|
+
UserNotFoundError,
|
|
39
|
+
VersionFromHeader,
|
|
40
|
+
WalletKind,
|
|
41
|
+
WebRPCSchemaHash,
|
|
42
|
+
WebRPCSchemaVersion,
|
|
43
|
+
WebRPCVersion,
|
|
44
|
+
WebrpcBadMethodError,
|
|
45
|
+
WebrpcBadRequestError,
|
|
46
|
+
WebrpcBadResponseError,
|
|
47
|
+
WebrpcBadRouteError,
|
|
48
|
+
WebrpcClientDisconnectedError,
|
|
49
|
+
WebrpcEndpointError,
|
|
50
|
+
WebrpcError,
|
|
51
|
+
WebrpcHeader,
|
|
52
|
+
WebrpcHeaderValue,
|
|
53
|
+
WebrpcInternalErrorError,
|
|
54
|
+
WebrpcRequestFailedError,
|
|
55
|
+
WebrpcServerPanicError,
|
|
56
|
+
WebrpcStreamFinishedError,
|
|
57
|
+
WebrpcStreamLostError,
|
|
58
|
+
balanceQueries,
|
|
59
|
+
builderMarketplaceApi,
|
|
60
|
+
checkoutKeys,
|
|
61
|
+
collectableKeys,
|
|
62
|
+
collectionKeys,
|
|
63
|
+
configKeys,
|
|
64
|
+
currencyKeys,
|
|
65
|
+
errors,
|
|
66
|
+
getIndexerClient,
|
|
67
|
+
getMarketplaceClient,
|
|
68
|
+
getMetadataClient,
|
|
69
|
+
getQueryClient,
|
|
70
|
+
imageProxy
|
|
71
|
+
} from "../../chunk-HGBEC3WX.js";
|
|
72
|
+
import {
|
|
73
|
+
DEFAULT_NETWORK,
|
|
74
|
+
createWagmiConfig,
|
|
75
|
+
getUniversalConnectors,
|
|
76
|
+
getWaasConnectors
|
|
77
|
+
} from "../../chunk-EDTC7UES.js";
|
|
78
|
+
export {
|
|
79
|
+
Admin,
|
|
80
|
+
CollectibleStatus,
|
|
81
|
+
CollectionStatus,
|
|
82
|
+
ContractType,
|
|
83
|
+
DEFAULT_NETWORK,
|
|
84
|
+
ExecuteType,
|
|
85
|
+
InvalidArgumentError,
|
|
86
|
+
InvalidTierError,
|
|
87
|
+
Marketplace,
|
|
88
|
+
MarketplaceKind,
|
|
89
|
+
MethodNotFoundError,
|
|
90
|
+
NotFoundError,
|
|
91
|
+
NotImplementedError,
|
|
92
|
+
OrderSide,
|
|
93
|
+
OrderStatus,
|
|
94
|
+
OrderbookKind,
|
|
95
|
+
PROVIDER_ID,
|
|
96
|
+
PermissionDeniedError,
|
|
97
|
+
ProjectLimitReachedError,
|
|
98
|
+
ProjectNotFoundError,
|
|
99
|
+
ProjectStatus,
|
|
100
|
+
PropertyType,
|
|
101
|
+
SequenceMarketplace,
|
|
102
|
+
SessionExpiredError,
|
|
103
|
+
SortOrder,
|
|
104
|
+
SourceKind,
|
|
105
|
+
StepType,
|
|
106
|
+
TimeoutError,
|
|
107
|
+
TransactionCrypto,
|
|
108
|
+
TransactionNFTCheckoutProvider,
|
|
109
|
+
TransactionOnRampProvider,
|
|
110
|
+
TransactionSwapProvider,
|
|
111
|
+
UnauthorizedError,
|
|
112
|
+
UserNotFoundError,
|
|
113
|
+
VersionFromHeader,
|
|
114
|
+
WalletKind,
|
|
115
|
+
WebRPCSchemaHash,
|
|
116
|
+
WebRPCSchemaVersion,
|
|
117
|
+
WebRPCVersion,
|
|
118
|
+
WebrpcBadMethodError,
|
|
119
|
+
WebrpcBadRequestError,
|
|
120
|
+
WebrpcBadResponseError,
|
|
121
|
+
WebrpcBadRouteError,
|
|
122
|
+
WebrpcClientDisconnectedError,
|
|
123
|
+
WebrpcEndpointError,
|
|
124
|
+
WebrpcError,
|
|
125
|
+
WebrpcHeader,
|
|
126
|
+
WebrpcHeaderValue,
|
|
127
|
+
WebrpcInternalErrorError,
|
|
128
|
+
WebrpcRequestFailedError,
|
|
129
|
+
WebrpcServerPanicError,
|
|
130
|
+
WebrpcStreamFinishedError,
|
|
131
|
+
WebrpcStreamLostError,
|
|
132
|
+
balanceQueries,
|
|
133
|
+
builderMarketplaceApi,
|
|
134
|
+
checkoutKeys,
|
|
135
|
+
collectableKeys,
|
|
136
|
+
collectionKeys,
|
|
137
|
+
configKeys,
|
|
138
|
+
createWagmiConfig,
|
|
139
|
+
currencyKeys,
|
|
140
|
+
errors,
|
|
141
|
+
getIndexerClient,
|
|
142
|
+
getMarketplaceClient,
|
|
143
|
+
getMetadataClient,
|
|
144
|
+
getProviderEl,
|
|
145
|
+
getQueryClient,
|
|
146
|
+
getUniversalConnectors,
|
|
147
|
+
getWaasConnectors,
|
|
148
|
+
imageProxy
|
|
149
|
+
};
|
|
150
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { c as createWagmiConfig } from '../../../create-config-Dz0gCiQ0.js';
|
|
2
|
+
import { S as SdkConfig } from '../../../sdk-config-xWkdBdrL.js';
|
|
3
|
+
import { CreateConnectorFn } from 'wagmi';
|
|
4
|
+
import { M as MarketplaceConfig } from '../../../marketplace-config-DZbtyrma.js';
|
|
5
|
+
import 'viem';
|
|
6
|
+
import '@0xsequence/network';
|
|
7
|
+
|
|
8
|
+
declare function getWaasConnectors(marketplaceConfig: MarketplaceConfig, sdkConfig: SdkConfig): CreateConnectorFn[];
|
|
9
|
+
|
|
10
|
+
declare function getUniversalConnectors(marketplaceConfig: MarketplaceConfig, config: SdkConfig): CreateConnectorFn[];
|
|
11
|
+
|
|
12
|
+
export { getUniversalConnectors, getWaasConnectors };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|