openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
274 stars 202 forks source link

Anoncreds Initialisation Error #1756

Closed sudddy closed 9 months ago

sudddy commented 9 months ago

I'm unable to find the anoncreds and autoCreateLinkSecret in AnonCredsModuleConfigOptions.


{
   "level":"error",
   "message":"Agent Initialization Failed Cannot inject the dependency \"anonCredsIssuerService\" at position #3 of "AnonCredsApi constructor. Reason:\n    Attempted to resolve unregistered dependency token: \"Symbol(AnonCredsIssuerService)\"",
   "stack":"Error: Cannot inject the dependency \"anonCredsIssuerService\" at position #3 of \"AnonCredsApi\" constructor. Reason:\n    Attempted to resolve unregistered dependency token: \"Symbol(AnonCredsIssuerService
} 

Versions: 
{
"@credo-ts/action-menu": "^0.5.0-alpha.101",
"@credo-ts/anoncreds": "^0.5.0-alpha.101",
"@credo-ts/askar": "^0.5.0-alpha.101",
"@credo-ts/cheqd": "^0.5.0-alpha.101",
"@credo-ts/core": "^0.5.0-alpha.101",Ï
"@credo-ts/indy-vdr": "^0.5.0-alpha.101",
"@credo-ts/node": "^0.5.0-alpha.101",
"@credo-ts/openid4vc": "^0.5.0-alpha.115",
"@credo-ts/question-answer": "^0.5.0-alpha.101",
"@credo-ts/tenants": "^0.5.0-alpha.101",
}

I can see this has been merged as well - https://github.com/openwallet-foundation/credo-ts/pull/1204
TimoGlastra commented 9 months ago

You're not on the latest alpha release for 0.5.0. Please update to alpha 127

sudddy commented 9 months ago

Ahh, cool. Thanks @TimoGlastra.