Sign Markdown saved to the folder with the configured ENS name and key #2

Merged
temeddix merged 2 commits from signing-hook into main 2026-09-25 17:02:53 +00:00
Showing only changes of commit 4ccd20299b - Show all commits
+4
View File
@@ -32,6 +32,10 @@ struct Session {
signer: Signer,
}
// The host creates one component instance per connection and calls into it
// on a single thread, so this slot holds exactly one connection's session and
// is not shared state between connections. A WASI component has no other place
// to keep state between exported calls.
thread_local! {
static SESSION: RefCell<Option<Session>> = const { RefCell::new(None) };
}