Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: invalid injection symbols in W3cCredService #786

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/core/src/modules/vc/W3cCredentialService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { inject, Lifecycle, scoped } from 'tsyringe'
import jsonld, { documentLoaderNode, documentLoaderXhr } from '../../../types/jsonld'
import vc from '../../../types/vc'
import { AgentConfig } from '../../agent/AgentConfig'
import { InjectionSymbols } from '../../constants'
import { createWalletKeyPairClass } from '../../crypto/WalletKeyPair'
import { deriveProof } from '../../crypto/signature-suites/bbs'
import { AriesFrameworkError } from '../../error'
Expand Down Expand Up @@ -44,11 +45,11 @@ export class W3cCredentialService {
private suiteRegistry: SignatureSuiteRegistry

public constructor(
@inject('Wallet') wallet: Wallet,
@inject(InjectionSymbols.Wallet) wallet: Wallet,
w3cCredentialRepository: W3cCredentialRepository,
didResolver: DidResolverService,
agentConfig: AgentConfig,
logger: Logger
@inject(InjectionSymbols.Logger) logger: Logger
) {
this.wallet = wallet
this.w3cCredentialRepository = w3cCredentialRepository
Expand Down