@bosonprotocol/react-kit 0.36.0-alpha.13 → 0.36.0-alpha.15
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/cjs/components/ui/SvgImage.d.ts.map +1 -1
- package/dist/cjs/components/ui/SvgImage.js +2 -1
- package/dist/cjs/components/ui/SvgImage.js.map +1 -1
- package/dist/cjs/components/widgets/commit/CommitWidgetProviders.js +2 -2
- package/dist/cjs/components/widgets/commit/CommitWidgetProviders.js.map +1 -1
- package/dist/cjs/components/widgets/finance/FinanceWidgetProviders.js +2 -2
- package/dist/cjs/components/widgets/finance/FinanceWidgetProviders.js.map +1 -1
- package/dist/cjs/components/widgets/index.d.ts +1 -0
- package/dist/cjs/components/widgets/index.d.ts.map +1 -1
- package/dist/cjs/components/widgets/index.js +3 -1
- package/dist/cjs/components/widgets/index.js.map +1 -1
- package/dist/cjs/components/widgets/redemption/RedemptionWidgetProviders.js +2 -2
- package/dist/cjs/components/widgets/redemption/RedemptionWidgetProviders.js.map +1 -1
- package/dist/cjs/hooks/contracts/BlockNumberProvider.d.ts +12 -0
- package/dist/cjs/hooks/contracts/BlockNumberProvider.d.ts.map +1 -0
- package/dist/cjs/hooks/contracts/BlockNumberProvider.js +93 -0
- package/dist/cjs/hooks/contracts/BlockNumberProvider.js.map +1 -0
- package/dist/cjs/hooks/contracts/useBlockNumber.d.ts +0 -5
- package/dist/cjs/hooks/contracts/useBlockNumber.d.ts.map +1 -1
- package/dist/cjs/hooks/contracts/useBlockNumber.js +4 -91
- package/dist/cjs/hooks/contracts/useBlockNumber.js.map +1 -1
- package/dist/esm/components/ui/SvgImage.d.ts.map +1 -1
- package/dist/esm/components/ui/SvgImage.js +2 -1
- package/dist/esm/components/ui/SvgImage.js.map +1 -1
- package/dist/esm/components/widgets/commit/CommitWidgetProviders.js +1 -1
- package/dist/esm/components/widgets/commit/CommitWidgetProviders.js.map +1 -1
- package/dist/esm/components/widgets/finance/FinanceWidgetProviders.js +1 -1
- package/dist/esm/components/widgets/finance/FinanceWidgetProviders.js.map +1 -1
- package/dist/esm/components/widgets/index.d.ts +1 -0
- package/dist/esm/components/widgets/index.d.ts.map +1 -1
- package/dist/esm/components/widgets/index.js +1 -0
- package/dist/esm/components/widgets/index.js.map +1 -1
- package/dist/esm/components/widgets/redemption/RedemptionWidgetProviders.js +1 -1
- package/dist/esm/components/widgets/redemption/RedemptionWidgetProviders.js.map +1 -1
- package/dist/esm/hooks/contracts/BlockNumberProvider.d.ts +12 -0
- package/dist/esm/hooks/contracts/BlockNumberProvider.d.ts.map +1 -0
- package/dist/esm/hooks/contracts/BlockNumberProvider.js +86 -0
- package/dist/esm/hooks/contracts/BlockNumberProvider.js.map +1 -0
- package/dist/esm/hooks/contracts/useBlockNumber.d.ts +0 -5
- package/dist/esm/hooks/contracts/useBlockNumber.d.ts.map +1 -1
- package/dist/esm/hooks/contracts/useBlockNumber.js +2 -85
- package/dist/esm/hooks/contracts/useBlockNumber.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/components/ui/SvgImage.tsx +3 -1
- package/src/components/widgets/commit/CommitWidgetProviders.tsx +1 -1
- package/src/components/widgets/finance/FinanceWidgetProviders.tsx +1 -1
- package/src/components/widgets/index.tsx +1 -0
- package/src/components/widgets/redemption/RedemptionWidgetProviders.tsx +1 -1
- package/src/hooks/contracts/BlockNumberProvider.tsx +126 -0
- package/src/hooks/contracts/useBlockNumber.tsx +2 -127
- package/src/stories/ConnectWallet.stories.tsx +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ChainId } from "@uniswap/sdk-core";
|
|
3
|
+
import { createContext, useCallback, useEffect, useMemo, useState } from "react";
|
|
4
|
+
import { useIsWindowVisible } from "../uniswap/useIsWindowVisible";
|
|
5
|
+
import { RPC_PROVIDERS } from "../../lib/const/providers";
|
|
6
|
+
import { useChainId, useProvider } from "../connection/connection";
|
|
7
|
+
export const MISSING_PROVIDER = Symbol();
|
|
8
|
+
export const BlockNumberContext = createContext(MISSING_PROVIDER);
|
|
9
|
+
export function BlockNumberProvider({ children }) {
|
|
10
|
+
const activeChainId = useChainId();
|
|
11
|
+
const provider = useProvider();
|
|
12
|
+
const [{ chainId, block, mainnetBlock }, setChainBlock] = useState({
|
|
13
|
+
chainId: activeChainId
|
|
14
|
+
});
|
|
15
|
+
const onChainBlock = useCallback((chainId, block) => {
|
|
16
|
+
setChainBlock((chainBlock) => {
|
|
17
|
+
if (chainBlock.chainId === chainId) {
|
|
18
|
+
if (!chainBlock.block || chainBlock.block < block) {
|
|
19
|
+
return {
|
|
20
|
+
chainId,
|
|
21
|
+
block,
|
|
22
|
+
mainnetBlock: chainId === ChainId.MAINNET ? block : chainBlock.mainnetBlock
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
else if (chainId === ChainId.MAINNET) {
|
|
27
|
+
if (!chainBlock.mainnetBlock || chainBlock.mainnetBlock < block) {
|
|
28
|
+
return { ...chainBlock, mainnetBlock: block };
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return chainBlock;
|
|
32
|
+
});
|
|
33
|
+
}, []);
|
|
34
|
+
const windowVisible = useIsWindowVisible();
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
let stale = false;
|
|
37
|
+
if (provider && activeChainId && windowVisible) {
|
|
38
|
+
// If chainId hasn't changed, don't clear the block. This prevents re-fetching still valid data.
|
|
39
|
+
setChainBlock((chainBlock) => chainBlock.chainId === activeChainId
|
|
40
|
+
? chainBlock
|
|
41
|
+
: { chainId: activeChainId, mainnetBlock: chainBlock.mainnetBlock });
|
|
42
|
+
provider
|
|
43
|
+
.getBlockNumber()
|
|
44
|
+
.then((block) => {
|
|
45
|
+
if (!stale)
|
|
46
|
+
onChainBlock(activeChainId, block);
|
|
47
|
+
})
|
|
48
|
+
.catch((error) => {
|
|
49
|
+
console.error(`Failed to get block number for chainId ${activeChainId}`, error);
|
|
50
|
+
});
|
|
51
|
+
const onBlock = (block) => onChainBlock(activeChainId, block);
|
|
52
|
+
provider.on("block", onBlock);
|
|
53
|
+
return () => {
|
|
54
|
+
stale = true;
|
|
55
|
+
provider.removeListener("block", onBlock);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return void 0;
|
|
59
|
+
}, [activeChainId, provider, windowVisible, onChainBlock]);
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (mainnetBlock === undefined) {
|
|
62
|
+
RPC_PROVIDERS[ChainId.MAINNET]
|
|
63
|
+
.getBlockNumber()
|
|
64
|
+
.then((block) => {
|
|
65
|
+
onChainBlock(ChainId.MAINNET, block);
|
|
66
|
+
})
|
|
67
|
+
// swallow errors - it's ok if this fails, as we'll try again if we activate mainnet
|
|
68
|
+
.catch(() => undefined);
|
|
69
|
+
}
|
|
70
|
+
}, [mainnetBlock, onChainBlock]);
|
|
71
|
+
const value = useMemo(() => ({
|
|
72
|
+
fastForward: (update) => {
|
|
73
|
+
if (block && update > block) {
|
|
74
|
+
setChainBlock({
|
|
75
|
+
chainId: activeChainId,
|
|
76
|
+
block: update,
|
|
77
|
+
mainnetBlock: activeChainId === ChainId.MAINNET ? update : mainnetBlock
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
block: chainId === activeChainId ? block : undefined,
|
|
82
|
+
mainnetBlock
|
|
83
|
+
}), [activeChainId, block, chainId, mainnetBlock]);
|
|
84
|
+
return (React.createElement(BlockNumberContext.Provider, { value: value }, children));
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=BlockNumberProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockNumberProvider.js","sourceRoot":"","sources":["../../../../src/hooks/contracts/BlockNumberProvider.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
1
|
/** Requires that BlockUpdater be installed in the DOM tree. */
|
|
4
2
|
export declare function useBlockNumber(): number | undefined;
|
|
5
3
|
export declare function useMainnetBlockNumber(): number | undefined;
|
|
6
|
-
export declare function BlockNumberProvider({ children }: {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
4
|
//# sourceMappingURL=useBlockNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/hooks/contracts/useBlockNumber.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/hooks/contracts/useBlockNumber.tsx"],"names":[],"mappings":"AAaA,+DAA+D;AAC/D,wBAAgB,cAAc,IAAI,MAAM,GAAG,SAAS,CAEnD;AAED,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAE1D"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
|
|
4
|
-
import { useIsWindowVisible } from "../uniswap/useIsWindowVisible";
|
|
5
|
-
import { RPC_PROVIDERS } from "../../lib/const/providers";
|
|
6
|
-
import { useChainId, useProvider } from "../connection/connection";
|
|
7
|
-
const MISSING_PROVIDER = Symbol();
|
|
8
|
-
const BlockNumberContext = createContext(MISSING_PROVIDER);
|
|
1
|
+
import { useContext } from "react";
|
|
2
|
+
import { BlockNumberContext, MISSING_PROVIDER } from "./BlockNumberProvider";
|
|
9
3
|
function useBlockNumberContext() {
|
|
10
4
|
const blockNumber = useContext(BlockNumberContext);
|
|
11
5
|
if (blockNumber === MISSING_PROVIDER) {
|
|
@@ -20,81 +14,4 @@ export function useBlockNumber() {
|
|
|
20
14
|
export function useMainnetBlockNumber() {
|
|
21
15
|
return useBlockNumberContext().mainnetBlock;
|
|
22
16
|
}
|
|
23
|
-
export function BlockNumberProvider({ children }) {
|
|
24
|
-
const activeChainId = useChainId();
|
|
25
|
-
const provider = useProvider();
|
|
26
|
-
const [{ chainId, block, mainnetBlock }, setChainBlock] = useState({
|
|
27
|
-
chainId: activeChainId
|
|
28
|
-
});
|
|
29
|
-
const onChainBlock = useCallback((chainId, block) => {
|
|
30
|
-
setChainBlock((chainBlock) => {
|
|
31
|
-
if (chainBlock.chainId === chainId) {
|
|
32
|
-
if (!chainBlock.block || chainBlock.block < block) {
|
|
33
|
-
return {
|
|
34
|
-
chainId,
|
|
35
|
-
block,
|
|
36
|
-
mainnetBlock: chainId === ChainId.MAINNET ? block : chainBlock.mainnetBlock
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else if (chainId === ChainId.MAINNET) {
|
|
41
|
-
if (!chainBlock.mainnetBlock || chainBlock.mainnetBlock < block) {
|
|
42
|
-
return { ...chainBlock, mainnetBlock: block };
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return chainBlock;
|
|
46
|
-
});
|
|
47
|
-
}, []);
|
|
48
|
-
const windowVisible = useIsWindowVisible();
|
|
49
|
-
useEffect(() => {
|
|
50
|
-
let stale = false;
|
|
51
|
-
if (provider && activeChainId && windowVisible) {
|
|
52
|
-
// If chainId hasn't changed, don't clear the block. This prevents re-fetching still valid data.
|
|
53
|
-
setChainBlock((chainBlock) => chainBlock.chainId === activeChainId
|
|
54
|
-
? chainBlock
|
|
55
|
-
: { chainId: activeChainId, mainnetBlock: chainBlock.mainnetBlock });
|
|
56
|
-
provider
|
|
57
|
-
.getBlockNumber()
|
|
58
|
-
.then((block) => {
|
|
59
|
-
if (!stale)
|
|
60
|
-
onChainBlock(activeChainId, block);
|
|
61
|
-
})
|
|
62
|
-
.catch((error) => {
|
|
63
|
-
console.error(`Failed to get block number for chainId ${activeChainId}`, error);
|
|
64
|
-
});
|
|
65
|
-
const onBlock = (block) => onChainBlock(activeChainId, block);
|
|
66
|
-
provider.on("block", onBlock);
|
|
67
|
-
return () => {
|
|
68
|
-
stale = true;
|
|
69
|
-
provider.removeListener("block", onBlock);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
return void 0;
|
|
73
|
-
}, [activeChainId, provider, windowVisible, onChainBlock]);
|
|
74
|
-
useEffect(() => {
|
|
75
|
-
if (mainnetBlock === undefined) {
|
|
76
|
-
RPC_PROVIDERS[ChainId.MAINNET]
|
|
77
|
-
.getBlockNumber()
|
|
78
|
-
.then((block) => {
|
|
79
|
-
onChainBlock(ChainId.MAINNET, block);
|
|
80
|
-
})
|
|
81
|
-
// swallow errors - it's ok if this fails, as we'll try again if we activate mainnet
|
|
82
|
-
.catch(() => undefined);
|
|
83
|
-
}
|
|
84
|
-
}, [mainnetBlock, onChainBlock]);
|
|
85
|
-
const value = useMemo(() => ({
|
|
86
|
-
fastForward: (update) => {
|
|
87
|
-
if (block && update > block) {
|
|
88
|
-
setChainBlock({
|
|
89
|
-
chainId: activeChainId,
|
|
90
|
-
block: update,
|
|
91
|
-
mainnetBlock: activeChainId === ChainId.MAINNET ? update : mainnetBlock
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
block: chainId === activeChainId ? block : undefined,
|
|
96
|
-
mainnetBlock
|
|
97
|
-
}), [activeChainId, block, chainId, mainnetBlock]);
|
|
98
|
-
return (React.createElement(BlockNumberContext.Provider, { value: value }, children));
|
|
99
|
-
}
|
|
100
17
|
//# sourceMappingURL=useBlockNumber.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBlockNumber.js","sourceRoot":"","sources":["../../../../src/hooks/contracts/useBlockNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useBlockNumber.js","sourceRoot":"","sources":["../../../../src/hooks/contracts/useBlockNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE7E,SAAS,qBAAqB;IAC5B,MAAM,WAAW,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;IACnD,IAAI,WAAW,KAAK,gBAAgB,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAC;IACJ,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,cAAc;IAC5B,OAAO,qBAAqB,EAAE,CAAC,KAAK,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,qBAAqB;IACnC,OAAO,qBAAqB,EAAE,CAAC,YAAY,CAAC;AAC9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/borders.ts","../src/colors.ts","../src/index.tsx","../src/react-app-env.d.ts","../src/setupTests.ts","../src/theme.ts","../src/abis/types/EnsPublicResolver.d.ts","../src/abis/types/EnsRegistrar.d.ts","../src/abis/types/Erc1155.d.ts","../src/abis/types/Erc20.d.ts","../src/abis/types/Erc721.d.ts","../src/abis/types/Permit2.d.ts","../src/abis/types/Weth.d.ts","../src/abis/types/commons.ts","../src/abis/types/index.ts","../src/components/avatar/SellerID.tsx","../src/components/avatar/fallback-avatar.tsx","../src/components/boson/BosonProvider.tsx","../src/components/buttons/BaseButton.tsx","../src/components/buttons/BurgerButton.tsx","../src/components/buttons/Button.tsx","../src/components/buttons/commit/CommitButtonView.tsx","../src/components/buttons/commit/CommitView.tsx","../src/components/buttons/commit/ThemedCommitButtonView.tsx","../src/components/buttons/commit/const.ts","../src/components/buttons/commit/types.ts","../src/components/card/card.styles.ts","../src/components/card/card.tsx","../src/components/chat/InitializeChat.tsx","../src/components/chat/InitializeChatWithSuccess.tsx","../src/components/chat/useChatStatus.ts","../src/components/chat/ChatProvider/ChatContext.ts","../src/components/chat/ChatProvider/ChatProvider.tsx","../src/components/chat/ChatProvider/const.ts","../src/components/config/ConfigContext.ts","../src/components/config/ConfigProvider.tsx","../src/components/connection/ConnectionsProvider.tsx","../src/components/connection/WalletConnectV2.ts","../src/components/connection/activate.ts","../src/components/connection/index.ts","../src/components/connection/types.ts","../src/components/connection/utils.ts","../src/components/contractualAgreement/ContractualAgreement.tsx","../src/components/cta/common/CtaButton.tsx","../src/components/cta/common/styles.ts","../src/components/cta/common/types.ts","../src/components/cta/dispute/AddFeesDisputeResolverButton.tsx","../src/components/cta/dispute/AddSellerToDisputeResolverButton.tsx","../src/components/cta/dispute/CreateDisputeResolverButton.tsx","../src/components/cta/dispute/DecideDisputeButton.tsx","../src/components/cta/dispute/EscalateDisputeButton.tsx","../src/components/cta/dispute/ExpireDisputeButton.tsx","../src/components/cta/dispute/ExpireEscalationDisputeButton.tsx","../src/components/cta/dispute/ExtendDisputeTimeoutButton.tsx","../src/components/cta/dispute/RaiseDisputeButton.tsx","../src/components/cta/dispute/RefuseDisputeButton.tsx","../src/components/cta/dispute/RemoveFeesDisputeResolverButton.tsx","../src/components/cta/dispute/RemoveSellerFromDisputeResolverButton.tsx","../src/components/cta/dispute/ResolveDisputeButton.tsx","../src/components/cta/dispute/RetractDisputeButton.tsx","../src/components/cta/dispute/UpdateDisputeResolverButton.tsx","../src/components/cta/exchange/BatchCompleteButton.tsx","../src/components/cta/exchange/CancelButton.tsx","../src/components/cta/exchange/CompleteButton.tsx","../src/components/cta/exchange/ExpireButton.tsx","../src/components/cta/exchange/RedeemButton.tsx","../src/components/cta/exchange/RevokeButton.tsx","../src/components/cta/funds/DepositFundsButton.tsx","../src/components/cta/funds/WithdrawAllFundsButton.tsx","../src/components/cta/funds/WithdrawFundsButton.tsx","../src/components/cta/offer/BatchVoidButton.tsx","../src/components/cta/offer/CommitButton.tsx","../src/components/cta/offer/CreateOfferButton.tsx","../src/components/cta/offer/ThemedCommitButton.tsx","../src/components/cta/offer/VoidButton.tsx","../src/components/cta/seller/CreateSellerButton.tsx","../src/components/cta/seller/UpdateSellerButton.tsx","../src/components/currencyDisplay/CurrencyDisplay.tsx","../src/components/datepicker/Calendar.tsx","../src/components/datepicker/DatePicker.style.tsx","../src/components/datepicker/DatePicker.tsx","../src/components/datepicker/SelectMonth.tsx","../src/components/datepicker/SelectTime.tsx","../src/components/datepicker/types.ts","../src/components/datepicker/utils.ts","../src/components/detail/DetailChart.tsx","../src/components/detail/useOfferDataset.ts","../src/components/environment/EnvironmentContext.ts","../src/components/environment/EnvironmentProvider.tsx","../src/components/error/EmptyErrorMessage.tsx","../src/components/error/ErrorMessage.tsx","../src/components/error/SimpleError.tsx","../src/components/exchangeCard/ExchangeCard.styles.ts","../src/components/exchangeCard/ExchangeCard.tsx","../src/components/exchangeCard/const.ts","../src/components/exchangeCard/types.ts","../src/components/form/BaseCheckbox.tsx","../src/components/form/BaseInput.tsx","../src/components/form/BaseSelect.tsx","../src/components/form/BaseTagsInput.tsx","../src/components/form/BaseTextArea.tsx","../src/components/form/Checkbox.tsx","../src/components/form/ClearButton.tsx","../src/components/form/CountrySelect.tsx","../src/components/form/Datepicker.tsx","../src/components/form/Error.tsx","../src/components/form/Field.styles.ts","../src/components/form/FormField.tsx","../src/components/form/Input.tsx","../src/components/form/InputColor.tsx","../src/components/form/Phone.tsx","../src/components/form/Select.tsx","../src/components/form/index.ts","../src/components/form/styles.ts","../src/components/form/types.ts","../src/components/form/Upload/BaseUpload.tsx","../src/components/form/Upload/Upload.tsx","../src/components/form/Upload/UploadedFile.tsx","../src/components/form/Upload/UploadedFiles.tsx","../src/components/form/Upload/UploadedSinglePdfFile.tsx","../src/components/form/Upload/WithUploadToIpfs.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditor.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditorModal.tsx","../src/components/form/styles/BaseTagsInput.styles.ts","../src/components/image/Image.styles.ts","../src/components/image/Image.tsx","../src/components/ipfs/IpfsContext.ts","../src/components/ipfs/IpfsProvider.tsx","../src/components/license/License.tsx","../src/components/logo/AssetLogo.tsx","../src/components/logo/PortfolioLogo.tsx","../src/components/logo/useAssetLogoSource.ts","../src/components/magicLink/Login.tsx","../src/components/magicLink/MagicContext.tsx","../src/components/magicLink/MagicProvider.tsx","../src/components/magicLink/UserContext.tsx","../src/components/magicLink/UserProvider.tsx","../src/components/modal/Modal.tsx","../src/components/modal/ModalComponents.tsx","../src/components/modal/ModalContext.tsx","../src/components/modal/ModalProvider.tsx","../src/components/modal/ModalTypes.ts","../src/components/modal/useModal.ts","../src/components/modal/components/Commit/CommitNonModal.tsx","../src/components/modal/components/Commit/OfferVariantView.tsx","../src/components/modal/components/Commit/useNotCommittableOfferStatus.ts","../src/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Commit/DetailView/CommitDetailViewWithProvider.tsx","../src/components/modal/components/Commit/DetailView/CommitRedeemSteps.tsx","../src/components/modal/components/Commit/DetailView/ExternalCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.tsx","../src/components/modal/components/Commit/DetailView/InnerDetailWithProviderCommit.tsx","../src/components/modal/components/Commit/DetailView/RedeemWhatsNext.tsx","../src/components/modal/components/Commit/DetailView/common/QuantityDisplay.tsx","../src/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.tsx","../src/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemFormModel.ts","../src/components/modal/components/Redeem/RedeemHeader.tsx","../src/components/modal/components/Redeem/RedeemNonModal.tsx","../src/components/modal/components/Redeem/checkSignatures.tsx","../src/components/modal/components/Redeem/const.ts","../src/components/modal/components/Redeem/Confirmation/Confirmation.tsx","../src/components/modal/components/Redeem/Confirmation/ConfirmationView.tsx","../src/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Redeem/DetailView/ExchangeDetailViewWithProvider.tsx","../src/components/modal/components/Redeem/DetailView/ExternalExchangeDetailView.tsx","../src/components/modal/components/Redeem/DetailView/InnerDetailWithProviderExchange.tsx","../src/components/modal/components/Redeem/DetailView/InnerExchangeDetailView.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeView.tsx","../src/components/modal/components/Redeem/ExchangeView/RedeemSuccess.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescription.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.tsx","../src/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Redeem/MyItems/Exchange.tsx","../src/components/modal/components/Redeem/MyItems/Exchanges.tsx","../src/components/modal/components/Redeem/MyItems/MyItems.tsx","../src/components/modal/components/Redeem/MyItems/ProfilePage.styles.tsx","../src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx","../src/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemForm.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemFormView.tsx","../src/components/modal/components/RequestShipment/RequestShipmentModal.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/ExchangePolicyOverview.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/FairExchangePolicy.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/InfoBox.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/RequestShipmentSuccess.tsx","../src/components/modal/components/SellerFinance/FinanceDeposit.tsx","../src/components/modal/components/SellerFinance/FinanceWithdraw.tsx","../src/components/modal/components/SellerFinance/FinancesStyles.tsx","../src/components/modal/components/Transactions/TransactionFailedModal/TransactionFailedModal.tsx","../src/components/modal/components/Transactions/TransactionSubmittedModal/TransactionSubmittedModal.tsx","../src/components/modal/components/Transactions/WaitingForConfirmationModal/WaitingForConfirmationModal.tsx","../src/components/modal/components/common/BosonLogo.tsx","../src/components/modal/components/common/DetailOpenSea.tsx","../src/components/modal/components/common/ThemedBosonLogo.tsx","../src/components/modal/components/common/VariationSelects.tsx","../src/components/modal/components/common/OfferFullDescription/DigitalProductData.tsx","../src/components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/GeneralProductData.tsx","../src/components/modal/components/common/OfferFullDescription/OfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/Overview.tsx","../src/components/modal/components/common/OfferFullDescription/PhysicalProductData.tsx","../src/components/modal/components/common/StepsOverview/StepsOverview.tsx","../src/components/modal/components/common/StepsOverview/style.tsx","../src/components/modal/components/common/detail/BuyOrSwapContainer.tsx","../src/components/modal/components/common/detail/Detail.style.tsx","../src/components/modal/components/common/detail/DetailDisputeResolver.tsx","../src/components/modal/components/common/detail/DetailSlider.tsx","../src/components/modal/components/common/detail/DetailTable.tsx","../src/components/modal/components/common/detail/DetailTransactions.tsx","../src/components/modal/components/common/detail/DetailViewCore.tsx","../src/components/modal/components/common/detail/DetailViewProvider.tsx","../src/components/modal/components/common/detail/DetailViewWithProvider.tsx","../src/components/modal/components/common/detail/InnerDetailViewWithPortal.tsx","../src/components/modal/components/common/detail/PhygitalProduct.tsx","../src/components/modal/components/common/detail/SellerAndDescription.tsx","../src/components/modal/components/common/detail/SlickSlider.tsx","../src/components/modal/components/common/detail/TokenGatedItem.tsx","../src/components/modal/components/common/detail/types.ts","../src/components/modal/components/common/detail/useGetOfferDetailData.tsx","../src/components/modal/nonModal/Header.tsx","../src/components/modal/nonModal/NonModal.tsx","../src/components/modal/nonModal/styles.tsx","../src/components/modal/nonModal/headers/HeaderView.tsx","../src/components/offerPolicy/OfferPolicyDetails.tsx","../src/components/pagination/PaginationPages.tsx","../src/components/portal/Portal.tsx","../src/components/price/ConvertedPrice.tsx","../src/components/price/Price.tsx","../src/components/price/useConvertedPrice.tsx","../src/components/productCard/ProductCard.styles.ts","../src/components/productCard/ProductCard.tsx","../src/components/productCard/commonStyles.ts","../src/components/productCard/const.ts","../src/components/queryClient/QueryClientProviderCustom.tsx","../src/components/queryClient/withQueryClientProvider.tsx","../src/components/scroll/ScrollToID.tsx","../src/components/scroll/ScrollToTop.tsx","../src/components/searchBar/SearchBar.styles.ts","../src/components/searchBar/SearchBar.tsx","../src/components/signer/SignerContext.tsx","../src/components/signer/SignerProvider.tsx","../src/components/signer/useExternalSigner.ts","../src/components/skeleton/CollectionsCardSkeleton.tsx","../src/components/skeleton/ProductCardSkeleton.tsx","../src/components/skeleton/common.ts","../src/components/step/MultiSteps.tsx","../src/components/step/Step.styles.ts","../src/components/step/Step.tsx","../src/components/styles/GlobalStyle.tsx","../src/components/styles/GlobalStyledThemed.tsx","../src/components/styles/ResetStylesForNonWidgets.tsx","../src/components/styles/useCSSVariable.ts","../src/components/toasts/SuccessTransactionToast.tsx","../src/components/toasts/common/ErrorToast.tsx","../src/components/toasts/common/SuccessToast.tsx","../src/components/tooltip/Tooltip.tsx","../src/components/ui/CardCTA.tsx","../src/components/ui/DetailsSummary.tsx","../src/components/ui/Grid.tsx","../src/components/ui/GridContainer.tsx","../src/components/ui/IpfsImage.tsx","../src/components/ui/MuteButton.tsx","../src/components/ui/Step.tsx","../src/components/ui/SvgImage.tsx","../src/components/ui/Tabs.tsx","../src/components/ui/ThemedButton.tsx","../src/components/ui/Typography.tsx","../src/components/ui/Video.tsx","../src/components/ui/buttonSize.ts","../src/components/ui/common.ts","../src/components/ui/getTransientCustomProps.ts","../src/components/ui/styles.ts","../src/components/ui/zIndex.ts","../src/components/ui/column/index.tsx","../src/components/ui/loading/Loading.tsx","../src/components/ui/loading/LoadingWrapper.tsx","../src/components/ui/loading/Spinner.tsx","../src/components/ui/loading/WaveLoader/WaveLoader.tsx","../src/components/wallet2/styles.ts","../src/components/wallet2/accountDrawer/AuthenticatedHeader.tsx","../src/components/wallet2/accountDrawer/DefaultMenu.tsx","../src/components/wallet2/accountDrawer/IconButton.tsx","../src/components/wallet2/accountDrawer/index.tsx","../src/components/wallet2/accountDrawer/fiatOnrampModal/FiatLink.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/ExpandoRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/PortfolioRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/index.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/EmptyWalletContent.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/icons.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/index.tsx","../src/components/wallet2/identicon/StatusIcon.tsx","../src/components/wallet2/identicon/index.tsx","../src/components/wallet2/navDropdown/NavDropdown.tsx","../src/components/wallet2/selector/ChainSelector.tsx","../src/components/wallet2/selector/ChainSelectorRow.tsx","../src/components/wallet2/selector/getSupportedChainIdsFromWalletConnectSession.ts","../src/components/wallet2/unicon/Container.ts","../src/components/wallet2/unicon/Emblem.ts","../src/components/wallet2/unicon/index.tsx","../src/components/wallet2/unicon/types.ts","../src/components/wallet2/unicon/utils.ts","../src/components/wallet2/walletModal/ConnectionErrorView.tsx","../src/components/wallet2/walletModal/Option.tsx","../src/components/wallet2/walletModal/index.tsx","../src/components/wallet2/web3Provider/InnerWeb3Provider.tsx","../src/components/wallet2/web3Provider/index.tsx","../src/components/wallet2/web3Status/BosonConnectWallet.tsx","../src/components/wallet2/web3Status/index.tsx","../src/components/widgets/BosonThemeProvider.tsx","../src/components/widgets/MarginContainer.tsx","../src/components/widgets/ReduxProvider.tsx","../src/components/widgets/common.ts","../src/components/widgets/index.tsx","../src/components/widgets/types.ts","../src/components/widgets/commit/CommitModalWithOffer.tsx","../src/components/widgets/commit/CommitWidget.tsx","../src/components/widgets/commit/CommitWidgetProviders.tsx","../src/components/widgets/finance/Finance.tsx","../src/components/widgets/finance/FinanceWidget.tsx","../src/components/widgets/finance/FinanceWidgetProviders.tsx","../src/components/widgets/finance/useFunds.ts","../src/components/widgets/finance/useOffersBacked.ts","../src/components/widgets/finance/useSellerDeposit.ts","../src/components/widgets/finance/useSellerRoles.ts","../src/components/widgets/finance/convertion-rate/ConvertionRateContext.tsx","../src/components/widgets/finance/convertion-rate/ConvertionRateProvider.tsx","../src/components/widgets/finance/convertion-rate/useConvertionRate.ts","../src/components/widgets/finance/convertion-rate/useUniswapPools.ts","../src/components/widgets/finance/convertion-rate/utils.ts","../src/components/widgets/finance/exchange-tokens/tokens.ts","../src/components/widgets/finance/exchange-tokens/useExchangeTokens.ts","../src/components/widgets/finance/exchange-tokens/useTokens.ts","../src/components/widgets/redemption/RedeemModalWithExchange.tsx","../src/components/widgets/redemption/RedemptionWidget.tsx","../src/components/widgets/redemption/RedemptionWidgetProviders.tsx","../src/components/widgets/redemption/const.ts","../src/components/widgets/redemption/provider/RedemptionContext.tsx","../src/components/widgets/redemption/provider/RedemptionProvider.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetContext.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetProvider.tsx","../src/components/widgets/roblox/RobloxWidget.tsx","../src/components/widgets/roblox/components/ConnectRoblox.tsx","../src/components/widgets/roblox/components/ConnectWalletWithLogic.tsx","../src/components/widgets/roblox/components/LoginWithRoblox.tsx","../src/components/widgets/roblox/components/ProductsRoblox.tsx","../src/components/widgets/roblox/components/RobloxExchangesGrid.tsx","../src/components/widgets/roblox/components/RobloxProductsGrid.tsx","../src/components/widgets/roblox/components/const.ts","../src/components/widgets/roblox/components/styles.tsx","../src/components/widgets/roblox/components/types.ts","../src/hooks/index.ts","../src/hooks/magic.ts","../src/hooks/useBreakpoints.ts","../src/hooks/useBuyers.ts","../src/hooks/useCheckExchangePolicy.ts","../src/hooks/useCtaClickHandler.ts","../src/hooks/useCurationLists.ts","../src/hooks/useCurrentSellers.ts","../src/hooks/useDebounce.ts","../src/hooks/useDisableScrolling.ts","../src/hooks/useDisputes.ts","../src/hooks/useEffectDebugger.ts","../src/hooks/useExchanges.ts","../src/hooks/useHandleText.ts","../src/hooks/useIpfsMetadataStorage.tsx","../src/hooks/useIpfsStorage.ts","../src/hooks/useLast.ts","../src/hooks/useMetaTx.ts","../src/hooks/useOnClickOutside.ts","../src/hooks/usePrevious.ts","../src/hooks/useRefundData.ts","../src/hooks/useRenderTemplate.ts","../src/hooks/useSellers.ts","../src/hooks/useSignerAddress.tsx","../src/hooks/useTransactionHistory.ts","../src/hooks/useWindowSize.ts","../src/hooks/bundles/useBundleByUuid.ts","../src/hooks/bundles/useBundleItemsImages.ts","../src/hooks/callbacks/types.ts","../src/hooks/callbacks/useRedemptionCallbacks.ts","../src/hooks/connection/connection.ts","../src/hooks/connection/useDisconnect.ts","../src/hooks/connection/useEagerlyConnect.ts","../src/hooks/connection/useSelectChain.tsx","../src/hooks/connection/useSwitchChain.ts","../src/hooks/connection/useSyncChainQuery.ts","../src/hooks/contracts/getContract.ts","../src/hooks/contracts/multicall.ts","../src/hooks/contracts/useBlockNumber.tsx","../src/hooks/contracts/useContract.ts","../src/hooks/contracts/useGetTokenUriImages.ts","../src/hooks/contracts/useTokenBalances.ts","../src/hooks/contracts/erc1155/useErc1155Name.ts","../src/hooks/contracts/erc1155/useErc1155Uris.ts","../src/hooks/contracts/erc20/useErc20Balance.ts","../src/hooks/contracts/erc20/useErc20ExchangeTokenInfo.ts","../src/hooks/contracts/erc721/useErc721Name.ts","../src/hooks/contracts/erc721/useErc721OwnerOf.ts","../src/hooks/contracts/erc721/useErc721TokenUris.ts","../src/hooks/core-sdk/useCoreSdk.tsx","../src/hooks/core-sdk/useCoreSdkOverrides.ts","../src/hooks/core-sdk/useCoreSdkWithContext.ts","../src/hooks/ens/useENSAddress.ts","../src/hooks/ens/useENSAvatar.ts","../src/hooks/ens/useENSName.ts","../src/hooks/form/useFixSelectFont.tsx","../src/hooks/form/useForm.ts","../src/hooks/images/useFileImage.ts","../src/hooks/images/useIpfsImage.ts","../src/hooks/ipfs/getIpfsHeaders.ts","../src/hooks/ipfs/useIpfsStorage.ts","../src/hooks/ipfs/useSaveImageToIpfs.ts","../src/hooks/lens/useGetLensProfiles.ts","../src/hooks/location/buildUseSearchParams.tsx","../src/hooks/offer/useExchangeTokenBalance.ts","../src/hooks/offer/useIsBosonExclusive.ts","../src/hooks/offer/useIsPhygital.ts","../src/hooks/parameters/useParsedQueryString.ts","../src/hooks/products/useProductByOfferId.ts","../src/hooks/products/useProductByUuid.ts","../src/hooks/roblox/const.ts","../src/hooks/roblox/mutationKeys.ts","../src/hooks/roblox/useGetRobloxWalletAuth.ts","../src/hooks/roblox/useIsRobloxLoggedIn.ts","../src/hooks/roblox/usePostRobloxWalletAuth.ts","../src/hooks/roblox/useRobloxBackendLogin.ts","../src/hooks/roblox/useRobloxExchanges.ts","../src/hooks/roblox/useRobloxGetItemDetails.ts","../src/hooks/roblox/useRobloxLocalStorage.ts","../src/hooks/roblox/useRobloxLogout.ts","../src/hooks/roblox/useRobloxProducts.ts","../src/hooks/roblox/context/RobloxContext.ts","../src/hooks/roblox/context/RobloxProvider.tsx","../src/hooks/roblox/context/useRobloxConfigContext.ts","../src/hooks/storage/useBosonLocalStorage.ts","../src/hooks/storage/useLocalStorage.ts","../src/hooks/tokenGated/useCheckTokenGatedOffer.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/BosonSnapshotGate.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/common.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/index.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/BosonSnapshotGate__factory.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/index.ts","../src/hooks/transactions/usePendingTransactions.tsx","../src/hooks/transactions/usePendingTransactionsWithContext.tsx","../src/hooks/uniswap/useCurrencyBalance.ts","../src/hooks/uniswap/useFetchListCallback.ts","../src/hooks/uniswap/useInterval.ts","../src/hooks/uniswap/useIsWindowVisible.ts","../src/hooks/uniswap/useSocksBalance.ts","../src/hooks/uniswap/useTokenList/fetchTokenList.ts","../src/hooks/uniswap/useTokenList/filtering.ts","../src/hooks/uniswap/useTokenList/sorting.ts","../src/hooks/web3React/useWeb3ReactWrapper.ts","../src/icons/MagnifyingGlass.tsx","../src/icons/coins/Bitcoin.tsx","../src/icons/coins/Boson.tsx","../src/icons/coins/Dai.tsx","../src/icons/coins/Ether.tsx","../src/icons/coins/Polygon.tsx","../src/icons/coins/Solana.tsx","../src/icons/coins/Tether.tsx","../src/icons/coins/Usdc.tsx","../src/icons/coins/Weth.tsx","../src/icons/coins/index.tsx","../src/lib/address/address.ts","../src/lib/base64/base64.ts","../src/lib/bundle/const.ts","../src/lib/bundle/filter.ts","../src/lib/bytes/bytesToSize.ts","../src/lib/chains/chainIdToNetworkName.ts","../src/lib/chains/getNativeLogoURI.ts","../src/lib/config/config.ts","../src/lib/config/getConfigsByChainId.ts","../src/lib/const/chainInfo.ts","../src/lib/const/chains.ts","../src/lib/const/lists.ts","../src/lib/const/locales.ts","../src/lib/const/misc.ts","../src/lib/const/networks.ts","../src/lib/const/parameters.ts","../src/lib/const/policies.ts","../src/lib/const/providers.ts","../src/lib/const/routing.ts","../src/lib/const/tokenLogoLookup.ts","../src/lib/const/tokenSafetyLookup.ts","../src/lib/const/tokens.ts","../src/lib/const/validationMessage.ts","../src/lib/copy/copyToClipboard.ts","../src/lib/dates/checkIfTimestampIsToo.ts","../src/lib/dates/getDateTimestamp.ts","../src/lib/errors/eth-revert-reason.ts","../src/lib/errors/transactions.ts","../src/lib/images/images.ts","../src/lib/ipfs/ipfs.ts","../src/lib/lens/fetchLens.ts","../src/lib/lens/generated.ts","../src/lib/lens/profile.ts","../src/lib/magicLink/logout.ts","../src/lib/magicLink/provider.ts","../src/lib/numbers/numbers.ts","../src/lib/object/checkIfValueIsEmpty.ts","../src/lib/offer/filter.ts","../src/lib/offer/getIsOfferExpired.ts","../src/lib/offer/getOfferAnimationUrl.ts","../src/lib/offer/getOfferDetails.ts","../src/lib/offer/getOfferLabel.ts","../src/lib/offer/getOfferVariations.ts","../src/lib/opensea/getOpenSeaUrl.ts","../src/lib/parameters/swap.ts","../src/lib/price/convertPrice.ts","../src/lib/price/prices.ts","../src/lib/progress/progressStatus.ts","../src/lib/promises/promises.ts","../src/lib/roblox/getIsOfferRobloxGated.ts","../src/lib/signer/externalSigner.ts","../src/lib/signer/useCallSignerFromIframe.ts","../src/lib/state/multicall.tsx","../src/lib/string/formatText.ts","../src/lib/subgraph/subgraph.ts","../src/lib/ui/breakpoint.ts","../src/lib/uniswap/contenthashToUri.ts","../src/lib/uniswap/formatNumbers.ts","../src/lib/uniswap/listSort.ts","../src/lib/uniswap/parseENSAddress.ts","../src/lib/uniswap/resolveENSContentHash.ts","../src/lib/uniswap/safeNamehash.ts","../src/lib/uniswap/validateTokenList.ts","../src/lib/uniswap/__generated__/validateTokenList.js","../src/lib/uniswap/__generated__/validateTokens.js","../src/lib/url/uriToHttp.ts","../src/lib/url/url.ts","../src/lib/userAgent/userAgent.ts","../src/lib/utils/exchange.ts","../src/lib/utils/textFile.ts","../src/lib/videos/videos.ts","../src/state/hooks.ts","../src/state/index.ts","../src/state/migrations.ts","../src/state/reducer.ts","../src/state/reduxContext.ts","../src/state/updaters.tsx","../src/state/global/actions.ts","../src/state/lists/actions.ts","../src/state/lists/hooks.ts","../src/state/lists/reducer.ts","../src/state/lists/updater.ts","../src/state/lists/utils.ts","../src/state/migrations/0.ts","../src/state/migrations/legacy.ts","../src/state/routing/types.ts","../src/state/user/hooks.tsx","../src/state/user/reducer.ts","../src/state/user/types.ts","../src/state/wallets/hooks.tsx","../src/state/wallets/reducer.ts","../src/state/wallets/types.ts","../src/types/bundle.ts","../src/types/exchange.ts","../src/types/externals.d.ts","../src/types/helpers.ts","../src/types/offer.ts","../src/types/tokens.ts","../src/types/transactions.ts","../src/types/tuple.ts","../src/types/variants.ts","../src/types/v3/UniswapInterfaceMulticall.d.ts"],"version":"5.7.3"}
|
|
1
|
+
{"root":["../src/borders.ts","../src/colors.ts","../src/index.tsx","../src/react-app-env.d.ts","../src/setupTests.ts","../src/theme.ts","../src/abis/types/EnsPublicResolver.d.ts","../src/abis/types/EnsRegistrar.d.ts","../src/abis/types/Erc1155.d.ts","../src/abis/types/Erc20.d.ts","../src/abis/types/Erc721.d.ts","../src/abis/types/Permit2.d.ts","../src/abis/types/Weth.d.ts","../src/abis/types/commons.ts","../src/abis/types/index.ts","../src/components/avatar/SellerID.tsx","../src/components/avatar/fallback-avatar.tsx","../src/components/boson/BosonProvider.tsx","../src/components/buttons/BaseButton.tsx","../src/components/buttons/BurgerButton.tsx","../src/components/buttons/Button.tsx","../src/components/buttons/commit/CommitButtonView.tsx","../src/components/buttons/commit/CommitView.tsx","../src/components/buttons/commit/ThemedCommitButtonView.tsx","../src/components/buttons/commit/const.ts","../src/components/buttons/commit/types.ts","../src/components/card/card.styles.ts","../src/components/card/card.tsx","../src/components/chat/InitializeChat.tsx","../src/components/chat/InitializeChatWithSuccess.tsx","../src/components/chat/useChatStatus.ts","../src/components/chat/ChatProvider/ChatContext.ts","../src/components/chat/ChatProvider/ChatProvider.tsx","../src/components/chat/ChatProvider/const.ts","../src/components/config/ConfigContext.ts","../src/components/config/ConfigProvider.tsx","../src/components/connection/ConnectionsProvider.tsx","../src/components/connection/WalletConnectV2.ts","../src/components/connection/activate.ts","../src/components/connection/index.ts","../src/components/connection/types.ts","../src/components/connection/utils.ts","../src/components/contractualAgreement/ContractualAgreement.tsx","../src/components/cta/common/CtaButton.tsx","../src/components/cta/common/styles.ts","../src/components/cta/common/types.ts","../src/components/cta/dispute/AddFeesDisputeResolverButton.tsx","../src/components/cta/dispute/AddSellerToDisputeResolverButton.tsx","../src/components/cta/dispute/CreateDisputeResolverButton.tsx","../src/components/cta/dispute/DecideDisputeButton.tsx","../src/components/cta/dispute/EscalateDisputeButton.tsx","../src/components/cta/dispute/ExpireDisputeButton.tsx","../src/components/cta/dispute/ExpireEscalationDisputeButton.tsx","../src/components/cta/dispute/ExtendDisputeTimeoutButton.tsx","../src/components/cta/dispute/RaiseDisputeButton.tsx","../src/components/cta/dispute/RefuseDisputeButton.tsx","../src/components/cta/dispute/RemoveFeesDisputeResolverButton.tsx","../src/components/cta/dispute/RemoveSellerFromDisputeResolverButton.tsx","../src/components/cta/dispute/ResolveDisputeButton.tsx","../src/components/cta/dispute/RetractDisputeButton.tsx","../src/components/cta/dispute/UpdateDisputeResolverButton.tsx","../src/components/cta/exchange/BatchCompleteButton.tsx","../src/components/cta/exchange/CancelButton.tsx","../src/components/cta/exchange/CompleteButton.tsx","../src/components/cta/exchange/ExpireButton.tsx","../src/components/cta/exchange/RedeemButton.tsx","../src/components/cta/exchange/RevokeButton.tsx","../src/components/cta/funds/DepositFundsButton.tsx","../src/components/cta/funds/WithdrawAllFundsButton.tsx","../src/components/cta/funds/WithdrawFundsButton.tsx","../src/components/cta/offer/BatchVoidButton.tsx","../src/components/cta/offer/CommitButton.tsx","../src/components/cta/offer/CreateOfferButton.tsx","../src/components/cta/offer/ThemedCommitButton.tsx","../src/components/cta/offer/VoidButton.tsx","../src/components/cta/seller/CreateSellerButton.tsx","../src/components/cta/seller/UpdateSellerButton.tsx","../src/components/currencyDisplay/CurrencyDisplay.tsx","../src/components/datepicker/Calendar.tsx","../src/components/datepicker/DatePicker.style.tsx","../src/components/datepicker/DatePicker.tsx","../src/components/datepicker/SelectMonth.tsx","../src/components/datepicker/SelectTime.tsx","../src/components/datepicker/types.ts","../src/components/datepicker/utils.ts","../src/components/detail/DetailChart.tsx","../src/components/detail/useOfferDataset.ts","../src/components/environment/EnvironmentContext.ts","../src/components/environment/EnvironmentProvider.tsx","../src/components/error/EmptyErrorMessage.tsx","../src/components/error/ErrorMessage.tsx","../src/components/error/SimpleError.tsx","../src/components/exchangeCard/ExchangeCard.styles.ts","../src/components/exchangeCard/ExchangeCard.tsx","../src/components/exchangeCard/const.ts","../src/components/exchangeCard/types.ts","../src/components/form/BaseCheckbox.tsx","../src/components/form/BaseInput.tsx","../src/components/form/BaseSelect.tsx","../src/components/form/BaseTagsInput.tsx","../src/components/form/BaseTextArea.tsx","../src/components/form/Checkbox.tsx","../src/components/form/ClearButton.tsx","../src/components/form/CountrySelect.tsx","../src/components/form/Datepicker.tsx","../src/components/form/Error.tsx","../src/components/form/Field.styles.ts","../src/components/form/FormField.tsx","../src/components/form/Input.tsx","../src/components/form/InputColor.tsx","../src/components/form/Phone.tsx","../src/components/form/Select.tsx","../src/components/form/index.ts","../src/components/form/styles.ts","../src/components/form/types.ts","../src/components/form/Upload/BaseUpload.tsx","../src/components/form/Upload/Upload.tsx","../src/components/form/Upload/UploadedFile.tsx","../src/components/form/Upload/UploadedFiles.tsx","../src/components/form/Upload/UploadedSinglePdfFile.tsx","../src/components/form/Upload/WithUploadToIpfs.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditor.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditorModal.tsx","../src/components/form/styles/BaseTagsInput.styles.ts","../src/components/image/Image.styles.ts","../src/components/image/Image.tsx","../src/components/ipfs/IpfsContext.ts","../src/components/ipfs/IpfsProvider.tsx","../src/components/license/License.tsx","../src/components/logo/AssetLogo.tsx","../src/components/logo/PortfolioLogo.tsx","../src/components/logo/useAssetLogoSource.ts","../src/components/magicLink/Login.tsx","../src/components/magicLink/MagicContext.tsx","../src/components/magicLink/MagicProvider.tsx","../src/components/magicLink/UserContext.tsx","../src/components/magicLink/UserProvider.tsx","../src/components/modal/Modal.tsx","../src/components/modal/ModalComponents.tsx","../src/components/modal/ModalContext.tsx","../src/components/modal/ModalProvider.tsx","../src/components/modal/ModalTypes.ts","../src/components/modal/useModal.ts","../src/components/modal/components/Commit/CommitNonModal.tsx","../src/components/modal/components/Commit/OfferVariantView.tsx","../src/components/modal/components/Commit/useNotCommittableOfferStatus.ts","../src/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Commit/DetailView/CommitDetailViewWithProvider.tsx","../src/components/modal/components/Commit/DetailView/CommitRedeemSteps.tsx","../src/components/modal/components/Commit/DetailView/ExternalCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.tsx","../src/components/modal/components/Commit/DetailView/InnerDetailWithProviderCommit.tsx","../src/components/modal/components/Commit/DetailView/RedeemWhatsNext.tsx","../src/components/modal/components/Commit/DetailView/common/QuantityDisplay.tsx","../src/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.tsx","../src/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemFormModel.ts","../src/components/modal/components/Redeem/RedeemHeader.tsx","../src/components/modal/components/Redeem/RedeemNonModal.tsx","../src/components/modal/components/Redeem/checkSignatures.tsx","../src/components/modal/components/Redeem/const.ts","../src/components/modal/components/Redeem/Confirmation/Confirmation.tsx","../src/components/modal/components/Redeem/Confirmation/ConfirmationView.tsx","../src/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Redeem/DetailView/ExchangeDetailViewWithProvider.tsx","../src/components/modal/components/Redeem/DetailView/ExternalExchangeDetailView.tsx","../src/components/modal/components/Redeem/DetailView/InnerDetailWithProviderExchange.tsx","../src/components/modal/components/Redeem/DetailView/InnerExchangeDetailView.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeView.tsx","../src/components/modal/components/Redeem/ExchangeView/RedeemSuccess.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescription.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.tsx","../src/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Redeem/MyItems/Exchange.tsx","../src/components/modal/components/Redeem/MyItems/Exchanges.tsx","../src/components/modal/components/Redeem/MyItems/MyItems.tsx","../src/components/modal/components/Redeem/MyItems/ProfilePage.styles.tsx","../src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx","../src/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemForm.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemFormView.tsx","../src/components/modal/components/RequestShipment/RequestShipmentModal.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/ExchangePolicyOverview.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/FairExchangePolicy.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/InfoBox.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/RequestShipmentSuccess.tsx","../src/components/modal/components/SellerFinance/FinanceDeposit.tsx","../src/components/modal/components/SellerFinance/FinanceWithdraw.tsx","../src/components/modal/components/SellerFinance/FinancesStyles.tsx","../src/components/modal/components/Transactions/TransactionFailedModal/TransactionFailedModal.tsx","../src/components/modal/components/Transactions/TransactionSubmittedModal/TransactionSubmittedModal.tsx","../src/components/modal/components/Transactions/WaitingForConfirmationModal/WaitingForConfirmationModal.tsx","../src/components/modal/components/common/BosonLogo.tsx","../src/components/modal/components/common/DetailOpenSea.tsx","../src/components/modal/components/common/ThemedBosonLogo.tsx","../src/components/modal/components/common/VariationSelects.tsx","../src/components/modal/components/common/OfferFullDescription/DigitalProductData.tsx","../src/components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/GeneralProductData.tsx","../src/components/modal/components/common/OfferFullDescription/OfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/Overview.tsx","../src/components/modal/components/common/OfferFullDescription/PhysicalProductData.tsx","../src/components/modal/components/common/StepsOverview/StepsOverview.tsx","../src/components/modal/components/common/StepsOverview/style.tsx","../src/components/modal/components/common/detail/BuyOrSwapContainer.tsx","../src/components/modal/components/common/detail/Detail.style.tsx","../src/components/modal/components/common/detail/DetailDisputeResolver.tsx","../src/components/modal/components/common/detail/DetailSlider.tsx","../src/components/modal/components/common/detail/DetailTable.tsx","../src/components/modal/components/common/detail/DetailTransactions.tsx","../src/components/modal/components/common/detail/DetailViewCore.tsx","../src/components/modal/components/common/detail/DetailViewProvider.tsx","../src/components/modal/components/common/detail/DetailViewWithProvider.tsx","../src/components/modal/components/common/detail/InnerDetailViewWithPortal.tsx","../src/components/modal/components/common/detail/PhygitalProduct.tsx","../src/components/modal/components/common/detail/SellerAndDescription.tsx","../src/components/modal/components/common/detail/SlickSlider.tsx","../src/components/modal/components/common/detail/TokenGatedItem.tsx","../src/components/modal/components/common/detail/types.ts","../src/components/modal/components/common/detail/useGetOfferDetailData.tsx","../src/components/modal/nonModal/Header.tsx","../src/components/modal/nonModal/NonModal.tsx","../src/components/modal/nonModal/styles.tsx","../src/components/modal/nonModal/headers/HeaderView.tsx","../src/components/offerPolicy/OfferPolicyDetails.tsx","../src/components/pagination/PaginationPages.tsx","../src/components/portal/Portal.tsx","../src/components/price/ConvertedPrice.tsx","../src/components/price/Price.tsx","../src/components/price/useConvertedPrice.tsx","../src/components/productCard/ProductCard.styles.ts","../src/components/productCard/ProductCard.tsx","../src/components/productCard/commonStyles.ts","../src/components/productCard/const.ts","../src/components/queryClient/QueryClientProviderCustom.tsx","../src/components/queryClient/withQueryClientProvider.tsx","../src/components/scroll/ScrollToID.tsx","../src/components/scroll/ScrollToTop.tsx","../src/components/searchBar/SearchBar.styles.ts","../src/components/searchBar/SearchBar.tsx","../src/components/signer/SignerContext.tsx","../src/components/signer/SignerProvider.tsx","../src/components/signer/useExternalSigner.ts","../src/components/skeleton/CollectionsCardSkeleton.tsx","../src/components/skeleton/ProductCardSkeleton.tsx","../src/components/skeleton/common.ts","../src/components/step/MultiSteps.tsx","../src/components/step/Step.styles.ts","../src/components/step/Step.tsx","../src/components/styles/GlobalStyle.tsx","../src/components/styles/GlobalStyledThemed.tsx","../src/components/styles/ResetStylesForNonWidgets.tsx","../src/components/styles/useCSSVariable.ts","../src/components/toasts/SuccessTransactionToast.tsx","../src/components/toasts/common/ErrorToast.tsx","../src/components/toasts/common/SuccessToast.tsx","../src/components/tooltip/Tooltip.tsx","../src/components/ui/CardCTA.tsx","../src/components/ui/DetailsSummary.tsx","../src/components/ui/Grid.tsx","../src/components/ui/GridContainer.tsx","../src/components/ui/IpfsImage.tsx","../src/components/ui/MuteButton.tsx","../src/components/ui/Step.tsx","../src/components/ui/SvgImage.tsx","../src/components/ui/Tabs.tsx","../src/components/ui/ThemedButton.tsx","../src/components/ui/Typography.tsx","../src/components/ui/Video.tsx","../src/components/ui/buttonSize.ts","../src/components/ui/common.ts","../src/components/ui/getTransientCustomProps.ts","../src/components/ui/styles.ts","../src/components/ui/zIndex.ts","../src/components/ui/column/index.tsx","../src/components/ui/loading/Loading.tsx","../src/components/ui/loading/LoadingWrapper.tsx","../src/components/ui/loading/Spinner.tsx","../src/components/ui/loading/WaveLoader/WaveLoader.tsx","../src/components/wallet2/styles.ts","../src/components/wallet2/accountDrawer/AuthenticatedHeader.tsx","../src/components/wallet2/accountDrawer/DefaultMenu.tsx","../src/components/wallet2/accountDrawer/IconButton.tsx","../src/components/wallet2/accountDrawer/index.tsx","../src/components/wallet2/accountDrawer/fiatOnrampModal/FiatLink.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/ExpandoRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/PortfolioRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/index.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/EmptyWalletContent.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/icons.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/index.tsx","../src/components/wallet2/identicon/StatusIcon.tsx","../src/components/wallet2/identicon/index.tsx","../src/components/wallet2/navDropdown/NavDropdown.tsx","../src/components/wallet2/selector/ChainSelector.tsx","../src/components/wallet2/selector/ChainSelectorRow.tsx","../src/components/wallet2/selector/getSupportedChainIdsFromWalletConnectSession.ts","../src/components/wallet2/unicon/Container.ts","../src/components/wallet2/unicon/Emblem.ts","../src/components/wallet2/unicon/index.tsx","../src/components/wallet2/unicon/types.ts","../src/components/wallet2/unicon/utils.ts","../src/components/wallet2/walletModal/ConnectionErrorView.tsx","../src/components/wallet2/walletModal/Option.tsx","../src/components/wallet2/walletModal/index.tsx","../src/components/wallet2/web3Provider/InnerWeb3Provider.tsx","../src/components/wallet2/web3Provider/index.tsx","../src/components/wallet2/web3Status/BosonConnectWallet.tsx","../src/components/wallet2/web3Status/index.tsx","../src/components/widgets/BosonThemeProvider.tsx","../src/components/widgets/MarginContainer.tsx","../src/components/widgets/ReduxProvider.tsx","../src/components/widgets/common.ts","../src/components/widgets/index.tsx","../src/components/widgets/types.ts","../src/components/widgets/commit/CommitModalWithOffer.tsx","../src/components/widgets/commit/CommitWidget.tsx","../src/components/widgets/commit/CommitWidgetProviders.tsx","../src/components/widgets/finance/Finance.tsx","../src/components/widgets/finance/FinanceWidget.tsx","../src/components/widgets/finance/FinanceWidgetProviders.tsx","../src/components/widgets/finance/useFunds.ts","../src/components/widgets/finance/useOffersBacked.ts","../src/components/widgets/finance/useSellerDeposit.ts","../src/components/widgets/finance/useSellerRoles.ts","../src/components/widgets/finance/convertion-rate/ConvertionRateContext.tsx","../src/components/widgets/finance/convertion-rate/ConvertionRateProvider.tsx","../src/components/widgets/finance/convertion-rate/useConvertionRate.ts","../src/components/widgets/finance/convertion-rate/useUniswapPools.ts","../src/components/widgets/finance/convertion-rate/utils.ts","../src/components/widgets/finance/exchange-tokens/tokens.ts","../src/components/widgets/finance/exchange-tokens/useExchangeTokens.ts","../src/components/widgets/finance/exchange-tokens/useTokens.ts","../src/components/widgets/redemption/RedeemModalWithExchange.tsx","../src/components/widgets/redemption/RedemptionWidget.tsx","../src/components/widgets/redemption/RedemptionWidgetProviders.tsx","../src/components/widgets/redemption/const.ts","../src/components/widgets/redemption/provider/RedemptionContext.tsx","../src/components/widgets/redemption/provider/RedemptionProvider.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetContext.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetProvider.tsx","../src/components/widgets/roblox/RobloxWidget.tsx","../src/components/widgets/roblox/components/ConnectRoblox.tsx","../src/components/widgets/roblox/components/ConnectWalletWithLogic.tsx","../src/components/widgets/roblox/components/LoginWithRoblox.tsx","../src/components/widgets/roblox/components/ProductsRoblox.tsx","../src/components/widgets/roblox/components/RobloxExchangesGrid.tsx","../src/components/widgets/roblox/components/RobloxProductsGrid.tsx","../src/components/widgets/roblox/components/const.ts","../src/components/widgets/roblox/components/styles.tsx","../src/components/widgets/roblox/components/types.ts","../src/hooks/index.ts","../src/hooks/magic.ts","../src/hooks/useBreakpoints.ts","../src/hooks/useBuyers.ts","../src/hooks/useCheckExchangePolicy.ts","../src/hooks/useCtaClickHandler.ts","../src/hooks/useCurationLists.ts","../src/hooks/useCurrentSellers.ts","../src/hooks/useDebounce.ts","../src/hooks/useDisableScrolling.ts","../src/hooks/useDisputes.ts","../src/hooks/useEffectDebugger.ts","../src/hooks/useExchanges.ts","../src/hooks/useHandleText.ts","../src/hooks/useIpfsMetadataStorage.tsx","../src/hooks/useIpfsStorage.ts","../src/hooks/useLast.ts","../src/hooks/useMetaTx.ts","../src/hooks/useOnClickOutside.ts","../src/hooks/usePrevious.ts","../src/hooks/useRefundData.ts","../src/hooks/useRenderTemplate.ts","../src/hooks/useSellers.ts","../src/hooks/useSignerAddress.tsx","../src/hooks/useTransactionHistory.ts","../src/hooks/useWindowSize.ts","../src/hooks/bundles/useBundleByUuid.ts","../src/hooks/bundles/useBundleItemsImages.ts","../src/hooks/callbacks/types.ts","../src/hooks/callbacks/useRedemptionCallbacks.ts","../src/hooks/connection/connection.ts","../src/hooks/connection/useDisconnect.ts","../src/hooks/connection/useEagerlyConnect.ts","../src/hooks/connection/useSelectChain.tsx","../src/hooks/connection/useSwitchChain.ts","../src/hooks/connection/useSyncChainQuery.ts","../src/hooks/contracts/BlockNumberProvider.tsx","../src/hooks/contracts/getContract.ts","../src/hooks/contracts/multicall.ts","../src/hooks/contracts/useBlockNumber.tsx","../src/hooks/contracts/useContract.ts","../src/hooks/contracts/useGetTokenUriImages.ts","../src/hooks/contracts/useTokenBalances.ts","../src/hooks/contracts/erc1155/useErc1155Name.ts","../src/hooks/contracts/erc1155/useErc1155Uris.ts","../src/hooks/contracts/erc20/useErc20Balance.ts","../src/hooks/contracts/erc20/useErc20ExchangeTokenInfo.ts","../src/hooks/contracts/erc721/useErc721Name.ts","../src/hooks/contracts/erc721/useErc721OwnerOf.ts","../src/hooks/contracts/erc721/useErc721TokenUris.ts","../src/hooks/core-sdk/useCoreSdk.tsx","../src/hooks/core-sdk/useCoreSdkOverrides.ts","../src/hooks/core-sdk/useCoreSdkWithContext.ts","../src/hooks/ens/useENSAddress.ts","../src/hooks/ens/useENSAvatar.ts","../src/hooks/ens/useENSName.ts","../src/hooks/form/useFixSelectFont.tsx","../src/hooks/form/useForm.ts","../src/hooks/images/useFileImage.ts","../src/hooks/images/useIpfsImage.ts","../src/hooks/ipfs/getIpfsHeaders.ts","../src/hooks/ipfs/useIpfsStorage.ts","../src/hooks/ipfs/useSaveImageToIpfs.ts","../src/hooks/lens/useGetLensProfiles.ts","../src/hooks/location/buildUseSearchParams.tsx","../src/hooks/offer/useExchangeTokenBalance.ts","../src/hooks/offer/useIsBosonExclusive.ts","../src/hooks/offer/useIsPhygital.ts","../src/hooks/parameters/useParsedQueryString.ts","../src/hooks/products/useProductByOfferId.ts","../src/hooks/products/useProductByUuid.ts","../src/hooks/roblox/const.ts","../src/hooks/roblox/mutationKeys.ts","../src/hooks/roblox/useGetRobloxWalletAuth.ts","../src/hooks/roblox/useIsRobloxLoggedIn.ts","../src/hooks/roblox/usePostRobloxWalletAuth.ts","../src/hooks/roblox/useRobloxBackendLogin.ts","../src/hooks/roblox/useRobloxExchanges.ts","../src/hooks/roblox/useRobloxGetItemDetails.ts","../src/hooks/roblox/useRobloxLocalStorage.ts","../src/hooks/roblox/useRobloxLogout.ts","../src/hooks/roblox/useRobloxProducts.ts","../src/hooks/roblox/context/RobloxContext.ts","../src/hooks/roblox/context/RobloxProvider.tsx","../src/hooks/roblox/context/useRobloxConfigContext.ts","../src/hooks/storage/useBosonLocalStorage.ts","../src/hooks/storage/useLocalStorage.ts","../src/hooks/tokenGated/useCheckTokenGatedOffer.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/BosonSnapshotGate.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/common.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/index.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/BosonSnapshotGate__factory.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/index.ts","../src/hooks/transactions/usePendingTransactions.tsx","../src/hooks/transactions/usePendingTransactionsWithContext.tsx","../src/hooks/uniswap/useCurrencyBalance.ts","../src/hooks/uniswap/useFetchListCallback.ts","../src/hooks/uniswap/useInterval.ts","../src/hooks/uniswap/useIsWindowVisible.ts","../src/hooks/uniswap/useSocksBalance.ts","../src/hooks/uniswap/useTokenList/fetchTokenList.ts","../src/hooks/uniswap/useTokenList/filtering.ts","../src/hooks/uniswap/useTokenList/sorting.ts","../src/hooks/web3React/useWeb3ReactWrapper.ts","../src/icons/MagnifyingGlass.tsx","../src/icons/coins/Bitcoin.tsx","../src/icons/coins/Boson.tsx","../src/icons/coins/Dai.tsx","../src/icons/coins/Ether.tsx","../src/icons/coins/Polygon.tsx","../src/icons/coins/Solana.tsx","../src/icons/coins/Tether.tsx","../src/icons/coins/Usdc.tsx","../src/icons/coins/Weth.tsx","../src/icons/coins/index.tsx","../src/lib/address/address.ts","../src/lib/base64/base64.ts","../src/lib/bundle/const.ts","../src/lib/bundle/filter.ts","../src/lib/bytes/bytesToSize.ts","../src/lib/chains/chainIdToNetworkName.ts","../src/lib/chains/getNativeLogoURI.ts","../src/lib/config/config.ts","../src/lib/config/getConfigsByChainId.ts","../src/lib/const/chainInfo.ts","../src/lib/const/chains.ts","../src/lib/const/lists.ts","../src/lib/const/locales.ts","../src/lib/const/misc.ts","../src/lib/const/networks.ts","../src/lib/const/parameters.ts","../src/lib/const/policies.ts","../src/lib/const/providers.ts","../src/lib/const/routing.ts","../src/lib/const/tokenLogoLookup.ts","../src/lib/const/tokenSafetyLookup.ts","../src/lib/const/tokens.ts","../src/lib/const/validationMessage.ts","../src/lib/copy/copyToClipboard.ts","../src/lib/dates/checkIfTimestampIsToo.ts","../src/lib/dates/getDateTimestamp.ts","../src/lib/errors/eth-revert-reason.ts","../src/lib/errors/transactions.ts","../src/lib/images/images.ts","../src/lib/ipfs/ipfs.ts","../src/lib/lens/fetchLens.ts","../src/lib/lens/generated.ts","../src/lib/lens/profile.ts","../src/lib/magicLink/logout.ts","../src/lib/magicLink/provider.ts","../src/lib/numbers/numbers.ts","../src/lib/object/checkIfValueIsEmpty.ts","../src/lib/offer/filter.ts","../src/lib/offer/getIsOfferExpired.ts","../src/lib/offer/getOfferAnimationUrl.ts","../src/lib/offer/getOfferDetails.ts","../src/lib/offer/getOfferLabel.ts","../src/lib/offer/getOfferVariations.ts","../src/lib/opensea/getOpenSeaUrl.ts","../src/lib/parameters/swap.ts","../src/lib/price/convertPrice.ts","../src/lib/price/prices.ts","../src/lib/progress/progressStatus.ts","../src/lib/promises/promises.ts","../src/lib/roblox/getIsOfferRobloxGated.ts","../src/lib/signer/externalSigner.ts","../src/lib/signer/useCallSignerFromIframe.ts","../src/lib/state/multicall.tsx","../src/lib/string/formatText.ts","../src/lib/subgraph/subgraph.ts","../src/lib/ui/breakpoint.ts","../src/lib/uniswap/contenthashToUri.ts","../src/lib/uniswap/formatNumbers.ts","../src/lib/uniswap/listSort.ts","../src/lib/uniswap/parseENSAddress.ts","../src/lib/uniswap/resolveENSContentHash.ts","../src/lib/uniswap/safeNamehash.ts","../src/lib/uniswap/validateTokenList.ts","../src/lib/uniswap/__generated__/validateTokenList.js","../src/lib/uniswap/__generated__/validateTokens.js","../src/lib/url/uriToHttp.ts","../src/lib/url/url.ts","../src/lib/userAgent/userAgent.ts","../src/lib/utils/exchange.ts","../src/lib/utils/textFile.ts","../src/lib/videos/videos.ts","../src/state/hooks.ts","../src/state/index.ts","../src/state/migrations.ts","../src/state/reducer.ts","../src/state/reduxContext.ts","../src/state/updaters.tsx","../src/state/global/actions.ts","../src/state/lists/actions.ts","../src/state/lists/hooks.ts","../src/state/lists/reducer.ts","../src/state/lists/updater.ts","../src/state/lists/utils.ts","../src/state/migrations/0.ts","../src/state/migrations/legacy.ts","../src/state/routing/types.ts","../src/state/user/hooks.tsx","../src/state/user/reducer.ts","../src/state/user/types.ts","../src/state/wallets/hooks.tsx","../src/state/wallets/reducer.ts","../src/state/wallets/types.ts","../src/types/bundle.ts","../src/types/exchange.ts","../src/types/externals.d.ts","../src/types/helpers.ts","../src/types/offer.ts","../src/types/tokens.ts","../src/types/transactions.ts","../src/types/tuple.ts","../src/types/variants.ts","../src/types/v3/UniswapInterfaceMulticall.d.ts"],"version":"5.7.3"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bosonprotocol/react-kit",
|
|
3
3
|
"description": "React toolkit with smart components and hooks for building on top of the Boson Protocol.",
|
|
4
|
-
"version": "0.36.0-alpha.
|
|
4
|
+
"version": "0.36.0-alpha.15",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
7
7
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@bosonprotocol/chat-sdk": "^1.3.1-alpha.9",
|
|
18
|
-
"@bosonprotocol/core-sdk": "^1.42.0-alpha.
|
|
19
|
-
"@bosonprotocol/ethers-sdk": "^1.15.1-alpha.
|
|
18
|
+
"@bosonprotocol/core-sdk": "^1.42.0-alpha.17",
|
|
19
|
+
"@bosonprotocol/ethers-sdk": "^1.15.1-alpha.23",
|
|
20
20
|
"@bosonprotocol/ipfs-storage": "^1.12.0",
|
|
21
21
|
"@bosonprotocol/roblox-sdk": "^1.0.0-alpha.16",
|
|
22
22
|
"@davatar/react": "1.11.1",
|
|
@@ -205,5 +205,5 @@
|
|
|
205
205
|
"overrides": {
|
|
206
206
|
"typescript": "^5.1.6"
|
|
207
207
|
},
|
|
208
|
-
"gitHead": "
|
|
208
|
+
"gitHead": "0d8219de3b58685bef460879f9c645c4ebb978c4"
|
|
209
209
|
}
|
|
@@ -21,6 +21,8 @@ const SvgWrapper = styled.div`
|
|
|
21
21
|
|
|
22
22
|
export const SvgImage: React.FC<SvgImageProps> = withQueryClientProvider(
|
|
23
23
|
({ src, ...rest }) => {
|
|
24
|
+
const isStringWithSvg =
|
|
25
|
+
!!src && typeof src === "string" && src.toLowerCase().startsWith("<svg");
|
|
24
26
|
const { data: svgHtml, isLoading } = useQuery(
|
|
25
27
|
[src],
|
|
26
28
|
async () => {
|
|
@@ -37,7 +39,7 @@ export const SvgImage: React.FC<SvgImageProps> = withQueryClientProvider(
|
|
|
37
39
|
return svgText;
|
|
38
40
|
},
|
|
39
41
|
{
|
|
40
|
-
enabled:
|
|
42
|
+
enabled: isStringWithSvg,
|
|
41
43
|
staleTime: Infinity
|
|
42
44
|
}
|
|
43
45
|
);
|
|
@@ -20,7 +20,7 @@ import ConvertionRateProvider, {
|
|
|
20
20
|
ConvertionRateProviderProps
|
|
21
21
|
} from "../finance/convertion-rate/ConvertionRateProvider";
|
|
22
22
|
import { Web3Provider, Web3ProviderProps } from "../../wallet2/web3Provider";
|
|
23
|
-
import { BlockNumberProvider } from "../../../hooks/contracts/
|
|
23
|
+
import { BlockNumberProvider } from "../../../hooks/contracts/BlockNumberProvider";
|
|
24
24
|
import {
|
|
25
25
|
RedemptionProvider,
|
|
26
26
|
RedemptionProviderProps
|
|
@@ -17,7 +17,7 @@ import ConvertionRateProvider, {
|
|
|
17
17
|
} from "./convertion-rate/ConvertionRateProvider";
|
|
18
18
|
import { BosonProvider, BosonProviderProps } from "../../boson/BosonProvider";
|
|
19
19
|
import { Web3Provider, Web3ProviderProps } from "../../wallet2/web3Provider";
|
|
20
|
-
import { BlockNumberProvider } from "../../../hooks/contracts/
|
|
20
|
+
import { BlockNumberProvider } from "../../../hooks/contracts/BlockNumberProvider";
|
|
21
21
|
import {
|
|
22
22
|
BosonThemeProvider,
|
|
23
23
|
BosonThemeProviderProps,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./BosonThemeProvider";
|
|
2
2
|
export * from "./ReduxProvider";
|
|
3
|
+
export { BlockNumberProvider } from "../../hooks/contracts/BlockNumberProvider";
|
|
3
4
|
export { RedemptionWidgetAction } from "./redemption/provider/RedemptionWidgetContext";
|
|
4
5
|
|
|
5
6
|
export * from "./finance/FinanceWidget";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./provider/RedemptionWidgetProvider";
|
|
27
27
|
import { BosonProvider, BosonProviderProps } from "../../boson/BosonProvider";
|
|
28
28
|
import { Web3Provider, Web3ProviderProps } from "../../wallet2/web3Provider";
|
|
29
|
-
import { BlockNumberProvider } from "../../../hooks/contracts/
|
|
29
|
+
import { BlockNumberProvider } from "../../../hooks/contracts/BlockNumberProvider";
|
|
30
30
|
import { RobloxProvider } from "../../../hooks/roblox/context/RobloxProvider";
|
|
31
31
|
import {
|
|
32
32
|
BosonThemeProvider,
|