@0xsequence/marketplace-sdk 0.5.0 → 0.5.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/dist/index.js CHANGED
@@ -12,7 +12,6 @@ import {
12
12
  truncateEnd,
13
13
  truncateMiddle
14
14
  } from "./chunk-XP3WY5AX.js";
15
- import "./chunk-MWDG7UTB.js";
16
15
  import "./chunk-MCI3KOSQ.js";
17
16
  import {
18
17
  EIP2981_ABI,
@@ -24,10 +23,12 @@ import {
24
23
  ERC20_ABI,
25
24
  ERC721_ABI
26
25
  } from "./chunk-WFE6OCYF.js";
26
+ import "./chunk-MWDG7UTB.js";
27
27
  import {
28
28
  WalletOptions
29
29
  } from "./chunk-RK6KYMZM.js";
30
30
  import "./chunk-YOKGP2EQ.js";
31
+ import "./chunk-FCF57DZI.js";
31
32
  import {
32
33
  CollectibleStatus,
33
34
  CollectionStatus,
@@ -45,7 +46,6 @@ import {
45
46
  TransactionCrypto,
46
47
  WalletKind
47
48
  } from "./chunk-WSCUPAGR.js";
48
- import "./chunk-FCF57DZI.js";
49
49
  import "./chunk-WM4RGBFQ.js";
50
50
  export {
51
51
  CollectibleStatus,
@@ -8,6 +8,12 @@ import {
8
8
  TransactionType,
9
9
  getProviderEl
10
10
  } from "../../chunk-YOKGP2EQ.js";
11
+ import {
12
+ DEFAULT_NETWORK,
13
+ createWagmiConfig,
14
+ getUniversalConnectors,
15
+ getWaasConnectors
16
+ } from "../../chunk-FCF57DZI.js";
11
17
  import {
12
18
  ActivityAction,
13
19
  Admin,
@@ -79,12 +85,6 @@ import {
79
85
  imageProxy,
80
86
  webrpcErrorByCode
81
87
  } from "../../chunk-WSCUPAGR.js";
82
- import {
83
- DEFAULT_NETWORK,
84
- createWagmiConfig,
85
- getUniversalConnectors,
86
- getWaasConnectors
87
- } from "../../chunk-FCF57DZI.js";
88
88
  import "../../chunk-WM4RGBFQ.js";
89
89
  export {
90
90
  ActivityAction,
@@ -26,7 +26,12 @@ type FeeOption = {
26
26
  value: string;
27
27
  };
28
28
 
29
- type Error$1 = 'User not connected' | 'No options provided' | 'Insufficient balance for any fee option' | 'Failed to check balances';
29
+ declare enum AutoSelectFeeOptionError {
30
+ UserNotConnected = "User not connected",
31
+ NoOptionsProvided = "No options provided",
32
+ FailedToCheckBalances = "Failed to check balances",
33
+ InsufficientBalanceForAnyFeeOption = "Insufficient balance for any fee option"
34
+ }
30
35
  type UseAutoSelectFeeOptionArgs = {
31
36
  pendingFeeOptionConfirmation: {
32
37
  id: string;
@@ -34,17 +39,83 @@ type UseAutoSelectFeeOptionArgs = {
34
39
  chainId: number;
35
40
  };
36
41
  };
37
- type AutoSelectFeeOptionResult = Promise<{
38
- selectedOption: FeeOption | null;
39
- error: Error$1 | null;
40
- isLoading: boolean;
41
- }>;
42
42
  /**
43
- * Automatically selects the first fee option that user has enough balance for
44
- * @param pendingFeeOptionConfirmation
45
- * @returns The selected fee option, an error message if any, and a loading flag
43
+ * A React hook that automatically selects the first fee option for which the user has sufficient balance.
44
+ *
45
+ * @param {Object} params.pendingFeeOptionConfirmation - Configuration for fee option selection
46
+ *
47
+ * @returns {Promise<{
48
+ * selectedOption: FeeOption | null,
49
+ * error: AutoSelectFeeOptionError | null,
50
+ * isLoading?: boolean
51
+ * }>} A promise that resolves to an object containing:
52
+ * - selectedOption: The first fee option with sufficient balance, or null if none found
53
+ * - error: Error message if selection fails, null otherwise
54
+ * - isLoading: True while checking balances
55
+ *
56
+ * @throws {AutoSelectFeeOptionError} Possible errors:
57
+ * - UserNotConnected: When no wallet is connected
58
+ * - NoOptionsProvided: When fee options array is undefined
59
+ * - FailedToCheckBalances: When balance checking fails
60
+ * - InsufficientBalanceForAnyFeeOption: When user has insufficient balance for all options
61
+ *
62
+ * @example
63
+ * ```tsx
64
+ * function MyComponent() {
65
+ * const [pendingFeeOptionConfirmation, confirmPendingFeeOption] = useWaasFeeOptions();
66
+ *
67
+ * const autoSelectOptionPromise = useAutoSelectFeeOption({
68
+ * pendingFeeOptionConfirmation: pendingFeeOptionConfirmation
69
+ * ? {
70
+ * id: pendingFeeOptionConfirmation.id,
71
+ * options: pendingFeeOptionConfirmation.options,
72
+ * chainId: 1
73
+ * }
74
+ * : {
75
+ * id: '',
76
+ * options: undefined,
77
+ * chainId: 1
78
+ * }
79
+ * });
80
+ *
81
+ * useEffect(() => {
82
+ * autoSelectOptionPromise.then((result) => {
83
+ * if (result.isLoading) {
84
+ * console.log('Checking balances...');
85
+ * return;
86
+ * }
87
+ *
88
+ * if (result.error) {
89
+ * console.error('Failed to select fee option:', result.error);
90
+ * return;
91
+ * }
92
+ *
93
+ * if (pendingFeeOptionConfirmation?.id && result.selectedOption) {
94
+ * confirmPendingFeeOption(
95
+ * pendingFeeOptionConfirmation.id,
96
+ * result.selectedOption.token.contractAddress
97
+ * );
98
+ * }
99
+ * });
100
+ * }, [autoSelectOptionPromise, confirmPendingFeeOption, pendingFeeOptionConfirmation]);
101
+ *
102
+ * return <div>...</div>;
103
+ * }
104
+ * ```
46
105
  */
47
- declare function useAutoSelectFeeOption({ pendingFeeOptionConfirmation, }: UseAutoSelectFeeOptionArgs): AutoSelectFeeOptionResult;
106
+ declare function useAutoSelectFeeOption({ pendingFeeOptionConfirmation, }: UseAutoSelectFeeOptionArgs): Promise<{
107
+ selectedOption: null;
108
+ error: AutoSelectFeeOptionError;
109
+ isLoading?: undefined;
110
+ } | {
111
+ selectedOption: null;
112
+ error: null;
113
+ isLoading: boolean;
114
+ } | {
115
+ selectedOption: FeeOption;
116
+ error: null;
117
+ isLoading?: undefined;
118
+ }>;
48
119
 
49
120
  declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
50
121
  collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -980,10 +1051,10 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
980
1051
  before?: any;
981
1052
  } | undefined;
982
1053
  contractAddress?: `0x${string}` | undefined;
983
- tokenId?: string | undefined;
984
1054
  query?: {
985
1055
  enabled?: boolean | undefined;
986
1056
  } | undefined;
1057
+ tokenId?: string | undefined;
987
1058
  accountAddress?: `0x${string}` | undefined;
988
1059
  includeMetadata?: boolean | undefined;
989
1060
  metadataOptions?: {
@@ -1007,10 +1078,10 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
1007
1078
  before?: any;
1008
1079
  } | undefined;
1009
1080
  contractAddress?: string | undefined;
1010
- tokenId?: string | undefined;
1011
1081
  query?: {
1012
1082
  enabled?: boolean | undefined;
1013
1083
  } | undefined;
1084
+ tokenId?: string | undefined;
1014
1085
  accountAddress?: string | undefined;
1015
1086
  includeMetadata?: boolean | undefined;
1016
1087
  metadataOptions?: {
@@ -1038,10 +1109,10 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
1038
1109
  before?: any;
1039
1110
  } | undefined;
1040
1111
  contractAddress?: string | undefined;
1041
- tokenId?: string | undefined;
1042
1112
  query?: {
1043
1113
  enabled?: boolean | undefined;
1044
1114
  } | undefined;
1115
+ tokenId?: string | undefined;
1045
1116
  accountAddress?: string | undefined;
1046
1117
  includeMetadata?: boolean | undefined;
1047
1118
  metadataOptions?: {
@@ -1066,10 +1137,10 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
1066
1137
  before?: any;
1067
1138
  } | undefined;
1068
1139
  contractAddress?: string | undefined;
1069
- tokenId?: string | undefined;
1070
1140
  query?: {
1071
1141
  enabled?: boolean | undefined;
1072
1142
  } | undefined;
1143
+ tokenId?: string | undefined;
1073
1144
  accountAddress?: string | undefined;
1074
1145
  includeMetadata?: boolean | undefined;
1075
1146
  metadataOptions?: {
@@ -1095,10 +1166,10 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
1095
1166
  before?: any;
1096
1167
  } | undefined;
1097
1168
  contractAddress?: string | undefined;
1098
- tokenId?: string | undefined;
1099
1169
  query?: {
1100
1170
  enabled?: boolean | undefined;
1101
1171
  } | undefined;
1172
+ tokenId?: string | undefined;
1102
1173
  accountAddress?: string | undefined;
1103
1174
  includeMetadata?: boolean | undefined;
1104
1175
  metadataOptions?: {
@@ -2601,26 +2672,26 @@ declare const UseLowestListingSchema: z.ZodObject<z.objectUtil.extendShape<Omit<
2601
2672
  chainId: string;
2602
2673
  collectionAddress: `0x${string}`;
2603
2674
  tokenId: string;
2675
+ query?: {
2676
+ enabled?: boolean | undefined;
2677
+ } | undefined;
2604
2678
  filters?: {
2605
2679
  currencies?: string[] | undefined;
2606
2680
  marketplace?: MarketplaceKind[] | undefined;
2607
2681
  createdBy?: string[] | undefined;
2608
2682
  } | undefined;
2609
- query?: {
2610
- enabled?: boolean | undefined;
2611
- } | undefined;
2612
2683
  }, {
2613
2684
  chainId: string | number;
2614
2685
  collectionAddress: string;
2615
2686
  tokenId: string;
2687
+ query?: {
2688
+ enabled?: boolean | undefined;
2689
+ } | undefined;
2616
2690
  filters?: {
2617
2691
  currencies?: string[] | undefined;
2618
2692
  marketplace?: MarketplaceKind[] | undefined;
2619
2693
  createdBy?: string[] | undefined;
2620
2694
  } | undefined;
2621
- query?: {
2622
- enabled?: boolean | undefined;
2623
- } | undefined;
2624
2695
  }>;
2625
2696
  type UseLowestListingArgs = z.infer<typeof UseLowestListingSchema>;
2626
2697
  type UseLowestListingReturn = Awaited<ReturnType<typeof fetchLowestListing>>;
@@ -2629,41 +2700,41 @@ declare const lowestListingOptions: (args: UseLowestListingArgs, config: SdkConf
2629
2700
  chainId: string;
2630
2701
  collectionAddress: `0x${string}`;
2631
2702
  tokenId: string;
2703
+ query?: {
2704
+ enabled?: boolean | undefined;
2705
+ } | undefined;
2632
2706
  filters?: {
2633
2707
  currencies?: string[] | undefined;
2634
2708
  marketplace?: MarketplaceKind[] | undefined;
2635
2709
  createdBy?: string[] | undefined;
2636
2710
  } | undefined;
2637
- query?: {
2638
- enabled?: boolean | undefined;
2639
- } | undefined;
2640
2711
  })[]>, "queryFn"> & {
2641
2712
  queryFn?: _tanstack_react_query.QueryFunction<GetCollectibleLowestListingReturn, ("collectable" | "details" | "lowestListings" | SdkConfig | {
2642
2713
  chainId: string;
2643
2714
  collectionAddress: `0x${string}`;
2644
2715
  tokenId: string;
2716
+ query?: {
2717
+ enabled?: boolean | undefined;
2718
+ } | undefined;
2645
2719
  filters?: {
2646
2720
  currencies?: string[] | undefined;
2647
2721
  marketplace?: MarketplaceKind[] | undefined;
2648
2722
  createdBy?: string[] | undefined;
2649
2723
  } | undefined;
2650
- query?: {
2651
- enabled?: boolean | undefined;
2652
- } | undefined;
2653
2724
  })[], never> | undefined;
2654
2725
  } & {
2655
2726
  queryKey: ("collectable" | "details" | "lowestListings" | SdkConfig | {
2656
2727
  chainId: string;
2657
2728
  collectionAddress: `0x${string}`;
2658
2729
  tokenId: string;
2730
+ query?: {
2731
+ enabled?: boolean | undefined;
2732
+ } | undefined;
2659
2733
  filters?: {
2660
2734
  currencies?: string[] | undefined;
2661
2735
  marketplace?: MarketplaceKind[] | undefined;
2662
2736
  createdBy?: string[] | undefined;
2663
2737
  } | undefined;
2664
- query?: {
2665
- enabled?: boolean | undefined;
2666
- } | undefined;
2667
2738
  })[] & {
2668
2739
  [dataTagSymbol]: GetCollectibleLowestListingReturn;
2669
2740
  [dataTagErrorSymbol]: Error;
@@ -3549,10 +3620,10 @@ declare const UseGenerateBuyTransactionArgsSchema: z.ZodObject<{
3549
3620
  marketplace: string;
3550
3621
  quantity: string;
3551
3622
  }[];
3552
- walletType?: WalletKind | undefined;
3553
3623
  query?: {
3554
3624
  enabled?: boolean | undefined;
3555
3625
  } | undefined;
3626
+ walletType?: WalletKind | undefined;
3556
3627
  }, {
3557
3628
  marketplace: MarketplaceKind;
3558
3629
  chainId: string | number;
@@ -3562,10 +3633,10 @@ declare const UseGenerateBuyTransactionArgsSchema: z.ZodObject<{
3562
3633
  marketplace: string;
3563
3634
  quantity: string;
3564
3635
  }[];
3565
- walletType?: WalletKind | undefined;
3566
3636
  query?: {
3567
3637
  enabled?: boolean | undefined;
3568
3638
  } | undefined;
3639
+ walletType?: WalletKind | undefined;
3569
3640
  }>;
3570
3641
  type UseGenerateBuyTransactionArgs = z.infer<typeof UseGenerateBuyTransactionArgsSchema>;
3571
3642
  declare const fetchGenerateBuyTransaction: (args: UseGenerateBuyTransactionArgs & {
@@ -3582,10 +3653,10 @@ declare const generateBuyTransactionOptions: (args: UseGenerateBuyTransactionArg
3582
3653
  marketplace: string;
3583
3654
  quantity: string;
3584
3655
  }[];
3585
- walletType?: WalletKind | undefined;
3586
3656
  query?: {
3587
3657
  enabled?: boolean | undefined;
3588
3658
  } | undefined;
3659
+ walletType?: WalletKind | undefined;
3589
3660
  } & {
3590
3661
  buyer: Hex;
3591
3662
  }))[]>, "queryFn"> & {
@@ -3598,10 +3669,10 @@ declare const generateBuyTransactionOptions: (args: UseGenerateBuyTransactionArg
3598
3669
  marketplace: string;
3599
3670
  quantity: string;
3600
3671
  }[];
3601
- walletType?: WalletKind | undefined;
3602
3672
  query?: {
3603
3673
  enabled?: boolean | undefined;
3604
3674
  } | undefined;
3675
+ walletType?: WalletKind | undefined;
3605
3676
  } & {
3606
3677
  buyer: Hex;
3607
3678
  }))[], never> | undefined;
@@ -3615,10 +3686,10 @@ declare const generateBuyTransactionOptions: (args: UseGenerateBuyTransactionArg
3615
3686
  marketplace: string;
3616
3687
  quantity: string;
3617
3688
  }[];
3618
- walletType?: WalletKind | undefined;
3619
3689
  query?: {
3620
3690
  enabled?: boolean | undefined;
3621
3691
  } | undefined;
3692
+ walletType?: WalletKind | undefined;
3622
3693
  } & {
3623
3694
  buyer: Hex;
3624
3695
  }))[] & {
@@ -69,21 +69,21 @@ import {
69
69
  useMarketplaceConfig,
70
70
  useRoyaltyPercentage,
71
71
  useTransferTokens
72
- } from "../../chunk-HV2X2VZN.js";
72
+ } from "../../chunk-I37CRQ4S.js";
73
73
  import "../../chunk-QTJF5GDQ.js";
74
74
  import "../../chunk-Y75XGZOB.js";
75
75
  import "../../chunk-FI723DGL.js";
76
76
  import "../../chunk-TQWM4ER6.js";
77
77
  import "../../chunk-NJ2GXOPW.js";
78
78
  import "../../chunk-XP3WY5AX.js";
79
- import "../../chunk-MWDG7UTB.js";
80
79
  import "../../chunk-MCI3KOSQ.js";
81
80
  import "../../chunk-3OHM45R3.js";
82
81
  import "../../chunk-WFE6OCYF.js";
82
+ import "../../chunk-MWDG7UTB.js";
83
83
  import "../../chunk-RK6KYMZM.js";
84
84
  import "../../chunk-YOKGP2EQ.js";
85
- import "../../chunk-WSCUPAGR.js";
86
85
  import "../../chunk-FCF57DZI.js";
86
+ import "../../chunk-WSCUPAGR.js";
87
87
  import "../../chunk-WM4RGBFQ.js";
88
88
  export {
89
89
  UseGenerateBuyTransactionArgsSchema,
@@ -8,8 +8,8 @@ import {
8
8
  useSellModal,
9
9
  useSuccessfulPurchaseModal,
10
10
  useTransferModal
11
- } from "../chunk-OUVFTA63.js";
12
- import "../chunk-J2XJZ6SJ.js";
11
+ } from "../chunk-MSTTVFVQ.js";
12
+ import "../chunk-MKGSGTQC.js";
13
13
  import "../chunk-6YHHCGGY.js";
14
14
  import "../chunk-5NORRVPM.js";
15
15
  import "../chunk-TDTORZHC.js";
@@ -86,25 +86,25 @@ import {
86
86
  useMarketplaceConfig,
87
87
  useRoyaltyPercentage,
88
88
  useTransferTokens
89
- } from "../chunk-HV2X2VZN.js";
89
+ } from "../chunk-I37CRQ4S.js";
90
90
  import "../chunk-QTJF5GDQ.js";
91
91
  import "../chunk-Y75XGZOB.js";
92
92
  import "../chunk-FI723DGL.js";
93
93
  import "../chunk-TQWM4ER6.js";
94
94
  import "../chunk-NJ2GXOPW.js";
95
95
  import "../chunk-XP3WY5AX.js";
96
- import "../chunk-MWDG7UTB.js";
97
96
  import "../chunk-MCI3KOSQ.js";
98
97
  import "../chunk-3OHM45R3.js";
99
98
  import "../chunk-WFE6OCYF.js";
99
+ import "../chunk-MWDG7UTB.js";
100
100
  import "../chunk-RK6KYMZM.js";
101
101
  import "../chunk-YOKGP2EQ.js";
102
- import {
103
- getQueryClient
104
- } from "../chunk-WSCUPAGR.js";
105
102
  import {
106
103
  createWagmiConfig
107
104
  } from "../chunk-FCF57DZI.js";
105
+ import {
106
+ getQueryClient
107
+ } from "../chunk-WSCUPAGR.js";
108
108
  import "../chunk-WM4RGBFQ.js";
109
109
  export {
110
110
  CollectibleCard,
@@ -1,26 +1,26 @@
1
1
  "use client"
2
2
  import {
3
3
  CollectibleCard
4
- } from "../../../../chunk-OUVFTA63.js";
5
- import "../../../../chunk-J2XJZ6SJ.js";
4
+ } from "../../../../chunk-MSTTVFVQ.js";
5
+ import "../../../../chunk-MKGSGTQC.js";
6
6
  import "../../../../chunk-6YHHCGGY.js";
7
7
  import "../../../../chunk-5NORRVPM.js";
8
8
  import "../../../../chunk-TDTORZHC.js";
9
- import "../../../../chunk-HV2X2VZN.js";
9
+ import "../../../../chunk-I37CRQ4S.js";
10
10
  import "../../../../chunk-QTJF5GDQ.js";
11
11
  import "../../../../chunk-Y75XGZOB.js";
12
12
  import "../../../../chunk-FI723DGL.js";
13
13
  import "../../../../chunk-TQWM4ER6.js";
14
14
  import "../../../../chunk-NJ2GXOPW.js";
15
15
  import "../../../../chunk-XP3WY5AX.js";
16
- import "../../../../chunk-MWDG7UTB.js";
17
16
  import "../../../../chunk-MCI3KOSQ.js";
18
17
  import "../../../../chunk-3OHM45R3.js";
19
18
  import "../../../../chunk-WFE6OCYF.js";
19
+ import "../../../../chunk-MWDG7UTB.js";
20
20
  import "../../../../chunk-RK6KYMZM.js";
21
21
  import "../../../../chunk-YOKGP2EQ.js";
22
- import "../../../../chunk-WSCUPAGR.js";
23
22
  import "../../../../chunk-FCF57DZI.js";
23
+ import "../../../../chunk-WSCUPAGR.js";
24
24
  import "../../../../chunk-WM4RGBFQ.js";
25
25
  export {
26
26
  CollectibleCard
@@ -8,26 +8,26 @@ import {
8
8
  useSellModal,
9
9
  useSuccessfulPurchaseModal,
10
10
  useTransferModal
11
- } from "../../chunk-OUVFTA63.js";
12
- import "../../chunk-J2XJZ6SJ.js";
11
+ } from "../../chunk-MSTTVFVQ.js";
12
+ import "../../chunk-MKGSGTQC.js";
13
13
  import "../../chunk-6YHHCGGY.js";
14
14
  import "../../chunk-5NORRVPM.js";
15
15
  import "../../chunk-TDTORZHC.js";
16
- import "../../chunk-HV2X2VZN.js";
16
+ import "../../chunk-I37CRQ4S.js";
17
17
  import "../../chunk-QTJF5GDQ.js";
18
18
  import "../../chunk-Y75XGZOB.js";
19
19
  import "../../chunk-FI723DGL.js";
20
20
  import "../../chunk-TQWM4ER6.js";
21
21
  import "../../chunk-NJ2GXOPW.js";
22
22
  import "../../chunk-XP3WY5AX.js";
23
- import "../../chunk-MWDG7UTB.js";
24
23
  import "../../chunk-MCI3KOSQ.js";
25
24
  import "../../chunk-3OHM45R3.js";
26
25
  import "../../chunk-WFE6OCYF.js";
26
+ import "../../chunk-MWDG7UTB.js";
27
27
  import "../../chunk-RK6KYMZM.js";
28
28
  import "../../chunk-YOKGP2EQ.js";
29
- import "../../chunk-WSCUPAGR.js";
30
29
  import "../../chunk-FCF57DZI.js";
30
+ import "../../chunk-WSCUPAGR.js";
31
31
  import "../../chunk-WM4RGBFQ.js";
32
32
  export {
33
33
  CollectibleCard,
@@ -4,28 +4,28 @@ import {
4
4
  closeModal,
5
5
  createActionModalStore,
6
6
  openModal
7
- } from "../../../../../../chunk-J2XJZ6SJ.js";
7
+ } from "../../../../../../chunk-MKGSGTQC.js";
8
8
  import {
9
9
  closeButton,
10
10
  cta,
11
11
  dialogContent,
12
12
  dialogOverlay
13
13
  } from "../../../../../../chunk-TDTORZHC.js";
14
- import "../../../../../../chunk-HV2X2VZN.js";
14
+ import "../../../../../../chunk-I37CRQ4S.js";
15
15
  import "../../../../../../chunk-QTJF5GDQ.js";
16
16
  import "../../../../../../chunk-Y75XGZOB.js";
17
17
  import "../../../../../../chunk-FI723DGL.js";
18
18
  import "../../../../../../chunk-TQWM4ER6.js";
19
19
  import "../../../../../../chunk-NJ2GXOPW.js";
20
20
  import "../../../../../../chunk-XP3WY5AX.js";
21
- import "../../../../../../chunk-MWDG7UTB.js";
22
21
  import "../../../../../../chunk-MCI3KOSQ.js";
23
22
  import "../../../../../../chunk-3OHM45R3.js";
24
23
  import "../../../../../../chunk-WFE6OCYF.js";
24
+ import "../../../../../../chunk-MWDG7UTB.js";
25
25
  import "../../../../../../chunk-RK6KYMZM.js";
26
26
  import "../../../../../../chunk-YOKGP2EQ.js";
27
- import "../../../../../../chunk-WSCUPAGR.js";
28
27
  import "../../../../../../chunk-FCF57DZI.js";
28
+ import "../../../../../../chunk-WSCUPAGR.js";
29
29
  import "../../../../../../chunk-WM4RGBFQ.js";
30
30
  export {
31
31
  ActionModal,
@@ -1,5 +1,5 @@
1
1
  declare const dialogOverlay: string;
2
- declare const dialogContent: Record<"wide" | "narrow", string>;
2
+ declare const dialogContent: Record<"narrow" | "wide", string>;
3
3
  declare const closeButton: string;
4
4
 
5
5
  export { closeButton, dialogContent, dialogOverlay };
@@ -43,7 +43,7 @@ declare const alertMessageBox: string;
43
43
  declare const alertMessageBoxVariants: Record<"info" | "warning", string>;
44
44
 
45
45
  declare const switchChainModalContent: string;
46
- declare const switchChainCta: Record<"pending" | "default", string>;
46
+ declare const switchChainCta: Record<"default" | "pending", string>;
47
47
 
48
48
  declare const collectiblesGrid: string;
49
49
  declare const collectiblesGridItem: string;
@@ -3,6 +3,7 @@ import {
3
3
  WalletOptions
4
4
  } from "../chunk-RK6KYMZM.js";
5
5
  import "../chunk-YOKGP2EQ.js";
6
+ import "../chunk-FCF57DZI.js";
6
7
  import {
7
8
  CollectibleStatus,
8
9
  CollectionStatus,
@@ -20,7 +21,6 @@ import {
20
21
  TransactionCrypto,
21
22
  WalletKind
22
23
  } from "../chunk-WSCUPAGR.js";
23
- import "../chunk-FCF57DZI.js";
24
24
  import "../chunk-WM4RGBFQ.js";
25
25
  export {
26
26
  CollectibleStatus,
@@ -8,7 +8,6 @@ import {
8
8
  truncateEnd,
9
9
  truncateMiddle
10
10
  } from "../chunk-XP3WY5AX.js";
11
- import "../chunk-MWDG7UTB.js";
12
11
  import "../chunk-MCI3KOSQ.js";
13
12
  import {
14
13
  EIP2981_ABI,
@@ -20,10 +19,11 @@ import {
20
19
  ERC20_ABI,
21
20
  ERC721_ABI
22
21
  } from "../chunk-WFE6OCYF.js";
22
+ import "../chunk-MWDG7UTB.js";
23
23
  import "../chunk-RK6KYMZM.js";
24
24
  import "../chunk-YOKGP2EQ.js";
25
- import "../chunk-WSCUPAGR.js";
26
25
  import "../chunk-FCF57DZI.js";
26
+ import "../chunk-WSCUPAGR.js";
27
27
  import "../chunk-WM4RGBFQ.js";
28
28
  export {
29
29
  EIP2981_ABI,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@0xsequence/marketplace-sdk",
3
3
  "private": false,
4
- "version": "0.5.0",
4
+ "version": "0.5.2",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css"