Page MenuHomePhabricator

[backup-client] refactor `SIWEBackupData` type
Needs ReviewPublic

Authored by kamil on Thu, Oct 31, 4:44 AM.
Tags
None
Referenced Files
F3116412: D13836.diff
Thu, Oct 31, 10:36 PM
F3111365: D13836.id45498.diff
Thu, Oct 31, 1:50 PM
F3111338: D13836.id.diff
Thu, Oct 31, 1:50 PM
F3111325: D13836.diff
Thu, Oct 31, 1:50 PM
Subscribers

Details

Reviewers
varun
bartek
Summary

ENG-6145.

  1. Move retrieving SIWEBackupData to a util funtion - it will be needed later in the stack
  2. Move types to proper places on JS side
  3. Add comment keep types in sync
  4. Add validation on JS side
  5. Remove siwe_backup_msg - it's not needed
Test Plan

Test backup restore for Wallet user

Diff Detail

Repository
rCOMM Comm
Branch
backup-work-4
Lint
No Lint Coverage
Unit
No Test Coverage