Skip to content

Commit

Permalink
refactor(core)!: remove deprecated injectionContainer prop (openwalle…
Browse files Browse the repository at this point in the history
…t-foundation#1344)

Signed-off-by: martin auer <martin.auer97@gmail.com>
  • Loading branch information
auer-martin committed Feb 24, 2023
1 parent d5e34ff commit cac2ec3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/core/src/agent/BaseAgent.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { AgentConfig } from './AgentConfig'
import type { AgentApi, EmptyModuleMap, ModulesMap, WithoutDefaultModules, CustomOrDefaultApi } from './AgentModules'
import type { AgentApi, CustomOrDefaultApi, EmptyModuleMap, ModulesMap, WithoutDefaultModules } from './AgentModules'
import type { TransportSession } from './TransportService'
import type { Logger } from '../logger'
import type { CredentialsModule } from '../modules/credentials'
Expand Down Expand Up @@ -191,13 +191,6 @@ export abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMap
})
}

/**
* @deprecated The injectionContainer property has been deprecated in favour of the dependencyManager property.
*/
public get injectionContainer() {
return this.dependencyManager.container
}

public get config() {
return this.agentConfig
}
Expand Down

0 comments on commit cac2ec3

Please sign in to comment.