-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: update starknetid hooks for address_to_domain update (#431)
We will soon update the starknet ID naming contract function `address_to_domain`, adding an additional `hint` parameter that will allow us to support CCIP reverse resolving of domains. This change will break `useStarkName` & `useStarkProfile` hooks. In prevision of this, to avoid any errors for people using these hooks, I updated them so that they will first try to make the query with the new `hint` parameter, and if it fails try without. I also took this opportunity to fix #419
- Loading branch information
Showing
4 changed files
with
236 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@starknet-react/core": minor | ||
--- | ||
|
||
Fix starknetID hooks to work with latest version of StarknetID contracts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.