@veramo/credential-status 5.0.1-next.9 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAgentPlugin, ICredentialStatusVerifier } from '@veramo/core-types';
|
|
2
2
|
import { StatusMethod } from 'credential-status';
|
|
3
3
|
/**
|
|
4
|
-
* This plugin implements the {@link @veramo/core#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
4
|
+
* This plugin implements the {@link @veramo/core-types#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
5
5
|
* interface.
|
|
6
6
|
*
|
|
7
7
|
* This aggregates some {@link credential-status#StatusMethod | credential status implementations} to provide a second
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { extractIssuer, isDefined, resolveDidOrThrow } from '@veramo/utils';
|
|
2
2
|
import { Status } from 'credential-status';
|
|
3
3
|
/**
|
|
4
|
-
* This plugin implements the {@link @veramo/core#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
4
|
+
* This plugin implements the {@link @veramo/core-types#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
5
5
|
* interface.
|
|
6
6
|
*
|
|
7
7
|
* This aggregates some {@link credential-status#StatusMethod | credential status implementations} to provide a second
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veramo/credential-status",
|
|
3
3
|
"description": "Veramo plugin for resolving a credential status",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.1.0",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"exports": "./build/index.js",
|
|
7
7
|
"types": "build/index.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"extract-api": "node ../cli/bin/veramo.js dev extract-api"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@veramo/core-types": "^5.
|
|
14
|
-
"@veramo/utils": "^5.
|
|
13
|
+
"@veramo/core-types": "^5.1.0",
|
|
14
|
+
"@veramo/utils": "^5.1.0",
|
|
15
15
|
"credential-status": "^2.0.5",
|
|
16
16
|
"did-jwt": "^6.9.0",
|
|
17
17
|
"did-resolver": "^4.0.1"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"node_modules",
|
|
41
41
|
"src"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cd1e0f3b990efcc1bccc88cf87d4ab0fd7ded042"
|
|
44
44
|
}
|
|
@@ -3,7 +3,7 @@ import { createAgent } from '../../../core/src'
|
|
|
3
3
|
import { DIDResolverPlugin } from '../../../did-resolver/src'
|
|
4
4
|
import { CredentialStatusPlugin } from '../credential-status.js'
|
|
5
5
|
import { DIDDocument, DIDResolutionOptions, DIDResolutionResult, Resolvable } from 'did-resolver'
|
|
6
|
-
import { StatusMethod } from
|
|
6
|
+
import { StatusMethod } from 'credential-status'
|
|
7
7
|
import { jest } from '@jest/globals'
|
|
8
8
|
|
|
9
9
|
describe('@veramo/credential-status', () => {
|
package/src/credential-status.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { extractIssuer, isDefined, resolveDidOrThrow } from '@veramo/utils'
|
|
|
10
10
|
import { Status, StatusMethod } from 'credential-status'
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* This plugin implements the {@link @veramo/core#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
13
|
+
* This plugin implements the {@link @veramo/core-types#ICredentialStatusVerifier | ICredentialStatusVerifier}
|
|
14
14
|
* interface.
|
|
15
15
|
*
|
|
16
16
|
* This aggregates some {@link credential-status#StatusMethod | credential status implementations} to provide a second
|