@0xsequence/marketplace-sdk 2.0.1 → 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 +10 -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 +1 -1
- package/dist/collection.js +1 -1
- package/dist/create-config.d.ts +597 -201
- package/dist/create-config.js +1 -1
- package/dist/currency.js +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 +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index10.d.ts +3 -3
- package/dist/index11.d.ts +17 -17
- package/dist/index12.d.ts +26 -26
- 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 +86 -86
- 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 +4 -4
- package/dist/index35.d.ts +1 -1
- package/dist/index36.d.ts +7 -7
- package/dist/index37.d.ts +6 -6
- package/dist/index38.d.ts +8 -8
- package/dist/index39.d.ts +1 -1
- package/dist/index4.d.ts +995 -995
- package/dist/index40.d.ts +2 -2
- package/dist/index8.d.ts +2 -2
- package/dist/index9.d.ts +2811 -3
- package/dist/inventory.d.ts +4 -4
- package/dist/inventory.js +2 -2
- package/dist/marketplace2.js +2 -2
- package/dist/metadata.d.ts +73 -73
- package/dist/primary-sale-checkout-options.d.ts +4 -4
- package/dist/quantityInput.js +1 -1
- package/dist/ranges.d.ts +17 -17
- 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 +1 -1
- package/dist/react/ssr/index.js +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- 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/calendarDropdown/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 -3
- 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 +2192 -1903
- package/dist/react.js.map +1 -1
- 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.js +1 -1
- package/dist/utils.js +20 -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/transactions/useCancelTransactionSteps.tsx +4 -1
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +34 -31
- 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/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/MakeOfferModal/internal/context.ts +2 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +12 -11
- 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/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/getConduitAddressForOrderbook.ts +2 -10
- package/src/utils/getMarketplaceDetails.ts +11 -4
- package/src/utils/getWebRPCErrorMessage.ts +21 -0
- package/src/utils/normalizeMarketplace.ts +31 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as ListPrimarySaleItemsResponse, O as GetPrimarySaleItemResponse, V as ListPrimarySaleItemsRequest, o as CollectiblePrimarySaleItem } from "../../index2.js";
|
|
2
2
|
import { Dt as fetchMarketplaceConfig, Ot as marketplaceConfigOptions } from "../../create-config.js";
|
|
3
3
|
import "../../xstate-store.cjs.js";
|
|
4
4
|
import "../../index3.js";
|
|
@@ -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";
|
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,7 +7,7 @@ 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
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../../../../index3.js";
|
|
2
2
|
import { n as Image } from "../../../../index9.js";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/react/ui/components/marketplace-logos/marketplace-logos.d.ts
|
|
7
|
-
declare const AlienSwapLogo: (props: ComponentProps<typeof Image>) =>
|
|
8
|
-
declare const AquaXyzLogo: (props: ComponentProps<typeof Image>) =>
|
|
9
|
-
declare const AuraLogo: (props: ComponentProps<typeof Image>) =>
|
|
10
|
-
declare const BlurLogo: (props: ComponentProps<typeof Image>) =>
|
|
11
|
-
declare const CoinbaseLogo: (props: ComponentProps<typeof Image>) =>
|
|
12
|
-
declare const ElementLogo: (props: ComponentProps<typeof Image>) =>
|
|
13
|
-
declare const FoundationLogo: (props: ComponentProps<typeof Image>) =>
|
|
14
|
-
declare const LooksRareLogo: (props: ComponentProps<typeof Image>) =>
|
|
15
|
-
declare const MagicEdenLogo: (props: ComponentProps<typeof Image>) =>
|
|
16
|
-
declare const ManifoldLogo: (props: ComponentProps<typeof Image>) =>
|
|
17
|
-
declare const MintifyLogo: (props: ComponentProps<typeof Image>) =>
|
|
18
|
-
declare const NftxLogo: (props: ComponentProps<typeof Image>) =>
|
|
19
|
-
declare const OkxLogo: (props: ComponentProps<typeof Image>) =>
|
|
20
|
-
declare const OpenSeaLogo: (props: ComponentProps<typeof Image>) =>
|
|
21
|
-
declare const RaribleLogo: (props: ComponentProps<typeof Image>) =>
|
|
22
|
-
declare const SequenceLogo: (props: ComponentProps<typeof Image>) =>
|
|
23
|
-
declare const SudoSwapLogo: (props: ComponentProps<typeof Image>) =>
|
|
24
|
-
declare const SuperRareLogo: (props: ComponentProps<typeof Image>) =>
|
|
25
|
-
declare const X2y2Logo: (props: ComponentProps<typeof Image>) =>
|
|
26
|
-
declare const ZoraLogo: (props: ComponentProps<typeof Image>) =>
|
|
7
|
+
declare const AlienSwapLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
8
|
+
declare const AquaXyzLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
9
|
+
declare const AuraLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
10
|
+
declare const BlurLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
11
|
+
declare const CoinbaseLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
12
|
+
declare const ElementLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
13
|
+
declare const FoundationLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
14
|
+
declare const LooksRareLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
15
|
+
declare const MagicEdenLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
16
|
+
declare const ManifoldLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
17
|
+
declare const MintifyLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
18
|
+
declare const NftxLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
19
|
+
declare const OkxLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
20
|
+
declare const OpenSeaLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
21
|
+
declare const RaribleLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
22
|
+
declare const SequenceLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
23
|
+
declare const SudoSwapLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
24
|
+
declare const SuperRareLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
25
|
+
declare const X2y2Logo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
26
|
+
declare const ZoraLogo: (props: ComponentProps<typeof Image>) => react_jsx_runtime31.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { AlienSwapLogo, AquaXyzLogo, AuraLogo, BlurLogo, CoinbaseLogo, ElementLogo, FoundationLogo, LooksRareLogo, MagicEdenLogo, ManifoldLogo, MintifyLogo, NftxLogo, OkxLogo, OpenSeaLogo, RaribleLogo, SequenceLogo, SudoSwapLogo, SuperRareLogo, X2y2Logo, ZoraLogo };
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as RangeType } from "../../../../../../index40.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/react/ui/modals/_internal/components/calendarDropdown/index.d.ts
|
|
5
5
|
type CalendarDropdownProps = {
|
|
@@ -15,7 +15,7 @@ declare function CalendarDropdown({
|
|
|
15
15
|
onSelectPreset,
|
|
16
16
|
isOpen,
|
|
17
17
|
setIsOpen
|
|
18
|
-
}: CalendarDropdownProps):
|
|
18
|
+
}: CalendarDropdownProps): react_jsx_runtime5.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { CalendarDropdown as default };
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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 = {
|
|
@@ -37,7 +37,7 @@ declare function PriceInput({
|
|
|
37
37
|
orderbookKind,
|
|
38
38
|
modalType,
|
|
39
39
|
feeData
|
|
40
|
-
}: PriceInputProps):
|
|
40
|
+
}: PriceInputProps): react_jsx_runtime9.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { PriceInput as default };
|
|
43
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
|