@triveria/wallet 0.0.259 → 0.0.261
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/api.d.ts +13 -2
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -296,6 +296,10 @@ export interface CredentialVerifierDefinition {
|
|
|
296
296
|
* Unique ID of the definition
|
|
297
297
|
*/
|
|
298
298
|
'id': string;
|
|
299
|
+
/**
|
|
300
|
+
* A custom authorization scope that can be used for this verifier with authorization request
|
|
301
|
+
*/
|
|
302
|
+
'scope'?: string;
|
|
299
303
|
'presentationDefinition'?: PresentationDefinition;
|
|
300
304
|
'dcqlQuery'?: DCQLQuery;
|
|
301
305
|
}
|
|
@@ -592,6 +596,7 @@ export interface InteractionAuthorizationRequirements {
|
|
|
592
596
|
'presentationCandidates'?: Array<InputDescriptorSuitableCredentials>;
|
|
593
597
|
'interactionId': string;
|
|
594
598
|
'offeredCredentialsTypes'?: Array<string>;
|
|
599
|
+
'issuerUrl': string;
|
|
595
600
|
/**
|
|
596
601
|
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
597
602
|
*/
|
|
@@ -794,9 +799,13 @@ export interface PresentationMetadata {
|
|
|
794
799
|
}
|
|
795
800
|
export interface PresentationRequest {
|
|
796
801
|
/**
|
|
797
|
-
* URL of verifier
|
|
802
|
+
* URL of verifier or vp_token request url
|
|
798
803
|
*/
|
|
799
804
|
'verifierUrl': string;
|
|
805
|
+
/**
|
|
806
|
+
* Custom authorization scope, used when `verifierUrl` is the URL of verifier
|
|
807
|
+
*/
|
|
808
|
+
'verifierScope'?: string;
|
|
800
809
|
}
|
|
801
810
|
/**
|
|
802
811
|
* Info needed to revoke legal entity\'s DID
|
|
@@ -878,10 +887,12 @@ export interface VerifiedWrapper {
|
|
|
878
887
|
'holder': string;
|
|
879
888
|
}
|
|
880
889
|
/**
|
|
881
|
-
*
|
|
890
|
+
* Registers a new verification request. When `createUrl` is true, URL used by holder to present credentials to a verifier is created. Otherwise, the holder can use the verifier authorization endpoint with a custom scope to request credentials. In this case `holderEntityId` must be provided.
|
|
882
891
|
*/
|
|
883
892
|
export interface VerifyInitRequest {
|
|
884
893
|
'verifierId': string;
|
|
894
|
+
'createUrl'?: boolean;
|
|
895
|
+
'holderEntityId'?: string;
|
|
885
896
|
}
|
|
886
897
|
export interface VerifyInitResponse {
|
|
887
898
|
/**
|