Skip to content

Update @metamask/toprf-secure-backup from local to published version 0.1.0#9

Closed
huggingbot wants to merge 1 commit intofeat/seedless-onboarding-controllerfrom
fix/update-0.1.0
Closed

Update @metamask/toprf-secure-backup from local to published version 0.1.0#9
huggingbot wants to merge 1 commit intofeat/seedless-onboarding-controllerfrom
fix/update-0.1.0

Conversation

@huggingbot
Copy link
Collaborator

Explanation

The seedless-onboarding-controller currently uses a local tgz version of the toprf-secure-backup package. This PR updates it to use the published npm package version 0.1.0 instead. The API of the toprf-secure-backup package has changed since the local version, so this PR also updates all method calls in the controller to match the new API.

Key changes:

  • Replace local tgz with published package @metamask/toprf-secure-backup@^0.1.0
  • Update parameter names in API calls:
    • verifierauthConnectionId
    • verifierIduserId
    • singleIdVerifierParamsgroupedAuthConnectionParams
  • Fix a typo in error code: TORPFErrorCodeTOPRFErrorCode
  • Add missing oldPassword parameter to changeEncKey method

@huggingbot huggingbot changed the title pdate @metamask/toprf-secure-backup from local to published version 0.1.0 Update @metamask/toprf-secure-backup from local to published version 0.1.0 May 5, 2025
@lwin-kyaw
Copy link

Closed as already done

@lwin-kyaw lwin-kyaw closed this May 16, 2025
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