@veramo/credential-ld 3.1.6-next.169 → 3.1.6-next.172

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.
package/build/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This plugin adds support for working with JSON-LD credentials.
7
7
  * When installed, this plugin will be automatically used by
8
- * {@link @veramo/credential-w3c#CredentialIssuer | CredentialIssuer} if the user requests the credential to be signed
8
+ * {@link @veramo/credential-w3c#CredentialPlugin | CredentialPlugin} if the user requests the credential to be signed
9
9
  * by one of the installed signature suites.
10
10
  *
11
11
  * @packageDocumentation
package/build/index.js CHANGED
@@ -22,7 +22,7 @@ exports.schema = exports.VeramoLdSignature = exports.LdDefaultContexts = exports
22
22
  *
23
23
  * This plugin adds support for working with JSON-LD credentials.
24
24
  * When installed, this plugin will be automatically used by
25
- * {@link @veramo/credential-w3c#CredentialIssuer | CredentialIssuer} if the user requests the credential to be signed
25
+ * {@link @veramo/credential-w3c#CredentialPlugin | CredentialPlugin} if the user requests the credential to be signed
26
26
  * by one of the installed signature suites.
27
27
  *
28
28
  * @packageDocumentation
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veramo/credential-ld",
3
3
  "description": "Veramo plugin for working with W3C JSON-LD Verifiable Credentials & Presentations.",
4
- "version": "3.1.6-next.169+b987fc09",
4
+ "version": "3.1.6-next.172+f2590a23",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
7
7
  "scripts": {
@@ -20,9 +20,9 @@
20
20
  "@transmute/credentials-context": "^0.7.0-unstable.60",
21
21
  "@transmute/ed25519-signature-2018": "^0.7.0-unstable.60",
22
22
  "@veramo-community/lds-ecdsa-secp256k1-recovery2020": "uport-project/EcdsaSecp256k1RecoverySignature2020",
23
- "@veramo/core": "^3.1.6-next.169+b987fc09",
24
- "@veramo/did-resolver": "^3.1.6-next.169+b987fc09",
25
- "@veramo/utils": "^3.1.6-next.169+b987fc09",
23
+ "@veramo/core": "^3.1.6-next.172+f2590a23",
24
+ "@veramo/did-resolver": "^3.1.6-next.172+f2590a23",
25
+ "@veramo/utils": "^3.1.6-next.172+f2590a23",
26
26
  "debug": "^4.3.3",
27
27
  "did-resolver": "^4.0.0",
28
28
  "uint8arrays": "^3.0.0"
@@ -51,5 +51,5 @@
51
51
  "author": "Mircea Nistor <mircea.nistor@mesh.xyz>",
52
52
  "license": "Apache-2.0",
53
53
  "keywords": [],
54
- "gitHead": "b987fc0903a31d3bbffb43fef872be4d6c62c2ad"
54
+ "gitHead": "f2590a23f1bef6438da20e04a9c73250fea48b33"
55
55
  }
@@ -1,13 +1,14 @@
1
1
  import {
2
2
  createAgent,
3
3
  CredentialPayload,
4
+ ICredentialPlugin,
4
5
  IDIDManager,
5
6
  IIdentifier,
6
7
  IKeyManager,
7
8
  IResolver,
8
9
  TAgent,
9
10
  } from '../../../core/src'
10
- import { CredentialIssuer, ICredentialIssuer } from '../../../credential-w3c/src'
11
+ import { CredentialPlugin } from '../../../credential-w3c/src'
11
12
  import { DIDManager, MemoryDIDStore } from '../../../did-manager/src'
12
13
  import { KeyManager, MemoryKeyStore, MemoryPrivateKeyStore } from '../../../key-manager/src'
13
14
  import { KeyManagementSystem } from '../../../kms-local/src'
@@ -37,7 +38,7 @@ const infuraProjectId = '3586660d179141e3801c3895de1c2eba'
37
38
  describe('credential-LD full flow', () => {
38
39
  let didKeyIdentifier: IIdentifier
39
40
  let didEthrIdentifier: IIdentifier
40
- let agent: TAgent<IResolver & IKeyManager & IDIDManager & ICredentialIssuer>
41
+ let agent: TAgent<IResolver & IKeyManager & IDIDManager & ICredentialPlugin>
41
42
 
42
43
  beforeAll(async () => {
43
44
  agent = createAgent({
@@ -65,7 +66,7 @@ describe('credential-LD full flow', () => {
65
66
  ...ethrDidResolver({ infuraProjectId }),
66
67
  }),
67
68
  }),
68
- new CredentialIssuer(),
69
+ new CredentialPlugin(),
69
70
  new CredentialIssuerLD({
70
71
  contextMaps: [LdDefaultContexts, customContext],
71
72
  suites: [new VeramoEd25519Signature2018(), new VeramoEcdsaSecp256k1RecoverySignature2020()],
package/src/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This plugin adds support for working with JSON-LD credentials.
7
7
  * When installed, this plugin will be automatically used by
8
- * {@link @veramo/credential-w3c#CredentialIssuer | CredentialIssuer} if the user requests the credential to be signed
8
+ * {@link @veramo/credential-w3c#CredentialPlugin | CredentialPlugin} if the user requests the credential to be signed
9
9
  * by one of the installed signature suites.
10
10
  *
11
11
  * @packageDocumentation