@tokemak/utils 0.0.2 → 0.0.5

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.js CHANGED
@@ -1463,7 +1463,7 @@ function formatTOKE(value) {
1463
1463
 
1464
1464
  // format/formatPoolName.ts
1465
1465
  var formatPoolName = (name) => {
1466
- let formattedName = name.replace(/^(Curve\.fi |Balancer )/, "").replace(/Tokemak-/g, "").replace(/Wrapped Ether-/g, "").replace(/Balancer /g, "").replace(/Curve\.fi /g, "").replace(/Curve /g, "").replace(/USD Coin-/g, "").replace(/Pool/g, "");
1466
+ let formattedName = name.replace(/^(Curve\.fi |Balancer )/, "").replace(/Tokemak-/g, "").replace(/Wrapped Ether-/g, "").replace(/Balancer /g, "").replace(/Curve\.fi /g, "").replace(/Curve /g, "").replace(/USD Coin-/g, "").replace(/Pool/g, "").replace(/Autopilot Wrapped - /g, "");
1467
1467
  if (formattedName.includes(":")) {
1468
1468
  const parts = formattedName.split(":");
1469
1469
  formattedName = parts[1].trim();