UNPKG

@metamask/ocap-kernel

Version:
11 lines 424 B
import type { VatKVStore } from "@metamask/kernel-store"; /** * Create an in-memory VatKVStore for a vat, backed by a Map and tracking * changes so that they can be reported at the end of a crank. * * @param state - The state to begin with. * * @returns a VatKVStore wrapped around `state`. */ export declare function makeVatKVStore(state: Map<string, string>): VatKVStore; //# sourceMappingURL=vat-kv-store.d.mts.map