@0xsequence/marketplace-sdk 2.0.0 → 2.0.2
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/CHANGELOG.md +18 -0
- package/dist/BellIcon.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/ShopCard.d.ts +4 -4
- package/dist/builder-api.js +1 -1
- package/dist/collectible.js +2 -2
- package/dist/collectible.js.map +1 -1
- package/dist/collection.js +1 -1
- package/dist/create-config.d.ts +589 -193
- package/dist/create-config.js +1 -1
- package/dist/currency.js +3 -3
- package/dist/currency.js.map +1 -1
- package/dist/dist.js +167 -148
- package/dist/dist.js.map +1 -1
- package/dist/expirationDateSelect.js +1 -1
- package/dist/filter-state.d.ts +1 -1
- package/dist/filters.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index10.d.ts +1 -1
- package/dist/index11.d.ts +17 -17
- package/dist/index12.d.ts +21 -21
- package/dist/index14.d.ts +3 -3
- package/dist/index15.d.ts +3 -3
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.ts +75 -75
- package/dist/index18.d.ts +40 -40
- package/dist/index19.d.ts +5 -5
- package/dist/index2.d.ts +4 -1
- package/dist/index21.d.ts +15 -15
- package/dist/index22.d.ts +8 -65
- package/dist/index23.d.ts +21 -13
- package/dist/index26.d.ts +4 -4
- package/dist/index27.d.ts +4 -4
- package/dist/index28.d.ts +10 -10
- package/dist/index3.d.ts +2 -2194
- package/dist/index31.d.ts +5 -5
- package/dist/index33.d.ts +3 -3
- package/dist/index34.d.ts +1 -1
- package/dist/index35.d.ts +1 -1
- package/dist/index36.d.ts +5 -5
- package/dist/index37.d.ts +8 -6
- package/dist/index38.d.ts +5 -5
- package/dist/index39.d.ts +1 -1
- package/dist/index4.d.ts +1356 -1356
- package/dist/index40.d.ts +2 -2
- package/dist/index8.d.ts +11 -3
- package/dist/index9.d.ts +2811 -3
- package/dist/inventory.d.ts +4 -4
- package/dist/inventory.js +3 -3
- package/dist/inventory.js.map +1 -1
- package/dist/marketplace2.js +3 -3
- package/dist/marketplace2.js.map +1 -1
- package/dist/metadata.d.ts +41 -41
- package/dist/primary-sale-checkout-options.d.ts +4 -4
- package/dist/quantityInput.js +1 -1
- package/dist/ranges.d.ts +12 -12
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/queries/collectible/index.d.ts +1 -1
- package/dist/react/queries/index.d.ts +1 -1
- package/dist/react/ssr/index.d.ts +3 -3
- package/dist/react/ssr/index.js +3 -3
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
- package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
- package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +3 -5
- package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +3 -3
- package/dist/react.js +2279 -1919
- package/dist/react.js.map +1 -1
- package/dist/styles/index.css +15 -0
- package/dist/token-balances.d.ts +28 -28
- package/dist/transaction-footer.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/url-state.js +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils.js +31 -4
- package/dist/utils.js.map +1 -1
- package/package.json +7 -5
- package/src/react/hooks/config/useMarketplaceConfig.test.tsx +1 -0
- package/src/react/hooks/currency/list.test.tsx +23 -2
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +4 -1
- package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +55 -15
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
- package/src/react/queries/collectible/market-list.ts +5 -3
- package/src/react/queries/currency/list.ts +8 -5
- package/src/react/queries/inventory/inventory.ts +5 -3
- package/src/react/queries/marketplace/filters.ts +5 -3
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +74 -37
- package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +74 -11
- package/src/react/ui/modals/BuyModal/components/Modal.tsx +62 -1
- package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +13 -26
- package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +5 -5
- package/src/react/ui/modals/BuyModal/internal/__tests__/buildTrailsMarketBuyActions.test.ts +213 -0
- package/src/react/ui/modals/BuyModal/internal/buildTrailsMarketBuyActions.ts +259 -0
- package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +79 -10
- package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +44 -17
- package/src/react/ui/modals/CreateListingModal/internal/store.ts +5 -2
- package/src/react/ui/modals/MakeOfferModal/internal/context.ts +21 -1
- package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +16 -1
- package/src/react/ui/modals/MakeOfferModal/internal/store.ts +5 -2
- package/src/react/ui/modals/SellModal/internal/store.ts +5 -2
- package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +8 -6
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +13 -19
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -2
- package/src/react/ui/modals/_internal/helpers/currency.test.ts +27 -0
- package/src/react/ui/modals/_internal/helpers/currency.ts +4 -2
- package/src/styles/styles.ts +18 -0
- package/src/utils/__tests__/getMarketplaceDetails.test.ts +10 -0
- package/src/utils/__tests__/getWebRPCErrorMessage.test.ts +28 -0
- package/src/utils/__tests__/marketplaceNormalization.test.ts +38 -0
- package/src/utils/collection.ts +19 -0
- package/src/utils/getConduitAddressForOrderbook.ts +2 -10
- package/src/utils/getMarketplaceDetails.ts +11 -4
- package/src/utils/getWebRPCErrorMessage.ts +21 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/normalizeMarketplace.ts +31 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "../../consts.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as OrderData, Cn as TransactionCrypto, En as FilterCondition, G as MarketPage, Gt as Collectible, Jt as CollectionStatus, Kt as CollectiblesFilter, Nt as TokenBalance$1, Q as Order, Tn as WalletKind, Ut as CheckoutOptions, Vt as AdditionalFee, W as MarketCollection, Y as MarketplaceWallet, _n as PropertyFilter, a as CollectibleOrder, an as MarketplaceKind, at as Step, bn as SortOrder, bt as TokenMetadata$1, c as ContractType, cn as OrderFilter, dn as OrderbookKind, dt as ContractInfo$1, hn as PriceFilter, l as CreateReq, ln as OrderSide, mn as PostRequest, nt as ShopPage, pn as Page, pt as Filter, q as MarketplaceCollection, qt as Collection, r as CheckoutOptionsItem, rt as Signature, tt as ShopCollection, u as Currency, un as OrderStatus, vn as PropertyType, xn as StepType, yn as SortBy } from "../../index2.js";
|
|
3
3
|
import { Dt as fetchMarketplaceConfig, Ot as marketplaceConfigOptions, _ as Price, a as CheckoutMode, c as SdkConfig, d as CollectionFilterSettings, f as EcosystemWalletSettings, g as MetadataFilterRule, h as MarketplaceWalletWaasSettings, i as ApiConfig, kt as BuilderAPI, l as CardType, m as MarketplaceWalletOptions, o as Env, p as MarketplaceConfig, r as TransactionType, s as MarketplaceSdkContext, u as CollectibleCardAction, v as isMarketCollection, y as isShopCollection } from "../../create-config.js";
|
|
4
4
|
import "../../xstate-store.cjs.js";
|
|
5
5
|
import "../../index3.js";
|
|
@@ -7,7 +7,7 @@ import { n as getMarketplaceABI, r as getSaleContractABI, t as MAIN_MODULE_ABI }
|
|
|
7
7
|
import { n as SequenceMarketplaceV1_ABI, r as EIP2981_ABI, t as SequenceMarketplaceV2_ABI } from "../../index5.js";
|
|
8
8
|
import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "../../index6.js";
|
|
9
9
|
import { i as ERC20_ABI, n as ERC1155_ABI, r as ERC721_ABI, t as SEQUENCE_1155_ITEMS_ABI } from "../../index7.js";
|
|
10
|
-
import { a as formatPriceWithFee, c as getNetwork, d as
|
|
10
|
+
import { a as formatPriceWithFee, c as getNetwork, d as findMarketCollection, f as cn, h as truncateMiddle, i as formatPrice, l as getPresentableChainName, m as truncateEnd, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as compareAddress, r as calculateTotalOfferCost, s as networkToWagmiChain, t as calculateEarningsAfterFees, u as getMarketplaceDetails } from "../../index8.js";
|
|
11
11
|
import "../../index9.js";
|
|
12
12
|
import { t as createSSRClient } from "../../index13.js";
|
|
13
|
-
export { AdditionalFee, ApiConfig, BuilderAPI, CardType, CheckoutMode, CheckoutOptions, CheckoutOptionsItem, Collectible, CollectibleCardAction, CollectibleOrder, CollectiblesFilter, Collection, CollectionFilterSettings, CollectionStatus, ContractInfo$1 as ContractInfo, ContractType, CreateReq, Currency, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, EcosystemWalletSettings, Env, Filter, FilterCondition, TokenBalance$1 as IndexerTokenBalance, MAIN_MODULE_ABI, MarketCollection, MarketPage, MarketplaceCollection, MarketplaceConfig, MarketplaceKind, MarketplaceSdkContext, MarketplaceWallet, MarketplaceWalletOptions, MarketplaceWalletWaasSettings, MetadataFilterRule, Order, OrderData, OrderFilter, OrderSide, OrderStatus, OrderbookKind, Page, PostRequest, Price, PriceFilter, PropertyFilter, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SdkConfig, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, ShopCollection, ShopPage, Signature, SortBy, SortOrder, Step, StepType, TokenMetadata$1 as TokenMetadata, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, fetchMarketplaceConfig, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, marketplaceConfigOptions, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
|
|
13
|
+
export { AdditionalFee, ApiConfig, BuilderAPI, CardType, CheckoutMode, CheckoutOptions, CheckoutOptionsItem, Collectible, CollectibleCardAction, CollectibleOrder, CollectiblesFilter, Collection, CollectionFilterSettings, CollectionStatus, ContractInfo$1 as ContractInfo, ContractType, CreateReq, Currency, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, EcosystemWalletSettings, Env, Filter, FilterCondition, TokenBalance$1 as IndexerTokenBalance, MAIN_MODULE_ABI, MarketCollection, MarketPage, MarketplaceCollection, MarketplaceConfig, MarketplaceKind, MarketplaceSdkContext, MarketplaceWallet, MarketplaceWalletOptions, MarketplaceWalletWaasSettings, MetadataFilterRule, Order, OrderData, OrderFilter, OrderSide, OrderStatus, OrderbookKind, Page, PostRequest, Price, PriceFilter, PropertyFilter, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SdkConfig, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, ShopCollection, ShopPage, Signature, SortBy, SortOrder, Step, StepType, TokenMetadata$1 as TokenMetadata, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, fetchMarketplaceConfig, findMarketCollection, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, marketplaceConfigOptions, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
|
package/dist/react/ssr/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "../../consts.js";
|
|
2
|
-
import {
|
|
2
|
+
import { S as TransactionCrypto, T as FilterCondition, _ as OrderStatus, b as SortOrder, g as OrderSide, p as MarketplaceKind, t as ContractType, u as CollectionStatus, v as OrderbookKind, w as WalletKind, x as StepType, y as PropertyType } from "../../dist.js";
|
|
3
3
|
import { t as BuilderAPI } from "../../builder-api.js";
|
|
4
4
|
import { t as networkToWagmiChain } from "../../networkconfigToWagmiChain.js";
|
|
5
5
|
import { i as TransactionType, n as isMarketCollection, r as isShopCollection, t as CollectibleCardAction } from "../../types.js";
|
|
@@ -7,8 +7,8 @@ import { n as SequenceMarketplaceV1_ABI, r as EIP2981_ABI, t as SequenceMarketpl
|
|
|
7
7
|
import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "../../primary-sale.js";
|
|
8
8
|
import { n as getMarketplaceABI, r as getSaleContractABI, t as MAIN_MODULE_ABI } from "../../abi.js";
|
|
9
9
|
import { i as ERC20_ABI, n as ERC1155_ABI, r as ERC721_ABI, t as SEQUENCE_1155_ITEMS_ABI } from "../../token.js";
|
|
10
|
-
import { a as formatPriceWithFee,
|
|
10
|
+
import { a as formatPriceWithFee, d as findMarketCollection, f as cn, h as truncateMiddle, i as formatPrice, m as truncateEnd, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as compareAddress, r as calculateTotalOfferCost, s as getMarketplaceDetails, t as calculateEarningsAfterFees } from "../../utils.js";
|
|
11
11
|
import { n as getPresentableChainName, t as getNetwork } from "../../network.js";
|
|
12
12
|
import { t as createSSRClient } from "../../ssr.js";
|
|
13
13
|
|
|
14
|
-
export { BuilderAPI, CollectibleCardAction, CollectionStatus, ContractType, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, FilterCondition, MAIN_MODULE_ABI, MarketplaceKind, OrderSide, OrderStatus, OrderbookKind, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, SortOrder, StepType, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
|
|
14
|
+
export { BuilderAPI, CollectibleCardAction, CollectionStatus, ContractType, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, FilterCondition, MAIN_MODULE_ABI, MarketplaceKind, OrderSide, OrderStatus, OrderbookKind, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, SortOrder, StepType, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, findMarketCollection, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/modals/_internal/components/alertMessage/index.d.ts
|
|
4
4
|
type AlertMessageProps = {
|
|
@@ -8,7 +8,7 @@ type AlertMessageProps = {
|
|
|
8
8
|
declare function AlertMessage({
|
|
9
9
|
message,
|
|
10
10
|
type
|
|
11
|
-
}: AlertMessageProps):
|
|
11
|
+
}: AlertMessageProps): react_jsx_runtime2.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { AlertMessage as default };
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import "../../../../../../index3.js";
|
|
|
5
5
|
import { t as Button } from "../../../../../../index9.js";
|
|
6
6
|
import * as react14 from "react";
|
|
7
7
|
import React, { Component, ComponentProps, ErrorInfo, ReactNode } from "react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
9
9
|
import { UseQueryResult } from "@tanstack/react-query";
|
|
10
10
|
|
|
11
11
|
//#region src/react/ui/modals/_internal/components/baseModal/BaseModal.d.ts
|
|
@@ -33,7 +33,7 @@ declare const BaseModal: ({
|
|
|
33
33
|
children,
|
|
34
34
|
disableAnimation,
|
|
35
35
|
transactionType
|
|
36
|
-
}: BaseModalProps) =>
|
|
36
|
+
}: BaseModalProps) => react_jsx_runtime22.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/react/ui/modals/_internal/components/baseModal/errors/errorActionType.d.ts
|
|
39
39
|
type ErrorAction = {
|
|
@@ -79,7 +79,7 @@ declare function ActionModal<T extends Record<string, UseQueryResult>>({
|
|
|
79
79
|
onErrorAction,
|
|
80
80
|
errorComponent,
|
|
81
81
|
...baseProps
|
|
82
|
-
}: ActionModalProps<T>):
|
|
82
|
+
}: ActionModalProps<T>): react_jsx_runtime22.JSX.Element;
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/react/ui/modals/_internal/components/baseModal/ErrorBoundary.d.ts
|
|
85
85
|
interface ErrorBoundaryProps {
|
|
@@ -99,7 +99,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
|
|
|
99
99
|
resetErrorBoundary: () => void;
|
|
100
100
|
static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
|
|
101
101
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
102
|
-
render(): string | number | bigint | boolean |
|
|
102
|
+
render(): string | number | bigint | boolean | react_jsx_runtime22.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react14.ReactPortal | react14.ReactElement<unknown, string | react14.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region src/react/ui/modals/_internal/components/baseModal/ErrorModal.d.ts
|
|
@@ -126,7 +126,7 @@ declare const ErrorModal: ({
|
|
|
126
126
|
message,
|
|
127
127
|
onRetry,
|
|
128
128
|
onErrorAction
|
|
129
|
-
}: ErrorModalProps) =>
|
|
129
|
+
}: ErrorModalProps) => react_jsx_runtime22.JSX.Element;
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region src/react/ui/modals/_internal/components/baseModal/LoadingModal.d.ts
|
|
132
132
|
interface LoadingModalProps extends Pick<BaseModalProps, 'onClose' | 'title' | 'chainId' | 'disableAnimation'> {
|
|
@@ -138,7 +138,7 @@ declare const LoadingModal: ({
|
|
|
138
138
|
chainId,
|
|
139
139
|
disableAnimation,
|
|
140
140
|
message
|
|
141
|
-
}: LoadingModalProps) =>
|
|
141
|
+
}: LoadingModalProps) => react_jsx_runtime22.JSX.Element;
|
|
142
142
|
//#endregion
|
|
143
143
|
export { ActionModal, type ActionModalProps, BaseModal, type BaseModalProps, type CtaAction, type ErrorAction, ErrorBoundary, ErrorModal, LoadingModal };
|
|
144
144
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React$1, { CSSProperties } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ../node_modules/.pnpm/react-day-picker@9.13.0_react@19.2.3/node_modules/react-day-picker/dist/esm/types/props.d.ts
|
|
5
5
|
|
|
@@ -64,7 +64,7 @@ type CalendarProps = React.PropsWithChildren<PropsSingle> & {
|
|
|
64
64
|
};
|
|
65
65
|
declare function Calendar({
|
|
66
66
|
...props
|
|
67
|
-
}: CalendarProps):
|
|
67
|
+
}: CalendarProps): react_jsx_runtime3.JSX.Element;
|
|
68
68
|
declare namespace Calendar {
|
|
69
69
|
var displayName: string;
|
|
70
70
|
}
|
|
@@ -2,14 +2,14 @@ import "../../../../../../index2.js";
|
|
|
2
2
|
import { _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/react/ui/modals/_internal/components/currencyImage/index.d.ts
|
|
8
8
|
declare function CurrencyImage({
|
|
9
9
|
price
|
|
10
10
|
}: {
|
|
11
11
|
price: Price | undefined;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime4.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { CurrencyImage as default };
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1, dn as OrderbookKind, u as Currency } from "../../../../../../index2.js";
|
|
2
2
|
import "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts
|
|
8
8
|
type CurrencyOptionsSelectProps = {
|
|
@@ -24,7 +24,7 @@ declare function CurrencyOptionsSelect({
|
|
|
24
24
|
includeNativeCurrency,
|
|
25
25
|
orderbookKind,
|
|
26
26
|
modalType
|
|
27
|
-
}: CurrencyOptionsSelectProps):
|
|
27
|
+
}: CurrencyOptionsSelectProps): react_jsx_runtime6.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CurrencyOptionsSelect as default };
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import "../../../../../../index2.js";
|
|
|
2
2
|
import { _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
6
6
|
import { Hex } from "viem";
|
|
7
7
|
|
|
8
8
|
//#region src/react/ui/modals/_internal/components/floorPriceText/index.d.ts
|
|
@@ -18,7 +18,7 @@ declare function FloorPriceText({
|
|
|
18
18
|
tokenId: bigint;
|
|
19
19
|
price: Price;
|
|
20
20
|
onBuyNow?: () => void;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime8.JSX.Element | null;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { FloorPriceText as default };
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1, dn as OrderbookKind, u as Currency } from "../../../../../../index2.js";
|
|
2
2
|
import { _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/react/ui/modals/_internal/components/priceInput/index.d.ts
|
|
8
8
|
type PriceInputProps = {
|
|
@@ -19,7 +19,6 @@ type PriceInputProps = {
|
|
|
19
19
|
};
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
orderbookKind?: OrderbookKind;
|
|
22
|
-
setOpenseaLowestPriceCriteriaMet?: (state: boolean) => void;
|
|
23
22
|
modalType?: 'listing' | 'offer';
|
|
24
23
|
feeData?: {
|
|
25
24
|
royaltyPercentage?: number;
|
|
@@ -36,10 +35,9 @@ declare function PriceInput({
|
|
|
36
35
|
includeNativeCurrency,
|
|
37
36
|
disabled,
|
|
38
37
|
orderbookKind,
|
|
39
|
-
setOpenseaLowestPriceCriteriaMet,
|
|
40
38
|
modalType,
|
|
41
39
|
feeData
|
|
42
|
-
}: PriceInputProps):
|
|
40
|
+
}: PriceInputProps): react_jsx_runtime9.JSX.Element;
|
|
43
41
|
//#endregion
|
|
44
42
|
export { PriceInput as default };
|
|
45
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/modals/_internal/components/quantityInput/index.d.ts
|
|
4
4
|
type QuantityInputProps = {
|
|
@@ -18,7 +18,7 @@ declare function QuantityInput({
|
|
|
18
18
|
maxQuantity,
|
|
19
19
|
className,
|
|
20
20
|
disabled
|
|
21
|
-
}: QuantityInputProps):
|
|
21
|
+
}: QuantityInputProps): react_jsx_runtime17.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { QuantityInput as default };
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts
|
|
4
4
|
type SelectWaasFeeOptionsProps = {
|
|
@@ -12,7 +12,7 @@ declare const SelectWaasFeeOptions: ({
|
|
|
12
12
|
onCancel,
|
|
13
13
|
titleOnConfirm,
|
|
14
14
|
className
|
|
15
|
-
}: SelectWaasFeeOptionsProps) =>
|
|
15
|
+
}: SelectWaasFeeOptionsProps) => react_jsx_runtime11.JSX.Element | null;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SelectWaasFeeOptions as default };
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts
|
|
4
4
|
type ShowSwitchChainModalArgs = {
|
|
@@ -8,7 +8,7 @@ declare const useSwitchChainErrorModal: () => {
|
|
|
8
8
|
show: (args: ShowSwitchChainModalArgs) => void;
|
|
9
9
|
close: () => void;
|
|
10
10
|
};
|
|
11
|
-
declare const SwitchChainErrorModal: () =>
|
|
11
|
+
declare const SwitchChainErrorModal: () => react_jsx_runtime10.JSX.Element | null;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ShowSwitchChainModalArgs, SwitchChainErrorModal as default, useSwitchChainErrorModal };
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/modals/_internal/components/timeAgo/index.d.ts
|
|
4
4
|
type TimeAgoProps = {
|
|
@@ -6,7 +6,7 @@ type TimeAgoProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare function TimeAgo({
|
|
8
8
|
date
|
|
9
|
-
}: TimeAgoProps):
|
|
9
|
+
}: TimeAgoProps): react_jsx_runtime12.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TimeAgo as default };
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { It as Address$1 } from "../../../../../../index2.js";
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/react/ui/modals/_internal/components/tokenPreview/index.d.ts
|
|
5
5
|
type TokenPreviewProps = {
|
|
@@ -13,7 +13,7 @@ declare function TokenPreview({
|
|
|
13
13
|
collectionAddress,
|
|
14
14
|
tokenId,
|
|
15
15
|
chainId
|
|
16
|
-
}: TokenPreviewProps):
|
|
16
|
+
}: TokenPreviewProps): react_jsx_runtime13.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TokenPreview as default };
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/react/ui/modals/_internal/components/transaction-footer/index.d.ts
|
|
@@ -19,8 +19,8 @@ declare function TransactionFooter({
|
|
|
19
19
|
isFailed,
|
|
20
20
|
isTimeout,
|
|
21
21
|
chainId
|
|
22
|
-
}: TransactionFooterProps):
|
|
23
|
-
declare const PositiveCircle: () =>
|
|
22
|
+
}: TransactionFooterProps): react_jsx_runtime14.JSX.Element;
|
|
23
|
+
declare const PositiveCircle: () => react_jsx_runtime14.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { PositiveCircle, TransactionFooter as default };
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1 } from "../../../../../../index2.js";
|
|
2
2
|
import { _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/react/ui/modals/_internal/components/transactionDetails/index.d.ts
|
|
8
8
|
type TransactionDetailsProps = {
|
|
@@ -22,7 +22,7 @@ declare function TransactionDetails({
|
|
|
22
22
|
price,
|
|
23
23
|
showPlaceholderPrice,
|
|
24
24
|
currencyImageUrl
|
|
25
|
-
}: TransactionDetailsProps):
|
|
25
|
+
}: TransactionDetailsProps): react_jsx_runtime16.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { TransactionDetails as default };
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1, bt as TokenMetadata$1 } from "../../../../../../index2.js";
|
|
2
2
|
import { _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/react/ui/modals/_internal/components/transactionPreview/index.d.ts
|
|
8
8
|
type TransactionPreviewProps = {
|
|
@@ -30,7 +30,7 @@ declare const TransactionPreview: ({
|
|
|
30
30
|
isConfirmed,
|
|
31
31
|
isFailed,
|
|
32
32
|
isTimeout
|
|
33
|
-
}: TransactionPreviewProps) =>
|
|
33
|
+
}: TransactionPreviewProps) => react_jsx_runtime18.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { TransactionPreview as default };
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1 } from "../../../../../../index2.js";
|
|
2
2
|
import { J as TransactionType, _ as Price } from "../../../../../../create-config.js";
|
|
3
3
|
import "../../../../../../xstate-store.cjs.js";
|
|
4
4
|
import "../../../../../../index3.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
6
6
|
import { Hex } from "viem";
|
|
7
7
|
import { QueryKey } from "@tanstack/react-query";
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ declare const useTransactionStatusModal: () => {
|
|
|
21
21
|
show: (args: ShowTransactionStatusModalArgs) => void;
|
|
22
22
|
close: () => void;
|
|
23
23
|
};
|
|
24
|
-
declare const TransactionStatusModal: () =>
|
|
24
|
+
declare const TransactionStatusModal: () => react_jsx_runtime20.JSX.Element | null;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ShowTransactionStatusModalArgs, TransactionStatusModal as default, useTransactionStatusModal };
|
|
27
27
|
//# sourceMappingURL=index.d.ts.map
|