
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@animo-id/afj-universal-resolver
Advanced tools
Getting started | Usage | Contributing | License
yarn add @animo-id/afj-universal-resolver
NOTE: it is recommended to use a self-hosted universal resolver and only use the development hosted one for development.
import { UniversalDidResolver } from "@animo-id/afj-universal-resolver"
import { agentDependencies } from "@aries-framework/node"
import { Agent, DidsModule } from "@aries-framework/core"
import { AskarModule } from "@aries-framework/askar"
import { ariesAskar } from "@hyperledger/aries-askar-nodejs"
const devUniResolverUrl = "https://dev.uniresolver.io/1.0"
const didKey =
"did:key:z4MXj1wBzi9jUstyPMS4jQqB6KdJaiatPkAtVtGc6bQEQEEsKTic4G7Rou3iBf9vPmT5dbkm9qsZsuVNjq8HCuW1w24nhBFGkRE4cd2Uf2tfrB3N7h4mnyPp1BF3ZttHTYv3DLUPi1zMdkULiow3M1GfXkoC6DoxDUm1jmN6GBj22SjVsr6dxezRVQc7aj9TxE7JLbMH1wh5X3kA58H3DFW8rnYMakFGbca5CB2Jf6CnGQZmL7o5uJAdTwXfy2iiiyPxXEGerMhHwhjTA1mKYobyk2CpeEcmvynADfNZ5MBvcCS7m3XkFCMNUYBS9NQ3fze6vMSUPsNa6GVYmKx2x6JrdEjCk3qRMMmyjnjCMfR4pXbRMZa3i"
const uni = await UniversalDidResolver.initializeWithDynamicMethods(
agentDependencies,
`${devUniResolverUrl}/methods`,
`${devUniResolverUrl}/identifiers`
)
const agent = new Agent({
config: {
label: "my-agent",
walletConfig: { id: "some-id", key: "some-key" }
},
modules: {
askar: new AskarModule({ ariesAskar }),
dids: new DidsModule({ resolvers: [uni] })
},
dependencies: agentDependencies
})
await agent.initialize()
const { didDocument } = await agent.dids.resolve(didKey)
Is there something you'd like to fix or add? Great, we love community contributions! To get involved, please follow our contribution guidelines.
FAQs
AFJ Universal DID Resolver integration
The npm package @animo-id/afj-universal-resolver receives a total of 0 weekly downloads. As such, @animo-id/afj-universal-resolver popularity was classified as not popular.
We found that @animo-id/afj-universal-resolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.