stfca 1.0.16 → 1.0.17

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 +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stfca",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
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
@@ -2818,6 +2818,10 @@ function getJazoest() {
2818
2818
  return result;
2819
2819
  }
2820
2820
 
2821
+ function getEventTime() {
2822
+ return Date.now();
2823
+ }
2824
+
2821
2825
  function cleanHTML(text) {
2822
2826
  text = text.replace(/(<br>)|(<\/?i>)|(<\/?em>)|(<\/?b>)|(!?~)|(&amp;)|(&#039;)|(&lt;)|(&gt;)|(&quot;)/g, (match) => {
2823
2827
  switch (match) {
@@ -2894,5 +2898,6 @@ module.exports = {
2894
2898
  getAdminTextMessageType,
2895
2899
  setProxy,
2896
2900
  isDMThread,
2897
- getJazoest
2901
+ getJazoest,
2902
+ getEventTime
2898
2903
  };