Skip to content

1467.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:57
789e0aa

@metamask/kyc-controller 1.0.0

Added

  • KycController accepts an optional trace callback and records one KYC Provider Flow span per launchProviderFlow attempt (result: submitted, abandoned, or failed). A failure to emit the span is logged and does not change the launch outcome (#11627)

Changed

  • BREAKING: generateKeyPair, decryptCredentials, deriveClientMaterial, signStorageAccessToken and mintUkycTestToken are now async (#10798)
    • Await the result of each of these functions wherever they are called
  • Replace tweetnacl with @metamask/cryptography and @noble/ciphers for UKYC encryption-key wrapping (#11794)
  • Replace the JS cryptography with @metamask/cryptography (#10798)
  • Bump @metamask/profile-sync-controller from ^36.0.0 to ^36.1.3 (#11396, #11419, #11474, #11800)
  • Bump @metamask/utils from ^12.0.1 to ^12.1.0 (#11474, #11796)
  • Bump @metamask/authenticated-user-storage from ^4.1.0 to ^4.2.0 (#11488)
  • Bump @scure/base from ^1.2.6 to ^2.4.0 (#10596)
  • Bump @tanstack/query-core from ^5.103.2 to ^5.107.1 (#11645)

Fixed

  • launchProviderFlow no longer reports submitted when the applicant closes SumSub without submitting (#11463)
    • A review decision the SDK opens on (TemporarilyDeclined, FinallyRejected or Approved) now counts as a submission only when the SDK reported Pending, Completed or ActionCompleted earlier in the same launch
    • A Pending that SumSub reports partway through a level is cleared by a later Ready, Initial or Incomplete
    • After a close that looks like a submit, the session status is fetched up to three times, one second apart. If idOS still has the applicant on the kyc step with no decision, the launch reports abandoned and stores that status
    • A stored submitted outcome becomes abandoned when a fetched session status shows the applicant still on the kyc step with no decision, so a session already stuck on submitted can resume