7 lines
326 B
TypeScript
7 lines
326 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/nostr";
|
|
|
|
const { setRuntime: setNostrRuntime, getRuntime: getNostrRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("Nostr runtime not initialized");
|
|
export { getNostrRuntime, setNostrRuntime };
|