@tramvai/core 2.0.7 → 2.2.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/index.d.ts CHANGED
@@ -7,4 +7,4 @@ export { walkOfModules } from './modules/walkOfModules';
7
7
  export { isExtendedModule } from './modules/isExtendedModule';
8
8
  export { ModuleType, ExtendedModule } from './modules/module.h';
9
9
  export * from '@tramvai/tokens-core';
10
- export { DI_TOKEN, IS_DI_CHILD_CONTAINER_TOKEN, Scope, Provider, createToken, provide, } from '@tinkoff/dippy';
10
+ export { DI_TOKEN, IS_DI_CHILD_CONTAINER_TOKEN, Scope, Provider, createToken, provide, optional, ExtractTokenType, ExtractDependencyType, } from '@tinkoff/dippy';
package/lib/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createContainer, Scope } from '@tinkoff/dippy';
2
- export { DI_TOKEN, IS_DI_CHILD_CONTAINER_TOKEN, Scope, createToken, provide } from '@tinkoff/dippy';
3
- import { APP_INFO_TOKEN, BUNDLE_LIST_TOKEN, ACTIONS_LIST_TOKEN, MODULES_LIST_TOKEN, COMMAND_LINE_RUNNER_TOKEN, ACTION_PARAMETERS } from '@tramvai/tokens-core';
2
+ export { DI_TOKEN, IS_DI_CHILD_CONTAINER_TOKEN, Scope, createToken, optional, provide } from '@tinkoff/dippy';
3
+ import { COMMAND_LINE_RUNNER_TOKEN, APP_INFO_TOKEN, BUNDLE_LIST_TOKEN, ACTIONS_LIST_TOKEN, MODULES_LIST_TOKEN, ACTION_PARAMETERS } from '@tramvai/tokens-core';
4
4
  export * from '@tramvai/tokens-core';
5
5
  import { LOGGER_TOKEN } from '@tramvai/tokens-common';
6
6
  import concat from '@tinkoff/utils/array/concat';
package/lib/index.js CHANGED
@@ -260,6 +260,10 @@ Object.defineProperty(exports, 'createToken', {
260
260
  enumerable: true,
261
261
  get: function () { return dippy.createToken; }
262
262
  });
263
+ Object.defineProperty(exports, 'optional', {
264
+ enumerable: true,
265
+ get: function () { return dippy.optional; }
266
+ });
263
267
  Object.defineProperty(exports, 'provide', {
264
268
  enumerable: true,
265
269
  get: function () { return dippy.provide; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/core",
3
- "version": "2.0.7",
3
+ "version": "2.2.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@tinkoff/utils": "^2.1.2",
23
- "@tramvai/tokens-common": "2.0.7",
24
- "@tramvai/tokens-core": "2.0.7",
25
- "@tramvai/types-actions-state-context": "2.0.7",
26
- "@tinkoff/dippy": "0.7.42",
23
+ "@tramvai/tokens-common": "2.2.2",
24
+ "@tramvai/tokens-core": "2.2.2",
25
+ "@tramvai/types-actions-state-context": "2.2.2",
26
+ "@tinkoff/dippy": "0.7.43",
27
27
  "tslib": "^2.0.3"
28
28
  },
29
29
  "peerDependencies": {