mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:00:50 +00:00
perf: speed up security audit test imports
This commit is contained in:
6
extensions/telegram/account-inspect-api.ts
Normal file
6
extensions/telegram/account-inspect-api.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { OpenClawConfig } from "./runtime-api.js";
|
||||
import { inspectTelegramAccount } from "./src/account-inspect.js";
|
||||
|
||||
export function inspectTelegramReadOnlyAccount(cfg: OpenClawConfig, accountId?: string | null) {
|
||||
return inspectTelegramAccount({ cfg, accountId });
|
||||
}
|
||||
@@ -17,4 +17,8 @@ export default defineBundledChannelEntry({
|
||||
specifier: "./runtime-api.js",
|
||||
exportName: "setTelegramRuntime",
|
||||
},
|
||||
accountInspect: {
|
||||
specifier: "./account-inspect-api.js",
|
||||
exportName: "inspectTelegramReadOnlyAccount",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user