@swype-org/react-sdk 0.1.104 → 0.1.105
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.cjs +2 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2680,16 +2680,7 @@ function SourceCard({
|
|
|
2680
2680
|
walletAddress && /* @__PURE__ */ jsxRuntime.jsx("span", { style: dropdownAddressStyle(active ? tokens.textMuted : tokens.border), children: walletAddress })
|
|
2681
2681
|
] })
|
|
2682
2682
|
] }),
|
|
2683
|
-
/* @__PURE__ */ jsxRuntime.
|
|
2684
|
-
active ? /* @__PURE__ */ jsxRuntime.jsx("span", { style: activeBadgeStyle(tokens), children: "Active" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { style: inactiveBadgeStyle(tokens), children: "Setup incomplete" }),
|
|
2685
|
-
isSelected && /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2686
|
-
"path",
|
|
2687
|
-
{
|
|
2688
|
-
d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",
|
|
2689
|
-
fill: tokens.accent
|
|
2690
|
-
}
|
|
2691
|
-
) })
|
|
2692
|
-
] })
|
|
2683
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: dropdownRowRightStyle, children: active ? /* @__PURE__ */ jsxRuntime.jsx("span", { style: activeBadgeStyle(tokens), children: "Active" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { style: inactiveBadgeStyle(tokens), children: "Setup incomplete" }) })
|
|
2693
2684
|
]
|
|
2694
2685
|
},
|
|
2695
2686
|
account.id
|
|
@@ -5211,7 +5202,7 @@ function StepRenderer({
|
|
|
5211
5202
|
sourceName,
|
|
5212
5203
|
sourceAddress,
|
|
5213
5204
|
sourceVerified,
|
|
5214
|
-
availableBalance: maxSourceBalance,
|
|
5205
|
+
availableBalance: selectedAccount ? selectedAccount.wallets.reduce((sum, w) => sum + w.balance.available.amount, 0) : maxSourceBalance,
|
|
5215
5206
|
remainingLimit: selectedAccount?.remainingAllowance ?? state.oneTapLimit,
|
|
5216
5207
|
tokenCount,
|
|
5217
5208
|
initialAmount: parsedAmt,
|