@ccci/micro-server 1.0.222 → 1.0.224

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.
@@ -29,6 +29,7 @@ export type QueryType = {
29
29
  export type RequestUserType = {
30
30
  id?: number;
31
31
  email?: string;
32
+ clientSecret?: string;
32
33
  };
33
34
  export type ModelOptions = {
34
35
  tableName: string;
@@ -6,6 +6,6 @@ import { RequestUserType } from '../types/BaseModelTypes';
6
6
  * @returns
7
7
  */
8
8
  export declare function generate(payload: object): string;
9
- export declare function verify(token: string): RequestUserType;
9
+ export declare function verify(token: string, secret?: string): RequestUserType;
10
10
  export declare function decode(val: string | Request): RequestUserType;
11
11
  //# sourceMappingURL=TokenGenerator.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.222",
3
+ "version": "1.0.224",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",