File tree Expand file tree Collapse file tree 5 files changed +3
-15
lines changed Expand file tree Collapse file tree 5 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ that can be found in the LICENSE file. -->
4
4
5
5
# Changelog
6
6
7
- ## 1.0.0-dev.32
8
-
9
- - Make parsable big number string as covariant of Fixed classes.
10
-
11
7
## 1.0.0-dev.31
12
8
13
9
- Treat parsable big number string as a covariant of the ` Nat ` class.
Original file line number Diff line number Diff line change 1
1
name : agent_dart
2
- version : 1.0.0-dev.32
2
+ version : 1.0.0-dev.31
3
3
4
4
description : |
5
5
An agent library built for Internet Computer,
Original file line number Diff line number Diff line change @@ -641,9 +641,6 @@ class FixedIntClass extends PrimitiveType {
641
641
} else if (x is int ) {
642
642
final v = BigInt .from (x);
643
643
return v >= min && v <= max;
644
- } else if (x is String && BigInt .tryParse (x) != null ) {
645
- final v = BigInt .parse (x);
646
- return v >= min && v <= max;
647
644
} else {
648
645
return false ;
649
646
}
@@ -704,11 +701,6 @@ class FixedNatClass extends PrimitiveType<dynamic> {
704
701
} else if (x is int && x >= 0 ) {
705
702
final v = BigInt .from (x);
706
703
return v < max;
707
- } else if (x is String &&
708
- BigInt .tryParse (x) != null &&
709
- BigInt .parse (x) >= BigInt .zero) {
710
- final v = BigInt .parse (x);
711
- return v < max;
712
704
} else {
713
705
return false ;
714
706
}
Original file line number Diff line number Diff line change 1
1
name : agent_dart_base
2
- version : 1.0.0-dev.32
2
+ version : 1.0.0-dev.31
3
3
4
4
description : The Dart plugin that bridges Rust implementation for agent_dart.
5
5
repository : https://github.com/AstroxNetwork/agent_dart
Original file line number Diff line number Diff line change 1
1
name : agent_dart_ffi
2
- version : 1.0.0-dev.32
2
+ version : 1.0.0-dev.31
3
3
4
4
description : The FFI plugin that bridges Rust implementation for agent_dart.
5
5
repository : https://github.com/AstroxNetwork/agent_dart
You can’t perform that action at this time.
0 commit comments