Skip to content

Commit f000eda

Browse files
committed
Update dependecies
1 parent db28521 commit f000eda

10 files changed

Lines changed: 21 additions & 62 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 5.4.0
2+
- Update dependecies.
3+
14
## 5.3.0
25
- AmountConverter: Added support for converting between human-readable token amounts and base units.
36

analysis_options.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
# The following line activates a set of recommended lints for Flutter apps,
99
# packages, and plugins designed to encourage good coding practices.
10-
include: package:flutter_lints/flutter.yaml
11-
10+
include: package:lints/core.yaml
1211
linter:
1312
# The lint rules applied to this project can be customized in the
1413
# section below to disable rules from the `package:flutter_lints/flutter.yaml`

example/lib/main.dart

Lines changed: 0 additions & 43 deletions
This file was deleted.

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ packages:
3939
path: ".."
4040
relative: true
4141
source: path
42-
version: "5.2.0"
42+
version: "5.4.0"
4343
boolean_selector:
4444
dependency: transitive
4545
description:

lib/bip/address/ada/ada_byron_addr.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ import 'package:blockchain_utils/bip/address/encoder.dart';
6262
import 'package:blockchain_utils/bip/address/exception/exception.dart';
6363
import 'package:blockchain_utils/bip/bip/bip32/bip32_key_data.dart';
6464
import 'package:blockchain_utils/bip/bip/bip32/bip32_path.dart';
65-
import 'package:blockchain_utils/cbor/extention/extenton.dart';
66-
import 'package:blockchain_utils/crypto/quick_crypto.dart';
6765
import 'package:blockchain_utils/cbor/core/cbor.dart';
66+
import 'package:blockchain_utils/cbor/extention/extenton.dart';
6867
import 'package:blockchain_utils/cbor/types/bytes.dart';
6968
import 'package:blockchain_utils/cbor/types/cbor_tag.dart';
7069
import 'package:blockchain_utils/cbor/types/int.dart';
7170
import 'package:blockchain_utils/cbor/types/list.dart';
7271
import 'package:blockchain_utils/cbor/types/map.dart';
7372
import 'package:blockchain_utils/crypto/crypto/crc32/crc32.dart';
73+
import 'package:blockchain_utils/crypto/quick_crypto.dart';
7474
import 'package:blockchain_utils/utils/utils.dart';
7575

7676
import 'network.dart';

lib/bip/substrate/path/substrate_path.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import 'package:blockchain_utils/bip/substrate/exception/substrate_ex.dart';
12
import 'package:blockchain_utils/bip/substrate/scale/substrate_scale_enc_base.dart';
23
import 'package:blockchain_utils/bip/substrate/scale/substrate_scale_enc_bytes.dart';
34
import 'package:blockchain_utils/bip/substrate/scale/substrate_scale_enc_uint.dart';
4-
import 'package:blockchain_utils/bip/substrate/exception/substrate_ex.dart';
55
import 'package:blockchain_utils/crypto/quick_crypto.dart';
66

77
/// A constants class that provides predefined values and regular expressions related to Substrate paths
@@ -113,7 +113,7 @@ class SubstratePathElem {
113113

114114
/// Represents a Substrate path, which is an ordered sequence of [SubstratePathElem] elements.
115115
/// This class provides methods for creating, manipulating, and serializing paths.
116-
class SubstratePath extends Iterable {
116+
class SubstratePath extends Iterable<SubstratePathElem> {
117117
/// A list of path elements that make up the Substrate path.
118118
final List<SubstratePathElem> elems;
119119

@@ -142,7 +142,7 @@ class SubstratePath extends Iterable {
142142

143143
/// Returns an iterator for iterating over the path elements.
144144
@override
145-
Iterator get iterator => elems.iterator;
145+
Iterator<SubstratePathElem> get iterator => elems.iterator;
146146
}
147147

148148
/// Parses a string representation of a Substrate path and returns a [SubstratePath] object.

lib/crypto/crypto/gcm/gcm.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import 'package:blockchain_utils/crypto/crypto/exception/exception.dart';
2-
import 'package:blockchain_utils/utils/utils.dart';
1+
import 'dart:math' as math;
2+
33
import 'package:blockchain_utils/crypto/crypto/aead/aead.dart';
44
import 'package:blockchain_utils/crypto/crypto/blockcipher/blockcipher.dart';
55
import 'package:blockchain_utils/crypto/crypto/ctr/ctr.dart';
6-
7-
import 'dart:math' as math;
6+
import 'package:blockchain_utils/crypto/crypto/exception/exception.dart';
7+
import 'package:blockchain_utils/utils/utils.dart';
88

99
/// Galois/Counter Mode (GCM) implementation for authenticated encryption with associated data (AEAD).
1010
///
@@ -170,7 +170,7 @@ class GCM implements AEAD {
170170
return this;
171171
}
172172

173-
_authenticate(List<int> tagOut, List<int> tagMask, List<int> ciphertext,
173+
void _authenticate(List<int> tagOut, List<int> tagMask, List<int> ciphertext,
174174
[List<int>? associatedData]) {
175175
final blockSize = _cipher.blockSize;
176176
if (associatedData != null) {

lib/crypto/crypto/hash/keccack/sha3.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class _Keccack {
7171
}
7272

7373
/// Clean up the internal state and reset hash object to its initial state.
74-
clean() => reset();
74+
void clean() => reset();
7575

7676
void _padAndPermute(int? paddingByte) {
7777
if (paddingByte != null) {

lib/layout/constant/constant.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class LayoutConst {
427427
}
428428

429429
/// Rust String values.
430-
static rustString({String? property}) {
430+
static CustomLayout rustString({String? property}) {
431431
return CustomLayout(
432432
layout: rustVecU8(),
433433
decoder: (bytes) => StringUtils.decode(bytes as List<int>),

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: blockchain_utils
22
description: Comprehensive Crypto & Blockchain Toolkit, Pure Dart, Cross-Platform, Encoding, Cryptography, Addresses, Mnemonics, & More.
3-
version: 5.3.0
3+
version: 5.4.0
44
homepage: "https://github.com/mrtnetwork/blockchain_utils"
55
repository: "https://github.com/mrtnetwork/blockchain_utils"
66
Author: mrhaydari.t@gmail.com
@@ -19,9 +19,9 @@ dependencies:
1919

2020

2121
dev_dependencies:
22-
lints: ^5.0.0
23-
test: ^1.25.9
24-
flutter_lints: ^5.0.0
22+
lints: ^6.0.0
23+
test: ^1.26.3
24+
flutter_lints: ^6.0.0
2525
# For information on the generic Dart part of this file, see the
2626
# following page: https://dart.dev/tools/pub/pubspec
2727

0 commit comments

Comments
 (0)