@0xsequence/marketplace-sdk 0.8.5 → 0.8.6
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 +8 -0
- package/dist/{chunk-KCLMSSPS.js → chunk-6SEJI7YS.js} +165 -4
- package/dist/chunk-6SEJI7YS.js.map +1 -0
- package/dist/{chunk-ZVTG6US2.js → chunk-QMWMJVTX.js} +2 -2
- package/dist/{chunk-SFSFIGHM.js → chunk-TGFX3TMV.js} +4 -4
- package/dist/{chunk-EZFCQZHU.js → chunk-V3NVAVHV.js} +2 -2
- package/dist/index.css +168 -33
- package/dist/index.css.map +1 -1
- package/dist/react/_internal/databeat/index.js +2 -2
- package/dist/react/hooks/index.d.ts +246 -29
- package/dist/react/hooks/index.js +5 -1
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +8 -4
- package/dist/react/ui/components/collectible-card/index.js +4 -4
- package/dist/react/ui/index.js +4 -4
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +2 -2
- package/package.json +2 -1
- package/src/react/hooks/__tests__/useAutoSelectFeeOption.test.tsx +21 -75
- package/src/react/hooks/__tests__/useCurrencyBalance.test.tsx +4 -25
- package/src/react/hooks/index.ts +1 -0
- package/src/react/hooks/useFilterState.tsx +181 -0
- package/src/react/hooks/useFilters.tsx +24 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/__tests__/SwitchChainModal.test.tsx +38 -58
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +3 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-KCLMSSPS.js.map +0 -1
- /package/dist/{chunk-ZVTG6US2.js.map → chunk-QMWMJVTX.js.map} +0 -0
- /package/dist/{chunk-SFSFIGHM.js.map → chunk-TGFX3TMV.js.map} +0 -0
- /package/dist/{chunk-EZFCQZHU.js.map → chunk-V3NVAVHV.js.map} +0 -0
|
@@ -4,10 +4,11 @@ import { GetTokenBalancesDetailsReturn } from '@0xsequence/indexer';
|
|
|
4
4
|
import { U as UseBalanceOfCollectibleArgs, g as UseHighestOfferArgs, a as UseInventoryArgs, C as CollectiblesResponse, k as UseListBalancesArgs, d as UseListCollectiblesArgs, o as UseLowestListingArgs } from '../../lowestListing-W7P4EkC3.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { S as SdkConfig } from '../../sdk-config-DIzJk_tI.js';
|
|
7
|
-
import { P as PropertyType, M as MarketplaceKind, b as OrderSide, Y as CurrencyStatus, w as Currency, o as CollectibleOrder, k as Order, S as SortOrder, q as Activity, i as Page, b7 as ListCollectiblesReturn, aV as ListCollectibleOffersReturn, aJ as GetCountOfOffersForCollectibleReturn, aT as ListCollectibleListingsReturn, aH as GetCountOfListingsForCollectibleReturn, z as Step, D as CreateReq, a_ as GenerateListingTransactionArgs, b0 as GenerateOfferTransactionArgs, W as WalletKind, aY as GenerateSellTransactionArgs, g as StepType, b2 as GenerateCancelTransactionArgs, C as ContractType, bt as CheckoutOptionsMarketplaceReturn, r as Collection } from '../../marketplace.gen-DS-MmGEB.js';
|
|
7
|
+
import { P as PropertyType, M as MarketplaceKind, b as OrderSide, Y as CurrencyStatus, w as Currency, l as PropertyFilter$1, o as CollectibleOrder, k as Order, S as SortOrder, q as Activity, i as Page, b7 as ListCollectiblesReturn, aV as ListCollectibleOffersReturn, aJ as GetCountOfOffersForCollectibleReturn, aT as ListCollectibleListingsReturn, aH as GetCountOfListingsForCollectibleReturn, z as Step, D as CreateReq, a_ as GenerateListingTransactionArgs, b0 as GenerateOfferTransactionArgs, W as WalletKind, aY as GenerateSellTransactionArgs, g as StepType, b2 as GenerateCancelTransactionArgs, C as ContractType, bt as CheckoutOptionsMarketplaceReturn, r as Collection } from '../../marketplace.gen-DS-MmGEB.js';
|
|
8
8
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
9
9
|
import { PropertyFilter } from '@0xsequence/metadata';
|
|
10
10
|
export { U as UseCollectionArgs, a as UseCollectionReturn, m as marketplaceConfigOptions, u as useCollection } from '../../index-DtWR0b_l.js';
|
|
11
|
+
import * as nuqs from 'nuqs';
|
|
11
12
|
import { c as getMarketplaceClient } from '../../services-BOX67E7W.js';
|
|
12
13
|
import { g as MarketplaceConfig } from '../../builder-types-BY6eD6vD.js';
|
|
13
14
|
import * as viem from 'viem';
|
|
@@ -145,7 +146,7 @@ declare function useAutoSelectFeeOption({ pendingFeeOptionConfirmation, enabled,
|
|
|
145
146
|
*/
|
|
146
147
|
declare function useBalanceOfCollectible(args: UseBalanceOfCollectibleArgs): _tanstack_react_query.UseQueryResult<_0xsequence_indexer.TokenBalance, Error>;
|
|
147
148
|
|
|
148
|
-
declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<
|
|
149
|
+
declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<{
|
|
149
150
|
chainId: z.ZodNumber;
|
|
150
151
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
151
152
|
query: z.ZodOptional<z.ZodObject<{
|
|
@@ -155,7 +156,7 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
155
156
|
}, {
|
|
156
157
|
enabled?: boolean | undefined;
|
|
157
158
|
}>>;
|
|
158
|
-
}
|
|
159
|
+
} & {
|
|
159
160
|
filter: z.ZodObject<{
|
|
160
161
|
includeEmpty: z.ZodBoolean;
|
|
161
162
|
searchText: z.ZodOptional<z.ZodString>;
|
|
@@ -215,7 +216,7 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
215
216
|
ordersNotCreatedBy?: string[] | undefined;
|
|
216
217
|
}>;
|
|
217
218
|
side: z.ZodNativeEnum<typeof OrderSide>;
|
|
218
|
-
}
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
220
|
filter: {
|
|
220
221
|
includeEmpty: boolean;
|
|
221
222
|
searchText?: string | undefined;
|
|
@@ -261,7 +262,7 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
261
262
|
query?: {
|
|
262
263
|
enabled?: boolean | undefined;
|
|
263
264
|
} | undefined;
|
|
264
|
-
}>, z.ZodObject<
|
|
265
|
+
}>, z.ZodObject<{
|
|
265
266
|
chainId: z.ZodNumber;
|
|
266
267
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
267
268
|
query: z.ZodOptional<z.ZodObject<{
|
|
@@ -271,10 +272,10 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
271
272
|
}, {
|
|
272
273
|
enabled?: boolean | undefined;
|
|
273
274
|
}>>;
|
|
274
|
-
}
|
|
275
|
+
} & {
|
|
275
276
|
filter: z.ZodUndefined;
|
|
276
277
|
side: z.ZodUndefined;
|
|
277
|
-
}
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
279
|
chainId: number;
|
|
279
280
|
collectionAddress: `0x${string}`;
|
|
280
281
|
filter?: undefined;
|
|
@@ -895,6 +896,7 @@ declare const UseFiltersSchema: z.ZodObject<{
|
|
|
895
896
|
}, {
|
|
896
897
|
enabled?: boolean | undefined;
|
|
897
898
|
}>>;
|
|
899
|
+
excludePropertyValues: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
898
900
|
}, "strip", z.ZodTypeAny, {
|
|
899
901
|
chainId: number;
|
|
900
902
|
collectionAddress: `0x${string}`;
|
|
@@ -902,6 +904,7 @@ declare const UseFiltersSchema: z.ZodObject<{
|
|
|
902
904
|
enabled?: boolean | undefined;
|
|
903
905
|
} | undefined;
|
|
904
906
|
showAllFilters?: boolean | undefined;
|
|
907
|
+
excludePropertyValues?: boolean | undefined;
|
|
905
908
|
}, {
|
|
906
909
|
chainId: number;
|
|
907
910
|
collectionAddress: string;
|
|
@@ -909,6 +912,7 @@ declare const UseFiltersSchema: z.ZodObject<{
|
|
|
909
912
|
enabled?: boolean | undefined;
|
|
910
913
|
} | undefined;
|
|
911
914
|
showAllFilters?: boolean | undefined;
|
|
915
|
+
excludePropertyValues?: boolean | undefined;
|
|
912
916
|
}>;
|
|
913
917
|
type UseFiltersArgs = z.infer<typeof UseFiltersSchema>;
|
|
914
918
|
type UseFilterReturn = Awaited<ReturnType<typeof fetchFilters>>;
|
|
@@ -920,6 +924,7 @@ declare const filtersOptions: (args: UseFiltersArgs, config: SdkConfig) => _tans
|
|
|
920
924
|
enabled?: boolean | undefined;
|
|
921
925
|
} | undefined;
|
|
922
926
|
showAllFilters?: boolean | undefined;
|
|
927
|
+
excludePropertyValues?: boolean | undefined;
|
|
923
928
|
})[]>, "queryFn"> & {
|
|
924
929
|
queryFn?: _tanstack_react_query.QueryFunction<PropertyFilter[], ("filter" | "collectable" | SdkConfig | {
|
|
925
930
|
chainId: number;
|
|
@@ -928,6 +933,7 @@ declare const filtersOptions: (args: UseFiltersArgs, config: SdkConfig) => _tans
|
|
|
928
933
|
enabled?: boolean | undefined;
|
|
929
934
|
} | undefined;
|
|
930
935
|
showAllFilters?: boolean | undefined;
|
|
936
|
+
excludePropertyValues?: boolean | undefined;
|
|
931
937
|
})[], never> | undefined;
|
|
932
938
|
} & {
|
|
933
939
|
queryKey: ("filter" | "collectable" | SdkConfig | {
|
|
@@ -937,12 +943,223 @@ declare const filtersOptions: (args: UseFiltersArgs, config: SdkConfig) => _tans
|
|
|
937
943
|
enabled?: boolean | undefined;
|
|
938
944
|
} | undefined;
|
|
939
945
|
showAllFilters?: boolean | undefined;
|
|
946
|
+
excludePropertyValues?: boolean | undefined;
|
|
940
947
|
})[] & {
|
|
941
948
|
[dataTagSymbol]: PropertyFilter[];
|
|
942
949
|
[dataTagErrorSymbol]: Error;
|
|
943
950
|
};
|
|
944
951
|
};
|
|
945
952
|
declare const useFilters: (args: UseFiltersArgs) => _tanstack_react_query.UseQueryResult<PropertyFilter[], Error>;
|
|
953
|
+
declare const useFiltersProgressive: (args: UseFiltersArgs) => {
|
|
954
|
+
isFetchingValues: boolean;
|
|
955
|
+
isLoadingNames: boolean;
|
|
956
|
+
data: PropertyFilter[];
|
|
957
|
+
error: Error;
|
|
958
|
+
isError: true;
|
|
959
|
+
isPending: false;
|
|
960
|
+
isLoading: false;
|
|
961
|
+
isLoadingError: false;
|
|
962
|
+
isRefetchError: true;
|
|
963
|
+
isSuccess: false;
|
|
964
|
+
isPlaceholderData: false;
|
|
965
|
+
status: "error";
|
|
966
|
+
dataUpdatedAt: number;
|
|
967
|
+
errorUpdatedAt: number;
|
|
968
|
+
failureCount: number;
|
|
969
|
+
failureReason: Error | null;
|
|
970
|
+
errorUpdateCount: number;
|
|
971
|
+
isFetched: boolean;
|
|
972
|
+
isFetchedAfterMount: boolean;
|
|
973
|
+
isFetching: boolean;
|
|
974
|
+
isInitialLoading: boolean;
|
|
975
|
+
isPaused: boolean;
|
|
976
|
+
isRefetching: boolean;
|
|
977
|
+
isStale: boolean;
|
|
978
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
979
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
980
|
+
promise: Promise<PropertyFilter[]>;
|
|
981
|
+
} | {
|
|
982
|
+
isFetchingValues: boolean;
|
|
983
|
+
isLoadingNames: boolean;
|
|
984
|
+
data: PropertyFilter[];
|
|
985
|
+
error: null;
|
|
986
|
+
isError: false;
|
|
987
|
+
isPending: false;
|
|
988
|
+
isLoading: false;
|
|
989
|
+
isLoadingError: false;
|
|
990
|
+
isRefetchError: false;
|
|
991
|
+
isSuccess: true;
|
|
992
|
+
isPlaceholderData: false;
|
|
993
|
+
status: "success";
|
|
994
|
+
dataUpdatedAt: number;
|
|
995
|
+
errorUpdatedAt: number;
|
|
996
|
+
failureCount: number;
|
|
997
|
+
failureReason: Error | null;
|
|
998
|
+
errorUpdateCount: number;
|
|
999
|
+
isFetched: boolean;
|
|
1000
|
+
isFetchedAfterMount: boolean;
|
|
1001
|
+
isFetching: boolean;
|
|
1002
|
+
isInitialLoading: boolean;
|
|
1003
|
+
isPaused: boolean;
|
|
1004
|
+
isRefetching: boolean;
|
|
1005
|
+
isStale: boolean;
|
|
1006
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
1007
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
1008
|
+
promise: Promise<PropertyFilter[]>;
|
|
1009
|
+
} | {
|
|
1010
|
+
isFetchingValues: boolean;
|
|
1011
|
+
isLoadingNames: boolean;
|
|
1012
|
+
data: undefined;
|
|
1013
|
+
error: Error;
|
|
1014
|
+
isError: true;
|
|
1015
|
+
isPending: false;
|
|
1016
|
+
isLoading: false;
|
|
1017
|
+
isLoadingError: true;
|
|
1018
|
+
isRefetchError: false;
|
|
1019
|
+
isSuccess: false;
|
|
1020
|
+
isPlaceholderData: false;
|
|
1021
|
+
status: "error";
|
|
1022
|
+
dataUpdatedAt: number;
|
|
1023
|
+
errorUpdatedAt: number;
|
|
1024
|
+
failureCount: number;
|
|
1025
|
+
failureReason: Error | null;
|
|
1026
|
+
errorUpdateCount: number;
|
|
1027
|
+
isFetched: boolean;
|
|
1028
|
+
isFetchedAfterMount: boolean;
|
|
1029
|
+
isFetching: boolean;
|
|
1030
|
+
isInitialLoading: boolean;
|
|
1031
|
+
isPaused: boolean;
|
|
1032
|
+
isRefetching: boolean;
|
|
1033
|
+
isStale: boolean;
|
|
1034
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
1035
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
1036
|
+
promise: Promise<PropertyFilter[]>;
|
|
1037
|
+
} | {
|
|
1038
|
+
isFetchingValues: boolean;
|
|
1039
|
+
isLoadingNames: boolean;
|
|
1040
|
+
data: undefined;
|
|
1041
|
+
error: null;
|
|
1042
|
+
isError: false;
|
|
1043
|
+
isPending: true;
|
|
1044
|
+
isLoading: true;
|
|
1045
|
+
isLoadingError: false;
|
|
1046
|
+
isRefetchError: false;
|
|
1047
|
+
isSuccess: false;
|
|
1048
|
+
isPlaceholderData: false;
|
|
1049
|
+
status: "pending";
|
|
1050
|
+
dataUpdatedAt: number;
|
|
1051
|
+
errorUpdatedAt: number;
|
|
1052
|
+
failureCount: number;
|
|
1053
|
+
failureReason: Error | null;
|
|
1054
|
+
errorUpdateCount: number;
|
|
1055
|
+
isFetched: boolean;
|
|
1056
|
+
isFetchedAfterMount: boolean;
|
|
1057
|
+
isFetching: boolean;
|
|
1058
|
+
isInitialLoading: boolean;
|
|
1059
|
+
isPaused: boolean;
|
|
1060
|
+
isRefetching: boolean;
|
|
1061
|
+
isStale: boolean;
|
|
1062
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
1063
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
1064
|
+
promise: Promise<PropertyFilter[]>;
|
|
1065
|
+
} | {
|
|
1066
|
+
isFetchingValues: boolean;
|
|
1067
|
+
isLoadingNames: boolean;
|
|
1068
|
+
data: undefined;
|
|
1069
|
+
error: null;
|
|
1070
|
+
isError: false;
|
|
1071
|
+
isPending: true;
|
|
1072
|
+
isLoadingError: false;
|
|
1073
|
+
isRefetchError: false;
|
|
1074
|
+
isSuccess: false;
|
|
1075
|
+
isPlaceholderData: false;
|
|
1076
|
+
status: "pending";
|
|
1077
|
+
dataUpdatedAt: number;
|
|
1078
|
+
errorUpdatedAt: number;
|
|
1079
|
+
failureCount: number;
|
|
1080
|
+
failureReason: Error | null;
|
|
1081
|
+
errorUpdateCount: number;
|
|
1082
|
+
isFetched: boolean;
|
|
1083
|
+
isFetchedAfterMount: boolean;
|
|
1084
|
+
isFetching: boolean;
|
|
1085
|
+
isLoading: boolean;
|
|
1086
|
+
isInitialLoading: boolean;
|
|
1087
|
+
isPaused: boolean;
|
|
1088
|
+
isRefetching: boolean;
|
|
1089
|
+
isStale: boolean;
|
|
1090
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
1091
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
1092
|
+
promise: Promise<PropertyFilter[]>;
|
|
1093
|
+
} | {
|
|
1094
|
+
isFetchingValues: boolean;
|
|
1095
|
+
isLoadingNames: boolean;
|
|
1096
|
+
data: PropertyFilter[];
|
|
1097
|
+
isError: false;
|
|
1098
|
+
error: null;
|
|
1099
|
+
isPending: false;
|
|
1100
|
+
isLoading: false;
|
|
1101
|
+
isLoadingError: false;
|
|
1102
|
+
isRefetchError: false;
|
|
1103
|
+
isSuccess: true;
|
|
1104
|
+
isPlaceholderData: true;
|
|
1105
|
+
status: "success";
|
|
1106
|
+
dataUpdatedAt: number;
|
|
1107
|
+
errorUpdatedAt: number;
|
|
1108
|
+
failureCount: number;
|
|
1109
|
+
failureReason: Error | null;
|
|
1110
|
+
errorUpdateCount: number;
|
|
1111
|
+
isFetched: boolean;
|
|
1112
|
+
isFetchedAfterMount: boolean;
|
|
1113
|
+
isFetching: boolean;
|
|
1114
|
+
isInitialLoading: boolean;
|
|
1115
|
+
isPaused: boolean;
|
|
1116
|
+
isRefetching: boolean;
|
|
1117
|
+
isStale: boolean;
|
|
1118
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<PropertyFilter[], Error>>;
|
|
1119
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
1120
|
+
promise: Promise<PropertyFilter[]>;
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
interface StringFilterValues {
|
|
1124
|
+
type: PropertyType.STRING;
|
|
1125
|
+
values: string[];
|
|
1126
|
+
}
|
|
1127
|
+
interface IntFilterValues {
|
|
1128
|
+
type: PropertyType.INT;
|
|
1129
|
+
min: number;
|
|
1130
|
+
max: number;
|
|
1131
|
+
}
|
|
1132
|
+
type FilterValues = StringFilterValues | IntFilterValues;
|
|
1133
|
+
declare function useFilterState(): {
|
|
1134
|
+
serialize: {
|
|
1135
|
+
(values: Partial<{
|
|
1136
|
+
filters: PropertyFilter$1[] | null;
|
|
1137
|
+
search: string | null;
|
|
1138
|
+
listedOnly: boolean | null;
|
|
1139
|
+
}>): string;
|
|
1140
|
+
(base: string | URL | URLSearchParams, values: Partial<{
|
|
1141
|
+
filters: PropertyFilter$1[] | null;
|
|
1142
|
+
search: string | null;
|
|
1143
|
+
listedOnly: boolean | null;
|
|
1144
|
+
}> | null): string;
|
|
1145
|
+
};
|
|
1146
|
+
getFilter: (name: string) => PropertyFilter$1 | undefined;
|
|
1147
|
+
getFilterValues: (name: string) => FilterValues | undefined;
|
|
1148
|
+
isFilterActive: (name: string) => boolean;
|
|
1149
|
+
isStringValueSelected: (name: string, value: string) => boolean;
|
|
1150
|
+
isIntFilterActive: (name: string) => boolean;
|
|
1151
|
+
getIntFilterRange: (name: string) => [number, number] | undefined;
|
|
1152
|
+
deleteFilter: (name: string) => void;
|
|
1153
|
+
toggleStringFilterValue: (name: string, value: string) => void;
|
|
1154
|
+
setIntFilterValue: (name: string, min: number, max: number) => void;
|
|
1155
|
+
clearAllFilters: () => void;
|
|
1156
|
+
filterOptions: PropertyFilter$1[];
|
|
1157
|
+
searchText: string;
|
|
1158
|
+
showListedOnly: boolean;
|
|
1159
|
+
setFilterOptions: (value: PropertyFilter$1[] | ((old: PropertyFilter$1[]) => PropertyFilter$1[] | null) | null, options?: nuqs.Options) => Promise<URLSearchParams>;
|
|
1160
|
+
setSearchText: (value: string | ((old: string) => string | null) | null, options?: nuqs.Options) => Promise<URLSearchParams>;
|
|
1161
|
+
setShowListedOnly: (value: boolean | ((old: boolean) => boolean | null) | null, options?: nuqs.Options) => Promise<URLSearchParams>;
|
|
1162
|
+
};
|
|
946
1163
|
|
|
947
1164
|
declare const UseFloorOrderSchema: z.ZodObject<{
|
|
948
1165
|
chainId: z.ZodNumber;
|
|
@@ -1027,7 +1244,7 @@ declare const getListCollectibleActivitiesArgsSchema: z.ZodObject<{
|
|
|
1027
1244
|
chainId: z.ZodNumber;
|
|
1028
1245
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1029
1246
|
tokenId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>;
|
|
1030
|
-
query: z.ZodOptional<z.ZodObject<
|
|
1247
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1031
1248
|
page: z.ZodNumber;
|
|
1032
1249
|
pageSize: z.ZodNumber;
|
|
1033
1250
|
more: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1041,9 +1258,9 @@ declare const getListCollectibleActivitiesArgsSchema: z.ZodObject<{
|
|
|
1041
1258
|
order: SortOrder;
|
|
1042
1259
|
column: string;
|
|
1043
1260
|
}>, "many">>;
|
|
1044
|
-
}
|
|
1261
|
+
} & {
|
|
1045
1262
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1046
|
-
}
|
|
1263
|
+
}, "strip", z.ZodTypeAny, {
|
|
1047
1264
|
page: number;
|
|
1048
1265
|
pageSize: number;
|
|
1049
1266
|
enabled?: boolean | undefined;
|
|
@@ -1291,7 +1508,7 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1291
1508
|
declare const getListCollectionActivitiesArgsSchema: z.ZodObject<{
|
|
1292
1509
|
chainId: z.ZodNumber;
|
|
1293
1510
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1294
|
-
query: z.ZodOptional<z.ZodObject<
|
|
1511
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1295
1512
|
page: z.ZodNumber;
|
|
1296
1513
|
pageSize: z.ZodNumber;
|
|
1297
1514
|
more: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1305,9 +1522,9 @@ declare const getListCollectionActivitiesArgsSchema: z.ZodObject<{
|
|
|
1305
1522
|
order: SortOrder;
|
|
1306
1523
|
column: string;
|
|
1307
1524
|
}>, "many">>;
|
|
1308
|
-
}
|
|
1525
|
+
} & {
|
|
1309
1526
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
-
}
|
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
1528
|
page: number;
|
|
1312
1529
|
pageSize: number;
|
|
1313
1530
|
enabled?: boolean | undefined;
|
|
@@ -1641,7 +1858,7 @@ declare const useListCollectibleActivities: (args: UseListCollectibleActivitiesA
|
|
|
1641
1858
|
*/
|
|
1642
1859
|
declare function useListCollectibles(args: UseListCollectiblesArgs): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, Error>;
|
|
1643
1860
|
|
|
1644
|
-
declare const UseListCollectiblesPaginatedArgsSchema: z.ZodObject<
|
|
1861
|
+
declare const UseListCollectiblesPaginatedArgsSchema: z.ZodObject<Omit<{
|
|
1645
1862
|
side: z.ZodNativeEnum<typeof OrderSide>;
|
|
1646
1863
|
contractAddress: z.ZodString;
|
|
1647
1864
|
filter: z.ZodOptional<z.ZodObject<{
|
|
@@ -1733,7 +1950,7 @@ declare const UseListCollectiblesPaginatedArgsSchema: z.ZodObject<z.objectUtil.e
|
|
|
1733
1950
|
}[] | undefined;
|
|
1734
1951
|
more?: boolean | undefined;
|
|
1735
1952
|
}>>;
|
|
1736
|
-
}, "contractAddress"
|
|
1953
|
+
}, "contractAddress"> & {
|
|
1737
1954
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1738
1955
|
chainId: z.ZodNumber;
|
|
1739
1956
|
query: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
@@ -1749,7 +1966,7 @@ declare const UseListCollectiblesPaginatedArgsSchema: z.ZodObject<z.objectUtil.e
|
|
|
1749
1966
|
page?: number | undefined;
|
|
1750
1967
|
pageSize?: number | undefined;
|
|
1751
1968
|
}>>>;
|
|
1752
|
-
}
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1753
1970
|
chainId: number;
|
|
1754
1971
|
query: {
|
|
1755
1972
|
page: number;
|
|
@@ -1999,7 +2216,7 @@ declare const useListCollectionActivities: (args: UseListCollectionActivitiesArg
|
|
|
1999
2216
|
page: Page | undefined;
|
|
2000
2217
|
}, Error>;
|
|
2001
2218
|
|
|
2002
|
-
declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<
|
|
2219
|
+
declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<{
|
|
2003
2220
|
contractAddress: z.ZodString;
|
|
2004
2221
|
tokenId: z.ZodString;
|
|
2005
2222
|
filter: z.ZodOptional<z.ZodObject<{
|
|
@@ -2046,11 +2263,11 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
2046
2263
|
}[] | undefined;
|
|
2047
2264
|
more?: boolean | undefined;
|
|
2048
2265
|
}>>;
|
|
2049
|
-
}
|
|
2266
|
+
} & {
|
|
2050
2267
|
chainId: z.ZodNumber;
|
|
2051
2268
|
collectionAddress: z.ZodString;
|
|
2052
2269
|
collectibleId: z.ZodString;
|
|
2053
|
-
}
|
|
2270
|
+
}, "contractAddress" | "tokenId">, "strip", z.ZodTypeAny, {
|
|
2054
2271
|
chainId: number;
|
|
2055
2272
|
collectionAddress: string;
|
|
2056
2273
|
collectibleId: string;
|
|
@@ -2154,7 +2371,7 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
2154
2371
|
};
|
|
2155
2372
|
declare const useListOffersForCollectible: (args: UseListOffersForCollectibleArgs) => _tanstack_react_query.UseQueryResult<ListCollectibleOffersReturn, Error>;
|
|
2156
2373
|
|
|
2157
|
-
declare const UseCountOffersForCollectibleArgsSchema: z.ZodObject<
|
|
2374
|
+
declare const UseCountOffersForCollectibleArgsSchema: z.ZodObject<Omit<{
|
|
2158
2375
|
contractAddress: z.ZodString;
|
|
2159
2376
|
tokenId: z.ZodString;
|
|
2160
2377
|
filter: z.ZodOptional<z.ZodObject<{
|
|
@@ -2170,7 +2387,7 @@ declare const UseCountOffersForCollectibleArgsSchema: z.ZodObject<z.objectUtil.e
|
|
|
2170
2387
|
marketplace?: MarketplaceKind[] | undefined;
|
|
2171
2388
|
createdBy?: string[] | undefined;
|
|
2172
2389
|
}>>;
|
|
2173
|
-
}, "contractAddress" | "tokenId"
|
|
2390
|
+
}, "contractAddress" | "tokenId"> & {
|
|
2174
2391
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2175
2392
|
collectibleId: z.ZodString;
|
|
2176
2393
|
chainId: z.ZodNumber;
|
|
@@ -2181,7 +2398,7 @@ declare const UseCountOffersForCollectibleArgsSchema: z.ZodObject<z.objectUtil.e
|
|
|
2181
2398
|
}, {
|
|
2182
2399
|
enabled?: boolean | undefined;
|
|
2183
2400
|
}>>;
|
|
2184
|
-
}
|
|
2401
|
+
}, "strip", z.ZodTypeAny, {
|
|
2185
2402
|
chainId: number;
|
|
2186
2403
|
collectionAddress: `0x${string}`;
|
|
2187
2404
|
collectibleId: string;
|
|
@@ -2255,7 +2472,7 @@ declare const countOffersForCollectibleOptions: (args: UseCountOffersForCollecti
|
|
|
2255
2472
|
};
|
|
2256
2473
|
declare const useCountOffersForCollectible: (args: UseCountOffersForCollectibleArgs) => _tanstack_react_query.UseQueryResult<GetCountOfOffersForCollectibleReturn, Error>;
|
|
2257
2474
|
|
|
2258
|
-
declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<
|
|
2475
|
+
declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<{
|
|
2259
2476
|
contractAddress: z.ZodString;
|
|
2260
2477
|
tokenId: z.ZodString;
|
|
2261
2478
|
filter: z.ZodOptional<z.ZodObject<{
|
|
@@ -2302,11 +2519,11 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
2302
2519
|
}[] | undefined;
|
|
2303
2520
|
more?: boolean | undefined;
|
|
2304
2521
|
}>>;
|
|
2305
|
-
}
|
|
2522
|
+
} & {
|
|
2306
2523
|
chainId: z.ZodNumber;
|
|
2307
2524
|
collectionAddress: z.ZodString;
|
|
2308
2525
|
collectibleId: z.ZodString;
|
|
2309
|
-
}
|
|
2526
|
+
}, "contractAddress" | "tokenId">, "strip", z.ZodTypeAny, {
|
|
2310
2527
|
chainId: number;
|
|
2311
2528
|
collectionAddress: string;
|
|
2312
2529
|
collectibleId: string;
|
|
@@ -2410,7 +2627,7 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
2410
2627
|
};
|
|
2411
2628
|
declare const useListListingsForCollectible: (args: UseListListingsForCollectibleArgs) => _tanstack_react_query.UseQueryResult<ListCollectibleListingsReturn, Error>;
|
|
2412
2629
|
|
|
2413
|
-
declare const UseCountListingsForCollectibleArgsSchema: z.ZodObject<
|
|
2630
|
+
declare const UseCountListingsForCollectibleArgsSchema: z.ZodObject<Omit<{
|
|
2414
2631
|
contractAddress: z.ZodString;
|
|
2415
2632
|
tokenId: z.ZodString;
|
|
2416
2633
|
filter: z.ZodOptional<z.ZodObject<{
|
|
@@ -2426,7 +2643,7 @@ declare const UseCountListingsForCollectibleArgsSchema: z.ZodObject<z.objectUtil
|
|
|
2426
2643
|
marketplace?: MarketplaceKind[] | undefined;
|
|
2427
2644
|
createdBy?: string[] | undefined;
|
|
2428
2645
|
}>>;
|
|
2429
|
-
}, "contractAddress" | "tokenId"
|
|
2646
|
+
}, "contractAddress" | "tokenId"> & {
|
|
2430
2647
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2431
2648
|
collectibleId: z.ZodString;
|
|
2432
2649
|
chainId: z.ZodNumber;
|
|
@@ -2437,7 +2654,7 @@ declare const UseCountListingsForCollectibleArgsSchema: z.ZodObject<z.objectUtil
|
|
|
2437
2654
|
}, {
|
|
2438
2655
|
enabled?: boolean | undefined;
|
|
2439
2656
|
}>>;
|
|
2440
|
-
}
|
|
2657
|
+
}, "strip", z.ZodTypeAny, {
|
|
2441
2658
|
chainId: number;
|
|
2442
2659
|
collectionAddress: `0x${string}`;
|
|
2443
2660
|
collectibleId: string;
|
|
@@ -3579,4 +3796,4 @@ declare const collectionDetailsPollingOptions: (args: UseCollectionDetailsPollin
|
|
|
3579
3796
|
};
|
|
3580
3797
|
declare const useCollectionDetailsPolling: (args: UseCollectionDetailsPolling) => _tanstack_react_query.UseQueryResult<Collection, Error>;
|
|
3581
3798
|
|
|
3582
|
-
export { type CollectionBalanceFilter, type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransactionStep, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionBalanceDetailsArgs, type UseComparePricesReturn, type UseContOfCollectableReturn, type UseConvertPriceToUSDArgs, type UseConvertPriceToUSDReturn, type UseCountListingsForCollectibleArgs, type UseCountListingsForCollectibleReturn, type UseCountOfCollectablesArgs, type UseCountOffersForCollectibleArgs, type UseCountOffersForCollectibleReturn, type UseCurrenciesReturn, type UseCurrencyReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseListCollectibleActivitiesArgs, type UseListCollectibleActivitiesReturn, type UseListCollectiblesPaginatedArgs, type UseListCollectiblesPaginatedReturn, type UseListCollectionActivitiesArgs, type UseListCollectionActivitiesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, comparePricesOptions, convertPriceToUSD, convertPriceToUSDOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, filtersOptions, floorOrderOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, listCollectibleActivitiesOptions, listCollectiblesPaginatedOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useComparePrices, useConfig, useConvertPriceToUSD, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useFilters, useFloorOrder, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useInventory, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectiblesPaginated, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyalty, useTransferTokens };
|
|
3799
|
+
export { type CollectionBalanceFilter, type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransactionStep, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionBalanceDetailsArgs, type UseComparePricesReturn, type UseContOfCollectableReturn, type UseConvertPriceToUSDArgs, type UseConvertPriceToUSDReturn, type UseCountListingsForCollectibleArgs, type UseCountListingsForCollectibleReturn, type UseCountOfCollectablesArgs, type UseCountOffersForCollectibleArgs, type UseCountOffersForCollectibleReturn, type UseCurrenciesReturn, type UseCurrencyReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseListCollectibleActivitiesArgs, type UseListCollectibleActivitiesReturn, type UseListCollectiblesPaginatedArgs, type UseListCollectiblesPaginatedReturn, type UseListCollectionActivitiesArgs, type UseListCollectionActivitiesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, comparePricesOptions, convertPriceToUSD, convertPriceToUSDOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, filtersOptions, floorOrderOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, listCollectibleActivitiesOptions, listCollectiblesPaginatedOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useComparePrices, useConfig, useConvertPriceToUSD, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useFilterState, useFilters, useFiltersProgressive, useFloorOrder, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useInventory, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectiblesPaginated, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyalty, useTransferTokens };
|
|
@@ -42,7 +42,9 @@ import {
|
|
|
42
42
|
useCountOffersForCollectible,
|
|
43
43
|
useCurrencies,
|
|
44
44
|
useCurrency,
|
|
45
|
+
useFilterState,
|
|
45
46
|
useFilters,
|
|
47
|
+
useFiltersProgressive,
|
|
46
48
|
useFloorOrder,
|
|
47
49
|
useGenerateCancelTransaction,
|
|
48
50
|
useGenerateListingTransaction,
|
|
@@ -62,7 +64,7 @@ import {
|
|
|
62
64
|
useMarketplaceConfig,
|
|
63
65
|
useRoyalty,
|
|
64
66
|
useTransferTokens
|
|
65
|
-
} from "../../chunk-
|
|
67
|
+
} from "../../chunk-6SEJI7YS.js";
|
|
66
68
|
import "../../chunk-LDZZUYG7.js";
|
|
67
69
|
import "../../chunk-SJU6QZHM.js";
|
|
68
70
|
import "../../chunk-Y63BOO6M.js";
|
|
@@ -122,7 +124,9 @@ export {
|
|
|
122
124
|
useCountOffersForCollectible,
|
|
123
125
|
useCurrencies,
|
|
124
126
|
useCurrency,
|
|
127
|
+
useFilterState,
|
|
125
128
|
useFilters,
|
|
129
|
+
useFiltersProgressive,
|
|
126
130
|
useFloorOrder,
|
|
127
131
|
useGenerateCancelTransaction,
|
|
128
132
|
useGenerateListingTransaction,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import { S as SdkConfig } from '../sdk-config-DIzJk_tI.js';
|
|
4
|
-
export { CollectionBalanceFilter, CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseCheckoutOptionsArgs, UseCheckoutOptionsReturn, UseCollectibleArgs, UseCollectibleReturn, UseCollectionBalanceDetailsArgs, UseComparePricesReturn, UseContOfCollectableReturn, UseConvertPriceToUSDArgs, UseConvertPriceToUSDReturn, UseCountListingsForCollectibleArgs, UseCountListingsForCollectibleReturn, UseCountOfCollectablesArgs, UseCountOffersForCollectibleArgs, UseCountOffersForCollectibleReturn, UseCurrenciesReturn, UseCurrencyReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseListCollectibleActivitiesArgs, UseListCollectibleActivitiesReturn, UseListCollectiblesPaginatedArgs, UseListCollectiblesPaginatedReturn, UseListCollectionActivitiesArgs, UseListCollectionActivitiesReturn, UseListCollectionsArgs, UseListCollectionsReturn, UseListListingsForCollectibleReturn, UseListOffersForCollectibleReturn, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, comparePricesOptions, convertPriceToUSD, convertPriceToUSDOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, filtersOptions, floorOrderOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, listCollectibleActivitiesOptions, listCollectiblesPaginatedOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useComparePrices, useConfig, useConvertPriceToUSD, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useFilters, useFloorOrder, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useInventory, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectiblesPaginated, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyalty, useTransferTokens } from './hooks/index.js';
|
|
4
|
+
export { CollectionBalanceFilter, CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseCheckoutOptionsArgs, UseCheckoutOptionsReturn, UseCollectibleArgs, UseCollectibleReturn, UseCollectionBalanceDetailsArgs, UseComparePricesReturn, UseContOfCollectableReturn, UseConvertPriceToUSDArgs, UseConvertPriceToUSDReturn, UseCountListingsForCollectibleArgs, UseCountListingsForCollectibleReturn, UseCountOfCollectablesArgs, UseCountOffersForCollectibleArgs, UseCountOffersForCollectibleReturn, UseCurrenciesReturn, UseCurrencyReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseListCollectibleActivitiesArgs, UseListCollectibleActivitiesReturn, UseListCollectiblesPaginatedArgs, UseListCollectiblesPaginatedReturn, UseListCollectionActivitiesArgs, UseListCollectionActivitiesReturn, UseListCollectionsArgs, UseListCollectionsReturn, UseListListingsForCollectibleReturn, UseListOffersForCollectibleReturn, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, comparePricesOptions, convertPriceToUSD, convertPriceToUSDOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, filtersOptions, floorOrderOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, listCollectibleActivitiesOptions, listCollectiblesPaginatedOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useComparePrices, useConfig, useConvertPriceToUSD, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useFilterState, useFilters, useFiltersProgressive, useFloorOrder, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useInventory, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectiblesPaginated, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyalty, useTransferTokens } from './hooks/index.js';
|
|
5
5
|
export { U as UseCollectionArgs, a as UseCollectionReturn, c as collectionOptions, f as fetchCollection, m as marketplaceConfigOptions, u as useCollection } from '../index-DtWR0b_l.js';
|
|
6
6
|
export { g as getQueryClient } from '../get-query-client-D46hbjk6.js';
|
|
7
7
|
export { c as createWagmiConfig } from '../create-config-qDML4ZNn.js';
|
|
@@ -15,6 +15,7 @@ import 'wagmi/query';
|
|
|
15
15
|
import '../marketplace.gen-DS-MmGEB.js';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import '@0xsequence/metadata';
|
|
18
|
+
import 'nuqs';
|
|
18
19
|
import '../services-BOX67E7W.js';
|
|
19
20
|
import '../builder-types-BY6eD6vD.js';
|
|
20
21
|
import '../types-CJLhc2VZ.js';
|
package/dist/react/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
useSellModal,
|
|
8
8
|
useSuccessfulPurchaseModal,
|
|
9
9
|
useTransferModal
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-TGFX3TMV.js";
|
|
11
|
+
import "../chunk-V3NVAVHV.js";
|
|
12
|
+
import "../chunk-QMWMJVTX.js";
|
|
13
13
|
import "../chunk-JKCF7HEA.js";
|
|
14
14
|
import "../chunk-WXKV5N4T.js";
|
|
15
15
|
import {
|
|
@@ -59,7 +59,9 @@ import {
|
|
|
59
59
|
useCountOffersForCollectible,
|
|
60
60
|
useCurrencies,
|
|
61
61
|
useCurrency,
|
|
62
|
+
useFilterState,
|
|
62
63
|
useFilters,
|
|
64
|
+
useFiltersProgressive,
|
|
63
65
|
useFloorOrder,
|
|
64
66
|
useGenerateCancelTransaction,
|
|
65
67
|
useGenerateListingTransaction,
|
|
@@ -79,7 +81,7 @@ import {
|
|
|
79
81
|
useMarketplaceConfig,
|
|
80
82
|
useRoyalty,
|
|
81
83
|
useTransferTokens
|
|
82
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-6SEJI7YS.js";
|
|
83
85
|
import {
|
|
84
86
|
collectionOptions,
|
|
85
87
|
fetchCollection
|
|
@@ -157,7 +159,9 @@ export {
|
|
|
157
159
|
useCreateListingModal,
|
|
158
160
|
useCurrencies,
|
|
159
161
|
useCurrency,
|
|
162
|
+
useFilterState,
|
|
160
163
|
useFilters,
|
|
164
|
+
useFiltersProgressive,
|
|
161
165
|
useFloorOrder,
|
|
162
166
|
useGenerateCancelTransaction,
|
|
163
167
|
useGenerateListingTransaction,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollectibleCard
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-TGFX3TMV.js";
|
|
4
|
+
import "../../../../chunk-V3NVAVHV.js";
|
|
5
|
+
import "../../../../chunk-QMWMJVTX.js";
|
|
6
6
|
import "../../../../chunk-JKCF7HEA.js";
|
|
7
7
|
import "../../../../chunk-WXKV5N4T.js";
|
|
8
|
-
import "../../../../chunk-
|
|
8
|
+
import "../../../../chunk-6SEJI7YS.js";
|
|
9
9
|
import "../../../../chunk-LDZZUYG7.js";
|
|
10
10
|
import "../../../../chunk-SJU6QZHM.js";
|
|
11
11
|
import "../../../../chunk-Y63BOO6M.js";
|
package/dist/react/ui/index.js
CHANGED
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
useSellModal,
|
|
8
8
|
useSuccessfulPurchaseModal,
|
|
9
9
|
useTransferModal
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-TGFX3TMV.js";
|
|
11
|
+
import "../../chunk-V3NVAVHV.js";
|
|
12
|
+
import "../../chunk-QMWMJVTX.js";
|
|
13
13
|
import "../../chunk-JKCF7HEA.js";
|
|
14
14
|
import "../../chunk-WXKV5N4T.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-6SEJI7YS.js";
|
|
16
16
|
import "../../chunk-LDZZUYG7.js";
|
|
17
17
|
import "../../chunk-SJU6QZHM.js";
|
|
18
18
|
import "../../chunk-Y63BOO6M.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
closeModal,
|
|
4
4
|
createActionModalStore,
|
|
5
5
|
openModal
|
|
6
|
-
} from "../../../../../../chunk-
|
|
7
|
-
import "../../../../../../chunk-
|
|
6
|
+
} from "../../../../../../chunk-V3NVAVHV.js";
|
|
7
|
+
import "../../../../../../chunk-6SEJI7YS.js";
|
|
8
8
|
import "../../../../../../chunk-LDZZUYG7.js";
|
|
9
9
|
import "../../../../../../chunk-SJU6QZHM.js";
|
|
10
10
|
import "../../../../../../chunk-Y63BOO6M.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/marketplace-sdk",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.css"
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"clsx": "^2.1.1",
|
|
48
48
|
"date-fns": "^4.1.0",
|
|
49
49
|
"dnum": "^2.14.0",
|
|
50
|
+
"nuqs": "^2.4.3",
|
|
50
51
|
"react-day-picker": "^9.6.7",
|
|
51
52
|
"tailwind-merge": "^3.0.2",
|
|
52
53
|
"zod": "^3.24.2"
|