@injistack/react-inji-verify-sdk 0.18.0-beta.12 → 0.18.0-beta.14

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.
@@ -124,4 +124,25 @@ export interface vcSubmissionBody {
124
124
  vc: any;
125
125
  transactionId?: string;
126
126
  }
127
+ export interface CredentialResult {
128
+ verifiableCredential: string | object;
129
+ allChecksSuccessful: boolean;
130
+ holderProofCheck?: {
131
+ valid: boolean;
132
+ error: any;
133
+ } | null;
134
+ schemaAndSignatureCheck?: {
135
+ valid: boolean;
136
+ error: any;
137
+ };
138
+ expiryCheck?: {
139
+ valid: boolean;
140
+ };
141
+ statusChecks?: {
142
+ purpose: string;
143
+ valid: boolean;
144
+ error: any;
145
+ }[];
146
+ claims?: Record<string, any>;
147
+ }
127
148
  export {};