@ohbug/core 2.2.0 → 2.2.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.
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -489,6 +489,10 @@ var Client = class Client2 {
|
|
|
489
489
|
"background:#FF6F61; padding: 2px 1px; color: #FFF",
|
|
490
490
|
"background:transparent"
|
|
491
491
|
);
|
|
492
|
+
this.__extensions.forEach((extension) => {
|
|
493
|
+
var _a2;
|
|
494
|
+
return (_a2 = extension.onDestroy) == null ? void 0 : _a2.call(extension, this);
|
|
495
|
+
});
|
|
492
496
|
return (_a = this.__destroy) == null ? void 0 : _a.call(this);
|
|
493
497
|
}
|
|
494
498
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -463,6 +463,10 @@ var Client = class Client2 {
|
|
|
463
463
|
"background:#FF6F61; padding: 2px 1px; color: #FFF",
|
|
464
464
|
"background:transparent"
|
|
465
465
|
);
|
|
466
|
+
this.__extensions.forEach((extension) => {
|
|
467
|
+
var _a2;
|
|
468
|
+
return (_a2 = extension.onDestroy) == null ? void 0 : _a2.call(extension, this);
|
|
469
|
+
});
|
|
466
470
|
return (_a = this.__destroy) == null ? void 0 : _a.call(this);
|
|
467
471
|
}
|
|
468
472
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohbug/core",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Responsible for managing Ohbug's workflow",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "chenyueban <jasonchan0527@gmail.com>",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ohbug/types": "2.2.
|
|
34
|
-
"@ohbug/utils": "2.0.
|
|
33
|
+
"@ohbug/types": "2.2.1",
|
|
34
|
+
"@ohbug/utils": "2.0.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsup",
|