@nathapp/nestjs-idempotency 4.0.2 → 4.0.3
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.
|
@@ -2,7 +2,7 @@ import { DynamicModule } from '@nestjs/common';
|
|
|
2
2
|
import { ConfigurableModuleClass } from '@nathapp/nestjs-common';
|
|
3
3
|
import { IdempotencyModuleOptions } from '../interface/idempotency-module-options.interface';
|
|
4
4
|
type IdempotencyRegisterAsyncOptions = Parameters<ReturnType<typeof ConfigurableModuleClass<IdempotencyModuleOptions>>['registerAsync']>[0];
|
|
5
|
-
declare const IdempotencyModule_base: import("@nathapp/nestjs-common").ConfigurableModuleCls<IdempotencyModuleOptions, "register", "createOptions",
|
|
5
|
+
declare const IdempotencyModule_base: import("@nathapp/nestjs-common").ConfigurableModuleCls<IdempotencyModuleOptions, "register", "createOptions", object>;
|
|
6
6
|
export declare class IdempotencyModule extends IdempotencyModule_base {
|
|
7
7
|
static register(options?: IdempotencyModuleOptions): DynamicModule;
|
|
8
8
|
static registerAsync(options: IdempotencyRegisterAsyncOptions): DynamicModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nestjs-idempotency",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "HTTP idempotency-key interceptor for NestJS (Express + Fastify), zero runtime dependencies",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
"test:cov": "jest --config ./test/jest-test.json --coverage",
|
|
13
13
|
"test:watch": "jest --config ./test/jest-test.json --watch",
|
|
14
14
|
"type-check": "tsc --noEmit -p tsconfig.json",
|
|
15
|
-
"lint": "eslint -c .eslintrc.js",
|
|
16
|
-
"lint:fix": "eslint -c .eslintrc.js --fix"
|
|
15
|
+
"lint": "eslint -c .eslintrc.js \"lib/**/*.ts\" \"test/**/*.ts\"",
|
|
16
|
+
"lint:fix": "eslint -c .eslintrc.js --fix \"lib/**/*.ts\" \"test/**/*.ts\"",
|
|
17
|
+
"type-check:test": "tsc --noEmit -p tsconfig.test.json"
|
|
17
18
|
},
|
|
18
19
|
"author": "William Khoo",
|
|
19
20
|
"license": "ISC",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@nathapp/eslint-config": "1.0.1",
|
|
32
|
-
"@nathapp/nestjs-common": "^4.0.
|
|
33
|
+
"@nathapp/nestjs-common": "^4.0.3",
|
|
33
34
|
"@nathapp/typescript-config": "1.0.1",
|
|
34
35
|
"@nestjs/common": "^11.0.0",
|
|
35
36
|
"@nestjs/core": "^11.0.0",
|