@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.js
CHANGED
|
@@ -2677,16 +2677,7 @@ function SourceCard({
|
|
|
2677
2677
|
walletAddress && /* @__PURE__ */ jsx("span", { style: dropdownAddressStyle(active ? tokens.textMuted : tokens.border), children: walletAddress })
|
|
2678
2678
|
] })
|
|
2679
2679
|
] }),
|
|
2680
|
-
/* @__PURE__ */
|
|
2681
|
-
active ? /* @__PURE__ */ jsx("span", { style: activeBadgeStyle(tokens), children: "Active" }) : /* @__PURE__ */ jsx("span", { style: inactiveBadgeStyle(tokens), children: "Setup incomplete" }),
|
|
2682
|
-
isSelected && /* @__PURE__ */ jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
2683
|
-
"path",
|
|
2684
|
-
{
|
|
2685
|
-
d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",
|
|
2686
|
-
fill: tokens.accent
|
|
2687
|
-
}
|
|
2688
|
-
) })
|
|
2689
|
-
] })
|
|
2680
|
+
/* @__PURE__ */ jsx("div", { style: dropdownRowRightStyle, children: active ? /* @__PURE__ */ jsx("span", { style: activeBadgeStyle(tokens), children: "Active" }) : /* @__PURE__ */ jsx("span", { style: inactiveBadgeStyle(tokens), children: "Setup incomplete" }) })
|
|
2690
2681
|
]
|
|
2691
2682
|
},
|
|
2692
2683
|
account.id
|
|
@@ -5208,7 +5199,7 @@ function StepRenderer({
|
|
|
5208
5199
|
sourceName,
|
|
5209
5200
|
sourceAddress,
|
|
5210
5201
|
sourceVerified,
|
|
5211
|
-
availableBalance: maxSourceBalance,
|
|
5202
|
+
availableBalance: selectedAccount ? selectedAccount.wallets.reduce((sum, w) => sum + w.balance.available.amount, 0) : maxSourceBalance,
|
|
5212
5203
|
remainingLimit: selectedAccount?.remainingAllowance ?? state.oneTapLimit,
|
|
5213
5204
|
tokenCount,
|
|
5214
5205
|
initialAmount: parsedAmt,
|