@tachybase/module-message 1.3.24 → 1.3.25

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 +1 @@
1
- {"name":"@alicloud/tea-util","version":"1.4.9","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"repository":"git@github.com:aliyun/tea-util.git","_lastModified":"2025-08-03T23:10:50.050Z"}
1
+ {"name":"@alicloud/tea-util","version":"1.4.10","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","@darabonba/typescript":"^1.0.0","kitx":"^2.0.0"},"files":["dist","src"],"repository":"git@github.com:aliyun/tea-util.git","_lastModified":"2025-09-02T09:57:54.806Z"}
@@ -1,95 +1,12 @@
1
1
  import { Readable } from 'stream';
2
+ import * as $dara from '@darabonba/typescript';
2
3
  import * as $tea from '@alicloud/tea-typescript';
3
4
  import * as kitx from 'kitx';
4
5
  import querystring from 'querystring';
5
6
  import { platform, arch } from 'os';
6
- const DEFAULT_USER_AGENT = `AlibabaCloud (${platform()}; ${arch()}) Node.js/${process.version} Core/1.0.1 TeaDSL/1`;
7
-
8
- export class ExtendsParameters extends $tea.Model {
9
- headers?: { [key: string]: string };
10
- queries?: { [key: string]: string };
11
- static names(): { [key: string]: string } {
12
- return {
13
- headers: 'headers',
14
- queries: 'queries',
15
- };
16
- }
17
-
18
- static types(): { [key: string]: any } {
19
- return {
20
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
- queries: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22
- };
23
- }
24
-
25
- constructor(map?: { [key: string]: any }) {
26
- super(map);
27
- }
28
- }
7
+ const DEFAULT_USER_AGENT = `AlibabaCloud (${platform()}; ${arch()}) Node.js/${process.version} Core/1.0.1 TeaDSL/2`;
29
8
 
30
- export class RuntimeOptions extends $tea.Model {
31
- autoretry?: boolean;
32
- ignoreSSL?: boolean;
33
- key?: string;
34
- cert?: string;
35
- ca?: string;
36
- maxAttempts?: number;
37
- backoffPolicy?: string;
38
- backoffPeriod?: number;
39
- readTimeout?: number;
40
- connectTimeout?: number;
41
- httpProxy?: string;
42
- httpsProxy?: string;
43
- noProxy?: string;
44
- maxIdleConns?: number;
45
- keepAlive?: boolean;
46
- extendsParameters?: ExtendsParameters;
47
- static names(): { [key: string]: string } {
48
- return {
49
- autoretry: 'autoretry',
50
- ignoreSSL: 'ignoreSSL',
51
- key: 'key',
52
- cert: 'cert',
53
- ca: 'ca',
54
- maxAttempts: 'max_attempts',
55
- backoffPolicy: 'backoff_policy',
56
- backoffPeriod: 'backoff_period',
57
- readTimeout: 'readTimeout',
58
- connectTimeout: 'connectTimeout',
59
- httpProxy: 'httpProxy',
60
- httpsProxy: 'httpsProxy',
61
- noProxy: 'noProxy',
62
- maxIdleConns: 'maxIdleConns',
63
- keepAlive: 'keepAlive',
64
- extendsParameters: 'extendsParameters',
65
- };
66
- }
67
-
68
- static types(): { [key: string]: any } {
69
- return {
70
- autoretry: 'boolean',
71
- ignoreSSL: 'boolean',
72
- key: 'string',
73
- cert: 'string',
74
- ca: 'string',
75
- maxAttempts: 'number',
76
- backoffPolicy: 'string',
77
- backoffPeriod: 'number',
78
- readTimeout: 'number',
79
- connectTimeout: 'number',
80
- httpProxy: 'string',
81
- httpsProxy: 'string',
82
- noProxy: 'string',
83
- maxIdleConns: 'number',
84
- keepAlive: 'boolean',
85
- extendsParameters: ExtendsParameters,
86
- };
87
- }
88
-
89
- constructor(map?: { [key: string]: any }) {
90
- super(map);
91
- }
92
- }
9
+ export { ExtendsParameters, RuntimeOptions } from '@darabonba/typescript';
93
10
 
94
11
  function read(readable: Readable): Promise<Buffer> {
95
12
  return new Promise((resolve, reject) => {
@@ -303,7 +220,7 @@ export default class Client {
303
220
  }
304
221
 
305
222
  static toMap(inputModel: $tea.Model): { [key: string]: any } {
306
- return $tea.toMap(inputModel);
223
+ return $dara.toMap(inputModel);
307
224
  }
308
225
 
309
226
  static async sleep(millisecond: number): Promise<void> {
@@ -323,7 +240,7 @@ export default class Client {
323
240
  if (!model) {
324
241
  return;
325
242
  }
326
- ret.push($tea.toMap(model));
243
+ ret.push($dara.toMap(model));
327
244
  })
328
245
  return ret;
329
246
  }
@@ -1 +1 @@
1
- {"name":"tencentcloud-sdk-nodejs","version":"4.0.996","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0","uuid":"^9.0.1"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@types/uuid":"^9.0.8","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2025-08-03T23:10:53.820Z"}
1
+ {"name":"tencentcloud-sdk-nodejs","version":"4.0.996","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0","uuid":"^9.0.1"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@types/uuid":"^9.0.8","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2025-09-02T09:57:58.983Z"}
@@ -1 +1 @@
1
- {"name":"ws","version":"8.18.3","description":"Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js","keywords":["HyBi","Push","RFC-6455","WebSocket","WebSockets","real-time"],"homepage":"https://github.com/websockets/ws","bugs":"https://github.com/websockets/ws/issues","repository":{"type":"git","url":"git+https://github.com/websockets/ws.git"},"author":"Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)","license":"MIT","main":"index.js","exports":{".":{"browser":"./browser.js","import":"./wrapper.mjs","require":"./index.js"},"./package.json":"./package.json"},"browser":"browser.js","engines":{"node":">=10.0.0"},"files":["browser.js","index.js","lib/*.js","wrapper.mjs"],"scripts":{"test":"nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js","integration":"mocha --throw-deprecation test/*.integration.js","lint":"eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""},"peerDependencies":{"bufferutil":"^4.0.1","utf-8-validate":">=5.0.2"},"peerDependenciesMeta":{"bufferutil":{"optional":true},"utf-8-validate":{"optional":true}},"devDependencies":{"benchmark":"^2.1.4","bufferutil":"^4.0.1","eslint":"^9.0.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.0.0","globals":"^16.0.0","mocha":"^8.4.0","nyc":"^15.0.0","prettier":"^3.0.0","utf-8-validate":"^6.0.0"},"_lastModified":"2025-08-03T23:10:48.516Z"}
1
+ {"name":"ws","version":"8.18.3","description":"Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js","keywords":["HyBi","Push","RFC-6455","WebSocket","WebSockets","real-time"],"homepage":"https://github.com/websockets/ws","bugs":"https://github.com/websockets/ws/issues","repository":{"type":"git","url":"git+https://github.com/websockets/ws.git"},"author":"Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)","license":"MIT","main":"index.js","exports":{".":{"browser":"./browser.js","import":"./wrapper.mjs","require":"./index.js"},"./package.json":"./package.json"},"browser":"browser.js","engines":{"node":">=10.0.0"},"files":["browser.js","index.js","lib/*.js","wrapper.mjs"],"scripts":{"test":"nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js","integration":"mocha --throw-deprecation test/*.integration.js","lint":"eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""},"peerDependencies":{"bufferutil":"^4.0.1","utf-8-validate":">=5.0.2"},"peerDependenciesMeta":{"bufferutil":{"optional":true},"utf-8-validate":{"optional":true}},"devDependencies":{"benchmark":"^2.1.4","bufferutil":"^4.0.1","eslint":"^9.0.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.0.0","globals":"^16.0.0","mocha":"^8.4.0","nyc":"^15.0.0","prettier":"^3.0.0","utf-8-validate":"^6.0.0"},"_lastModified":"2025-09-02T09:57:52.382Z"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-message",
3
3
  "displayName": "Message",
4
- "version": "1.3.24",
4
+ "version": "1.3.25",
5
5
  "description": "Send messages to users.",
6
6
  "keywords": [
7
7
  "System management"
@@ -11,12 +11,12 @@
11
11
  "devDependencies": {
12
12
  "@alicloud/dysmsapi20170525": "2.0.24",
13
13
  "@alicloud/openapi-client": "0.4.15",
14
- "@alicloud/tea-util": "1.4.9",
14
+ "@alicloud/tea-util": "1.4.10",
15
15
  "@ant-design/icons": "^5.6.1",
16
- "@tachybase/schema": "^1.3.49",
17
- "@tachybase/test": "^1.3.49",
18
- "@tego/client": "^1.3.49",
19
- "@tego/server": "^1.3.49",
16
+ "@tachybase/schema": "*",
17
+ "@tachybase/test": "*",
18
+ "@tego/client": "*",
19
+ "@tego/server": "*",
20
20
  "ahooks": "^3.9.0",
21
21
  "antd": "5.22.5",
22
22
  "dayjs": "^1.11.13",
@@ -26,8 +26,8 @@
26
26
  "react-router-dom": "6.28.1",
27
27
  "tencentcloud-sdk-nodejs": "^4.0.996",
28
28
  "ws": "^8.18.3",
29
- "@tachybase/client": "1.3.24",
30
- "@tachybase/module-workflow": "1.3.24"
29
+ "@tachybase/client": "1.3.25",
30
+ "@tachybase/module-workflow": "1.3.25"
31
31
  },
32
32
  "description.zh-CN": "用于给用户发送消息",
33
33
  "displayName.zh-CN": "消息通知",
@@ -1,20 +0,0 @@
1
- 2024-07-08 Version 1.4.9
2
- 1. Support extends query parameters
3
-
4
- 2024-05-13 Version 1.4.8
5
- 1. Support extends parameters
6
-
7
- 2023-06-28 Version: 1.4.7
8
- 1. Support static method `assertAsReadable()`
9
-
10
- 2023-06-26 Version: 1.4.6
11
- 1. Support static method `assertAsInteger()`
12
-
13
- 2022-11-16 Version: 1.4.5
14
- 1. Support ca params for server and client
15
-
16
- 2020-03-03 Version: 1.2.3
17
- 1. Release version 1.2.3
18
-
19
- 2020-02-10 Version: 1.0.0
20
- 1. Release version 1.0.0