@promster/apollo 3.0.0 → 12.0.0

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.
@@ -4,7 +4,7 @@ import { type TRequestRecorder } from '@promster/metrics';
4
4
  declare const getRequestRecorder: () => TRequestRecorder;
5
5
  declare const signalIsUp: () => void;
6
6
  declare const signalIsNotUp: () => void;
7
- type TSkipFunction = <TRequest extends GraphQLRequest, TResponse extends GraphQLRequestContext<BaseContext>['response']>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
7
+ type TSkipFunction = <TRequest = GraphQLRequest, TResponse = GraphQLRequestContext<BaseContext>['response']>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
8
8
  export type TPromsterOptions = {
9
9
  options?: TOptionalPromsterOptions & {
10
10
  skip?: TSkipFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promster/apollo",
3
- "version": "3.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "Apollo server integrations of promster",
5
5
  "main": "dist/promster-apollo.cjs.js",
6
6
  "typings": "dist/promster-apollo.cjs.d.ts",
@@ -13,7 +13,7 @@
13
13
  "modules/**"
14
14
  ],
15
15
  "engines": {
16
- "node": ">=16",
16
+ "node": ">=18",
17
17
  "npm": ">=8"
18
18
  },
19
19
  "publishConfig": {
@@ -36,19 +36,19 @@
36
36
  "prometheus"
37
37
  ],
38
38
  "dependencies": {
39
- "@apollo/server": "4.9.3",
40
- "@promster/metrics": "^11.0.0",
41
- "@promster/types": "^5.0.0",
39
+ "@apollo/server": "4.9.4",
40
+ "@promster/metrics": "^12.0.0",
41
+ "@promster/types": "^12.0.0",
42
42
  "merge-options": "3.0.4",
43
43
  "tslib": "2.6.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@graphql-tools/schema": "10.0.0",
47
- "@graphql-tools/utils": "10.0.5",
47
+ "@graphql-tools/utils": "10.0.6",
48
48
  "apollo-server": "3.12.1",
49
- "graphql": "16.8.0",
49
+ "graphql": "16.8.1",
50
50
  "node-fetch": "2.6.11",
51
51
  "parse-prometheus-text-format": "1.1.1",
52
- "@promster/server": "9.0.0"
52
+ "@promster/server": "12.0.0"
53
53
  }
54
54
  }