Skip to content

v4.11.0

Latest
Compare
Choose a tag to compare
@laurent-yoti laurent-yoti released this 23 May 15:26

NEW

Can now set for dynamic_sharing_service policy with attributes that have alternative names, or that are optional:

    const wantedAttribute = new WantedAttributeBuilder()
      .withName("common_name")
      .withAlternativeName("alt-name-1")
      .build()

or

    const wantedAttribute = new WantedAttributeBuilder()
      .withName("common_name")
      .withAlternativeNames(["alt-name-1", "alt-name-2"])
      .build()

and

    const wantedAttribute = new WantedAttributeBuilder()
      .withName("some_attribute_name")
      .withOptional(true)
      .build()

FIXES

  • AgeVerification parsing to support names like of age_over:20:5
  • Typing of the getMedia() to possibly return null