chore: Oops, "long" is actually used + fix TypeScript error.
parent
88fe4de151
commit
86d38c2d82
|
|
@ -187,6 +187,7 @@
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"linkedom": "^0.18.12",
|
"linkedom": "^0.18.12",
|
||||||
|
"long": "^5.3.2",
|
||||||
"markdown-it": "^14.1.0",
|
"markdown-it": "^14.1.0",
|
||||||
"node-edge-tts": "^1.2.9",
|
"node-edge-tts": "^1.2.9",
|
||||||
"osc-progress": "^0.3.0",
|
"osc-progress": "^0.3.0",
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,9 @@ importers:
|
||||||
linkedom:
|
linkedom:
|
||||||
specifier: ^0.18.12
|
specifier: ^0.18.12
|
||||||
version: 0.18.12
|
version: 0.18.12
|
||||||
|
long:
|
||||||
|
specifier: ^5.3.2
|
||||||
|
version: 5.3.2
|
||||||
markdown-it:
|
markdown-it:
|
||||||
specifier: ^14.1.0
|
specifier: ^14.1.0
|
||||||
version: 14.1.0
|
version: 14.1.0
|
||||||
|
|
@ -6459,7 +6462,7 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 24.10.9
|
'@types/node': 24.10.9
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
axios: 1.13.4(debug@4.4.3)
|
axios: 1.13.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
|
|
||||||
|
|
@ -6656,7 +6659,7 @@ snapshots:
|
||||||
'@azure/core-auth': 1.10.1
|
'@azure/core-auth': 1.10.1
|
||||||
'@azure/msal-node': 3.8.6
|
'@azure/msal-node': 3.8.6
|
||||||
'@microsoft/agents-activity': 1.2.3
|
'@microsoft/agents-activity': 1.2.3
|
||||||
axios: 1.13.4(debug@4.4.3)
|
axios: 1.13.4
|
||||||
jsonwebtoken: 9.0.3
|
jsonwebtoken: 9.0.3
|
||||||
jwks-rsa: 3.2.2
|
jwks-rsa: 3.2.2
|
||||||
object-path: 0.11.8
|
object-path: 0.11.8
|
||||||
|
|
@ -7488,7 +7491,7 @@ snapshots:
|
||||||
'@slack/types': 2.19.0
|
'@slack/types': 2.19.0
|
||||||
'@slack/web-api': 7.13.0
|
'@slack/web-api': 7.13.0
|
||||||
'@types/express': 5.0.6
|
'@types/express': 5.0.6
|
||||||
axios: 1.13.4(debug@4.4.3)
|
axios: 1.13.4
|
||||||
express: 5.2.1
|
express: 5.2.1
|
||||||
path-to-regexp: 8.3.0
|
path-to-regexp: 8.3.0
|
||||||
raw-body: 3.0.2
|
raw-body: 3.0.2
|
||||||
|
|
@ -7534,7 +7537,7 @@ snapshots:
|
||||||
'@slack/types': 2.19.0
|
'@slack/types': 2.19.0
|
||||||
'@types/node': 25.1.0
|
'@types/node': 25.1.0
|
||||||
'@types/retry': 0.12.0
|
'@types/retry': 0.12.0
|
||||||
axios: 1.13.4(debug@4.4.3)
|
axios: 1.13.4
|
||||||
eventemitter3: 5.0.4
|
eventemitter3: 5.0.4
|
||||||
form-data: 4.0.5
|
form-data: 4.0.5
|
||||||
is-electron: 2.2.2
|
is-electron: 2.2.2
|
||||||
|
|
@ -8428,6 +8431,14 @@ snapshots:
|
||||||
|
|
||||||
aws4@1.13.2: {}
|
aws4@1.13.2: {}
|
||||||
|
|
||||||
|
axios@1.13.4:
|
||||||
|
dependencies:
|
||||||
|
follow-redirects: 1.15.11
|
||||||
|
form-data: 4.0.5
|
||||||
|
proxy-from-env: 1.1.0
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- debug
|
||||||
|
|
||||||
axios@1.13.4(debug@4.4.3):
|
axios@1.13.4(debug@4.4.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects: 1.15.11(debug@4.4.3)
|
follow-redirects: 1.15.11(debug@4.4.3)
|
||||||
|
|
@ -9003,6 +9014,8 @@ snapshots:
|
||||||
|
|
||||||
flatbuffers@24.12.23: {}
|
flatbuffers@24.12.23: {}
|
||||||
|
|
||||||
|
follow-redirects@1.15.11: {}
|
||||||
|
|
||||||
follow-redirects@1.15.11(debug@4.4.3):
|
follow-redirects@1.15.11(debug@4.4.3):
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ export async function sendMessageIMessage(
|
||||||
const client = opts.client ?? (await createIMessageRpcClient({ cliPath, dbPath }));
|
const client = opts.client ?? (await createIMessageRpcClient({ cliPath, dbPath }));
|
||||||
const shouldClose = !opts.client;
|
const shouldClose = !opts.client;
|
||||||
try {
|
try {
|
||||||
const result = await client.request("send", params, {
|
const result = await client.request<{ ok?: string }>("send", params, {
|
||||||
timeoutMs: opts.timeoutMs,
|
timeoutMs: opts.timeoutMs,
|
||||||
});
|
});
|
||||||
const resolvedId = resolveMessageId(result);
|
const resolvedId = resolveMessageId(result);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue