mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 06:14:57 +00:00
Merged via squash.
Prepared head SHA: e8d6738fd0
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
10 lines
398 B
TypeScript
10 lines
398 B
TypeScript
import type { PluginRuntime } from "openclaw/plugin-sdk/core";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const { setRuntime: setWhatsAppRuntime, getRuntime: getWhatsAppRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "whatsapp",
|
|
errorMessage: "WhatsApp runtime not initialized",
|
|
});
|
|
export { getWhatsAppRuntime, setWhatsAppRuntime };
|