seyfert 2.1.1-dev-11871861192.0 → 2.1.1-dev-11871867614.0

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/lib/api/api.js CHANGED
@@ -33,7 +33,6 @@ class ApiHandler {
33
33
  this.workerPromises = new Map();
34
34
  if (worker_threads?.parentPort) {
35
35
  this.sendMessage = async (body) => {
36
- console;
37
36
  worker_threads.parentPort.postMessage(body, body.requestOptions.files
38
37
  ?.filter(x => !['string', 'boolean', 'number'].includes(typeof x.data))
39
38
  .map(x => (x.data instanceof Buffer ? (0, utils_1.toArrayBuffer)(x.data) : x.data)));
@@ -24,7 +24,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Collectors = void 0;
27
- const node_console_1 = require("node:console");
28
27
  const node_crypto_1 = require("node:crypto");
29
28
  const RawEvents = __importStar(require("../events/hooks"));
30
29
  class Collectors {
@@ -81,7 +80,7 @@ class Collectors {
81
80
  await collector.options.onStop?.(reason);
82
81
  }
83
82
  catch (e) {
84
- await collector.options.onStopError?.(reason, node_console_1.error);
83
+ await collector.options.onStopError?.(reason, e);
85
84
  }
86
85
  }
87
86
  /**@internal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "2.1.1-dev-11871861192.0",
3
+ "version": "2.1.1-dev-11871867614.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",