mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 11:00:50 +00:00
7 lines
344 B
TypeScript
7 lines
344 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/whatsapp";
|
|
|
|
const { setRuntime: setWhatsAppRuntime, getRuntime: getWhatsAppRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("WhatsApp runtime not initialized");
|
|
export { getWhatsAppRuntime, setWhatsAppRuntime };
|