Skip to content

Commit

Permalink
chore: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Oct 9, 2024
1 parent 17aad52 commit 61a818a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/resource-resolver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ A Veramo resource resolver plugin. This plugin has the option to cache resources
## Usage

```typescript
import { ResourceResolver } from '@sphereon/ssi-sdk.resource-resolver'
import { KeyValueStoreEntity, kvStoreMigrations, KeyValueStore } from '@sphereon/ssi-sdk.kv-store-temp'
import { IResourceResolver, ResourceResolver } from '@sphereon/ssi-sdk.resource-resolver'
import { KeyValueStoreEntity, kvStoreMigrations, KeyValueStore, KeyValueTypeORMStoreAdapter } from '@sphereon/ssi-sdk.kv-store-temp'

const dbConnection = createConnection({
type: 'react-native',
Expand All @@ -39,7 +39,7 @@ const dbConnection = createConnection({
entities: [KeyValueStoreEntity],
})

const agent = createAgent<IContactManager>({
const agent = createAgent<IResourceResolver>({
plugins: [
new ResourceResolver({
resourceStores: new KeyValueStore({
Expand Down

0 comments on commit 61a818a

Please sign in to comment.