@tachybase/plugin-audit-logs 0.23.41 → 0.23.47

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.
@@ -1,11 +1,11 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.41",
4
- "@tachybase/schema": "0.23.41",
3
+ "@tachybase/client": "0.23.47",
4
+ "@tachybase/schema": "0.23.47",
5
5
  "@ant-design/icons": "5.3.7",
6
- "@tachybase/database": "0.23.41",
7
- "@tachybase/server": "0.23.41",
8
- "@tachybase/utils": "0.23.41",
9
- "@tachybase/components": "0.23.41",
6
+ "@tachybase/database": "0.23.47",
7
+ "@tachybase/server": "0.23.47",
8
+ "@tachybase/utils": "0.23.47",
9
+ "@tachybase/components": "0.23.47",
10
10
  "react-i18next": "15.2.0"
11
11
  };
@@ -35,10 +35,13 @@ var import_path = __toESM(require("path"));
35
35
  var import_server = require("@tachybase/server");
36
36
  var import_hooks = require("./hooks");
37
37
  class PluginActionLogs extends import_server.Plugin {
38
- logsBuffer = [];
39
- // 用于存储消息的缓冲区
40
- logsTimer = null;
41
- logsDebounce = 500;
38
+ constructor() {
39
+ super(...arguments);
40
+ this.logsBuffer = [];
41
+ // 用于存储消息的缓冲区
42
+ this.logsTimer = null;
43
+ this.logsDebounce = 500;
44
+ }
42
45
  async afterAdd() {
43
46
  if (!import_node_worker_threads.isMainThread) {
44
47
  this.addAuditListener();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-audit-logs",
3
3
  "displayName": "Audit logs",
4
- "version": "0.23.41",
4
+ "version": "0.23.47",
5
5
  "description": "Audit logs.",
6
6
  "keywords": [
7
7
  "System management"
@@ -13,15 +13,15 @@
13
13
  "antd": "5.22.5",
14
14
  "react": "^18.3.1",
15
15
  "react-i18next": "^15.2.0",
16
- "@tachybase/components": "0.23.41"
16
+ "@tachybase/components": "0.23.47"
17
17
  },
18
18
  "peerDependencies": {
19
- "@tachybase/client": "0.23.41",
20
- "@tachybase/database": "0.23.41",
21
- "@tachybase/schema": "0.23.41",
22
- "@tachybase/test": "0.23.41",
23
- "@tachybase/server": "0.23.41",
24
- "@tachybase/utils": "0.23.41"
19
+ "@tachybase/client": "0.23.47",
20
+ "@tachybase/database": "0.23.47",
21
+ "@tachybase/schema": "0.23.47",
22
+ "@tachybase/test": "0.23.47",
23
+ "@tachybase/server": "0.23.47",
24
+ "@tachybase/utils": "0.23.47"
25
25
  },
26
26
  "description.zh-CN": "审计日志。",
27
27
  "displayName.zh-CN": "审计日志",