mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 01:00:22 +00:00
fix(auth): lazy-load provider oauth helpers
This commit is contained in:
@@ -18,11 +18,25 @@ export type TelegramBotDeps = {
|
||||
};
|
||||
|
||||
export const defaultTelegramBotDeps: TelegramBotDeps = {
|
||||
loadConfig,
|
||||
resolveStorePath,
|
||||
readChannelAllowFromStore,
|
||||
enqueueSystemEvent,
|
||||
dispatchReplyWithBufferedBlockDispatcher,
|
||||
listSkillCommandsForAgents,
|
||||
wasSentByBot,
|
||||
get loadConfig() {
|
||||
return loadConfig;
|
||||
},
|
||||
get resolveStorePath() {
|
||||
return resolveStorePath;
|
||||
},
|
||||
get readChannelAllowFromStore() {
|
||||
return readChannelAllowFromStore;
|
||||
},
|
||||
get enqueueSystemEvent() {
|
||||
return enqueueSystemEvent;
|
||||
},
|
||||
get dispatchReplyWithBufferedBlockDispatcher() {
|
||||
return dispatchReplyWithBufferedBlockDispatcher;
|
||||
},
|
||||
get listSkillCommandsForAgents() {
|
||||
return listSkillCommandsForAgents;
|
||||
},
|
||||
get wasSentByBot() {
|
||||
return wasSentByBot;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user