@tramvai/test-mocks 2.36.0 → 2.37.1
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/CommonTestModule.d.ts +1 -2
- package/lib/index.d.ts +1 -1
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ import type { Provider } from '@tramvai/core';
|
|
|
2
2
|
import type { Cache } from '@tramvai/tokens-common';
|
|
3
3
|
import { createMockEnvManager } from './envManager';
|
|
4
4
|
import { createMockCookieManager } from './cookie';
|
|
5
|
-
declare type CommonModuleOptions = {
|
|
5
|
+
export declare type CommonModuleOptions = {
|
|
6
6
|
env?: Parameters<typeof createMockEnvManager>[0];
|
|
7
7
|
cookies?: Parameters<typeof createMockCookieManager>[0];
|
|
8
8
|
onCacheCreated?: (cache: Cache) => void;
|
|
@@ -13,4 +13,3 @@ export declare class CommonTestModule {
|
|
|
13
13
|
mainModule: typeof CommonTestModule;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export { createMockRequestManager } from './requestManager';
|
|
|
8
8
|
export { createMockAppInfo } from './appInfo';
|
|
9
9
|
export { createMockCache } from './cache';
|
|
10
10
|
export { createMockCookieManager } from './cookie';
|
|
11
|
-
export { CommonTestModule } from './CommonTestModule';
|
|
11
|
+
export { CommonTestModule, CommonModuleOptions } from './CommonTestModule';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-mocks",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.37.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"build-for-publish": "true"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tramvai/core": "2.
|
|
21
|
+
"@tramvai/core": "2.37.1",
|
|
22
22
|
"@tinkoff/pubsub": "0.5.5",
|
|
23
23
|
"@tinkoff/router": "0.2.4",
|
|
24
24
|
"@tinkoff/url": "0.8.4",
|
|
25
|
-
"@tramvai/module-cookie": "2.
|
|
26
|
-
"@tramvai/module-common": "2.
|
|
27
|
-
"@tramvai/state": "2.
|
|
28
|
-
"@tramvai/tokens-common": "2.
|
|
25
|
+
"@tramvai/module-cookie": "2.37.1",
|
|
26
|
+
"@tramvai/module-common": "2.37.1",
|
|
27
|
+
"@tramvai/state": "2.37.1",
|
|
28
|
+
"@tramvai/tokens-common": "2.37.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@tinkoff/dippy": "0.8.
|
|
31
|
+
"@tinkoff/dippy": "0.8.9",
|
|
32
32
|
"@tinkoff/utils": "^2.1.2",
|
|
33
33
|
"tslib": "^2.4.0"
|
|
34
34
|
},
|