Look up a key by id.
A deep clone of the key, or undefined when absent.
Remove a key by id.
True when a key was removed.
Store a key, overwriting any existing key with the same id. The binding args must be structured-cloneable (plain JSON-ish values).
A clone of the stored key.
Serialize the store to a plain key array (used by JSON.stringify).
Deep clones of all keys, in insertion order.
StaticfromRehydrate a store from a serialized key array (e.g. JSON.parse
output). Validates every entry — invalid input throws an Error whose
message names the offending path, like keys[2].binding.verb.
Duplicate ids resolve last-wins, matching set overwrite
semantics.
In-memory store for assignable keys, keyed by
id.Every boundary deep-clones:
setstores a private copy of the key and every read (set's return value,get,list,toJSON) returns fresh clones, so callers can never mutate the stored keys.