Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

feat: handle accountNameSuggestion and displayConfirmation options in #handleAccountCreated #300

Merged
merged 9 commits into from
May 28, 2024

Conversation

k-g-j
Copy link
Contributor

@k-g-j k-g-j commented May 23, 2024

Description

  • Bumps the Keyring API to latest version (6.2.0) that has the optional fields of accountNameSuggestion and displayConfirmation in the AccountCreatedEventStruct
  • #handleAccountCreated now parses these new options from the message params and passes them along with other properties to the add account callback
  • Tests are added for the new scenarios of creating an account with a suggested name or display confirmation option

Dependent on PR 301

@k-g-j k-g-j requested a review from a team as a code owner May 23, 2024 21:00
src/SnapKeyring.ts Outdated Show resolved Hide resolved
src/SnapKeyring.ts Outdated Show resolved Hide resolved
src/SnapKeyring.test.ts Outdated Show resolved Hide resolved
src/SnapKeyring.test.ts Outdated Show resolved Hide resolved
@k-g-j k-g-j added this pull request to the merge queue May 28, 2024
Merged via the queue into main with commit bc2af47 May 28, 2024
19 checks passed
@k-g-j k-g-j deleted the feat/add-account-options branch May 28, 2024 19:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants