@bosonprotocol/react-kit 0.39.0-alpha.4 → 0.39.0-alpha.5
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/hooks/contracts/erc20/useErc20Allowance.d.ts +10 -0
- package/dist/cjs/hooks/contracts/erc20/useErc20Allowance.d.ts.map +1 -0
- package/dist/cjs/hooks/contracts/erc20/useErc20Allowance.js +30 -0
- package/dist/cjs/hooks/contracts/erc20/useErc20Allowance.js.map +1 -0
- package/dist/cjs/hooks/index.d.ts +22 -20
- package/dist/cjs/hooks/index.d.ts.map +1 -1
- package/dist/cjs/hooks/index.js +30 -28
- package/dist/cjs/hooks/index.js.map +1 -1
- package/dist/esm/hooks/contracts/erc20/useErc20Allowance.d.ts +10 -0
- package/dist/esm/hooks/contracts/erc20/useErc20Allowance.d.ts.map +1 -0
- package/dist/esm/hooks/contracts/erc20/useErc20Allowance.js +17 -0
- package/dist/esm/hooks/contracts/erc20/useErc20Allowance.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +22 -20
- package/dist/esm/hooks/index.d.ts.map +1 -1
- package/dist/esm/hooks/index.js +22 -20
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/hooks/contracts/erc20/useErc20Allowance.ts +29 -0
- package/src/hooks/index.ts +27 -25
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CoreSDK } from "@bosonprotocol/core-sdk";
|
|
2
|
+
export declare const useErc20Allowance: (args: {
|
|
3
|
+
contractAddress: string | undefined;
|
|
4
|
+
owner: string | undefined;
|
|
5
|
+
spender: string | undefined;
|
|
6
|
+
}, { enabled, coreSDK }: {
|
|
7
|
+
enabled: boolean | undefined;
|
|
8
|
+
coreSDK: CoreSDK;
|
|
9
|
+
}) => import("react-query").UseQueryResult<string | undefined, unknown>;
|
|
10
|
+
//# sourceMappingURL=useErc20Allowance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useErc20Allowance.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/contracts/erc20/useErc20Allowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,eAAO,MAAM,iBAAiB,SACtB;IACJ,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,wBACqB;IAAE,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,sEAmBzE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.useErc20Allowance = void 0;
|
|
13
|
+
const react_query_1 = require("react-query");
|
|
14
|
+
const useErc20Allowance = (args, { enabled, coreSDK }) => {
|
|
15
|
+
const { contractAddress = "", owner = "", spender = "" } = args;
|
|
16
|
+
return (0, react_query_1.useQuery)(["erc-20-allowance", coreSDK.uuid, args], () => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
+
if (!contractAddress || !owner || !spender) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
return coreSDK.erc20GetAllowance({
|
|
21
|
+
contractAddress,
|
|
22
|
+
owner,
|
|
23
|
+
spender
|
|
24
|
+
});
|
|
25
|
+
}), {
|
|
26
|
+
enabled
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
exports.useErc20Allowance = useErc20Allowance;
|
|
30
|
+
//# sourceMappingURL=useErc20Allowance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useErc20Allowance.js","sourceRoot":"","sources":["../../../../../src/hooks/contracts/erc20/useErc20Allowance.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6CAAuC;AAEhC,MAAM,iBAAiB,GAAG,CAC/B,IAIC,EACD,EAAE,OAAO,EAAE,OAAO,EAAsD,EACxE,EAAE;IACF,MAAM,EAAE,eAAe,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC;IAChE,OAAO,IAAA,sBAAQ,EACb,CAAC,kBAAkB,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EACxC,GAAS,EAAE;QACT,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE,CAAC;YAC3C,OAAO;QACT,CAAC;QACD,OAAO,OAAO,CAAC,iBAAiB,CAAC;YAC/B,eAAe;YACf,KAAK;YACL,OAAO;SACR,CAAC,CAAC;IACL,CAAC,CAAA,EACD;QACE,OAAO;KACR,CACF,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,iBAAiB,qBAyB5B"}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
1
|
+
export { useConfigContext } from "../components/config/ConfigContext";
|
|
3
2
|
export { useIpfsContext } from "../components/ipfs/IpfsContext";
|
|
4
|
-
export
|
|
3
|
+
export { useAccountDrawer, useCloseAccountDrawer, useOpenAccountDrawer, useToggleAccountDrawer } from "../components/wallet2/accountDrawer/index";
|
|
4
|
+
export * from "../components/widgets/finance/useOffersBacked";
|
|
5
5
|
export * from "../lib/signer/externalSigner";
|
|
6
6
|
export * from "../lib/signer/useCallSignerFromIframe";
|
|
7
|
-
export * from "./useEffectDebugger";
|
|
8
|
-
export * from "./useHandleText";
|
|
9
|
-
export * from "./useExchanges";
|
|
10
|
-
export * from "./useMetaTx";
|
|
11
|
-
export * from "../components/widgets/finance/useOffersBacked";
|
|
12
|
-
export * from "./contracts/useGetTokenUriImages";
|
|
13
|
-
export * from "./products/useProductByUuid";
|
|
14
7
|
export * from "./bundles/useBundleByUuid";
|
|
15
|
-
export * from "./
|
|
8
|
+
export * from "./connection/connection";
|
|
9
|
+
export * from "./contracts/erc20/useErc20Allowance";
|
|
10
|
+
export * from "./contracts/erc20/useErc20Balance";
|
|
16
11
|
export * from "./contracts/erc721/useErc721Name";
|
|
17
12
|
export * from "./contracts/erc721/useErc721OwnerOf";
|
|
13
|
+
export * from "./contracts/erc721/useErc721TokenUris";
|
|
18
14
|
export * from "./contracts/erc1155/useErc1155Name";
|
|
19
15
|
export * from "./contracts/erc1155/useErc1155Uris";
|
|
20
|
-
export * from "./
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export * from "./storage/useLocalStorage";
|
|
16
|
+
export * from "./contracts/useGetTokenUriImages";
|
|
17
|
+
export { useCoreSdk } from "./core-sdk/useCoreSdk";
|
|
18
|
+
export * from "./form/useForm";
|
|
24
19
|
export * from "./ipfs/useIpfsStorage";
|
|
25
20
|
export * from "./location/buildUseSearchParams";
|
|
26
|
-
export * from "./
|
|
21
|
+
export * from "./magic";
|
|
22
|
+
export * from "./offer/useIsPhygital";
|
|
23
|
+
export * from "./products/useProductByUuid";
|
|
24
|
+
export * from "./storage/useLocalStorage";
|
|
25
|
+
export * from "./uniswap/useIsWindowVisible";
|
|
27
26
|
export * from "./useBreakpoints";
|
|
28
|
-
export * from "./useSignerAddress";
|
|
29
|
-
export * from "./useMetaTx";
|
|
30
27
|
export { useCtaClickHandler } from "./useCtaClickHandler";
|
|
31
|
-
export
|
|
28
|
+
export * from "./useEffectDebugger";
|
|
29
|
+
export * from "./useExchanges";
|
|
30
|
+
export * from "./useHandleText";
|
|
31
|
+
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
32
|
+
export * from "./useMetaTx";
|
|
33
|
+
export * from "./useMetaTx";
|
|
32
34
|
export * from "./usePrevious";
|
|
33
|
-
export * from "./
|
|
35
|
+
export * from "./useSignerAddress";
|
|
34
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2CAA2C,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
|
package/dist/cjs/hooks/index.js
CHANGED
|
@@ -14,47 +14,49 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
var
|
|
19
|
-
Object.defineProperty(exports, "
|
|
20
|
-
var useIpfsMetadataStorage_1 = require("./useIpfsMetadataStorage");
|
|
21
|
-
Object.defineProperty(exports, "useIpfsMetadataStorage", { enumerable: true, get: function () { return useIpfsMetadataStorage_1.useIpfsMetadataStorage; } });
|
|
17
|
+
exports.useIpfsMetadataStorage = exports.useCtaClickHandler = exports.useCoreSdk = exports.useToggleAccountDrawer = exports.useOpenAccountDrawer = exports.useCloseAccountDrawer = exports.useAccountDrawer = exports.useIpfsContext = exports.useConfigContext = void 0;
|
|
18
|
+
var ConfigContext_1 = require("../components/config/ConfigContext");
|
|
19
|
+
Object.defineProperty(exports, "useConfigContext", { enumerable: true, get: function () { return ConfigContext_1.useConfigContext; } });
|
|
22
20
|
var IpfsContext_1 = require("../components/ipfs/IpfsContext");
|
|
23
21
|
Object.defineProperty(exports, "useIpfsContext", { enumerable: true, get: function () { return IpfsContext_1.useIpfsContext; } });
|
|
24
|
-
|
|
22
|
+
var index_1 = require("../components/wallet2/accountDrawer/index");
|
|
23
|
+
Object.defineProperty(exports, "useAccountDrawer", { enumerable: true, get: function () { return index_1.useAccountDrawer; } });
|
|
24
|
+
Object.defineProperty(exports, "useCloseAccountDrawer", { enumerable: true, get: function () { return index_1.useCloseAccountDrawer; } });
|
|
25
|
+
Object.defineProperty(exports, "useOpenAccountDrawer", { enumerable: true, get: function () { return index_1.useOpenAccountDrawer; } });
|
|
26
|
+
Object.defineProperty(exports, "useToggleAccountDrawer", { enumerable: true, get: function () { return index_1.useToggleAccountDrawer; } });
|
|
27
|
+
__exportStar(require("../components/widgets/finance/useOffersBacked"), exports);
|
|
25
28
|
__exportStar(require("../lib/signer/externalSigner"), exports);
|
|
26
29
|
__exportStar(require("../lib/signer/useCallSignerFromIframe"), exports);
|
|
27
|
-
__exportStar(require("./useEffectDebugger"), exports);
|
|
28
|
-
__exportStar(require("./useHandleText"), exports);
|
|
29
|
-
__exportStar(require("./useExchanges"), exports);
|
|
30
|
-
__exportStar(require("./useMetaTx"), exports);
|
|
31
|
-
__exportStar(require("../components/widgets/finance/useOffersBacked"), exports);
|
|
32
|
-
__exportStar(require("./contracts/useGetTokenUriImages"), exports);
|
|
33
|
-
__exportStar(require("./products/useProductByUuid"), exports);
|
|
34
30
|
__exportStar(require("./bundles/useBundleByUuid"), exports);
|
|
35
|
-
__exportStar(require("./
|
|
31
|
+
__exportStar(require("./connection/connection"), exports);
|
|
32
|
+
__exportStar(require("./contracts/erc20/useErc20Allowance"), exports);
|
|
33
|
+
__exportStar(require("./contracts/erc20/useErc20Balance"), exports);
|
|
36
34
|
__exportStar(require("./contracts/erc721/useErc721Name"), exports);
|
|
37
35
|
__exportStar(require("./contracts/erc721/useErc721OwnerOf"), exports);
|
|
36
|
+
__exportStar(require("./contracts/erc721/useErc721TokenUris"), exports);
|
|
38
37
|
__exportStar(require("./contracts/erc1155/useErc1155Name"), exports);
|
|
39
38
|
__exportStar(require("./contracts/erc1155/useErc1155Uris"), exports);
|
|
40
|
-
__exportStar(require("./
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
__exportStar(require("./storage/useLocalStorage"), exports);
|
|
39
|
+
__exportStar(require("./contracts/useGetTokenUriImages"), exports);
|
|
40
|
+
var useCoreSdk_1 = require("./core-sdk/useCoreSdk");
|
|
41
|
+
Object.defineProperty(exports, "useCoreSdk", { enumerable: true, get: function () { return useCoreSdk_1.useCoreSdk; } });
|
|
42
|
+
__exportStar(require("./form/useForm"), exports);
|
|
45
43
|
__exportStar(require("./ipfs/useIpfsStorage"), exports);
|
|
46
44
|
__exportStar(require("./location/buildUseSearchParams"), exports);
|
|
47
|
-
__exportStar(require("./
|
|
45
|
+
__exportStar(require("./magic"), exports);
|
|
46
|
+
__exportStar(require("./offer/useIsPhygital"), exports);
|
|
47
|
+
__exportStar(require("./products/useProductByUuid"), exports);
|
|
48
|
+
__exportStar(require("./storage/useLocalStorage"), exports);
|
|
49
|
+
__exportStar(require("./uniswap/useIsWindowVisible"), exports);
|
|
48
50
|
__exportStar(require("./useBreakpoints"), exports);
|
|
49
|
-
__exportStar(require("./useSignerAddress"), exports);
|
|
50
|
-
__exportStar(require("./useMetaTx"), exports);
|
|
51
51
|
var useCtaClickHandler_1 = require("./useCtaClickHandler");
|
|
52
52
|
Object.defineProperty(exports, "useCtaClickHandler", { enumerable: true, get: function () { return useCtaClickHandler_1.useCtaClickHandler; } });
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Object.defineProperty(exports, "
|
|
53
|
+
__exportStar(require("./useEffectDebugger"), exports);
|
|
54
|
+
__exportStar(require("./useExchanges"), exports);
|
|
55
|
+
__exportStar(require("./useHandleText"), exports);
|
|
56
|
+
var useIpfsMetadataStorage_1 = require("./useIpfsMetadataStorage");
|
|
57
|
+
Object.defineProperty(exports, "useIpfsMetadataStorage", { enumerable: true, get: function () { return useIpfsMetadataStorage_1.useIpfsMetadataStorage; } });
|
|
58
|
+
__exportStar(require("./useMetaTx"), exports);
|
|
59
|
+
__exportStar(require("./useMetaTx"), exports);
|
|
58
60
|
__exportStar(require("./usePrevious"), exports);
|
|
59
|
-
__exportStar(require("./
|
|
61
|
+
__exportStar(require("./useSignerAddress"), exports);
|
|
60
62
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oEAAsE;AAA7D,iHAAA,gBAAgB,OAAA;AACzB,8DAAgE;AAAvD,6GAAA,cAAc,OAAA;AACvB,mEAKmD;AAJjD,yGAAA,gBAAgB,OAAA;AAChB,8GAAA,qBAAqB,OAAA;AACrB,6GAAA,oBAAoB,OAAA;AACpB,+GAAA,sBAAsB,OAAA;AAExB,gFAA8D;AAC9D,+DAA6C;AAC7C,wEAAsD;AACtD,4DAA0C;AAC1C,0DAAwC;AACxC,sEAAoD;AACpD,oEAAkD;AAClD,mEAAiD;AACjD,sEAAoD;AACpD,wEAAsD;AACtD,qEAAmD;AACnD,qEAAmD;AACnD,mEAAiD;AACjD,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,iDAA+B;AAC/B,wDAAsC;AACtC,kEAAgD;AAChD,0CAAwB;AACxB,wDAAsC;AACtC,8DAA4C;AAC5C,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,sDAAoC;AACpC,iDAA+B;AAC/B,kDAAgC;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,gDAA8B;AAC9B,qDAAmC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CoreSDK } from "@bosonprotocol/core-sdk";
|
|
2
|
+
export declare const useErc20Allowance: (args: {
|
|
3
|
+
contractAddress: string | undefined;
|
|
4
|
+
owner: string | undefined;
|
|
5
|
+
spender: string | undefined;
|
|
6
|
+
}, { enabled, coreSDK }: {
|
|
7
|
+
enabled: boolean | undefined;
|
|
8
|
+
coreSDK: CoreSDK;
|
|
9
|
+
}) => import("react-query").UseQueryResult<string | undefined, unknown>;
|
|
10
|
+
//# sourceMappingURL=useErc20Allowance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useErc20Allowance.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/contracts/erc20/useErc20Allowance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGlD,eAAO,MAAM,iBAAiB,SACtB;IACJ,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,wBACqB;IAAE,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,sEAmBzE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useQuery } from "react-query";
|
|
2
|
+
export const useErc20Allowance = (args, { enabled, coreSDK }) => {
|
|
3
|
+
const { contractAddress = "", owner = "", spender = "" } = args;
|
|
4
|
+
return useQuery(["erc-20-allowance", coreSDK.uuid, args], async () => {
|
|
5
|
+
if (!contractAddress || !owner || !spender) {
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
return coreSDK.erc20GetAllowance({
|
|
9
|
+
contractAddress,
|
|
10
|
+
owner,
|
|
11
|
+
spender
|
|
12
|
+
});
|
|
13
|
+
}, {
|
|
14
|
+
enabled
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useErc20Allowance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useErc20Allowance.js","sourceRoot":"","sources":["../../../../../src/hooks/contracts/erc20/useErc20Allowance.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAIC,EACD,EAAE,OAAO,EAAE,OAAO,EAAsD,EACxE,EAAE;IACF,MAAM,EAAE,eAAe,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC;IAChE,OAAO,QAAQ,CACb,CAAC,kBAAkB,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EACxC,KAAK,IAAI,EAAE;QACT,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE,CAAC;YAC3C,OAAO;QACT,CAAC;QACD,OAAO,OAAO,CAAC,iBAAiB,CAAC;YAC/B,eAAe;YACf,KAAK;YACL,OAAO;SACR,CAAC,CAAC;IACL,CAAC,EACD;QACE,OAAO;KACR,CACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
1
|
+
export { useConfigContext } from "../components/config/ConfigContext";
|
|
3
2
|
export { useIpfsContext } from "../components/ipfs/IpfsContext";
|
|
4
|
-
export
|
|
3
|
+
export { useAccountDrawer, useCloseAccountDrawer, useOpenAccountDrawer, useToggleAccountDrawer } from "../components/wallet2/accountDrawer/index";
|
|
4
|
+
export * from "../components/widgets/finance/useOffersBacked";
|
|
5
5
|
export * from "../lib/signer/externalSigner";
|
|
6
6
|
export * from "../lib/signer/useCallSignerFromIframe";
|
|
7
|
-
export * from "./useEffectDebugger";
|
|
8
|
-
export * from "./useHandleText";
|
|
9
|
-
export * from "./useExchanges";
|
|
10
|
-
export * from "./useMetaTx";
|
|
11
|
-
export * from "../components/widgets/finance/useOffersBacked";
|
|
12
|
-
export * from "./contracts/useGetTokenUriImages";
|
|
13
|
-
export * from "./products/useProductByUuid";
|
|
14
7
|
export * from "./bundles/useBundleByUuid";
|
|
15
|
-
export * from "./
|
|
8
|
+
export * from "./connection/connection";
|
|
9
|
+
export * from "./contracts/erc20/useErc20Allowance";
|
|
10
|
+
export * from "./contracts/erc20/useErc20Balance";
|
|
16
11
|
export * from "./contracts/erc721/useErc721Name";
|
|
17
12
|
export * from "./contracts/erc721/useErc721OwnerOf";
|
|
13
|
+
export * from "./contracts/erc721/useErc721TokenUris";
|
|
18
14
|
export * from "./contracts/erc1155/useErc1155Name";
|
|
19
15
|
export * from "./contracts/erc1155/useErc1155Uris";
|
|
20
|
-
export * from "./
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export * from "./storage/useLocalStorage";
|
|
16
|
+
export * from "./contracts/useGetTokenUriImages";
|
|
17
|
+
export { useCoreSdk } from "./core-sdk/useCoreSdk";
|
|
18
|
+
export * from "./form/useForm";
|
|
24
19
|
export * from "./ipfs/useIpfsStorage";
|
|
25
20
|
export * from "./location/buildUseSearchParams";
|
|
26
|
-
export * from "./
|
|
21
|
+
export * from "./magic";
|
|
22
|
+
export * from "./offer/useIsPhygital";
|
|
23
|
+
export * from "./products/useProductByUuid";
|
|
24
|
+
export * from "./storage/useLocalStorage";
|
|
25
|
+
export * from "./uniswap/useIsWindowVisible";
|
|
27
26
|
export * from "./useBreakpoints";
|
|
28
|
-
export * from "./useSignerAddress";
|
|
29
|
-
export * from "./useMetaTx";
|
|
30
27
|
export { useCtaClickHandler } from "./useCtaClickHandler";
|
|
31
|
-
export
|
|
28
|
+
export * from "./useEffectDebugger";
|
|
29
|
+
export * from "./useExchanges";
|
|
30
|
+
export * from "./useHandleText";
|
|
31
|
+
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
32
|
+
export * from "./useMetaTx";
|
|
33
|
+
export * from "./useMetaTx";
|
|
32
34
|
export * from "./usePrevious";
|
|
33
|
-
export * from "./
|
|
35
|
+
export * from "./useSignerAddress";
|
|
34
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2CAA2C,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
|
package/dist/esm/hooks/index.js
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
1
|
+
export { useConfigContext } from "../components/config/ConfigContext";
|
|
3
2
|
export { useIpfsContext } from "../components/ipfs/IpfsContext";
|
|
4
|
-
export
|
|
3
|
+
export { useAccountDrawer, useCloseAccountDrawer, useOpenAccountDrawer, useToggleAccountDrawer } from "../components/wallet2/accountDrawer/index";
|
|
4
|
+
export * from "../components/widgets/finance/useOffersBacked";
|
|
5
5
|
export * from "../lib/signer/externalSigner";
|
|
6
6
|
export * from "../lib/signer/useCallSignerFromIframe";
|
|
7
|
-
export * from "./useEffectDebugger";
|
|
8
|
-
export * from "./useHandleText";
|
|
9
|
-
export * from "./useExchanges";
|
|
10
|
-
export * from "./useMetaTx";
|
|
11
|
-
export * from "../components/widgets/finance/useOffersBacked";
|
|
12
|
-
export * from "./contracts/useGetTokenUriImages";
|
|
13
|
-
export * from "./products/useProductByUuid";
|
|
14
7
|
export * from "./bundles/useBundleByUuid";
|
|
15
|
-
export * from "./
|
|
8
|
+
export * from "./connection/connection";
|
|
9
|
+
export * from "./contracts/erc20/useErc20Allowance";
|
|
10
|
+
export * from "./contracts/erc20/useErc20Balance";
|
|
16
11
|
export * from "./contracts/erc721/useErc721Name";
|
|
17
12
|
export * from "./contracts/erc721/useErc721OwnerOf";
|
|
13
|
+
export * from "./contracts/erc721/useErc721TokenUris";
|
|
18
14
|
export * from "./contracts/erc1155/useErc1155Name";
|
|
19
15
|
export * from "./contracts/erc1155/useErc1155Uris";
|
|
20
|
-
export * from "./
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export * from "./storage/useLocalStorage";
|
|
16
|
+
export * from "./contracts/useGetTokenUriImages";
|
|
17
|
+
export { useCoreSdk } from "./core-sdk/useCoreSdk";
|
|
18
|
+
export * from "./form/useForm";
|
|
24
19
|
export * from "./ipfs/useIpfsStorage";
|
|
25
20
|
export * from "./location/buildUseSearchParams";
|
|
26
|
-
export * from "./
|
|
21
|
+
export * from "./magic";
|
|
22
|
+
export * from "./offer/useIsPhygital";
|
|
23
|
+
export * from "./products/useProductByUuid";
|
|
24
|
+
export * from "./storage/useLocalStorage";
|
|
25
|
+
export * from "./uniswap/useIsWindowVisible";
|
|
27
26
|
export * from "./useBreakpoints";
|
|
28
|
-
export * from "./useSignerAddress";
|
|
29
|
-
export * from "./useMetaTx";
|
|
30
27
|
export { useCtaClickHandler } from "./useCtaClickHandler";
|
|
31
|
-
export
|
|
28
|
+
export * from "./useEffectDebugger";
|
|
29
|
+
export * from "./useExchanges";
|
|
30
|
+
export * from "./useHandleText";
|
|
31
|
+
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
32
|
+
export * from "./useMetaTx";
|
|
33
|
+
export * from "./useMetaTx";
|
|
32
34
|
export * from "./usePrevious";
|
|
33
|
-
export * from "./
|
|
35
|
+
export * from "./useSignerAddress";
|
|
34
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2CAA2C,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,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/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"}
|
|
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/useErc20Allowance.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.39.0-alpha.
|
|
4
|
+
"version": "0.39.0-alpha.5",
|
|
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.43.2-alpha.
|
|
19
|
-
"@bosonprotocol/ethers-sdk": "^1.15.6-alpha.
|
|
18
|
+
"@bosonprotocol/core-sdk": "^1.43.2-alpha.3",
|
|
19
|
+
"@bosonprotocol/ethers-sdk": "^1.15.6-alpha.3",
|
|
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": "2324f02c2780ff6fb71dcfee3133d253832dc6d5"
|
|
209
209
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CoreSDK } from "@bosonprotocol/core-sdk";
|
|
2
|
+
import { useQuery } from "react-query";
|
|
3
|
+
|
|
4
|
+
export const useErc20Allowance = (
|
|
5
|
+
args: {
|
|
6
|
+
contractAddress: string | undefined;
|
|
7
|
+
owner: string | undefined;
|
|
8
|
+
spender: string | undefined;
|
|
9
|
+
},
|
|
10
|
+
{ enabled, coreSDK }: { enabled: boolean | undefined; coreSDK: CoreSDK }
|
|
11
|
+
) => {
|
|
12
|
+
const { contractAddress = "", owner = "", spender = "" } = args;
|
|
13
|
+
return useQuery(
|
|
14
|
+
["erc-20-allowance", coreSDK.uuid, args],
|
|
15
|
+
async () => {
|
|
16
|
+
if (!contractAddress || !owner || !spender) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
return coreSDK.erc20GetAllowance({
|
|
20
|
+
contractAddress,
|
|
21
|
+
owner,
|
|
22
|
+
spender
|
|
23
|
+
});
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
enabled
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
};
|
package/src/hooks/index.ts
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
1
|
+
export { useConfigContext } from "../components/config/ConfigContext";
|
|
3
2
|
export { useIpfsContext } from "../components/ipfs/IpfsContext";
|
|
4
|
-
export
|
|
3
|
+
export {
|
|
4
|
+
useAccountDrawer,
|
|
5
|
+
useCloseAccountDrawer,
|
|
6
|
+
useOpenAccountDrawer,
|
|
7
|
+
useToggleAccountDrawer
|
|
8
|
+
} from "../components/wallet2/accountDrawer/index";
|
|
9
|
+
export * from "../components/widgets/finance/useOffersBacked";
|
|
5
10
|
export * from "../lib/signer/externalSigner";
|
|
6
11
|
export * from "../lib/signer/useCallSignerFromIframe";
|
|
7
|
-
export * from "./useEffectDebugger";
|
|
8
|
-
export * from "./useHandleText";
|
|
9
|
-
export * from "./useExchanges";
|
|
10
|
-
export * from "./useMetaTx";
|
|
11
|
-
export * from "../components/widgets/finance/useOffersBacked";
|
|
12
|
-
export * from "./contracts/useGetTokenUriImages";
|
|
13
|
-
export * from "./products/useProductByUuid";
|
|
14
12
|
export * from "./bundles/useBundleByUuid";
|
|
15
|
-
export * from "./
|
|
13
|
+
export * from "./connection/connection";
|
|
14
|
+
export * from "./contracts/erc20/useErc20Allowance";
|
|
15
|
+
export * from "./contracts/erc20/useErc20Balance";
|
|
16
16
|
export * from "./contracts/erc721/useErc721Name";
|
|
17
17
|
export * from "./contracts/erc721/useErc721OwnerOf";
|
|
18
|
+
export * from "./contracts/erc721/useErc721TokenUris";
|
|
18
19
|
export * from "./contracts/erc1155/useErc1155Name";
|
|
19
20
|
export * from "./contracts/erc1155/useErc1155Uris";
|
|
20
|
-
export * from "./
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export * from "./storage/useLocalStorage";
|
|
21
|
+
export * from "./contracts/useGetTokenUriImages";
|
|
22
|
+
export { useCoreSdk } from "./core-sdk/useCoreSdk";
|
|
23
|
+
export * from "./form/useForm";
|
|
24
24
|
export * from "./ipfs/useIpfsStorage";
|
|
25
25
|
export * from "./location/buildUseSearchParams";
|
|
26
|
-
export * from "./
|
|
26
|
+
export * from "./magic";
|
|
27
|
+
export * from "./offer/useIsPhygital";
|
|
28
|
+
export * from "./products/useProductByUuid";
|
|
29
|
+
export * from "./storage/useLocalStorage";
|
|
30
|
+
export * from "./uniswap/useIsWindowVisible";
|
|
27
31
|
export * from "./useBreakpoints";
|
|
28
|
-
export * from "./useSignerAddress";
|
|
29
|
-
export * from "./useMetaTx";
|
|
30
32
|
export { useCtaClickHandler } from "./useCtaClickHandler";
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
export * from "./useEffectDebugger";
|
|
34
|
+
export * from "./useExchanges";
|
|
35
|
+
export * from "./useHandleText";
|
|
36
|
+
export { useIpfsMetadataStorage } from "./useIpfsMetadataStorage";
|
|
37
|
+
export * from "./useMetaTx";
|
|
38
|
+
export * from "./useMetaTx";
|
|
37
39
|
export * from "./usePrevious";
|
|
38
|
-
export * from "./
|
|
40
|
+
export * from "./useSignerAddress";
|