@imaentity/selfjs 4.0.0 → 4.0.1

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 (4) hide show
  1. package/README.md +12 -10
  2. package/docs.md +848 -848
  3. package/package.json +1 -1
  4. package/self.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imaentity/selfjs",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Breaking Discord's TOS to bot user accounts.",
5
5
  "main": "self.js",
6
6
  "repository": {
package/self.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @name SelfJS
3
3
  * @description Breaking Discord's TOS to bot user accounts.
4
4
  * @author Entity
5
- * @version 4.0
5
+ * @version 4.0.1
6
6
  */
7
7
 
8
8
  const EventEmitter = require("events");
@@ -74,7 +74,7 @@ const OPCODES = {
74
74
  // Formats JSON in a way that makes the Discord API
75
75
  // able to accept random unicode characters
76
76
  function unison(jsonData) {
77
- return JSON.Stringify(jsonData)?.replace(
77
+ return JSON.stringify(jsonData)?.replace(
78
78
  /[\u007F-\uFFFF]/g,
79
79
  c => `\\u${c.charCodeAt(0).toString(16).padStart(4, '0')}`
80
80
  );