Skip to content

Release 4.16.0 - #608

Open
laurent-yoti wants to merge 6 commits into
masterfrom
release/4.16.0
Open

laurent-yoti wants to merge 6 commits into
masterfrom
release/4.16.0

Conversation

@laurent-yoti

@laurent-yoti laurent-yoti commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

NEW

IDV

Add a company profile to the session specification
// CompanyProfileBuilder // new - import from 'yoti'

const companyProfile = new CompanyProfileBuilder().withCompanyName('My Company').build();

const sessionSpec = new SessionSpecificationBuilder()
    .... // as usual
    .withCompanyProfile(companyProfile)
    .build()
Retrieve a company profile from a session
const sessionResult = await idvClient.getSession(sessionId);
const companyProfile = sessionResult.getCompanyProfile()
const getCompanyName = companyProfile.getCompanyName()

FIXES

IDV

The class AdvancedIdentityProfileSchemeConfigBuilder was incorrectly exported, now fixed.

Vulnerabilities fix with `npm audit fix`
Fix export of AdvancedIdentityProfileSchemeConfigBuilder in idv_service/index (#606)
* Added CompanyProfileBuilder and CompanyProfile.
Updated SessionSpecificationBuilder to have a withCompanyProfile() method and SessionSpecification to expose the "company_profile".

* Added CompanyProfileResponse.
Update GetSessionResult to extract and expose both "organisationName" and "companyProfile".

* Update get.session.result.js for validating the organisation_name

* Added example
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.

2 participants