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

fix: 🐛 Fix libdart compatibility #45

Merged
merged 4 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 10 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 3.2.6-beta

- ⬆️ Upgrade dependencies

# 3.2.5

- ✅ Improve lib score.
- ✅ Improve lib score.
- ⬆️ Upgrade dependencies

# 3.2.4
Expand All @@ -27,7 +31,7 @@
# 3.1.0

- Remove GetIt usage for `OracleService`

# 3.0.3

- ✨ `AppBackground` widget : Add boxfit in param
Expand All @@ -46,304 +50,246 @@
- Use Logging library for [LogManager]
- **Breaking change : **[LogManager.logsActived] replaced by [LogManager.remoteLogsEnabled]


# 2.1.3

- Upgrade archethic_wallet_client to 2.1.3


# 2.1.2

- Upgrade package_info_plus to 8.0.2
- Add textStyle param in Consent Widgets


# 2.1.1

- Upgrade AWC version to 2.1.2


# 2.1.0

- Upgrade AWC version to 2.1.0


# 2.0.0

- BREAKING CHANGES: Introduce the Environment type


# 1.3.1

- Fix bug: `CoinPriceProvider` : Return 0 when ucid doesn't exist for a token
- Fix typo: fix method `startTimer` instead of `starTimer` in `CoinPriceNotifier`


# 1.3.0

- BREAKING CHANGES: `TransactionUtil` - Add `apiService` param for each method
- BREAKING CHANGES: Changing the way you load providers: `UcidsTokensProviders` & `CoinPriceProviders`
- BREAKING CHANGES: Changing the way you load providers: `UcidsTokensProviders` & `CoinPriceProviders`
- Move coin price management to an infrastructure repository
- Add a generic token model and associated def


# 1.2.14

- Add timestamp in debug logs


# 1.2.13

- Add Bitcoin in ucids_tokens config file


# 1.2.12

- Update dependencies


# 1.2.11

- Add `precision` param in ArchethicOracleUco widget


# 1.2.10

- Update dependencies


# 1.2.9

- Add `TransactionUtil.isSCCallExecuted` method to check is a SC has been executed

- Add `TransactionUtil.isSCCallExecuted` method to check is a SC has been executed

# 1.2.8

- Update dependencies


# 1.2.7

- Update dependencies


# 1.2.6

- Add color params in SingleCard widget


# 1.2.5

- Add description in RPC sign tx method
- Fix PeriodicFuture class


# 1.2.4

- Update dependencies


# 1.2.3

- Migration to flutter 3.22


# 1.2.2

- Update dependencies


# 1.2.1

- refactor: Use archethic_wallet_client 2.0.0


# 1.2.0

- BREAKING CHANGES: Handle custom errors codes/messages in Dart SDK
- UI Adjustements


# 1.1.25

- Add aeEURe mainnet in ucids_tokens config file


# 1.1.24

- `Result` class. Support asynchronous callbacks in map method

- `Result` class. Support asynchronous callbacks in map method

# 1.1.23

- Update dependencies


# 1.1.22

- Fix aeEURe address in ucids_tokens config file


# 1.1.21

- Add aeEURe in ucids_tokens config file


# 1.1.20

- Add token EURe info + coin name fixed


# 1.1.19

- Update Archethic Dart SDK version 3.3.16


# 1.1.18

- Add useUnifyDecimalSeparator param in AmountTextInputFormatter


# 1.1.17

- Adjust logs


# 1.1.16

- Fix bugs


# 1.1.15

- VerifiedTokensNotifier & UcidsTokensNotifier init - Add network in param
- Fix bugs


# 1.1.14

- Add new Failures


# 1.1.13

- Add aeETH UCID


# 1.1.12

- Update Archethic Dart SDK version 3.3.15


# 1.1.11

- Add icon param in InProgressCircularStepProgressIndicator Widget
- Fix onPress action when AppButton is disabled


# 1.1.10

- Fix consentement local db management


# 1.1.9

- Fix crash with PopupCloseButton widget


# 1.1.8

- Update Archethic Dart SDK version 3.3.14


# 1.1.7

- Widgets UI Improvements


# 1.1.6

- Add UDSC market price (for testnet usage)
- Update Archethic Dart SDK version 3.3.13


# 1.1.5

- Fix legal consentement management


# 1.1.4

- Add legal consentement management


# 1.1.3

- Upgrade dependencies


# 1.1.2

- Improve AmountTextInputFormatter behavior


# 1.1.1

- Upgrade dependencies


# 1.1.0

- Upgrade dependencies (AWC web extension support)


# 1.0.0

- Stable version


# 0.0.9

- Fix responsive
- Fix popup navigation


# 0.0.8

- Upgrade dependencies


# 0.0.7

- Upgrade dependencies


# 0.0.6

- Upgrade dependencies


# 0.0.5

- Get Verified tokens from blockchain


# 0.0.4

- Responsive: Add tools


# 0.0.3

- Fix bug


# 0.0.2

- Migrate to Dart 3.3 and Flutter 3.19
- Upgrade dependencies


# 0.0.1

- First version
- First version
5 changes: 3 additions & 2 deletions lib/src/application/ae_token.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ Future<double> _estimateTokenInFiat(
) async {
if (token.symbol == 'UCO') {
// Fetch the UCO price from the Archethic Oracle.
final archethicOracleUCO =
ref.watch(aedappfm.ArchethicOracleUCOProviders.archethicOracleUCO);
final archethicOracleUCO = await ref.watch(
aedappfm.ArchethicOracleUCOProviders.archethicOracleUCO.future,
);

return archethicOracleUCO.usd;
} else {
Expand Down
Loading
Loading