@sphereon/ssi-sdk.resource-resolver 0.30.2-unstable.19 → 0.30.2-unstable.20
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
@@ -25,8 +25,8 @@ A Veramo resource resolver plugin. This plugin has the option to cache resources
|
|
25
25
|
## Usage
|
26
26
|
|
27
27
|
```typescript
|
28
|
-
import { ResourceResolver } from '@sphereon/ssi-sdk.resource-resolver'
|
29
|
-
import { KeyValueStoreEntity, kvStoreMigrations, KeyValueStore } from '@sphereon/ssi-sdk.kv-store-temp'
|
28
|
+
import { IResourceResolver, ResourceResolver } from '@sphereon/ssi-sdk.resource-resolver'
|
29
|
+
import { KeyValueStoreEntity, kvStoreMigrations, KeyValueStore, KeyValueTypeORMStoreAdapter } from '@sphereon/ssi-sdk.kv-store-temp'
|
30
30
|
|
31
31
|
const dbConnection = createConnection({
|
32
32
|
type: 'react-native',
|
@@ -39,7 +39,7 @@ const dbConnection = createConnection({
|
|
39
39
|
entities: [KeyValueStoreEntity],
|
40
40
|
})
|
41
41
|
|
42
|
-
const agent = createAgent<
|
42
|
+
const agent = createAgent<IResourceResolver>({
|
43
43
|
plugins: [
|
44
44
|
new ResourceResolver({
|
45
45
|
resourceStores: new KeyValueStore({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sphereon/ssi-sdk.resource-resolver",
|
3
|
-
"version": "0.30.2-unstable.
|
3
|
+
"version": "0.30.2-unstable.20+61a818af",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -14,14 +14,14 @@
|
|
14
14
|
"build:clean": "tsc --build --clean && tsc --build"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@sphereon/ssi-sdk.kv-store-temp": "0.30.2-unstable.
|
17
|
+
"@sphereon/ssi-sdk.kv-store-temp": "0.30.2-unstable.20+61a818af",
|
18
18
|
"cross-fetch": "^3.1.8",
|
19
19
|
"debug": "^4.3.5",
|
20
20
|
"typeorm": "^0.3.20",
|
21
21
|
"uint8arrays": "^3.1.1"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
|
-
"@sphereon/ssi-sdk.agent-config": "0.30.2-unstable.
|
24
|
+
"@sphereon/ssi-sdk.agent-config": "0.30.2-unstable.20+61a818af",
|
25
25
|
"@veramo/remote-client": "4.2.0",
|
26
26
|
"@veramo/remote-server": "4.2.0",
|
27
27
|
"nock": "^13.5.4",
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"Resource Management",
|
49
49
|
"Caching"
|
50
50
|
],
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "61a818aff2848c41bdb7a9a8c9160b5d66c74e75"
|
52
52
|
}
|