feat(lunox-session): lunox session exported to @lunoxjs/session
feat(lunox-session): request macro session to get SessionManager
feat(lunox-session): VerifyCsrfToken middleware
style: format code
feat(lunox-api): remove session from dependecies
feat(lunox-react): change session dependencies to @lunoxjs/session
feat(lunox-svelte): change session dependencies to @lunoxjs/session
feat(lunox-api): remove @lunoxjs/auth since its depends on @lunoxjs/session
refactor(lunox-core): macroable now using Object.prototype instead of useMagic
chore: bump lunox packages version
Note:
@lunoxjs/core/contracts now not exporting type Request. Please use Request exported from @lunoxjs/core directly. Same happen to Router type.
// before
import type {Request, Router} from "@lunoxjs/core/contracts";
// after
import type {Request, Router} from "@lunoxjs/core";
@lunoxjs/auth now depend on @lunoxjs/session. May be we need to make abstraction to auth driver, so we can decouple them. For example when auth is using stateless like JWT.
What's Changes
@lunoxjs/core/contracts
now not exporting typeRequest
. Please use Request exported from@lunoxjs/core
directly. Same happen toRouter
type.@lunoxjs/auth
now depend on@lunoxjs/session
. May be we need to make abstraction to auth driver, so we can decouple them. For example when auth is using stateless like JWT.