Closed ThatOneCalculator closed 1 month ago
1.1.0-rc.9
Linux 6.9.8 x86_64 unknown
import bearer from "@elysiajs/bearer"; // ... new Elysia() .use(bearer())
Bearer plugin to work like how it does in 1.0.27
2845 | var randomId = () => crypto.getRandomValues(new Uint32Array(1))[0]; 2846 | var deduplicateChecksum = (array) => { 2847 | const hashes = []; 2848 | for (let i = 0; i < array.length; i++) { 2849 | const item = array[i]; 2850 | if (item.checksum) { ^ TypeError: undefined is not an object (evaluating 'item.checksum') at deduplicateChecksum (/home/kainoa/Git/inertia/node_modules/elysia/dist/index.mjs:2850:9) at _use (/home/kainoa/Git/inertia/node_modules/elysia/dist/index.mjs:6517:7) at /home/kainoa/Git/inertia/packages/backend/src/services/auth.ts:6:3
No response
No longer an issue as of the 1.1.0 release!
What version of Elysia.JS is running?
1.1.0-rc.9
What platform is your computer?
Linux 6.9.8 x86_64 unknown
What steps can reproduce the bug?
What is the expected behavior?
Bearer plugin to work like how it does in 1.0.27
What do you see instead?
Additional information
No response