@wheelx-widget/widget 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -50347,7 +50347,7 @@ var MobileContent = memo(function MobileContent2({
|
|
|
50347
50347
|
isMobileChainsOpen
|
|
50348
50348
|
]);
|
|
50349
50349
|
return /* @__PURE__ */ jsxs(VStack, { w: "100%", h: "100%", align: "start", gap: 0, hideFrom: "md", children: [
|
|
50350
|
-
!isMobileChainsOpen &&
|
|
50350
|
+
!isMobileChainsOpen && /* @__PURE__ */ jsx(Box, { w: "100%", px: 2, pb: 2, children: /* @__PURE__ */ jsxs(
|
|
50351
50351
|
HStack,
|
|
50352
50352
|
{
|
|
50353
50353
|
w: "100%",
|
|
@@ -50868,7 +50868,7 @@ var DesktopContent = ({
|
|
|
50868
50868
|
}
|
|
50869
50869
|
),
|
|
50870
50870
|
/* @__PURE__ */ jsxs(VStack, { flex: 1, py: 3.5, align: "start", h: "100%", w: 0, children: [
|
|
50871
|
-
|
|
50871
|
+
/* @__PURE__ */ jsx(
|
|
50872
50872
|
SearchInput,
|
|
50873
50873
|
{
|
|
50874
50874
|
placeholder: "Search for a token or contract address",
|
|
@@ -55837,6 +55837,8 @@ var MainForm = ({ config }) => {
|
|
|
55837
55837
|
const prevAddressRef = useRef(address);
|
|
55838
55838
|
const prevSolanaAddressRef = useRef(solanaWalletAddress);
|
|
55839
55839
|
const isWalletChangingRef = useRef(false);
|
|
55840
|
+
const affiliationRef = useRef(config?.affiliation);
|
|
55841
|
+
affiliationRef.current = config?.affiliation;
|
|
55840
55842
|
const fromAddress = useMemo(() => {
|
|
55841
55843
|
if (fromTokenInfo.isSolana) {
|
|
55842
55844
|
return solanaWalletAddress || "";
|
|
@@ -55909,6 +55911,7 @@ var MainForm = ({ config }) => {
|
|
|
55909
55911
|
}
|
|
55910
55912
|
}
|
|
55911
55913
|
const p = params;
|
|
55914
|
+
p.affiliation = affiliationRef.current || p.affiliation;
|
|
55912
55915
|
const isAutoRefetchRequest = Boolean(isAutoRefetch);
|
|
55913
55916
|
const traceId = createTraceId();
|
|
55914
55917
|
const requestStartedAt = Date.now();
|