@mosip/react-inji-verify-sdk 0.16.0-beta.8 → 0.17.0-beta.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/{Readme.md → README.md}
RENAMED
|
@@ -129,6 +129,7 @@ https://your-backend.com
|
|
|
129
129
|
isEnableUpload={true} // Allow file uploads
|
|
130
130
|
isEnableScan={true} // Allow camera scanning
|
|
131
131
|
isEnableZoom={true} // Allow camera zoom
|
|
132
|
+
isVPSubmissionSupported={false} // This attribute indicates whether VP submission is supported in Inji OVP VC sharing flow. By default, it is false which means that VP token will be directly sent in response. If set to true, then VP token will be submitted to the VP_SUBMISSION_ URL.
|
|
132
133
|
/>
|
|
133
134
|
```
|
|
134
135
|
|
|
@@ -215,14 +216,15 @@ presentationDefinition={{
|
|
|
215
216
|
|
|
216
217
|
### QRCodeVerification Specific
|
|
217
218
|
|
|
218
|
-
| Property
|
|
219
|
-
|
|
220
|
-
| `onVCProcessed`
|
|
221
|
-
| `onVCReceived`
|
|
222
|
-
| `isEnableUpload`
|
|
223
|
-
| `isEnableScan`
|
|
224
|
-
| `isEnableZoom`
|
|
225
|
-
| `uploadButtonStyle`
|
|
219
|
+
| Property | Type | Default | Description |
|
|
220
|
+
|---------------------------|----------|---------|------------------------------|
|
|
221
|
+
| `onVCProcessed` | function | - | Get full results immediately |
|
|
222
|
+
| `onVCReceived` | function | - | Get transaction ID only |
|
|
223
|
+
| `isEnableUpload` | boolean | true | Allow file uploads |
|
|
224
|
+
| `isEnableScan` | boolean | true | Allow camera scanning |
|
|
225
|
+
| `isEnableZoom` | boolean | true | Allow camera zoom |
|
|
226
|
+
| `uploadButtonStyle` | object | - | Custom upload button styling |
|
|
227
|
+
| `isVPSubmissionSupported` | Boolean | false | Toggle VP submission support |
|
|
226
228
|
|
|
227
229
|
### OpenID4VPVerification Specific
|
|
228
230
|
|
|
@@ -71,6 +71,11 @@ export type QRCodeVerificationProps = ExclusiveCallbacks & {
|
|
|
71
71
|
* Used in the OVP redirect flow.
|
|
72
72
|
*/
|
|
73
73
|
clientId: string;
|
|
74
|
+
/**
|
|
75
|
+
* Enable Data share VP Supported functionality.
|
|
76
|
+
* Defaults to false.
|
|
77
|
+
*/
|
|
78
|
+
isVPSubmissionSupported?: boolean;
|
|
74
79
|
};
|
|
75
80
|
interface VerificationResult {
|
|
76
81
|
/**
|