@@ -358,7 +358,6 @@ describe('atomicV3', () => {
358
358
callbackUrl : 'http://localhost:8080/callback?id=1234442-123123-123123' ,
359
359
reason : 'reason' ,
360
360
message : 'message' ,
361
- did_doc : { } ,
362
361
scope : [
363
362
{
364
363
id : 1 ,
@@ -417,7 +416,7 @@ describe('atomicV3', () => {
417
416
} ) ;
418
417
419
418
it ( 'TestVerifyV3MessageWithMtpProof_Merklized_exists' , async ( ) => {
420
- const request = {
419
+ const request : AuthorizationRequestMessage = {
421
420
id : '7e5b5847-b479-4499-90ee-5fe4826a5bdd' ,
422
421
typ : PROTOCOL_CONSTANTS . MediaType . PlainMessage ,
423
422
type : PROTOCOL_CONSTANTS . PROTOCOL_MESSAGE_TYPE . AUTHORIZATION_REQUEST_MESSAGE_TYPE ,
@@ -431,11 +430,12 @@ describe('atomicV3', () => {
431
430
circuitId : CircuitId . AtomicQueryV3 ,
432
431
433
432
query : {
433
+ allowedIssuers : [ '*' ] ,
434
434
context :
435
435
'https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v4.jsonld' ,
436
436
credentialSubject : { birthday : { $exists : true } } ,
437
437
proofType : ProofType . BJJSignature ,
438
- type : 'KYCAgeCredential'
438
+ type : 'KYCAgeCredential' ,
439
439
}
440
440
}
441
441
]
@@ -578,7 +578,7 @@ describe('atomicV3', () => {
578
578
} ) ;
579
579
580
580
it ( 'TestVerifyV3MessageWithMtpProof_Merklized_noop' , async ( ) => {
581
- const request = {
581
+ const request : AuthorizationRequestMessage = {
582
582
id : '7e5b5847-b479-4499-90ee-5fe4826a5bdd' ,
583
583
typ : PROTOCOL_CONSTANTS . MediaType . PlainMessage ,
584
584
type : PROTOCOL_CONSTANTS . PROTOCOL_MESSAGE_TYPE . AUTHORIZATION_REQUEST_MESSAGE_TYPE ,
@@ -592,6 +592,7 @@ describe('atomicV3', () => {
592
592
circuitId : CircuitId . AtomicQueryV3 ,
593
593
594
594
query : {
595
+ allowedIssuers : [ '*' ] ,
595
596
context :
596
597
'https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v4.jsonld' ,
597
598
proofType : ProofType . BJJSignature ,
0 commit comments