Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve nft support + dont send funds to assetId #1648

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

LuizAsFight
Copy link
Contributor

@LuizAsFight LuizAsFight commented Nov 6, 2024

  • Don't allow sending funds to assetId
  • Improve logic of getting nft data
  • Fix flaky test on transaction approval due to button entering/leaving loading state


if (assetCached) {
return ctx.createError({
message: `You can't send to Asset address`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather say "This address is an Asset. Your funds will be lost."

Copy link
Contributor

@arthurgeron arthurgeron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LuizAsFight LuizAsFight merged commit e63d6eb into master Nov 7, 2024
25 of 31 checks passed
@LuizAsFight LuizAsFight deleted the lf/feat/detect-nft branch November 7, 2024 05:28
LuizAsFight pushed a commit that referenced this pull request Nov 7, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to master, this PR
will be updated.


# Releases
## @fuels/playwright-utils@0.41.1



## fuels-wallet@0.41.1

### Patch Changes

- [#1648](#1648)
[`e63d6eba`](e63d6eb)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - feat: improve
nft support + dont allow sending funds to assetId address

-   Updated dependencies \[]:
    -   @fuel-wallet/connections@0.41.1
    -   @fuels/playwright-utils@0.41.1

## @fuel-wallet/types@0.41.1

### Patch Changes

- [#1648](#1648)
[`e63d6eba`](e63d6eb)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - feat: improve
nft support + dont allow sending funds to assetId address

## @fuel-wallet/connections@0.41.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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