@tramvai/test-mocks 2.40.0 → 2.45.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.
@@ -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
- export declare type CommonModuleOptions = {
5
+ export type CommonModuleOptions = {
6
6
  env?: Parameters<typeof createMockEnvManager>[0];
7
7
  cookies?: Parameters<typeof createMockCookieManager>[0];
8
8
  onCacheCreated?: (cache: Cache) => void;
package/lib/context.d.ts CHANGED
@@ -2,9 +2,9 @@ import { CONTEXT_TOKEN, STORE_TOKEN } from '@tramvai/tokens-common';
2
2
  import type { Container } from '@tinkoff/dippy';
3
3
  import { createMockStore } from './store';
4
4
  import { createMockDi } from './di';
5
- declare type OptionsDi = Parameters<typeof createMockDi>[0];
6
- declare type OptionsStore = Parameters<typeof createMockStore>[0];
7
- declare type Options = OptionsDi & OptionsStore & {
5
+ type OptionsDi = Parameters<typeof createMockDi>[0];
6
+ type OptionsStore = Parameters<typeof createMockStore>[0];
7
+ type Options = OptionsDi & OptionsStore & {
8
8
  store?: typeof STORE_TOKEN;
9
9
  di?: Container;
10
10
  useTramvaiActionsConditionals?: boolean;
@@ -1,4 +1,4 @@
1
1
  import type { ENV_MANAGER_TOKEN } from '@tramvai/tokens-common';
2
- declare type EnvManager = typeof ENV_MANAGER_TOKEN;
2
+ type EnvManager = typeof ENV_MANAGER_TOKEN;
3
3
  export declare const createMockEnvManager: (env?: Record<string, string>) => EnvManager;
4
4
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/test-mocks",
3
- "version": "2.40.0",
3
+ "version": "2.45.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -18,14 +18,14 @@
18
18
  "build-for-publish": "true"
19
19
  },
20
20
  "dependencies": {
21
- "@tramvai/core": "2.40.0",
21
+ "@tramvai/core": "2.45.0",
22
22
  "@tinkoff/pubsub": "0.5.5",
23
- "@tinkoff/router": "0.2.4",
23
+ "@tinkoff/router": "0.2.5",
24
24
  "@tinkoff/url": "0.8.4",
25
- "@tramvai/module-cookie": "2.40.0",
26
- "@tramvai/module-common": "2.40.0",
27
- "@tramvai/state": "2.40.0",
28
- "@tramvai/tokens-common": "2.40.0"
25
+ "@tramvai/module-cookie": "2.45.0",
26
+ "@tramvai/module-common": "2.45.0",
27
+ "@tramvai/state": "2.45.0",
28
+ "@tramvai/tokens-common": "2.45.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@tinkoff/dippy": "0.8.9",