Skip to content

Conversation

@dan-ziv
Copy link

@dan-ziv dan-ziv commented May 3, 2022

Description of the Changes

Issue:
In case the user selected a wallet but the wallet is locked or the dapp is not connected (i.e. not yet authorized), the promise will not be resolved. so I don't have a way to differentiate between the selection of the wallet and the actual connection to the wallet

Solution:
Use connect API from get-starknet-wallet which returns the actual selected wallet from the list

Checklist

  • Changes have been done against master branch, and PR does not conflict
  • New unit / functional tests have been added (whenever applicable)
  • Test are passing in local environment
  • Docs have been updated
  • PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is Reviewable

@dan-ziv dan-ziv merged commit 73b1f21 into dev May 3, 2022
@dan-ziv dan-ziv deleted the fix/connection-modal-override-gsw-modal branch May 3, 2022 09:40
dan-ziv pushed a commit that referenced this pull request May 3, 2022
 ### [1.3.1-dev.4](v1.3.1-dev.3...v1.3.1-dev.4) (2022-05-03)

### 🔧 Fixes

* connection modal overrides gsw selection modal ([#175](#175)) ([73b1f21](73b1f21))
@dan-ziv
Copy link
Author

dan-ziv commented May 3, 2022

🎉 This PR is included in version 1.3.1-dev.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

dan-ziv pushed a commit that referenced this pull request May 4, 2022
 ## [1.4.0](v1.3.0...v1.4.0) (2022-05-04)

### 🔧 Fixes

* cancel toFixed when format balances ([#172](#172)) ([2906e3e](2906e3e))
* connection modal overrides gsw selection modal ([#175](#175)) ([73b1f21](73b1f21))
* temporary disable max button ([#173](#173)) ([1d3038d](1d3038d))
* update app state on accountsChanged event ([#176](#176)) ([3161cc9](3161cc9))
* update text for the attempt to deposit more than the allowable amount ([#174](#174)) ([d8f3da8](d8f3da8))

### 🧩 Features

* add asset to SN wallet after a successful deposit ([#171](#171)) ([30d8ec3](30d8ec3))
@dan-ziv
Copy link
Author

dan-ziv commented May 4, 2022

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants