stfca 1.0.15 → 1.0.16
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 +1 -1
- package/utils.js +11 -1
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -2809,6 +2809,15 @@ function getPaths(obj, parentPath = []) {
|
|
|
2809
2809
|
return paths;
|
|
2810
2810
|
}
|
|
2811
2811
|
|
|
2812
|
+
function getJazoest() {
|
|
2813
|
+
const time = Date.now().toString();
|
|
2814
|
+
let result = "";
|
|
2815
|
+
for (let i = 0; i < time.length; i++) {
|
|
2816
|
+
result += time.charCodeAt(i);
|
|
2817
|
+
}
|
|
2818
|
+
return result;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2812
2821
|
function cleanHTML(text) {
|
|
2813
2822
|
text = text.replace(/(<br>)|(<\/?i>)|(<\/?em>)|(<\/?b>)|(!?~)|(&)|(')|(<)|(>)|(")/g, (match) => {
|
|
2814
2823
|
switch (match) {
|
|
@@ -2884,5 +2893,6 @@ module.exports = {
|
|
|
2884
2893
|
getAppState,
|
|
2885
2894
|
getAdminTextMessageType,
|
|
2886
2895
|
setProxy,
|
|
2887
|
-
isDMThread
|
|
2896
|
+
isDMThread,
|
|
2897
|
+
getJazoest
|
|
2888
2898
|
};
|