elysia 0.7.15 → 0.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bun/index.d.ts +2 -1
- package/dist/bun/index.js +31 -31
- package/dist/bun/index.js.map +14 -15
- package/dist/cjs/compose.js +9 -8
- package/dist/cjs/cookie.d.ts +1 -1
- package/dist/cjs/cookie.js +6 -4
- package/dist/cjs/custom-types.d.ts +2 -1
- package/dist/cjs/dynamic-handle.js +4 -4
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/utils.d.ts +2 -0
- package/dist/cjs/utils.js +24 -1
- package/dist/cjs/ws/index.d.ts +7 -4
- package/dist/cjs/ws/types.d.ts +1 -1
- package/dist/compose.js +10 -10
- package/dist/cookie.d.ts +1 -1
- package/dist/cookie.js +23 -23
- package/dist/custom-types.d.ts +2 -1
- package/dist/dynamic-handle.js +10 -10
- package/dist/index.d.ts +2 -1
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +1 -1
- package/dist/ws/index.d.ts +7 -4
- package/dist/ws/types.d.ts +1 -1
- package/package.json +2 -4
- package/dump.rdb +0 -0
package/dist/bun/index.d.ts
CHANGED
|
@@ -974,8 +974,9 @@ export default class Elysia<BasePath extends string = '', Decorators extends Dec
|
|
|
974
974
|
export { Elysia };
|
|
975
975
|
export { mapResponse, mapCompactResponse, mapEarlyResponse } from './handler';
|
|
976
976
|
export { t } from './custom-types';
|
|
977
|
-
export { Cookie } from './cookie';
|
|
977
|
+
export { Cookie, type CookieOptions } from './cookie';
|
|
978
978
|
export { getSchemaValidator, mergeDeep, mergeHook, mergeObjectArray, getResponseSchemaValidator } from './utils';
|
|
979
979
|
export { ParseError, NotFoundError, ValidationError, InternalServerError, InvalidCookieSignature } from './error';
|
|
980
980
|
export type { Context, PreContext } from './context';
|
|
981
981
|
export type { ElysiaConfig, DecoratorBase, DefinitionBase, RouteBase, Handler, ComposedHandler, InputSchema, LocalHook, MergeSchema, RouteSchema, UnwrapRoute, InternalRoute, HTTPMethod, SchemaValidator, VoidHandler, PreHandler, BodyHandler, OptionalHandler, ErrorHandler, AfterHandler, TraceHandler, TraceStream, LifeCycleEvent, TraceEvent, LifeCycleStore, MaybePromise, ListenCallback, UnwrapSchema } from './types';
|
|
982
|
+
export type { Static } from '@sinclair/typebox';
|