TypeError: list.filter is not a function.
entire error:
Is it bun related? im using bun + hono
# SERVER_ERROR: 293 | );
294 | let list = [];
295 | const now = Date.now();
296 | if (currentList) {
297 | list = safeJSONParse(currentList) || [];
298 | list = list.filter((session) => session.expiresAt > now);
^
TypeError: list.filter is not a function. (In 'list.filter((session) => session.expiresAt > now)', 'list.filter' is undefined)
at <anonymous> (/Users/medim/Code/auth-server/node_modules/better-auth/dist/shared/better-auth.B5NYxGA3.mjs:298:27)# SERVER_ERROR: 293 | );
294 | let list = [];
295 | const now = Date.now();
296 | if (currentList) {
297 | list = safeJSONParse(currentList) || [];
298 | list = list.filter((session) => session.expiresAt > now);
^
TypeError: list.filter is not a function. (In 'list.filter((session) => session.expiresAt > now)', 'list.filter' is undefined)
at <anonymous> (/Users/medim/Code/auth-server/node_modules/better-auth/dist/shared/better-auth.B5NYxGA3.mjs:298:27)Is it bun related? im using bun + hono