@yolo-croket-dev/core 1.7.25-slowquery.31 → 1.7.25-slowquery.32

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.
@@ -11,15 +11,15 @@ function AbortEvent() {
11
11
  return function (target, propertyKey, descriptor) {
12
12
  const originalMethod = descriptor.value;
13
13
  // eslint-disable-next-line no-param-reassign
14
- descriptor.value = async function (...args) {
15
- try {
16
- const result = await new abortable_promise_1.AbortablePromise(originalMethod.apply(this, args), (0, abort_1.getCurrentAbortSignal)() || undefined);
17
- return result;
18
- }
19
- catch (error) {
20
- throw error;
21
- }
22
- };
14
+ // descriptor.value = async function (...args: unknown[]) {
15
+ // try {
16
+ // const result = await new AbortablePromise(originalMethod.apply(this, args), getCurrentAbortSignal() || undefined);
17
+ // return result;
18
+ // } catch (error) {
19
+ // throw error;
20
+ // }
21
+ // };
22
+ descriptor.value = new abortable_promise_1.AbortablePromise(originalMethod, (0, abort_1.getCurrentAbortSignal)() || undefined);
23
23
  return descriptor;
24
24
  };
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.7.25-slowquery.31",
3
+ "version": "1.7.25-slowquery.32",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",