@nmxjs/api 1.2.6 → 1.2.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.
@@ -1,4 +1,4 @@
1
- import { DynamicModule } from '@nestjs/common';
1
+ import type { DynamicModule } from '@nestjs/common';
2
2
  import { IApiRouterCoreModuleOptions } from './interfaces';
3
3
  export declare class ApiRouteCoreModule {
4
4
  static forRoot({ setupWebApi, imports, apiRouterFactory, servicesKeys, webApiAuthHandler }: IApiRouterCoreModuleOptions): DynamicModule;
@@ -1,2 +1,2 @@
1
- import { MicroserviceOptions, CustomStrategy } from '@nestjs/microservices';
1
+ import type { MicroserviceOptions, CustomStrategy } from '@nestjs/microservices';
2
2
  export type GetTransporterOptions = (serviceName: string) => Exclude<MicroserviceOptions, CustomStrategy>;
@@ -1,4 +1,4 @@
1
- import { ModuleMetadata } from '@nestjs/common';
1
+ import type { ModuleMetadata } from '@nestjs/common';
2
2
  import { IWebApiAuthHandlerOptions } from './IWebApiAuthHandlerOptions';
3
3
  export interface IApiRouterCoreModuleOptions extends Required<Pick<ModuleMetadata, 'imports'>> {
4
4
  setupWebApi?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmxjs/api",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,24 +22,24 @@
22
22
  },
23
23
  "homepage": "https://github.com/n1ghtm6r9/nm-api#readme",
24
24
  "devDependencies": {
25
- "@types/deepmerge": "^2.2.0",
26
- "@types/node": "^20.10.4",
25
+ "@types/deepmerge": "^2.1.0",
26
+ "@types/node": "^22.13.0",
27
27
  "typescript": "^5.1.6"
28
28
  },
29
29
  "dependencies": {
30
- "@nestjs/common": "^10.2.10",
31
30
  "@nmxjs/errors": "^1.0.3",
32
31
  "@nmxjs/utils": "^1.0.21",
33
32
  "@nmxjs/constants": "^1.0.2",
34
33
  "deepmerge": "^4.3.1",
35
- "express": "^4.18.2",
34
+ "express": "^4.21.2",
36
35
  "node-cache": "^5.1.2",
37
36
  "object-hash": "^3.0.0",
38
37
  "reflect-metadata": "^0.2.1",
39
38
  "rxjs": "^7.8.1"
40
39
  },
41
40
  "peerDependencies": {
42
- "@nestjs/graphql": "^10.1.2",
43
- "@nmxjs/config": "^1.0.15"
41
+ "@nestjs/graphql": "^13.0.2",
42
+ "@nmxjs/config": "^1.0.15",
43
+ "@nestjs/common": "^11.0.7"
44
44
  }
45
45
  }