Skip to content

Conversation

@laurent-yoti
Copy link
Collaborator

Added optional suppressed_screens in the IDV session SDK configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for optional suppressed_screens configuration to the IDV session SDK, allowing clients to specify which screens should be suppressed during the identity verification flow.

Key Changes:

  • Added suppressedScreens parameter to the SdkConfig class with conditional validation
  • Implemented withSuppressedScreens() builder method with validation
  • Added test coverage for the new configuration option

Reviewed Changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.

File Description
src/idv_service/session/create/sdk.config.js Added suppressedScreens parameter with conditional validation and included it in JSON serialization
src/idv_service/session/create/sdk.config.builder.js Implemented withSuppressedScreens() method with validation to set suppressed screens
tests/idv_service/session/create/sdk.config.builder.test.js Added test coverage for the new withSuppressedScreens() functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@laurent-yoti laurent-yoti merged commit 1085653 into development Oct 30, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants