@tramvai/module-mocker 2.56.2 → 2.59.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.
Files changed (2) hide show
  1. package/lib/tokens.d.ts +9 -3
  2. package/package.json +8 -8
package/lib/tokens.d.ts CHANGED
@@ -2,6 +2,12 @@ import type { Mocker, MockRepository } from '@tinkoff/mocker';
2
2
  export interface MockerOptions {
3
3
  apis: string[];
4
4
  }
5
- export declare const MOCKER: import("@tinkoff/dippy").BaseTokenInterface<Mocker>;
6
- export declare const MOCKER_REPOSITORY: import("@tinkoff/dippy").MultiTokenInterface<MockRepository>;
7
- export declare const MOCKER_CONFIGURATION: import("@tinkoff/dippy").BaseTokenInterface<() => Promise<MockerOptions>>;
5
+ export declare const MOCKER: Mocker & {
6
+ __type?: "base token";
7
+ };
8
+ export declare const MOCKER_REPOSITORY: MockRepository & {
9
+ __type?: "multi token";
10
+ };
11
+ export declare const MOCKER_CONFIGURATION: (() => Promise<MockerOptions>) & {
12
+ __type?: "base token";
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-mocker",
3
- "version": "2.56.2",
3
+ "version": "2.59.0",
4
4
  "description": "",
5
5
  "main": "./lib/server.js",
6
6
  "browser": "./lib/browser.js",
@@ -20,16 +20,16 @@
20
20
  "build-for-publish": "true"
21
21
  },
22
22
  "dependencies": {
23
- "@tinkoff/mocker": "2.1.2",
23
+ "@tinkoff/mocker": "2.1.3",
24
24
  "tslib": "^2.4.0"
25
25
  },
26
26
  "peerDependencies": {
27
- "@tramvai/core": "2.56.2",
28
- "@tramvai/papi": "2.56.2",
29
- "@tramvai/tokens-common": "2.56.2",
30
- "@tramvai/tokens-server": "2.56.2",
31
- "@tramvai/tokens-server-private": "2.56.2",
32
- "@tinkoff/dippy": "0.8.10"
27
+ "@tramvai/core": "2.59.0",
28
+ "@tramvai/papi": "2.59.0",
29
+ "@tramvai/tokens-common": "2.59.0",
30
+ "@tramvai/tokens-server": "2.59.0",
31
+ "@tramvai/tokens-server-private": "2.59.0",
32
+ "@tinkoff/dippy": "0.8.11"
33
33
  },
34
34
  "license": "Apache-2.0"
35
35
  }