@aurora-is-near/intents-swap-widget 3.14.0-redesign.9 → 3.14.0
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/{config-CG-NCoEP.js → config-CeOg2QLU.js} +2 -2
- package/dist/{config-CG-NCoEP.js.map → config-CeOg2QLU.js.map} +1 -1
- package/dist/config.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/ext/alchemy/index.js +1 -1
- package/dist/ext/index.js +1 -1
- package/dist/features/BalanceRpcLoader/TokenBalanceLoader.js +1 -1
- package/dist/features/BalanceRpcLoader/index.js +1 -1
- package/dist/features/BalanceRpcLoader/useTokenBalanceRpc.js +1 -1
- package/dist/features/ChainsDropdown/index.js +1 -1
- package/dist/features/DepositMethodSwitcher.js +12 -10
- package/dist/features/DepositMethodSwitcher.js.map +1 -1
- package/dist/features/ErrorBoundary.js +1 -1
- package/dist/features/ExternalDeposit.js +1 -1
- package/dist/features/SendAddress/index.js +1 -1
- package/dist/features/SendAddress/useNotification.js +1 -1
- package/dist/features/SubmitButton/index.js +1 -1
- package/dist/features/SuccessScreen/index.js +1 -1
- package/dist/features/SwapDirectionSwitcher.js +1 -1
- package/dist/features/SwapQuote/SwapQuote.js +1 -1
- package/dist/features/SwapQuote/index.js +1 -1
- package/dist/features/TokenInput/TokenInput.js +1 -1
- package/dist/features/TokenInput/TokenInputEmpty.js +1 -1
- package/dist/features/TokenInput/TokenInputSource.js +1 -1
- package/dist/features/TokenInput/TokenInputTarget.js +1 -1
- package/dist/features/TokenInput/WalletBalance.js +1 -1
- package/dist/features/TokenInput/hooks/index.js +1 -1
- package/dist/features/TokenInput/hooks/useTokenInputBalance.js +1 -1
- package/dist/features/TokenInput/index.js +1 -1
- package/dist/features/TokensList/TokenItem.js +1 -1
- package/dist/features/TokensList/TokensList.js +1 -1
- package/dist/features/TokensList/index.js +1 -1
- package/dist/features/TokensModal.js +1 -1
- package/dist/features/WalletCompatibilityCheck/WalletCompatibilityModal.js +1 -1
- package/dist/features/WalletCompatibilityCheck/index.js +1 -1
- package/dist/features/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useAllTokens.js +1 -1
- package/dist/hooks/useChains.js +1 -1
- package/dist/hooks/useCompatibilityCheck.js +1 -1
- package/dist/hooks/useDefaultToken.js +1 -1
- package/dist/hooks/useExternalDepositStatus/index.js +1 -1
- package/dist/hooks/useExternalDepositStatus/usePoaExternalDepositStatus.js +1 -1
- package/dist/hooks/useIntentsBalance.js +1 -1
- package/dist/hooks/useIsCompatibilityCheckRequired.js +1 -1
- package/dist/hooks/useMakeDepositAddress.js +1 -1
- package/dist/hooks/useMakeIntentsTransfer.js +1 -1
- package/dist/hooks/useMakeNEARFtTransferCall.js +1 -1
- package/dist/hooks/useMakeQuote.js +1 -1
- package/dist/hooks/useMakeQuoteTransfer.js +1 -1
- package/dist/hooks/useMakeTransfer.js +1 -1
- package/dist/hooks/useMergedBalance.js +1 -1
- package/dist/hooks/useSwitchChain.js +1 -1
- package/dist/hooks/useTheme.js +1 -1
- package/dist/hooks/useTokenInputPair.js +1 -1
- package/dist/hooks/useTokens.js +1 -1
- package/dist/hooks/useTokensFiltered.js +1 -1
- package/dist/hooks/useTokensIntentsUnique.js +1 -1
- package/dist/index.js +1 -1
- package/dist/machine/effects/index.js +1 -1
- package/dist/machine/effects/useAlchemyBalanceEffect.js +1 -1
- package/dist/machine/effects/useBalancesUpdateEffect.js +1 -1
- package/dist/machine/effects/useMakeQuoteEffect.js +1 -1
- package/dist/machine/effects/useSelectedTokensEffect.js +1 -1
- package/dist/machine/effects/useSetTokenBalanceEffect.js +1 -1
- package/dist/machine/effects/useSetTokenIntentsTargetEffect.js +1 -1
- package/dist/machine/effects/useWalletConnEffect.js +1 -1
- package/dist/machine/events/index.js +1 -1
- package/dist/machine/events/tokenSelect.js +1 -1
- package/dist/machine/events/validateInputAndMoveTo.js +1 -1
- package/dist/machine/events/validateInputs.js +1 -1
- package/dist/machine/index.js +1 -1
- package/dist/machine/snap.js +1 -1
- package/dist/machine/subscriptions/checkers/isSendAddressAsConnected.js +1 -1
- package/dist/machine/subscriptions/index.js +1 -1
- package/dist/theme/ThemeProvider.js +1 -1
- package/dist/utils/intents/signers/near.js +1 -1
- package/dist/utils/intents/signers/privy.js +1 -1
- package/dist/utils/localstorage.d.ts +2 -2
- package/dist/utils/localstorage.js +1 -0
- package/dist/utils/localstorage.js.map +1 -1
- package/dist/utils/near/getNearNep141StorageBalance.js +1 -1
- package/dist/widgets/WidgetDeposit/WidgetDepositContent.js +1 -1
- package/dist/widgets/WidgetDeposit/WidgetDepositSkeleton.js +1 -1
- package/dist/widgets/WidgetSwap/WidgetSwapContent.js +1 -1
- package/dist/widgets/WidgetSwap/WidgetSwapSkeleton.js +1 -1
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js +1 -1
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawSkeleton.js +1 -1
- package/package.json +3 -3
- package/src/features/DepositMethodSwitcher.tsx +2 -0
- package/src/tests/mock-localstorage.ts +32 -0
- package/src/utils/localstorage.ts +2 -2
- package/src/widgets/WidgetDeposit/WidgetDeposit.test.tsx +6 -0
package/dist/config.js
CHANGED
|
@@ -8,7 +8,7 @@ import "react";
|
|
|
8
8
|
import "@tanstack/react-query";
|
|
9
9
|
import "react-i18next";
|
|
10
10
|
import "./localisation.js";
|
|
11
|
-
import { W as K, ai as L, y as M } from "./config-
|
|
11
|
+
import { W as K, ai as L, y as M } from "./config-CeOg2QLU.js";
|
|
12
12
|
import "@headlessui/react";
|
|
13
13
|
import "framer-motion";
|
|
14
14
|
import "lucide-react";
|
package/dist/errors.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@tanstack/react-query";
|
|
|
3
3
|
import "./parse.js";
|
|
4
4
|
import "./load.js";
|
|
5
5
|
import "./types.js";
|
|
6
|
-
import { t as s } from "../../config-
|
|
6
|
+
import { t as s } from "../../config-CeOg2QLU.js";
|
|
7
7
|
import "../../machine/guards/index.js";
|
|
8
8
|
import "../../machine/machine.js";
|
|
9
9
|
import "../../machine/events/utils/fireEvent.js";
|
package/dist/ext/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "../../logger.js";
|
|
|
3
3
|
import "../../utils/ton/getTonTokenBalance.js";
|
|
4
4
|
import "../../utils/solana/getSolanaTokenBalance.js";
|
|
5
5
|
import "../../hooks/useWalletAddressForToken.js";
|
|
6
|
-
import { D as x } from "../../config-
|
|
6
|
+
import { D as x } from "../../config-CeOg2QLU.js";
|
|
7
7
|
import "../../utils/evm/isEvmChain.js";
|
|
8
8
|
import "../../utils/evm/isEvmToken.js";
|
|
9
9
|
import "../../utils/evm/isEvmBaseToken.js";
|
|
@@ -5,7 +5,7 @@ import { AnimatePresence as S, motion as T } from "framer-motion";
|
|
|
5
5
|
import * as g from "lucide-react";
|
|
6
6
|
import { ChainItem as p } from "./ChainItem.js";
|
|
7
7
|
import { AllNetworksIcon as d } from "./AllNetworksIcon.js";
|
|
8
|
-
import { d as z, y as E } from "../../config-
|
|
8
|
+
import { d as z, y as E } from "../../config-CeOg2QLU.js";
|
|
9
9
|
import { Hr as j } from "../../components/Hr.js";
|
|
10
10
|
import { Icon as o } from "../../components/Icon.js";
|
|
11
11
|
import { CHAINS_LIST as y } from "../../constants/chains.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as l from "lucide-react";
|
|
3
3
|
import { cn as m } from "../utils/cn.js";
|
|
4
4
|
import { Card as p } from "../components/Card.js";
|
|
5
|
-
import { Button as
|
|
6
|
-
import { b as c } from "../config-
|
|
5
|
+
import { Button as i } from "../components/Button.js";
|
|
6
|
+
import { b as c } from "../config-CeOg2QLU.js";
|
|
7
7
|
import "ethers";
|
|
8
8
|
import "../machine/machine.js";
|
|
9
9
|
import { fireEvent as d } from "../machine/events/utils/fireEvent.js";
|
|
10
|
-
const
|
|
10
|
+
const D = ({ children: s, className: a }) => {
|
|
11
11
|
const { ctx: e } = c(), o = (n) => {
|
|
12
12
|
d("depositTypeSet", { isExternal: n });
|
|
13
13
|
};
|
|
@@ -15,30 +15,32 @@ const v = ({ children: l, className: a }) => {
|
|
|
15
15
|
/* @__PURE__ */ t("span", { className: "text-sw-label-md text-sw-gray-50", children: "Select deposit method" }),
|
|
16
16
|
/* @__PURE__ */ r("div", { className: "flex gap-sw-lg", children: [
|
|
17
17
|
/* @__PURE__ */ t(
|
|
18
|
-
|
|
18
|
+
i,
|
|
19
19
|
{
|
|
20
20
|
size: "md",
|
|
21
|
-
icon:
|
|
21
|
+
icon: l.Wallet2,
|
|
22
|
+
state: e.isDepositFromExternalWallet ? "default" : "active",
|
|
22
23
|
variant: e.isDepositFromExternalWallet ? "outlined" : "primary",
|
|
23
24
|
onClick: () => o(!1),
|
|
24
25
|
children: "My wallet"
|
|
25
26
|
}
|
|
26
27
|
),
|
|
27
28
|
/* @__PURE__ */ t(
|
|
28
|
-
|
|
29
|
+
i,
|
|
29
30
|
{
|
|
30
31
|
size: "md",
|
|
31
|
-
icon:
|
|
32
|
+
icon: l.QrCode,
|
|
33
|
+
state: e.isDepositFromExternalWallet ? "active" : "default",
|
|
32
34
|
variant: e.isDepositFromExternalWallet ? "primary" : "outlined",
|
|
33
35
|
onClick: () => o(!0),
|
|
34
36
|
children: "QR / Address"
|
|
35
37
|
}
|
|
36
38
|
)
|
|
37
39
|
] }),
|
|
38
|
-
|
|
40
|
+
s({ isExternal: e.isDepositFromExternalWallet })
|
|
39
41
|
] });
|
|
40
42
|
};
|
|
41
43
|
export {
|
|
42
|
-
|
|
44
|
+
D as DepositMethodSwitcher
|
|
43
45
|
};
|
|
44
46
|
//# sourceMappingURL=DepositMethodSwitcher.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositMethodSwitcher.js","sources":["../../src/features/DepositMethodSwitcher.tsx"],"sourcesContent":["import * as Icons from 'lucide-react';\n\nimport { cn } from '@/utils/cn';\nimport { Card } from '@/components/Card';\nimport { Button } from '@/components/Button';\nimport { useUnsafeSnapshot } from '@/machine/snap';\nimport { fireEvent } from '@/machine';\n\ntype Props = {\n className?: string;\n children: ({ isExternal }: { isExternal: boolean }) => React.ReactNode;\n};\n\nexport const DepositMethodSwitcher = ({ children, className }: Props) => {\n const { ctx } = useUnsafeSnapshot();\n\n const onToggle = (isExternal: boolean) => {\n fireEvent('depositTypeSet', { isExternal });\n };\n\n return (\n <Card className={cn('gap-sw-2xl p-sw-2xl flex flex-col', className)}>\n <span className=\"text-sw-label-md text-sw-gray-50\">\n Select deposit method\n </span>\n <div className=\"flex gap-sw-lg\">\n <Button\n size=\"md\"\n icon={Icons.Wallet2}\n variant={ctx.isDepositFromExternalWallet ? 'outlined' : 'primary'}\n onClick={() => onToggle(false)}>\n My wallet\n </Button>\n <Button\n size=\"md\"\n icon={Icons.QrCode}\n variant={ctx.isDepositFromExternalWallet ? 'primary' : 'outlined'}\n onClick={() => onToggle(true)}>\n QR / Address\n </Button>\n </div>\n\n {children({ isExternal: ctx.isDepositFromExternalWallet })}\n </Card>\n );\n};\n"],"names":["DepositMethodSwitcher","children","className","ctx","useUnsafeSnapshot","onToggle","isExternal","fireEvent","Card","cn","jsx","jsxs","Button","Icons"],"mappings":";;;;;;;;;AAaO,MAAMA,IAAwB,CAAC,EAAE,UAAAC,GAAU,WAAAC,QAAuB;AACvE,QAAM,EAAE,KAAAC,EAAA,IAAQC,EAAA,GAEVC,IAAW,CAACC,MAAwB;AACxC,IAAAC,EAAU,kBAAkB,EAAE,YAAAD,GAAY;AAAA,EAC5C;AAEA,2BACGE,GAAA,EAAK,WAAWC,EAAG,qCAAqCP,CAAS,GAChE,UAAA;AAAA,IAAA,gBAAAQ,EAAC,QAAA,EAAK,WAAU,oCAAmC,UAAA,yBAEnD;AAAA,IACA,gBAAAC,EAAC,OAAA,EAAI,WAAU,kBACb,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,MAAMC,EAAM;AAAA,UACZ,
|
|
1
|
+
{"version":3,"file":"DepositMethodSwitcher.js","sources":["../../src/features/DepositMethodSwitcher.tsx"],"sourcesContent":["import * as Icons from 'lucide-react';\n\nimport { cn } from '@/utils/cn';\nimport { Card } from '@/components/Card';\nimport { Button } from '@/components/Button';\nimport { useUnsafeSnapshot } from '@/machine/snap';\nimport { fireEvent } from '@/machine';\n\ntype Props = {\n className?: string;\n children: ({ isExternal }: { isExternal: boolean }) => React.ReactNode;\n};\n\nexport const DepositMethodSwitcher = ({ children, className }: Props) => {\n const { ctx } = useUnsafeSnapshot();\n\n const onToggle = (isExternal: boolean) => {\n fireEvent('depositTypeSet', { isExternal });\n };\n\n return (\n <Card className={cn('gap-sw-2xl p-sw-2xl flex flex-col', className)}>\n <span className=\"text-sw-label-md text-sw-gray-50\">\n Select deposit method\n </span>\n <div className=\"flex gap-sw-lg\">\n <Button\n size=\"md\"\n icon={Icons.Wallet2}\n state={ctx.isDepositFromExternalWallet ? 'default' : 'active'}\n variant={ctx.isDepositFromExternalWallet ? 'outlined' : 'primary'}\n onClick={() => onToggle(false)}>\n My wallet\n </Button>\n <Button\n size=\"md\"\n icon={Icons.QrCode}\n state={ctx.isDepositFromExternalWallet ? 'active' : 'default'}\n variant={ctx.isDepositFromExternalWallet ? 'primary' : 'outlined'}\n onClick={() => onToggle(true)}>\n QR / Address\n </Button>\n </div>\n\n {children({ isExternal: ctx.isDepositFromExternalWallet })}\n </Card>\n );\n};\n"],"names":["DepositMethodSwitcher","children","className","ctx","useUnsafeSnapshot","onToggle","isExternal","fireEvent","Card","cn","jsx","jsxs","Button","Icons"],"mappings":";;;;;;;;;AAaO,MAAMA,IAAwB,CAAC,EAAE,UAAAC,GAAU,WAAAC,QAAuB;AACvE,QAAM,EAAE,KAAAC,EAAA,IAAQC,EAAA,GAEVC,IAAW,CAACC,MAAwB;AACxC,IAAAC,EAAU,kBAAkB,EAAE,YAAAD,GAAY;AAAA,EAC5C;AAEA,2BACGE,GAAA,EAAK,WAAWC,EAAG,qCAAqCP,CAAS,GAChE,UAAA;AAAA,IAAA,gBAAAQ,EAAC,QAAA,EAAK,WAAU,oCAAmC,UAAA,yBAEnD;AAAA,IACA,gBAAAC,EAAC,OAAA,EAAI,WAAU,kBACb,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,MAAMC,EAAM;AAAA,UACZ,OAAOV,EAAI,8BAA8B,YAAY;AAAA,UACrD,SAASA,EAAI,8BAA8B,aAAa;AAAA,UACxD,SAAS,MAAME,EAAS,EAAK;AAAA,UAAG,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAGlC,gBAAAK;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,MAAMC,EAAM;AAAA,UACZ,OAAOV,EAAI,8BAA8B,WAAW;AAAA,UACpD,SAASA,EAAI,8BAA8B,YAAY;AAAA,UACvD,SAAS,MAAME,EAAS,EAAI;AAAA,UAAG,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAEjC,GACF;AAAA,IAECJ,EAAS,EAAE,YAAYE,EAAI,6BAA6B;AAAA,EAAA,GAC3D;AAEJ;"}
|
|
@@ -12,7 +12,7 @@ import { formatAddressTruncate as _ } from "../utils/formatters/formatAddressTru
|
|
|
12
12
|
import "../utils/cn.js";
|
|
13
13
|
import { notReachable as l } from "../utils/notReachable.js";
|
|
14
14
|
import "@tanstack/react-query";
|
|
15
|
-
import { b as E, u as I } from "../config-
|
|
15
|
+
import { b as E, u as I } from "../config-CeOg2QLU.js";
|
|
16
16
|
import { guardStates as k } from "../machine/guards/index.js";
|
|
17
17
|
import { moveTo as A } from "../machine/machine.js";
|
|
18
18
|
import { fireEvent as o } from "../machine/events/utils/fireEvent.js";
|
|
@@ -11,7 +11,7 @@ import "../../constants/chains.js";
|
|
|
11
11
|
import "viem";
|
|
12
12
|
import "ethers";
|
|
13
13
|
import { cn as M } from "../../utils/cn.js";
|
|
14
|
-
import { b as V, y as _ } from "../../config-
|
|
14
|
+
import { b as V, y as _ } from "../../config-CeOg2QLU.js";
|
|
15
15
|
import "../../machine/machine.js";
|
|
16
16
|
import { fireEvent as d } from "../../machine/events/utils/fireEvent.js";
|
|
17
17
|
import { useTypedTranslation as j } from "../../localisation.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo as o } from "react";
|
|
2
|
-
import { b as d, y as l } from "../../config-
|
|
2
|
+
import { b as d, y as l } from "../../config-CeOg2QLU.js";
|
|
3
3
|
import { useTypedTranslation as c } from "../../localisation.js";
|
|
4
4
|
import { getIntentsAccountId as u } from "../../utils/intents/getIntentsAccountId.js";
|
|
5
5
|
import { CHAINS_LIST as f, EVM_CHAINS as m } from "../../constants/chains.js";
|
|
@@ -3,7 +3,7 @@ import "react-i18next";
|
|
|
3
3
|
import "../../components/Button.js";
|
|
4
4
|
import "../../components/TinyNumber.js";
|
|
5
5
|
import "../../components/ErrorMessage.js";
|
|
6
|
-
import { S as b } from "../../config-
|
|
6
|
+
import { S as b } from "../../config-CeOg2QLU.js";
|
|
7
7
|
import "../../localisation.js";
|
|
8
8
|
import "../../utils/checkers/isNotEmptyAmount.js";
|
|
9
9
|
export {
|
|
@@ -5,7 +5,7 @@ import { SummaryItem as n } from "./SummaryItem.js";
|
|
|
5
5
|
import { Hr as w } from "../../components/Hr.js";
|
|
6
6
|
import { Card as y } from "../../components/Card.js";
|
|
7
7
|
import { CloseButton as b } from "../../components/CloseButton.js";
|
|
8
|
-
import { b as A } from "../../config-
|
|
8
|
+
import { b as A } from "../../config-CeOg2QLU.js";
|
|
9
9
|
import "ethers";
|
|
10
10
|
import "../../machine/machine.js";
|
|
11
11
|
import { fireEvent as C } from "../../machine/events/utils/fireEvent.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { DirectionSwitcher as r } from "../components/DirectionSwitcher.js";
|
|
3
|
-
import { b as i } from "../config-
|
|
3
|
+
import { b as i } from "../config-CeOg2QLU.js";
|
|
4
4
|
import "ethers";
|
|
5
5
|
import "../machine/machine.js";
|
|
6
6
|
import { fireEvent as n } from "../machine/events/utils/fireEvent.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "./SwapQuoteSkeleton.js";
|
|
3
|
-
import { a3 as s } from "../../config-
|
|
3
|
+
import { a3 as s } from "../../config-CeOg2QLU.js";
|
|
4
4
|
import "../../components/Notes.js";
|
|
5
5
|
import "../../components/Accordion.js";
|
|
6
6
|
import "../../utils/formatters/formatUsdAmount.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { a5 as I } from "../../config-
|
|
3
|
+
import { a5 as I } from "../../config-CeOg2QLU.js";
|
|
4
4
|
import "./utils/getBalancePortion.js";
|
|
5
5
|
import "./utils/getUsdDisplayAmount.js";
|
|
6
6
|
import "./TokenInputHeading.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../utils/cn.js";
|
|
3
|
-
import { aa as T, ab as e } from "../../config-
|
|
3
|
+
import { aa as T, ab as e } from "../../config-CeOg2QLU.js";
|
|
4
4
|
import "../../components/TokenIcon.js";
|
|
5
5
|
import "../../components/TinyNumber.js";
|
|
6
6
|
import "../../utils/formatters/getUsdDisplayBalance.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "virtua";
|
|
3
3
|
import "react";
|
|
4
|
-
import { ad as f } from "../../config-
|
|
4
|
+
import { ad as f } from "../../config-CeOg2QLU.js";
|
|
5
5
|
import "./TokensListPlaceholder.js";
|
|
6
6
|
import "../../utils/cn.js";
|
|
7
7
|
import "../../components/Hr.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m } from "react";
|
|
3
3
|
import * as b from "lucide-react";
|
|
4
|
-
import { b as g, y as N, d as T, q as j } from "../config-
|
|
4
|
+
import { b as g, y as N, d as T, q as j } from "../config-CeOg2QLU.js";
|
|
5
5
|
import { ChainsDropdown as I } from "./ChainsDropdown/index.js";
|
|
6
6
|
import "@tanstack/react-query";
|
|
7
7
|
import "@defuse-protocol/one-click-sdk-typescript";
|
|
@@ -14,7 +14,7 @@ import "copy-text-to-clipboard";
|
|
|
14
14
|
import "@headlessui/react";
|
|
15
15
|
import "../../components/InputAmount.js";
|
|
16
16
|
import "../../components/Notes.js";
|
|
17
|
-
import { ag as C, af as E, z as I } from "../../config-
|
|
17
|
+
import { ag as C, af as E, z as I } from "../../config-CeOg2QLU.js";
|
|
18
18
|
import "../../components/CloseButton.js";
|
|
19
19
|
export {
|
|
20
20
|
C as ErrorView,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r } from "react";
|
|
3
|
-
import { b, z as n } from "../../config-
|
|
3
|
+
import { b, z as n } from "../../config-CeOg2QLU.js";
|
|
4
4
|
import "ethers";
|
|
5
5
|
import "../../machine/machine.js";
|
|
6
6
|
import { notReachable as l } from "../../utils/notReachable.js";
|
package/dist/features/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as r, S as t, o as p, p as a, T as s, q as n } from "../config-
|
|
1
|
+
import { B as r, S as t, o as p, p as a, T as s, q as n } from "../config-CeOg2QLU.js";
|
|
2
2
|
import { ChainsDropdown as m } from "./ChainsDropdown/index.js";
|
|
3
3
|
import { SendAddress as c } from "./SendAddress/index.js";
|
|
4
4
|
import { SuccessScreen as S } from "./SuccessScreen/index.js";
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as a, d as r, f as o, g as t, h as u, j as n, i as f, k as l, l as k, n as m, m as i } from "../config-
|
|
1
|
+
import { e as a, d as r, f as o, g as t, h as u, j as n, i as f, k as l, l as k, n as m, m as i } from "../config-CeOg2QLU.js";
|
|
2
2
|
import { useMakeEvmTransfer as T } from "./useMakeEvmTransfer.js";
|
|
3
3
|
import { useMakeSolanaTransfer as M } from "./useMakeSolanaTransfer.js";
|
|
4
4
|
import { useTokenInputPair as c } from "./useTokenInputPair.js";
|
package/dist/hooks/useChains.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState as f } from "react";
|
|
2
2
|
import { B as l } from "../index-DEq3oXQF.js";
|
|
3
3
|
import { verifyWalletSignature as N, walletVerificationMessageFactory as p } from "../utils/intents/walletCompatibilityVerification.js";
|
|
4
|
-
import { y, w as o } from "../config-
|
|
4
|
+
import { y, w as o } from "../config-CeOg2QLU.js";
|
|
5
5
|
import { notReachable as A } from "../utils/notReachable.js";
|
|
6
6
|
import { getIntentsAccountId as S } from "../utils/intents/getIntentsAccountId.js";
|
|
7
7
|
import { localStorageTyped as u } from "../utils/localstorage.js";
|
|
@@ -5,7 +5,7 @@ import "ethers";
|
|
|
5
5
|
import "../../utils/cn.js";
|
|
6
6
|
import { notReachable as l } from "../../utils/notReachable.js";
|
|
7
7
|
import { useOneClickExternalDepositStatus as p } from "./useOneClickExternalDepositStatus.js";
|
|
8
|
-
import { b as c, u as m, A as S, v as f } from "../../config-
|
|
8
|
+
import { b as c, u as m, A as S, v as f } from "../../config-CeOg2QLU.js";
|
|
9
9
|
import { WNEAR_ASSET_ID as D } from "../../constants/tokens.js";
|
|
10
10
|
import { guardStates as h } from "../../machine/guards/index.js";
|
|
11
11
|
import "../../machine/machine.js";
|
|
@@ -4,7 +4,7 @@ import "change-case";
|
|
|
4
4
|
import "../utils/near/getRandomBytes.js";
|
|
5
5
|
import "../utils/intents/signers/solana.js";
|
|
6
6
|
import "../logger.js";
|
|
7
|
-
import { g as M } from "../config-
|
|
7
|
+
import { g as M } from "../config-CeOg2QLU.js";
|
|
8
8
|
import "../constants/chains.js";
|
|
9
9
|
import "../constants/intents.js";
|
|
10
10
|
import "../utils/notReachable.js";
|
|
@@ -3,7 +3,7 @@ import "change-case";
|
|
|
3
3
|
import "@defuse-protocol/one-click-sdk-typescript";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "../logger.js";
|
|
6
|
-
import { h as M } from "../config-
|
|
6
|
+
import { h as M } from "../config-CeOg2QLU.js";
|
|
7
7
|
import "../network.js";
|
|
8
8
|
import "../machine/guards/index.js";
|
|
9
9
|
import "../constants/tokens.js";
|
|
@@ -8,7 +8,7 @@ import "../utils/cn.js";
|
|
|
8
8
|
import "./useMakeEvmTransfer.js";
|
|
9
9
|
import "../utils/evm/isEvmAddress.js";
|
|
10
10
|
import "./useMakeSolanaTransfer.js";
|
|
11
|
-
import { j as Q } from "../config-
|
|
11
|
+
import { j as Q } from "../config-CeOg2QLU.js";
|
|
12
12
|
import "../utils/solana/isSolanaAddress.js";
|
|
13
13
|
import "../logger.js";
|
|
14
14
|
import "../constants/tokens.js";
|
package/dist/hooks/useTheme.js
CHANGED
package/dist/hooks/useTokens.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "@tanstack/react-query";
|
|
3
3
|
import "@defuse-protocol/one-click-sdk-typescript";
|
|
4
|
-
import { n } from "../config-
|
|
4
|
+
import { n } from "../config-CeOg2QLU.js";
|
|
5
5
|
import "../constants/tokens.js";
|
|
6
6
|
import "../constants/chains.js";
|
|
7
7
|
import "../utils/checkers/isValidChain.js";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as o, M as t, Q as s, S as a, o as n, p, T as f, q as m, w as i, W as u, v as x, x as d, r as c, t as S, e as l, d as k, u as T, f as g, g as h, h as B, j as C, i as E, k as M, a as I, c as W, l as w, n as D, m as A, b as v } from "./config-
|
|
1
|
+
import { B as o, M as t, Q as s, S as a, o as n, p, T as f, q as m, w as i, W as u, v as x, x as d, r as c, t as S, e as l, d as k, u as T, f as g, g as h, h as B, j as C, i as E, k as M, a as I, c as W, l as w, n as D, m as A, b as v } from "./config-CeOg2QLU.js";
|
|
2
2
|
import { DEFAULT_RPCS as y } from "./rpcs.js";
|
|
3
3
|
import { Accordion as L } from "./components/Accordion.js";
|
|
4
4
|
import { Badge as R } from "./components/Badge.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "../../logger.js";
|
|
3
3
|
import "../guards/checks/isDryQuote.js";
|
|
4
|
-
import { P as a } from "../../config-
|
|
4
|
+
import { P as a } from "../../config-CeOg2QLU.js";
|
|
5
5
|
import "../guards/index.js";
|
|
6
6
|
import "../machine.js";
|
|
7
7
|
import "../events/utils/fireEvent.js";
|