@mtkruto/node 0.80.1 → 0.80.2

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.
@@ -104,7 +104,7 @@ export class ClientDispatcher extends Composer {
104
104
  let n = 1;
105
105
  while (true) {
106
106
  try {
107
- await this.#dispatch("invoke", function_, params);
107
+ return await this.#dispatch("invoke", function_, params);
108
108
  }
109
109
  catch (err) {
110
110
  if (await this.#handleInvokeError(Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtkruto/node",
3
- "version": "0.80.1",
3
+ "version": "0.80.2",
4
4
  "description": "MTKruto for Node.js",
5
5
  "author": "Roj <rojvv@icloud.com>",
6
6
  "repository": {
@@ -140,7 +140,7 @@ class ClientDispatcher extends _4_composer_js_1.Composer {
140
140
  let n = 1;
141
141
  while (true) {
142
142
  try {
143
- await this.#dispatch("invoke", function_, params);
143
+ return await this.#dispatch("invoke", function_, params);
144
144
  }
145
145
  catch (err) {
146
146
  if (await this.#handleInvokeError(Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {