@tramvai/module-metrics 1.110.0 → 2.0.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.
package/lib/server.es.js CHANGED
@@ -467,6 +467,7 @@ MetricsModule = __decorate([
467
467
  }),
468
468
  provide({
469
469
  provide: 'metricsDefaultRegistry',
470
+ scope: Scope.SINGLETON,
470
471
  useClass: Registry,
471
472
  }),
472
473
  provide({
package/lib/server.js CHANGED
@@ -480,6 +480,7 @@ exports.MetricsModule = tslib.__decorate([
480
480
  }),
481
481
  core.provide({
482
482
  provide: 'metricsDefaultRegistry',
483
+ scope: core.Scope.SINGLETON,
483
484
  useClass: promClient.Registry,
484
485
  }),
485
486
  core.provide({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-metrics",
3
- "version": "1.110.0",
3
+ "version": "2.0.2",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -19,23 +19,23 @@
19
19
  "build-for-publish": "true"
20
20
  },
21
21
  "dependencies": {
22
- "@tramvai/core": "1.110.0",
23
- "@tramvai/tokens-server": "1.110.0",
24
- "@tramvai/tokens-server-private": "1.110.0",
25
- "@tramvai/tokens-metrics": "1.110.0",
26
- "@tramvai/tokens-router": "1.110.0",
27
- "@tramvai/module-common": "1.110.0",
28
- "@tramvai/tokens-http-client": "1.110.0",
29
- "@tramvai/state": "1.110.0",
30
- "@tramvai/papi": "1.110.0",
31
- "@tinkoff/measure-fastify-requests": "0.0.3",
32
- "@tinkoff/monkeypatch": "1.3.4",
33
- "@tinkoff/url": "0.7.38",
22
+ "@tramvai/core": "2.0.2",
23
+ "@tramvai/tokens-server": "2.0.2",
24
+ "@tramvai/tokens-server-private": "2.0.2",
25
+ "@tramvai/tokens-metrics": "2.0.2",
26
+ "@tramvai/tokens-router": "2.0.2",
27
+ "@tramvai/module-common": "2.0.2",
28
+ "@tramvai/tokens-http-client": "2.0.2",
29
+ "@tramvai/state": "2.0.2",
30
+ "@tramvai/papi": "2.0.2",
31
+ "@tinkoff/measure-fastify-requests": "0.0.4",
32
+ "@tinkoff/monkeypatch": "1.3.5",
33
+ "@tinkoff/url": "0.7.39",
34
34
  "@tinkoff/utils": "^2.1.2",
35
35
  "prom-client": "^12.0.0",
36
- "@tinkoff/logger": "0.10.17",
37
- "@tinkoff/metrics-noop": "1.0.3",
38
- "@tinkoff/browser-timings": "0.9.6"
36
+ "@tinkoff/logger": "0.10.18",
37
+ "@tinkoff/metrics-noop": "1.0.4",
38
+ "@tinkoff/browser-timings": "0.9.7"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "tslib": "^2.0.3"