yedra 0.9.6 → 0.9.7

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.
@@ -3,9 +3,9 @@ import { type NoneBody } from '../validation/none.js';
3
3
  import { type ObjectSchema } from '../validation/object.js';
4
4
  import type { Schema } from '../validation/schema.js';
5
5
  import type { Endpoint } from './app.js';
6
- import { Path } from './path.js';
7
- import { Log } from './log.js';
8
6
  import { Http } from './http.js';
7
+ import { Log } from './log.js';
8
+ import { Path } from './path.js';
9
9
  type ReqObject<Params, Query, Headers, Body> = {
10
10
  log: Log;
11
11
  http: Http;
@@ -1,11 +1,11 @@
1
1
  import { isUint8Array } from 'node:util/types';
2
+ import { ValidationError } from '../validation/error.js';
2
3
  import { none } from '../validation/none.js';
3
4
  import { object } from '../validation/object.js';
4
5
  import { BadRequestError } from './errors.js';
5
- import { Path } from './path.js';
6
- import { Log } from './log.js';
7
6
  import { Http } from './http.js';
8
- import { ValidationError } from '../validation/error.js';
7
+ import { Log } from './log.js';
8
+ import { Path } from './path.js';
9
9
  class Route {
10
10
  constructor(path, params) {
11
11
  this.path = path;
@@ -1,6 +1,6 @@
1
1
  import { BodyType } from './body.js';
2
- export declare class NoneBody extends BodyType<void> {
3
- deserialize(buffer: Uint8Array, contentType: string): void;
2
+ export declare class NoneBody extends BodyType<undefined> {
3
+ deserialize(buffer: Uint8Array, contentType: string): undefined;
4
4
  bodyDocs(): object;
5
5
  }
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yedra",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "repository": "github:0codekit/yedra",
5
5
  "main": "dist/index.js",
6
6
  "devDependencies": {