@wheelx-widget/widget 0.1.16 → 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.mjs CHANGED
@@ -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();