7 lines
335 B
TypeScript
7 lines
335 B
TypeScript
import type { PluginRuntime } from "openclaw/plugin-sdk";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
|
|
|
|
const { setRuntime: setWhatsAppRuntime, getRuntime: getWhatsAppRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("WhatsApp runtime not initialized");
|
|
export { getWhatsAppRuntime, setWhatsAppRuntime };
|