From b9b3321e64c83295685ca1c7c2e7fa8fbbf27eb5 Mon Sep 17 00:00:00 2001 From: Dmitry Andriyanov Date: Tue, 14 May 2024 15:40:04 +0700 Subject: [PATCH] v0.35.1. Updated dependencies (#108) * v0.35.1. Updated dependencies * Update CHANGELOG.md --------- Co-authored-by: dmitriiandriianov --- CHANGELOG.md | 27 ++++++++++++++++ lib/nekoton_repository.module.dart | 20 ++++++------ .../contract_state_changed_event.freezed.dart | 4 +-- .../contract_transaction_event.freezed.dart | 4 +-- ...contract_updates_subscription.freezed.dart | 4 +-- ...n_wallet_ordinary_transaction.freezed.dart | 4 +-- ...pending_transaction_with_data.freezed.dart | 4 +-- ...on_wallet_expired_transaction.freezed.dart | 4 +-- ..._multisig_expired_transaction.freezed.dart | 4 +-- ...multisig_ordinary_transaction.freezed.dart | 4 +-- ..._multisig_pending_transaction.freezed.dart | 4 +-- ...n_wallet_ordinary_transaction.freezed.dart | 4 +-- ...on_wallet_pending_transaction.freezed.dart | 4 +-- pubspec.yaml | 31 +++++++++---------- 14 files changed, 74 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47b1bbb..ef5f01d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,33 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-05-14 + +### Changes + +--- + +Packages with breaking changes: + +- [`nekoton_repository` - `v0.35.1`](#nekoton_repository---v0351) + +Packages with other changes: + +- There are no other changes in this release. + +--- + +#### `nekoton_repository` - `v0.35.1` + +- **REFACTOR**: updating dependency package versions. + +## 0.35.1 + +> Note: This release has breaking changes. + +- **REFACTOR**: updating dependency package versions. + + ## 2023-12-06 ### Changes diff --git a/lib/nekoton_repository.module.dart b/lib/nekoton_repository.module.dart index db68476..5055e59 100644 --- a/lib/nekoton_repository.module.dart +++ b/lib/nekoton_repository.module.dart @@ -16,18 +16,18 @@ class NekotonRepositoryPackageModule extends _i1.MicroPackageModule { @override _i2.FutureOr init(_i1.GetItHelper gh) { final nekotonRepositoryModule = _$NekotonRepositoryModule(); - gh.singleton<_i3.NekotonRepository>(_i3.NekotonRepository()); - gh.singleton<_i4.SeedKeyRepository>( - nekotonRepositoryModule.registerSeedKey(gh<_i4.NekotonRepository>())); - gh.singleton<_i4.TokenWalletRepository>(nekotonRepositoryModule - .registerTokenWallet(gh<_i4.NekotonRepository>())); - gh.singleton<_i4.TonWalletRepository>( - nekotonRepositoryModule.registerTonWallet(gh<_i4.NekotonRepository>())); - gh.singleton<_i4.TransportRepository>( + gh.singleton<_i3.NekotonRepository>(() => _i3.NekotonRepository()); + gh.singleton<_i4.TransportRepository>(() => nekotonRepositoryModule.registerTransport(gh<_i4.NekotonRepository>())); - gh.singleton<_i4.AccountRepository>( + gh.singleton<_i4.SeedKeyRepository>(() => + nekotonRepositoryModule.registerSeedKey(gh<_i4.NekotonRepository>())); + gh.singleton<_i4.AccountRepository>(() => nekotonRepositoryModule.registerAccounts(gh<_i4.NekotonRepository>())); - gh.singleton<_i4.GenericContractRepository>(nekotonRepositoryModule + gh.singleton<_i4.TonWalletRepository>(() => + nekotonRepositoryModule.registerTonWallet(gh<_i4.NekotonRepository>())); + gh.singleton<_i4.TokenWalletRepository>(() => nekotonRepositoryModule + .registerTokenWallet(gh<_i4.NekotonRepository>())); + gh.singleton<_i4.GenericContractRepository>(() => nekotonRepositoryModule .registerGenericContract(gh<_i4.NekotonRepository>())); } } diff --git a/lib/src/models/generic_contract/contract_state_changed_event.freezed.dart b/lib/src/models/generic_contract/contract_state_changed_event.freezed.dart index 90c0184..ef426b6 100644 --- a/lib/src/models/generic_contract/contract_state_changed_event.freezed.dart +++ b/lib/src/models/generic_contract/contract_state_changed_event.freezed.dart @@ -12,7 +12,7 @@ part of 'contract_state_changed_event.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); ContractStateChangedEvent _$ContractStateChangedEventFromJson( Map json) { @@ -154,7 +154,7 @@ class _$ContractStateChangedEventImpl implements _ContractStateChangedEvent { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ContractStateChangedEventImpl && diff --git a/lib/src/models/generic_contract/contract_transaction_event.freezed.dart b/lib/src/models/generic_contract/contract_transaction_event.freezed.dart index 8e6786a..88bade7 100644 --- a/lib/src/models/generic_contract/contract_transaction_event.freezed.dart +++ b/lib/src/models/generic_contract/contract_transaction_event.freezed.dart @@ -12,7 +12,7 @@ part of 'contract_transaction_event.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); ContractFoundTransactionEvent _$ContractFoundTransactionEventFromJson( Map json) { @@ -186,7 +186,7 @@ class _$ContractFoundTransactionEventImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ContractFoundTransactionEventImpl && diff --git a/lib/src/models/generic_contract/contract_updates_subscription.freezed.dart b/lib/src/models/generic_contract/contract_updates_subscription.freezed.dart index 8252e87..e1ad4ff 100644 --- a/lib/src/models/generic_contract/contract_updates_subscription.freezed.dart +++ b/lib/src/models/generic_contract/contract_updates_subscription.freezed.dart @@ -12,7 +12,7 @@ part of 'contract_updates_subscription.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); ContractUpdatesSubscription _$ContractUpdatesSubscriptionFromJson( Map json) { @@ -143,7 +143,7 @@ class _$ContractUpdatesSubscriptionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ContractUpdatesSubscriptionImpl && diff --git a/lib/src/models/token_wallet_related/token_wallet_ordinary_transaction.freezed.dart b/lib/src/models/token_wallet_related/token_wallet_ordinary_transaction.freezed.dart index 31fdff9..692699a 100644 --- a/lib/src/models/token_wallet_related/token_wallet_ordinary_transaction.freezed.dart +++ b/lib/src/models/token_wallet_related/token_wallet_ordinary_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_ordinary_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TokenWalletOrdinaryTransaction { @@ -395,7 +395,7 @@ class _$TokenWalletOrdinaryTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletOrdinaryTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/pending_transaction_with_data.freezed.dart b/lib/src/models/ton_wallet_related/pending_transaction_with_data.freezed.dart index 3995b55..b4159a5 100644 --- a/lib/src/models/ton_wallet_related/pending_transaction_with_data.freezed.dart +++ b/lib/src/models/ton_wallet_related/pending_transaction_with_data.freezed.dart @@ -12,7 +12,7 @@ part of 'pending_transaction_with_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); PendingTransactionWithData _$PendingTransactionWithDataFromJson( Map json) { @@ -197,7 +197,7 @@ class _$PendingTransactionWithAdditionalInfoImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PendingTransactionWithAdditionalInfoImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_expired_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_expired_transaction.freezed.dart index f59f4b9..a36c318 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_expired_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_expired_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_expired_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletExpiredTransaction { @@ -242,7 +242,7 @@ class _$TonWalletExpiredTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletExpiredTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_multisig_expired_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_multisig_expired_transaction.freezed.dart index 2dae209..9251911 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_multisig_expired_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_multisig_expired_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_multisig_expired_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletMultisigExpiredTransaction { @@ -496,7 +496,7 @@ class _$TonWalletMultisigExpiredTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletMultisigExpiredTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_multisig_ordinary_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_multisig_ordinary_transaction.freezed.dart index d250f4d..39c6cbf 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_multisig_ordinary_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_multisig_ordinary_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_multisig_ordinary_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletMultisigOrdinaryTransaction { @@ -496,7 +496,7 @@ class _$TonWalletMultisigOrdinaryTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletMultisigOrdinaryTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_multisig_pending_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_multisig_pending_transaction.freezed.dart index 83c5d23..4cd8667 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_multisig_pending_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_multisig_pending_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_multisig_pending_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletMultisigPendingTransaction { @@ -634,7 +634,7 @@ class _$TonWalletMultisigPendingTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletMultisigPendingTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_ordinary_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_ordinary_transaction.freezed.dart index 0d89028..5148bc5 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_ordinary_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_ordinary_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_ordinary_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletOrdinaryTransaction { @@ -410,7 +410,7 @@ class _$TonWalletOrdinaryTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletOrdinaryTransactionImpl && diff --git a/lib/src/models/ton_wallet_related/ton_wallet_pending_transaction.freezed.dart b/lib/src/models/ton_wallet_related/ton_wallet_pending_transaction.freezed.dart index 651e261..917ae40 100644 --- a/lib/src/models/ton_wallet_related/ton_wallet_pending_transaction.freezed.dart +++ b/lib/src/models/ton_wallet_related/ton_wallet_pending_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_pending_transaction.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TonWalletPendingTransaction { @@ -242,7 +242,7 @@ class _$TonWalletPendingTransactionImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletPendingTransactionImpl && diff --git a/pubspec.yaml b/pubspec.yaml index b8611e5..1f10f42 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nekoton_repository description: Nekoton repository package -version: 0.35.0 +version: 0.35.1 repository: https://github.com/broxus/nekoton_repository environment: @@ -8,17 +8,17 @@ environment: dependencies: async: ^2.11.0 - collection: ^1.17.0 - encrypted_storage: ^0.1.1 + collection: ^1.18.0 + encrypted_storage: ^0.1.3 equatable: ^2.0.5 flutter: sdk: flutter flutter_nekoton_bridge: ^1.27.3 - freezed_annotation: ^2.2.0 - get_it: ^7.6.0 - injectable: ^2.1.0 - json_serializable: ^6.6.1 - logging: ^1.1.1 + freezed_annotation: ^2.4.1 + get_it: ^7.7.0 + injectable: ^2.4.1 + json_serializable: ^6.8.0 + logging: ^1.2.0 quiver: ^3.2.1 rxdart: ^0.27.7 @@ -27,13 +27,12 @@ dev_dependencies: git: url: https://github.com/broxus/flutter_templates.git ref: broxus_flutter_analysis-v1.0.0 - build_runner: ^2.4.5 - dart_code_metrics: ^5.6.0 + build_runner: ^2.4.9 flutter_test: sdk: flutter - freezed: ^2.3.2 - injectable_generator: ^2.1.3 - melos: ^3.1.0 - mocktail: ">=0.3.0 <2.0.0" - tuple: ^2.0.1 - very_good_analysis: ^5.0.0+1 + freezed: ^2.5.2 + injectable_generator: ^2.6.1 + melos: ^6.0.0 + mocktail: ^1.0.3 + tuple: ^2.0.2 + very_good_analysis: ^5.1.0