@switchlabs/verify-ai-react-native 2.4.11 → 2.4.15
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 +17 -0
- package/lib/components/VerifyAIScanner.d.ts +7 -1
- package/lib/components/VerifyAIScanner.js +349 -32
- package/lib/types/index.d.ts +6 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/components/VerifyAIScanner.tsx +443 -41
- package/src/types/index.ts +6 -0
- package/src/version.ts +1 -1
package/src/types/index.ts
CHANGED
|
@@ -134,6 +134,12 @@ export interface ScannerOverlayConfig {
|
|
|
134
134
|
maxAttempts?: number;
|
|
135
135
|
autoApproveOnExhaust?: boolean;
|
|
136
136
|
showTechnicalErrorDetails?: boolean;
|
|
137
|
+
/** Delay before terminal results are reported through onResult. Default: 3000. */
|
|
138
|
+
terminalResultDisplayMs?: number;
|
|
139
|
+
/** Label for the terminal result action button. Default: "Continue". */
|
|
140
|
+
terminalActionLabel?: string;
|
|
141
|
+
/** Whether to show an action button on terminal result cards. Default: true. */
|
|
142
|
+
showTerminalActionButton?: boolean;
|
|
137
143
|
/** Custom theme for scanner colors. */
|
|
138
144
|
theme?: ScannerTheme;
|
|
139
145
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = '2.4.
|
|
1
|
+
export const SDK_VERSION = '2.4.15';
|