Skip to content

Commit

Permalink
fix: 🐛 Fix Attempting to rewrap a JS function error
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Oct 12, 2024
1 parent 625921f commit 76f10bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.0-rc.6
* 🐛 Fix watchAccount method - Fix Attempting to rewrap a JS function error

## 1.0.0-rc.5
* 🐛 Fix watchAccount method

Expand Down
2 changes: 1 addition & 1 deletion lib/src/js/actions/watch_account.js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ extension JSWatchAccountParametersConversion on WatchAccountParameters {
final accountDart = currentAccount.toDart;
final prevAccountDart = prevAccount.toDart;
onChange(accountDart, prevAccountDart);
}).toJS,
}) as JSFunction,
);
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: wagmi_flutter_web
description: "Wagmi JS SDK wrapper for Dart Web"
version: 1.0.0-rc.5
version: 1.0.0-rc.6
homepage: https://github.com/archethic-foundation/wagmi_flutter_web

environment:
Expand Down

0 comments on commit 76f10bf

Please sign in to comment.