tango-app-api-client 3.4.0-beta.2 → 3.4.0-beta.3
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/package.json
CHANGED
|
@@ -2698,7 +2698,9 @@ function findDifferences( oldData, newData ) {
|
|
|
2698
2698
|
}
|
|
2699
2699
|
|
|
2700
2700
|
function splitCamelCase( text ) {
|
|
2701
|
-
return text.replace( /([a-z])([A-Z])/g, '$1 $2' )
|
|
2701
|
+
return text.replace( /([a-z])([A-Z])/g, '$1 $2' ) // Add space between camelCase words
|
|
2702
|
+
.replace( /(\d+)/g, ' $1 ' ) // Add space between numbers
|
|
2703
|
+
.trim();
|
|
2702
2704
|
}
|
|
2703
2705
|
|
|
2704
2706
|
async function postApi( url, data ) {
|