@thisisagile/easy-express 12.21.1 → 12.22.2

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.
@@ -1,6 +1,6 @@
1
1
  import { Express, RequestHandler, Response } from 'express';
2
2
  import { AppProvider, Endpoint, Handler, Resource, RouteRequires, Service, VerbOptions } from '@thisisagile/easy';
3
- export declare type ExpressVerb = 'get' | 'post' | 'put' | 'patch' | 'delete';
3
+ export type ExpressVerb = 'get' | 'post' | 'put' | 'patch' | 'delete';
4
4
  export declare class ExpressProvider implements AppProvider {
5
5
  protected app: Express;
6
6
  constructor(app?: Express);
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import express, { Request, RequestHandler } from 'express';
3
3
  import { Scope, UseCase } from '@thisisagile/easy';
4
- declare type SecretOrKeyProvider = (request: Request, rawJwtToken: any) => Promise<string | Buffer>;
4
+ type SecretOrKeyProvider = (request: Request, rawJwtToken: any) => Promise<string | Buffer>;
5
5
  export interface SecurityOptions {
6
6
  jwtStrategyOptions?: {
7
7
  secretOrKey?: string | Buffer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy-express",
3
- "version": "12.21.1",
3
+ "version": "12.22.2",
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": "12.21.1",
34
+ "@thisisagile/easy-test": "12.22.2",
35
35
  "@types/cls-hooked": "^4.3.3",
36
36
  "@types/form-urlencoded": "^4.4.0",
37
37
  "@types/jsonwebtoken": "^8.5.9",
@@ -41,7 +41,7 @@
41
41
  "@types/validator": "^13.7.10"
42
42
  },
43
43
  "dependencies": {
44
- "@thisisagile/easy": "^12.21.1",
44
+ "@thisisagile/easy": "^12.22.2",
45
45
  "@types/express": "^4.17.14",
46
46
  "cls-hooked": "^4.2.2",
47
47
  "express": "^4.18.2",