@frontmcp/di 1.11.2 → 1.12.0-rc.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/esm/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/di",
3
- "version": "1.11.2",
3
+ "version": "1.12.0-rc.1",
4
4
  "description": "Generic dependency injection container and registry utilities for TypeScript applications",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "license": "Apache-2.0",
@@ -48,7 +48,7 @@
48
48
  "node": ">=24.0.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@frontmcp/lazy-zod": "1.11.2",
51
+ "@frontmcp/lazy-zod": "1.12.0-rc.1",
52
52
  "reflect-metadata": "^0.2.0"
53
53
  },
54
54
  "devDependencies": {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Registry-related interfaces for dependency injection.
3
3
  */
4
- import type { Token } from './base.interface.js';
5
4
  import type { ProviderRecord } from '../records/provider.record.js';
5
+ import type { Token } from './base.interface.js';
6
6
  /**
7
7
  * Interface for the DI container.
8
8
  * Provides methods for resolving dependencies.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/di",
3
- "version": "1.11.2",
3
+ "version": "1.12.0-rc.1",
4
4
  "description": "Generic dependency injection container and registry utilities for TypeScript applications",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "license": "Apache-2.0",
@@ -48,7 +48,7 @@
48
48
  "node": ">=24.0.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@frontmcp/lazy-zod": "1.11.2",
51
+ "@frontmcp/lazy-zod": "1.12.0-rc.1",
52
52
  "reflect-metadata": "^0.2.0"
53
53
  },
54
54
  "devDependencies": {
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * These types represent normalized provider definitions stored in the registry.
5
5
  */
6
- import type { Type, Token, ClassType, ValueType } from '../interfaces/base.interface.js';
6
+ import type { ClassType, Token, Type, ValueType } from '../interfaces/base.interface.js';
7
7
  import type { ProviderMetadata } from '../metadata/provider.metadata.js';
8
8
  /**
9
9
  * Provider kinds supported by the DI container.
@@ -15,10 +15,10 @@ import 'reflect-metadata';
15
15
  import type { Token } from '../interfaces/base.interface.js';
16
16
  import type { ProviderType } from '../interfaces/provider.interface.js';
17
17
  import type { DiContainerInterface, DiViews } from '../interfaces/registry.interface.js';
18
- import { type ProviderRecord, type ProviderInjectedRecord } from '../records/provider.record.js';
19
18
  import { ProviderScope } from '../metadata/provider.metadata.js';
20
- import { RegistryAbstract, type RegistryBuildMapResult } from './registry.base.js';
19
+ import { type ProviderInjectedRecord, type ProviderRecord } from '../records/provider.record.js';
21
20
  import { type ProviderTokens } from '../utils/provider.utils.js';
21
+ import { RegistryAbstract, type RegistryBuildMapResult } from './registry.base.js';
22
22
  /**
23
23
  * Entry wrapper for provider instances.
24
24
  * Can be extended by subclasses with additional metadata.
@@ -10,8 +10,8 @@
10
10
  * Extended by ToolRegistry, ResourceRegistry, PromptRegistry, AgentRegistry.
11
11
  */
12
12
  import type { Token } from '../interfaces/base.interface.js';
13
+ import type { ChangeEvent, ChangeKind, EntryLineage, EntryOwnerRef, IndexedEntry, RegistryEmitter, SubscribeOptions } from './indexed.types.js';
13
14
  import { RegistryAbstract, type RegistryKind } from './registry.base.js';
14
- import type { IndexedEntry, EntryLineage, EntryOwnerRef, ChangeEvent, ChangeKind, SubscribeOptions, RegistryEmitter } from './indexed.types.js';
15
15
  /**
16
16
  * Abstract base class for registries with indexed lookups.
17
17
  *