@veramo/credential-ld 6.0.2-next.57 → 6.0.2
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/action-handler.d.ts +461 -0
- package/build/action-handler.d.ts.map +1 -0
- package/build/{CredentialProviderLD.js → action-handler.js} +25 -38
- package/build/action-handler.js.map +1 -0
- package/build/index.d.ts +4 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/build/ld-credential-module.d.ts +4 -4
- package/build/ld-credential-module.d.ts.map +1 -1
- package/build/ld-credential-module.js.map +1 -1
- package/build/ld-default-contexts.d.ts +1 -1
- package/build/ld-default-contexts.js +18 -18
- package/build/ld-default-contexts.js.map +1 -1
- package/build/ld-suites.d.ts +0 -1
- package/build/ld-suites.d.ts.map +1 -1
- package/build/ld-suites.js.map +1 -1
- package/build/plugin.schema.d.ts +430 -0
- package/build/plugin.schema.d.ts.map +1 -0
- package/build/plugin.schema.js +477 -0
- package/build/plugin.schema.js.map +1 -0
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +0 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +0 -3
- package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
- package/build/suites/Ed25519Signature2018.d.ts +0 -1
- package/build/suites/Ed25519Signature2018.d.ts.map +1 -1
- package/build/suites/Ed25519Signature2018.js +0 -3
- package/build/suites/Ed25519Signature2018.js.map +1 -1
- package/build/suites/Ed25519Signature2020.d.ts +0 -1
- package/build/suites/Ed25519Signature2020.d.ts.map +1 -1
- package/build/suites/Ed25519Signature2020.js +0 -3
- package/build/suites/Ed25519Signature2020.js.map +1 -1
- package/build/suites/JsonWebSignature2020.d.ts +0 -1
- package/build/suites/JsonWebSignature2020.d.ts.map +1 -1
- package/build/suites/JsonWebSignature2020.js +0 -3
- package/build/suites/JsonWebSignature2020.js.map +1 -1
- package/build/tsdoc-metadata.json +1 -1
- package/build/types.d.ts +220 -0
- package/build/types.d.ts.map +1 -1
- package/package.json +12 -8
- package/src/__tests__/issue-verify-ed25519-2020.test.ts +122 -122
- package/src/__tests__/{issue-verify-flow-ld.test.ts → issue-verify-flow.test.ts} +11 -26
- package/src/{CredentialProviderLD.ts → action-handler.ts} +40 -61
- package/src/index.ts +4 -3
- package/src/ld-credential-module.ts +3 -4
- package/src/ld-default-contexts.ts +18 -18
- package/src/ld-suites.ts +0 -2
- package/src/plugin.schema.ts +476 -0
- package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +1 -6
- package/src/suites/Ed25519Signature2018.ts +0 -5
- package/src/suites/Ed25519Signature2020.ts +1 -5
- package/src/suites/JsonWebSignature2020.ts +1 -5
- package/src/types.ts +265 -0
- package/build/CredentialProviderLD.d.ts +0 -42
- package/build/CredentialProviderLD.d.ts.map +0 -1
- package/build/CredentialProviderLD.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CredentialPayload, IAgentContext, IKey, IResolver,
|
|
1
|
+
import { CredentialPayload, IAgentContext, IKey, IResolver, PresentationPayload, UsingResolutionOptions, VerifiableCredential, VerifiablePresentation } from '@veramo/core-types';
|
|
2
2
|
import { LdContextLoader } from './ld-context-loader.js';
|
|
3
3
|
import { LdSuiteLoader } from './ld-suite-loader.js';
|
|
4
4
|
import { RequiredAgentMethods } from './ld-suites.js';
|
|
5
5
|
type ForwardedOptions = UsingResolutionOptions & {
|
|
6
6
|
fetchRemoteContexts?: boolean;
|
|
7
|
-
now?:
|
|
7
|
+
now?: number;
|
|
8
8
|
};
|
|
9
9
|
export declare class LdCredentialModule {
|
|
10
10
|
/**
|
|
@@ -23,8 +23,8 @@ export declare class LdCredentialModule {
|
|
|
23
23
|
getDocumentLoader(context: IAgentContext<IResolver>, options?: ForwardedOptions): any;
|
|
24
24
|
issueLDVerifiableCredential(credential: CredentialPayload, issuerDid: string, key: IKey, verificationMethodId: string, options: ForwardedOptions, context: IAgentContext<RequiredAgentMethods>): Promise<VerifiableCredential>;
|
|
25
25
|
signLDVerifiablePresentation(presentation: PresentationPayload, holderDid: string, key: IKey, verificationMethodId: string, challenge: string | undefined, domain: string | undefined, options: ForwardedOptions, context: IAgentContext<RequiredAgentMethods>): Promise<VerifiablePresentation>;
|
|
26
|
-
verifyCredential(credential: VerifiableCredential, options: ForwardedOptions, context: IAgentContext<IResolver>): Promise<
|
|
27
|
-
verifyPresentation(presentation: VerifiablePresentation, challenge: string | undefined, domain: string | undefined, options: ForwardedOptions, context: IAgentContext<IResolver>): Promise<
|
|
26
|
+
verifyCredential(credential: VerifiableCredential, options: ForwardedOptions, context: IAgentContext<IResolver>): Promise<boolean>;
|
|
27
|
+
verifyPresentation(presentation: VerifiablePresentation, challenge: string | undefined, domain: string | undefined, options: ForwardedOptions, context: IAgentContext<IResolver>): Promise<boolean>;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=ld-credential-module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-credential-module.d.ts","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,IAAI,EACJ,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"ld-credential-module.d.ts","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,oBAAoB,CAAA;AAO3B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAIrD,KAAK,gBAAgB,GA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,GAChC,OAAO,CAAC,OAAO,CAAC;CAkBpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-credential-module.js","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ld-credential-module.js","sourceRoot":"","sources":["../src/ld-credential-module.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,gBAAgB,MAAM,uCAAuC,CAAA;AAEpE,MAAM,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAK5C,MAAM,KAAK,GAAG,KAAK,CAAC,iCAAiC,CAAC,CAAA;AAOtD,MAAM,OAAO,kBAAkB;IAC7B;;;;;;OAMG;IAEK,eAAe,CAAiB;IACxC,aAAa,CAAe;IAE5B,YAAY,OAA2E;QACrF,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAA;QAC9C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;IAC5C,CAAC;IAED,iBAAiB,CAAC,OAAiC,EAAE,OAA0B;QAC7E,OAAO,mBAAmB,CAAC,KAAK,EAAE,GAAW,EAAE,EAAE;YAC/C,MAAM,iBAAiB,GAAG,EAAE,MAAM,EAAE,yBAAyB,EAAE,GAAG,OAAO,EAAE,iBAAiB,EAAE,CAAA;YAC9F,MAAM,sBAAsB,GAAG,OAAO,EAAE,mBAAmB,IAAI,KAAK,CAAA;YAEpE,iBAAiB;YACjB,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;gBACzC,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC,CAAA;gBACpG,M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C,CAAA;QAC5E,CAAC;QAED,OAAO,MAAM,CAAA;IACf,CAAC;IAED,KAAK,CAAC,kBAAkB,CACtB,YAAoC,EACpC,SAA6B,EAC7B,MAA0B,EAC1B,OAAyB,EACzB,OAAiC;QAEjC,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,IAAI,KAAK,CAAA;QAChE,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,MAAM,CAAC;YAC7B,GAAG,OAAO;YACV,YAAY;YACZ,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,uBAAuB,EAAE,CAAC;YACzF,cAAc,EAAE,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,mBAAmB,EAAE,CAAC;YACpF,SAAS;YACT,MAAM;YACN,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;QAEF,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YACrB,+BAA+B;YAC/B,KAAK,CAAC,oCAAoC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;QAC9E,CAAC;QACD,OAAO,MAAM,CAAA;IACf,CAAC;CACF"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Provides a hardcoded map of common Linked Data `@context` definitions.
|
|
3
3
|
*
|
|
4
4
|
* You can use this to bootstrap the `@context` definitions used by
|
|
5
|
-
* {@link @veramo/credential-ld#
|
|
5
|
+
* {@link @veramo/credential-ld#CredentialIssuerLD | CredentialIssuerLD} with these common context definitions.
|
|
6
6
|
*
|
|
7
7
|
* @beta This API may change without a BREAKING CHANGE notice.
|
|
8
8
|
*/
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import contextCredentialV1 from './contexts/www.w3.org_2018_credentials_v1.json'
|
|
2
|
-
import contextCredentialExamplesV1 from './contexts/www.w3.org_2018_credentials_examples_v1.json'
|
|
3
|
-
import contextDidV1 from './contexts/www.w3.org_ns_did_v1.json'
|
|
4
|
-
import contextSecurityV1 from './contexts/w3id.org_security_v1.json'
|
|
5
|
-
import contextSecurityV2 from './contexts/w3id.org_security_v2.json'
|
|
6
|
-
import contextSecurityV3 from './contexts/w3id.org_security_v3-unstable.json'
|
|
7
|
-
import contextSecurityBBSV1 from './contexts/w3id.org_security_bbs_v1.json'
|
|
8
|
-
import contextSuitesEd25519 from './contexts/w3id.org_security_suites_ed25519-2018_v1.json'
|
|
9
|
-
import contextSuitesX25519 from './contexts/w3id.org_security_suites_x25519-2019_v1.json'
|
|
10
|
-
import contextVeramoProfile from './contexts/veramo.io_contexts_profile_v1.json'
|
|
11
|
-
import contextLdsEcdsaSecpRecovery2020_0 from './contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json'
|
|
12
|
-
import contextSuitesSecp256k1Recovery2020 from './contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json'
|
|
13
|
-
import contextSuitesEd25519_2020 from './contexts/w3id.org_security_suites_ed25519-2020-v1.json'
|
|
14
|
-
import contextSuitesX25519_2020 from './contexts/w3id.org_security_suites_x25519-2020_v1.json'
|
|
15
|
-
import contextSuitesJws_2020 from './contexts/w3id.org_security_suites_jws-2020_v1.json'
|
|
16
|
-
import contextSuiteEip712 from './contexts/w3id.org_security_suites_eip712sig-2021_v1.json'
|
|
17
|
-
import schema_org from './contexts/schema.org.json'
|
|
1
|
+
import contextCredentialV1 from './contexts/www.w3.org_2018_credentials_v1.json' assert { type: 'json' };
|
|
2
|
+
import contextCredentialExamplesV1 from './contexts/www.w3.org_2018_credentials_examples_v1.json' assert { type: 'json' };
|
|
3
|
+
import contextDidV1 from './contexts/www.w3.org_ns_did_v1.json' assert { type: 'json' };
|
|
4
|
+
import contextSecurityV1 from './contexts/w3id.org_security_v1.json' assert { type: 'json' };
|
|
5
|
+
import contextSecurityV2 from './contexts/w3id.org_security_v2.json' assert { type: 'json' };
|
|
6
|
+
import contextSecurityV3 from './contexts/w3id.org_security_v3-unstable.json' assert { type: 'json' };
|
|
7
|
+
import contextSecurityBBSV1 from './contexts/w3id.org_security_bbs_v1.json' assert { type: 'json' };
|
|
8
|
+
import contextSuitesEd25519 from './contexts/w3id.org_security_suites_ed25519-2018_v1.json' assert { type: 'json' };
|
|
9
|
+
import contextSuitesX25519 from './contexts/w3id.org_security_suites_x25519-2019_v1.json' assert { type: 'json' };
|
|
10
|
+
import contextVeramoProfile from './contexts/veramo.io_contexts_profile_v1.json' assert { type: 'json' };
|
|
11
|
+
import contextLdsEcdsaSecpRecovery2020_0 from './contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json' assert { type: 'json' };
|
|
12
|
+
import contextSuitesSecp256k1Recovery2020 from './contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json' assert { type: 'json' };
|
|
13
|
+
import contextSuitesEd25519_2020 from './contexts/w3id.org_security_suites_ed25519-2020-v1.json' assert { type: 'json' };
|
|
14
|
+
import contextSuitesX25519_2020 from './contexts/w3id.org_security_suites_x25519-2020_v1.json' assert { type: 'json' };
|
|
15
|
+
import contextSuitesJws_2020 from './contexts/w3id.org_security_suites_jws-2020_v1.json' assert { type: 'json' };
|
|
16
|
+
import contextSuiteEip712 from './contexts/w3id.org_security_suites_eip712sig-2021_v1.json' assert { type: 'json' };
|
|
17
|
+
import schema_org from './contexts/schema.org.json' assert { type: 'json' };
|
|
18
18
|
/**
|
|
19
19
|
* Provides a hardcoded map of common Linked Data `@context` definitions.
|
|
20
20
|
*
|
|
21
21
|
* You can use this to bootstrap the `@context` definitions used by
|
|
22
|
-
* {@link @veramo/credential-ld#
|
|
22
|
+
* {@link @veramo/credential-ld#CredentialIssuerLD | CredentialIssuerLD} with these common context definitions.
|
|
23
23
|
*
|
|
24
24
|
* @beta This API may change without a BREAKING CHANGE notice.
|
|
25
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-default-contexts.js","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,gDAAgD,CAAC,
|
|
1
|
+
{"version":3,"file":"ld-default-contexts.js","sourceRoot":"","sources":["../src/ld-default-contexts.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,gDAAgD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,OAAO,2BAA2B,MAAM,yDAAyD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACzH,OAAO,YAAY,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,OAAO,iBAAiB,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,OAAO,iBAAiB,MAAM,sCAAsC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,OAAO,iBAAiB,MAAM,+CAA+C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACrG,OAAO,oBAAoB,MAAM,0CAA0C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACnG,OAAO,oBAAoB,MAAM,0DAA0D,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACnH,OAAO,mBAAmB,MAAM,yDAAyD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACjH,OAAO,oBAAoB,MAAM,+CAA+C,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,OAAO,iCAAiC,MAAM,sDAAsD,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,OAAO,kCAAkC,MAAM,oEAAoE,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AAC3I,OAAO,yBAAyB,MAAM,0DAA0D,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,OAAO,wBAAwB,MAAM,yDAAyD,CAAC,SA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C;CACnC,CAAC,CAAA"}
|
package/build/ld-suites.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export type RequiredAgentMethods = IResolver & Pick<IKeyManager, 'keyManagerGet'
|
|
|
8
8
|
*/
|
|
9
9
|
export declare abstract class VeramoLdSignature {
|
|
10
10
|
abstract getSupportedVerificationType(): string | string[];
|
|
11
|
-
abstract getSupportedProofType(): string;
|
|
12
11
|
abstract getSupportedVeramoKeyType(): TKeyType;
|
|
13
12
|
abstract getSuiteForSigning(key: IKey, issuerDid: string, verificationMethodId: string, context: IAgentContext<RequiredAgentMethods>): any;
|
|
14
13
|
abstract getSuiteForVerification(): any;
|
package/build/ld-suites.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-suites.d.ts","sourceRoot":"","sources":["../src/ld-suites.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,IAAI,EACJ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACT,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,eAAe,GAAG,gBAAgB,CAAC,CAAA;AAEpG;;;;GAIG;AACH,8BAAsB,iBAAiB;IAMrC,QAAQ,CAAC,4BAA4B,IAAI,MAAM,GAAG,MAAM,EAAE;IAE1D,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"ld-suites.d.ts","sourceRoot":"","sources":["../src/ld-suites.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,IAAI,EACJ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACT,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,eAAe,GAAG,gBAAgB,CAAC,CAAA;AAEpG;;;;GAIG;AACH,8BAAsB,iBAAiB;IAMrC,QAAQ,CAAC,4BAA4B,IAAI,MAAM,GAAG,MAAM,EAAE;IAE1D,QAAQ,CAAC,yBAAyB,IAAI,QAAQ;IAE9C,QAAQ,CAAC,kBAAkB,CACzB,GAAG,EAAE,IAAI,EACT,SAAS,EAAE,MAAM,EACjB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,EAAE,aAAa,CAAC,oBAAoB,CAAC,GAC3C,GAAG;IAEN,QAAQ,CAAC,uBAAuB,IAAI,GAAG;IAEvC,QAAQ,CAAC,4BAA4B,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,eAAe,EAAE,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,WAAW,GAAG,eAAe,CAAC;IAEvK,QAAQ,CAAC,0BAA0B,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI;IAExE,0BAA0B,CAAC,YAAY,EAAE,mBAAmB,GAAG,IAAI;CAQpE"}
|
package/build/ld-suites.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ld-suites.js","sourceRoot":"","sources":["../src/ld-suites.ts"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,MAAM,OAAgB,iBAAiB;
|
|
1
|
+
{"version":3,"file":"ld-suites.js","sourceRoot":"","sources":["../src/ld-suites.ts"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,MAAM,OAAgB,iBAAiB;IAuBrC,0BAA0B,CAAC,YAAiC;QAC1D,mGAAmG;QACnG,gEAAgE;QAChE,MAAM,qBAAqB,GAAG,YAAmB,CAAA;QACjD,IAAI,qBAAqB,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC;YACjD,OAAO,qBAAqB,CAAC,QAAQ,CAAA;QACvC,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
ICredentialIssuerLD: {
|
|
3
|
+
components: {
|
|
4
|
+
schemas: {
|
|
5
|
+
ICreateVerifiableCredentialLDArgs: {
|
|
6
|
+
type: string;
|
|
7
|
+
properties: {
|
|
8
|
+
resolutionOptions: {
|
|
9
|
+
type: string;
|
|
10
|
+
properties: {
|
|
11
|
+
publicKeyFormat: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
accept: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
credential: {
|
|
21
|
+
$ref: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
keyRef: {
|
|
25
|
+
type: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
fetchRemoteContexts: {
|
|
29
|
+
type: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
required: string[];
|
|
34
|
+
additionalProperties: {
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
CredentialPayload: {
|
|
40
|
+
type: string;
|
|
41
|
+
properties: {
|
|
42
|
+
issuer: {
|
|
43
|
+
$ref: string;
|
|
44
|
+
};
|
|
45
|
+
credentialSubject: {
|
|
46
|
+
$ref: string;
|
|
47
|
+
};
|
|
48
|
+
type: {
|
|
49
|
+
type: string;
|
|
50
|
+
items: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
"@context": {
|
|
55
|
+
$ref: string;
|
|
56
|
+
};
|
|
57
|
+
issuanceDate: {
|
|
58
|
+
$ref: string;
|
|
59
|
+
};
|
|
60
|
+
expirationDate: {
|
|
61
|
+
$ref: string;
|
|
62
|
+
};
|
|
63
|
+
credentialStatus: {
|
|
64
|
+
$ref: string;
|
|
65
|
+
};
|
|
66
|
+
id: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
required: string[];
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
IssuerType: {
|
|
74
|
+
anyOf: ({
|
|
75
|
+
type: string;
|
|
76
|
+
properties: {
|
|
77
|
+
id: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
required: string[];
|
|
82
|
+
} | {
|
|
83
|
+
type: string;
|
|
84
|
+
properties?: undefined;
|
|
85
|
+
required?: undefined;
|
|
86
|
+
})[];
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
CredentialSubject: {
|
|
90
|
+
type: string;
|
|
91
|
+
properties: {
|
|
92
|
+
id: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
ContextType: {
|
|
99
|
+
anyOf: ({
|
|
100
|
+
type: string;
|
|
101
|
+
items?: undefined;
|
|
102
|
+
} | {
|
|
103
|
+
type: string;
|
|
104
|
+
items: {
|
|
105
|
+
anyOf: {
|
|
106
|
+
type: string;
|
|
107
|
+
}[];
|
|
108
|
+
};
|
|
109
|
+
})[];
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
DateType: {
|
|
113
|
+
type: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
CredentialStatusReference: {
|
|
117
|
+
type: string;
|
|
118
|
+
properties: {
|
|
119
|
+
id: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
type: {
|
|
123
|
+
type: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
required: string[];
|
|
127
|
+
description: string;
|
|
128
|
+
};
|
|
129
|
+
VerifiableCredential: {
|
|
130
|
+
type: string;
|
|
131
|
+
properties: {
|
|
132
|
+
proof: {
|
|
133
|
+
$ref: string;
|
|
134
|
+
};
|
|
135
|
+
issuer: {
|
|
136
|
+
$ref: string;
|
|
137
|
+
};
|
|
138
|
+
credentialSubject: {
|
|
139
|
+
$ref: string;
|
|
140
|
+
};
|
|
141
|
+
type: {
|
|
142
|
+
anyOf: ({
|
|
143
|
+
type: string;
|
|
144
|
+
items: {
|
|
145
|
+
type: string;
|
|
146
|
+
};
|
|
147
|
+
} | {
|
|
148
|
+
type: string;
|
|
149
|
+
items?: undefined;
|
|
150
|
+
})[];
|
|
151
|
+
};
|
|
152
|
+
"@context": {
|
|
153
|
+
$ref: string;
|
|
154
|
+
};
|
|
155
|
+
issuanceDate: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
expirationDate: {
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
credentialStatus: {
|
|
162
|
+
$ref: string;
|
|
163
|
+
};
|
|
164
|
+
id: {
|
|
165
|
+
type: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
required: string[];
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
171
|
+
ProofType: {
|
|
172
|
+
type: string;
|
|
173
|
+
properties: {
|
|
174
|
+
type: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
description: string;
|
|
179
|
+
};
|
|
180
|
+
ICreateVerifiablePresentationLDArgs: {
|
|
181
|
+
type: string;
|
|
182
|
+
properties: {
|
|
183
|
+
resolutionOptions: {
|
|
184
|
+
type: string;
|
|
185
|
+
properties: {
|
|
186
|
+
publicKeyFormat: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
accept: {
|
|
190
|
+
type: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
description: string;
|
|
194
|
+
};
|
|
195
|
+
presentation: {
|
|
196
|
+
$ref: string;
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
challenge: {
|
|
200
|
+
type: string;
|
|
201
|
+
description: string;
|
|
202
|
+
};
|
|
203
|
+
domain: {
|
|
204
|
+
type: string;
|
|
205
|
+
description: string;
|
|
206
|
+
};
|
|
207
|
+
keyRef: {
|
|
208
|
+
type: string;
|
|
209
|
+
description: string;
|
|
210
|
+
};
|
|
211
|
+
fetchRemoteContexts: {
|
|
212
|
+
type: string;
|
|
213
|
+
description: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
required: string[];
|
|
217
|
+
additionalProperties: {
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
220
|
+
description: string;
|
|
221
|
+
};
|
|
222
|
+
PresentationPayload: {
|
|
223
|
+
type: string;
|
|
224
|
+
properties: {
|
|
225
|
+
holder: {
|
|
226
|
+
type: string;
|
|
227
|
+
};
|
|
228
|
+
verifiableCredential: {
|
|
229
|
+
type: string;
|
|
230
|
+
items: {
|
|
231
|
+
$ref: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
type: {
|
|
235
|
+
type: string;
|
|
236
|
+
items: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
"@context": {
|
|
241
|
+
$ref: string;
|
|
242
|
+
};
|
|
243
|
+
verifier: {
|
|
244
|
+
type: string;
|
|
245
|
+
items: {
|
|
246
|
+
type: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
issuanceDate: {
|
|
250
|
+
$ref: string;
|
|
251
|
+
};
|
|
252
|
+
expirationDate: {
|
|
253
|
+
$ref: string;
|
|
254
|
+
};
|
|
255
|
+
id: {
|
|
256
|
+
type: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
required: string[];
|
|
260
|
+
description: string;
|
|
261
|
+
};
|
|
262
|
+
W3CVerifiableCredential: {
|
|
263
|
+
anyOf: {
|
|
264
|
+
$ref: string;
|
|
265
|
+
}[];
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
CompactJWT: {
|
|
269
|
+
type: string;
|
|
270
|
+
description: string;
|
|
271
|
+
};
|
|
272
|
+
VerifiablePresentation: {
|
|
273
|
+
type: string;
|
|
274
|
+
properties: {
|
|
275
|
+
proof: {
|
|
276
|
+
$ref: string;
|
|
277
|
+
};
|
|
278
|
+
holder: {
|
|
279
|
+
type: string;
|
|
280
|
+
};
|
|
281
|
+
verifiableCredential: {
|
|
282
|
+
type: string;
|
|
283
|
+
items: {
|
|
284
|
+
$ref: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
type: {
|
|
288
|
+
anyOf: ({
|
|
289
|
+
type: string;
|
|
290
|
+
items: {
|
|
291
|
+
type: string;
|
|
292
|
+
};
|
|
293
|
+
} | {
|
|
294
|
+
type: string;
|
|
295
|
+
items?: undefined;
|
|
296
|
+
})[];
|
|
297
|
+
};
|
|
298
|
+
"@context": {
|
|
299
|
+
$ref: string;
|
|
300
|
+
};
|
|
301
|
+
verifier: {
|
|
302
|
+
type: string;
|
|
303
|
+
items: {
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
issuanceDate: {
|
|
308
|
+
type: string;
|
|
309
|
+
};
|
|
310
|
+
expirationDate: {
|
|
311
|
+
type: string;
|
|
312
|
+
};
|
|
313
|
+
id: {
|
|
314
|
+
type: string;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
required: string[];
|
|
318
|
+
description: string;
|
|
319
|
+
};
|
|
320
|
+
IVerifyCredentialLDArgs: {
|
|
321
|
+
type: string;
|
|
322
|
+
properties: {
|
|
323
|
+
resolutionOptions: {
|
|
324
|
+
type: string;
|
|
325
|
+
properties: {
|
|
326
|
+
publicKeyFormat: {
|
|
327
|
+
type: string;
|
|
328
|
+
};
|
|
329
|
+
accept: {
|
|
330
|
+
type: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
description: string;
|
|
334
|
+
};
|
|
335
|
+
credential: {
|
|
336
|
+
$ref: string;
|
|
337
|
+
description: string;
|
|
338
|
+
};
|
|
339
|
+
fetchRemoteContexts: {
|
|
340
|
+
type: string;
|
|
341
|
+
description: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
required: string[];
|
|
345
|
+
additionalProperties: {
|
|
346
|
+
description: string;
|
|
347
|
+
};
|
|
348
|
+
description: string;
|
|
349
|
+
};
|
|
350
|
+
IVerifyPresentationLDArgs: {
|
|
351
|
+
type: string;
|
|
352
|
+
properties: {
|
|
353
|
+
resolutionOptions: {
|
|
354
|
+
type: string;
|
|
355
|
+
properties: {
|
|
356
|
+
publicKeyFormat: {
|
|
357
|
+
type: string;
|
|
358
|
+
};
|
|
359
|
+
accept: {
|
|
360
|
+
type: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
description: string;
|
|
364
|
+
};
|
|
365
|
+
presentation: {
|
|
366
|
+
$ref: string;
|
|
367
|
+
description: string;
|
|
368
|
+
};
|
|
369
|
+
challenge: {
|
|
370
|
+
type: string;
|
|
371
|
+
description: string;
|
|
372
|
+
};
|
|
373
|
+
domain: {
|
|
374
|
+
type: string;
|
|
375
|
+
description: string;
|
|
376
|
+
};
|
|
377
|
+
fetchRemoteContexts: {
|
|
378
|
+
type: string;
|
|
379
|
+
description: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
required: string[];
|
|
383
|
+
additionalProperties: {
|
|
384
|
+
description: string;
|
|
385
|
+
};
|
|
386
|
+
description: string;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
methods: {
|
|
390
|
+
createVerifiableCredentialLD: {
|
|
391
|
+
description: string;
|
|
392
|
+
arguments: {
|
|
393
|
+
$ref: string;
|
|
394
|
+
};
|
|
395
|
+
returnType: {
|
|
396
|
+
$ref: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
createVerifiablePresentationLD: {
|
|
400
|
+
description: string;
|
|
401
|
+
arguments: {
|
|
402
|
+
$ref: string;
|
|
403
|
+
};
|
|
404
|
+
returnType: {
|
|
405
|
+
$ref: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
verifyCredentialLD: {
|
|
409
|
+
description: string;
|
|
410
|
+
arguments: {
|
|
411
|
+
$ref: string;
|
|
412
|
+
};
|
|
413
|
+
returnType: {
|
|
414
|
+
type: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
verifyPresentationLD: {
|
|
418
|
+
description: string;
|
|
419
|
+
arguments: {
|
|
420
|
+
$ref: string;
|
|
421
|
+
};
|
|
422
|
+
returnType: {
|
|
423
|
+
type: string;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
//# sourceMappingURL=plugin.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.schema.d.ts","sourceRoot":"","sources":["../src/plugin.schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2dlB,CAAA"}
|