/** * Entry point: ipal-kit/next/middleware * * Re-exports the locale middleware factory and default matcher for use in a * client project's middleware.ts. Kept as a thin re-export so the Next-facing * surface is separate from the main package export. */ // Concrete files, not the i18n barrel — it re-exports client components, which // have no place in the proxy bundle (test/entryGraph). export { createProxy, DEFAULT_PROXY_MATCHER } from '../modules/i18n/createProxy.js' export { createLocaleMiddleware, DEFAULT_MIDDLEWARE_MATCHER } from '../modules/i18n/localeMiddleware.js' export type { LocaleMiddlewareResult } from '../modules/i18n/localeMiddleware.js' export { createCspNonce, CSP_NONCE_HEADER } from '../modules/security/cspNonce.js'