@swype-org/react-sdk 0.1.161 → 0.1.163
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 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1773,8 +1773,8 @@ function buildSelectSourceChoices(options) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
return chainChoices.map((chain) => ({
|
|
1775
1775
|
...chain,
|
|
1776
|
-
tokens: chain.tokens.filter((t) => t.balance > 0)
|
|
1777
|
-
})).filter((chain) => chain.tokens.length > 0);
|
|
1776
|
+
tokens: chain.tokens.filter((t) => t.balance > 0).sort((a, b) => b.balance - a.balance)
|
|
1777
|
+
})).filter((chain) => chain.tokens.length > 0).sort((a, b) => b.balance - a.balance);
|
|
1778
1778
|
}
|
|
1779
1779
|
|
|
1780
1780
|
// src/paymentReducer.ts
|
|
@@ -4219,12 +4219,6 @@ function DepositScreen({
|
|
|
4219
4219
|
"Deposit $",
|
|
4220
4220
|
amount.toFixed(2)
|
|
4221
4221
|
] }) }),
|
|
4222
|
-
/* @__PURE__ */ jsxs("p", { style: routeStyle(tokens.textMuted), children: [
|
|
4223
|
-
"From ",
|
|
4224
|
-
sourceName,
|
|
4225
|
-
" ",
|
|
4226
|
-
merchantName ? `\u2192 ${merchantName}` : ""
|
|
4227
|
-
] }),
|
|
4228
4222
|
/* @__PURE__ */ jsx(PoweredByFooter, {})
|
|
4229
4223
|
] }),
|
|
4230
4224
|
children: [
|
|
@@ -4371,12 +4365,6 @@ var limitExceededHintStyle = (color) => ({
|
|
|
4371
4365
|
margin: "12px 0 2px",
|
|
4372
4366
|
lineHeight: 1.5
|
|
4373
4367
|
});
|
|
4374
|
-
var routeStyle = (color) => ({
|
|
4375
|
-
textAlign: "center",
|
|
4376
|
-
fontSize: "0.75rem",
|
|
4377
|
-
color,
|
|
4378
|
-
margin: "0 0 4px"
|
|
4379
|
-
});
|
|
4380
4368
|
var switchHintStyle = (color) => ({
|
|
4381
4369
|
textAlign: "center",
|
|
4382
4370
|
fontSize: "0.8rem",
|