@meteorwallet/utils
Advanced tools
Comparing version 0.36.0 to 0.37.0
@@ -12,3 +12,2 @@ const splitWordsByCaseRegex = /([a-z])([A-Z])/g; | ||
const ignoreCase = ignoreCaseDividers ?? hasUniformCase; | ||
console.log(textOnly); | ||
if (!ignoreCase) { | ||
@@ -25,7 +24,3 @@ parts = parts.flatMap((part) => part | ||
} | ||
/*const parts: string[] = textWithSpaces | ||
// Split by spaces to get the individual words | ||
.split(/\s+/) | ||
.filter((part) => part.length > 0);*/ | ||
return outputLowercase ? parts.map((part) => part.toLowerCase()) : parts; | ||
} |
@@ -12,5 +12,2 @@ const DEFAULT_START_WEIGHT = 0.6; | ||
const secondPartLength = maxLengthWithoutFiller - firstPartLength; | ||
console.log("firstPartLength", firstPartLength); | ||
console.log("secondPartLength", secondPartLength); | ||
console.log("filler", filler); | ||
let firstPart = text.slice(0, firstPartLength); | ||
@@ -17,0 +14,0 @@ let secondPart = text.slice(text.length - secondPartLength); |
{ | ||
"name": "@meteorwallet/utils", | ||
"version": "0.36.0", | ||
"version": "0.37.0", | ||
"description": "Utility functions used in Meteor Wallet", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54620
1182