Skip to content

Commit 6684d9f

Browse files
authored
Merge pull request #28 from javierjmc/improvement/bump-libraries
Bumped dependencies
2 parents d576dda + b18273b commit 6684d9f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/src/models/abi.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import 'dart:convert';
22
import 'dart:typed_data';
3+
34
import 'package:json_annotation/json_annotation.dart';
45

56
import './conversion_helper.dart';
7+
import '../eosdart_base.dart';
8+
import '../jsons.dart';
69
import '../numeric.dart';
710
import '../serialize.dart' as ser;
8-
import '../jsons.dart';
9-
import '../eosdart_base.dart';
1011

1112
part 'abi.g.dart';
1213

@@ -63,6 +64,7 @@ class AbiResp with ConversionHelper {
6364
return Abi.fromJson(json.decode(json.encode(b)));
6465
} catch (e) {
6566
print(e.message);
67+
return null;
6668
}
6769
}
6870

lib/src/models/transaction.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'dart:typed_data';
2-
32
import 'package:json_annotation/json_annotation.dart';
43

54
import './action.dart';
@@ -133,7 +132,6 @@ class Transaction {
133132

134133
Uint8List toBinary(Type transactionType) {
135134
var buffer = ser.SerialBuffer(Uint8List(0));
136-
Map<String, dynamic> aa = this.toJson();
137135
transactionType.serialize(transactionType, buffer, this.toJson());
138136
return buffer.asUint8List();
139137
}

pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ homepage: https://github.com/primes-network/eosdart
55
author: primes-network <primes.ntwk@gmail.com>
66

77
environment:
8-
sdk: '>=2.0.0 <3.0.0'
8+
sdk: '>=2.1.0 <3.0.0'
99

1010
dependencies:
11-
http: ^0.12.0+1
12-
json_annotation: ^2.2.0
13-
pointycastle: ^1.0.1
11+
http: ^0.12.0+4
12+
json_annotation: ^3.0.1
13+
pointycastle: ^1.0.2
1414
eosdart_ecc: ^0.4.0
1515
# path: ^1.4.1
1616

1717
dev_dependencies:
1818
test: ^1.0.0
19-
build_runner: ^1.0.0
20-
json_serializable: ^2.0.0
19+
build_runner: ^1.7.4
20+
json_serializable: ^3.2.3

0 commit comments

Comments
 (0)