@thisisagile/easy 8.5.7 → 8.5.8

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.
@@ -45,7 +45,7 @@ export declare type Contexts<E extends EnvContext, R extends RequestContext> = {
45
45
  request?: R;
46
46
  other?: any;
47
47
  };
48
- export declare class Context<E extends EnvContext = DotEnvContext, R extends RequestContext = BaseContext> {
48
+ export declare class Context<E extends EnvContext, R extends RequestContext> {
49
49
  protected state: Contexts<E, R>;
50
50
  constructor(state?: Contexts<E, R>);
51
51
  get env(): E;
@@ -59,4 +59,4 @@ export declare class Context<E extends EnvContext = DotEnvContext, R extends Req
59
59
  other?: any;
60
60
  }) => Context<E_1, R_1>;
61
61
  }
62
- export declare const ctx: Context<DotEnvContext, BaseContext>;
62
+ export declare const ctx: Context<EnvContext, RequestContext>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy",
3
- "version": "8.5.7",
3
+ "version": "8.5.8",
4
4
  "description": "Straightforward library for building domain-driven microservice architectures",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "access": "public"
32
32
  },
33
33
  "devDependencies": {
34
- "@thisisagile/easy-test": "8.5.7",
34
+ "@thisisagile/easy-test": "8.5.8",
35
35
  "@types/form-urlencoded": "^4.4.0",
36
36
  "@types/jsonwebtoken": "^8.5.6",
37
37
  "@types/validator": "^13.7.0"
@@ -94,7 +94,7 @@ export type Contexts<E extends EnvContext, R extends RequestContext> = {
94
94
  other?: any;
95
95
  }
96
96
 
97
- export class Context<E extends EnvContext = DotEnvContext, R extends RequestContext = BaseContext> {
97
+ export class Context<E extends EnvContext, R extends RequestContext> {
98
98
  constructor(protected state: Contexts<E, R> = {}) {
99
99
  this.state = {
100
100
  ...({