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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils.js +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stfca",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Unofficial Facebook Chat API for Node.js with Auto-Update System - Enhanced by ST | Sheikh Tamim",
5
5
  "main": "index.js",
6
6
  "files": [
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>)|(!?~)|(&amp;)|(&#039;)|(&lt;)|(&gt;)|(&quot;)/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
  };