shinosaki / hono-kv-session

Stateful session middleware for Hono. Works on Cloudflare Workers, Node.js, Bun, etc.
https://hono-kv-session.la1n.workers.dev
9 stars 1 forks source link

Unpack Deno KV entry in SessionManager #6

Closed Rhal95 closed 10 months ago

Rhal95 commented 10 months ago

As described in #5 the KvEntry returned by kv.get() was not unpacked properly. This PR simply does the unpacking so the SessionManager can be correctly used with Deno KV.