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