@diegofemello/bitbot-types 1.3.28 → 1.3.29
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/utils/utils.js +1 -1
- package/package.json +1 -1
package/dist/utils/utils.js
CHANGED
|
@@ -2030,7 +2030,7 @@ function compareCardsOrder(a, b, inverse = false) {
|
|
|
2030
2030
|
return aNumber - bNumber;
|
|
2031
2031
|
}
|
|
2032
2032
|
function privateNumber(lid) {
|
|
2033
|
-
const number = lid?.replace('@lid', '')?.replace('@
|
|
2033
|
+
const number = lid?.replace('@lid', '')?.replace('@c.us', '') ?? '';
|
|
2034
2034
|
return number.replace(/(\d{4})(\d{5,7})(\d{3})/, '$1*****$3');
|
|
2035
2035
|
}
|
|
2036
2036
|
function limitDescription(description, limit = 50) {
|