Skip to content

Commit

Permalink
chore(deps): bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ez3kiel-dev committed Jan 21, 2024
1 parent 65d80a0 commit aa53f01
Show file tree
Hide file tree
Showing 106 changed files with 1,484 additions and 1,396 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.12.2

- fix: Bump dependencies and format.

## 0.12.1

- fix: Bump dependencies and format.
Expand Down
46 changes: 24 additions & 22 deletions lib/src/json_rpc_api/argument/argument.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ class _$ArgumentCopyWithImpl<$Res, $Val extends Argument>
}

/// @nodoc
abstract class _$$_ArgumentCopyWith<$Res> implements $ArgumentCopyWith<$Res> {
factory _$$_ArgumentCopyWith(
_$_Argument value, $Res Function(_$_Argument) then) =
__$$_ArgumentCopyWithImpl<$Res>;
abstract class _$$ArgumentImplCopyWith<$Res>
implements $ArgumentCopyWith<$Res> {
factory _$$ArgumentImplCopyWith(
_$ArgumentImpl value, $Res Function(_$ArgumentImpl) then) =
__$$ArgumentImplCopyWithImpl<$Res>;
@override
@useResult
$Res call(
Expand All @@ -98,11 +99,11 @@ abstract class _$$_ArgumentCopyWith<$Res> implements $ArgumentCopyWith<$Res> {
}

/// @nodoc
class __$$_ArgumentCopyWithImpl<$Res>
extends _$ArgumentCopyWithImpl<$Res, _$_Argument>
implements _$$_ArgumentCopyWith<$Res> {
__$$_ArgumentCopyWithImpl(
_$_Argument _value, $Res Function(_$_Argument) _then)
class __$$ArgumentImplCopyWithImpl<$Res>
extends _$ArgumentCopyWithImpl<$Res, _$ArgumentImpl>
implements _$$ArgumentImplCopyWith<$Res> {
__$$ArgumentImplCopyWithImpl(
_$ArgumentImpl _value, $Res Function(_$ArgumentImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -112,7 +113,7 @@ class __$$_ArgumentCopyWithImpl<$Res>
Object? datatype = null,
Object? value = freezed,
}) {
return _then(_$_Argument(
return _then(_$ArgumentImpl(
name: null == name
? _value.name
: name // ignore: cast_nullable_to_non_nullable
Expand All @@ -131,14 +132,14 @@ class __$$_ArgumentCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_Argument implements _Argument {
_$_Argument(
class _$ArgumentImpl implements _Argument {
_$ArgumentImpl(
{@JsonKey(name: 'name') required this.name,
@JsonKey(name: 'datatype') required this.datatype,
@JsonKey(name: 'value') @ArgumentValueConverter() required this.value});

factory _$_Argument.fromJson(Map<String, dynamic> json) =>
_$$_ArgumentFromJson(json);
factory _$ArgumentImpl.fromJson(Map<String, dynamic> json) =>
_$$ArgumentImplFromJson(json);

/// @nodoc
@override
Expand All @@ -162,10 +163,10 @@ class _$_Argument implements _Argument {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_Argument &&
other is _$ArgumentImpl &&
(identical(other.name, name) || other.name == name) &&
(identical(other.datatype, datatype) ||
other.datatype == datatype) &&
Expand All @@ -180,12 +181,12 @@ class _$_Argument implements _Argument {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_ArgumentCopyWith<_$_Argument> get copyWith =>
__$$_ArgumentCopyWithImpl<_$_Argument>(this, _$identity);
_$$ArgumentImplCopyWith<_$ArgumentImpl> get copyWith =>
__$$ArgumentImplCopyWithImpl<_$ArgumentImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_ArgumentToJson(
return _$$ArgumentImplToJson(
this,
);
}
Expand All @@ -197,9 +198,10 @@ abstract class _Argument implements Argument {
@JsonKey(name: 'datatype') required final DataType datatype,
@JsonKey(name: 'value')
@ArgumentValueConverter()
required final dynamic value}) = _$_Argument;
required final dynamic value}) = _$ArgumentImpl;

factory _Argument.fromJson(Map<String, dynamic> json) = _$_Argument.fromJson;
factory _Argument.fromJson(Map<String, dynamic> json) =
_$ArgumentImpl.fromJson;

@override

Expand All @@ -219,6 +221,6 @@ abstract class _Argument implements Argument {
dynamic get value;
@override
@JsonKey(ignore: true)
_$$_ArgumentCopyWith<_$_Argument> get copyWith =>
_$$ArgumentImplCopyWith<_$ArgumentImpl> get copyWith =>
throw _privateConstructorUsedError;
}
5 changes: 3 additions & 2 deletions lib/src/json_rpc_api/argument/argument.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 22 additions & 19 deletions lib/src/json_rpc_api/derod/block/block.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ class _$BlockCopyWithImpl<$Res, $Val extends Block>
}

/// @nodoc
abstract class _$$_BlockCopyWith<$Res> implements $BlockCopyWith<$Res> {
factory _$$_BlockCopyWith(_$_Block value, $Res Function(_$_Block) then) =
__$$_BlockCopyWithImpl<$Res>;
abstract class _$$BlockImplCopyWith<$Res> implements $BlockCopyWith<$Res> {
factory _$$BlockImplCopyWith(
_$BlockImpl value, $Res Function(_$BlockImpl) then) =
__$$BlockImplCopyWithImpl<$Res>;
@override
@useResult
$Res call(
Expand All @@ -178,9 +179,11 @@ abstract class _$$_BlockCopyWith<$Res> implements $BlockCopyWith<$Res> {
}

/// @nodoc
class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block>
implements _$$_BlockCopyWith<$Res> {
__$$_BlockCopyWithImpl(_$_Block _value, $Res Function(_$_Block) _then)
class __$$BlockImplCopyWithImpl<$Res>
extends _$BlockCopyWithImpl<$Res, _$BlockImpl>
implements _$$BlockImplCopyWith<$Res> {
__$$BlockImplCopyWithImpl(
_$BlockImpl _value, $Res Function(_$BlockImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -196,7 +199,7 @@ class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block>
Object? miniblocks = freezed,
Object? txHashes = freezed,
}) {
return _then(_$_Block(
return _then(_$BlockImpl(
majorVersion: freezed == majorVersion
? _value.majorVersion
: majorVersion // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -239,8 +242,8 @@ class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block>

/// @nodoc
@JsonSerializable()
class _$_Block implements _Block {
_$_Block(
class _$BlockImpl implements _Block {
_$BlockImpl(
{@JsonKey(name: 'major_version') this.majorVersion,
@JsonKey(name: 'minor_version') this.minorVersion,
@JsonKey(name: 'timestamp') this.timestamp,
Expand All @@ -254,8 +257,8 @@ class _$_Block implements _Block {
_miniblocks = miniblocks,
_txHashes = txHashes;

factory _$_Block.fromJson(Map<String, dynamic> json) =>
_$$_BlockFromJson(json);
factory _$BlockImpl.fromJson(Map<String, dynamic> json) =>
_$$BlockImplFromJson(json);

/// @nodoc
@override
Expand Down Expand Up @@ -335,10 +338,10 @@ class _$_Block implements _Block {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_Block &&
other is _$BlockImpl &&
(identical(other.majorVersion, majorVersion) ||
other.majorVersion == majorVersion) &&
(identical(other.minorVersion, minorVersion) ||
Expand Down Expand Up @@ -371,12 +374,12 @@ class _$_Block implements _Block {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_BlockCopyWith<_$_Block> get copyWith =>
__$$_BlockCopyWithImpl<_$_Block>(this, _$identity);
_$$BlockImplCopyWith<_$BlockImpl> get copyWith =>
__$$BlockImplCopyWithImpl<_$BlockImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_BlockToJson(
return _$$BlockImplToJson(
this,
);
}
Expand All @@ -392,9 +395,9 @@ abstract class _Block implements Block {
@JsonKey(name: '-') final dynamic proof,
@JsonKey(name: 'tips') final List<String>? tips,
@JsonKey(name: 'miniblocks') final List<Miniblock>? miniblocks,
@JsonKey(name: 'tx_hashes') final List<String>? txHashes}) = _$_Block;
@JsonKey(name: 'tx_hashes') final List<String>? txHashes}) = _$BlockImpl;

factory _Block.fromJson(Map<String, dynamic> json) = _$_Block.fromJson;
factory _Block.fromJson(Map<String, dynamic> json) = _$BlockImpl.fromJson;

@override

Expand Down Expand Up @@ -442,6 +445,6 @@ abstract class _Block implements Block {
List<String>? get txHashes;
@override
@JsonKey(ignore: true)
_$$_BlockCopyWith<_$_Block> get copyWith =>
_$$BlockImplCopyWith<_$BlockImpl> get copyWith =>
throw _privateConstructorUsedError;
}
5 changes: 3 additions & 2 deletions lib/src/json_rpc_api/derod/block/block.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions lib/src/json_rpc_api/derod/block_header/block_header.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ class _$BlockHeaderCopyWithImpl<$Res, $Val extends BlockHeader>
}

/// @nodoc
abstract class _$$_BlockHeaderCopyWith<$Res>
abstract class _$$BlockHeaderImplCopyWith<$Res>
implements $BlockHeaderCopyWith<$Res> {
factory _$$_BlockHeaderCopyWith(
_$_BlockHeader value, $Res Function(_$_BlockHeader) then) =
__$$_BlockHeaderCopyWithImpl<$Res>;
factory _$$BlockHeaderImplCopyWith(
_$BlockHeaderImpl value, $Res Function(_$BlockHeaderImpl) then) =
__$$BlockHeaderImplCopyWithImpl<$Res>;
@override
@useResult
$Res call(
Expand All @@ -242,11 +242,11 @@ abstract class _$$_BlockHeaderCopyWith<$Res>
}

/// @nodoc
class __$$_BlockHeaderCopyWithImpl<$Res>
extends _$BlockHeaderCopyWithImpl<$Res, _$_BlockHeader>
implements _$$_BlockHeaderCopyWith<$Res> {
__$$_BlockHeaderCopyWithImpl(
_$_BlockHeader _value, $Res Function(_$_BlockHeader) _then)
class __$$BlockHeaderImplCopyWithImpl<$Res>
extends _$BlockHeaderCopyWithImpl<$Res, _$BlockHeaderImpl>
implements _$$BlockHeaderImplCopyWith<$Res> {
__$$BlockHeaderImplCopyWithImpl(
_$BlockHeaderImpl _value, $Res Function(_$BlockHeaderImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -269,7 +269,7 @@ class __$$_BlockHeaderCopyWithImpl<$Res>
Object? tips = freezed,
Object? timestamp = freezed,
}) {
return _then(_$_BlockHeader(
return _then(_$BlockHeaderImpl(
depth: freezed == depth
? _value.depth
: depth // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -340,8 +340,8 @@ class __$$_BlockHeaderCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_BlockHeader implements _BlockHeader {
_$_BlockHeader(
class _$BlockHeaderImpl implements _BlockHeader {
_$BlockHeaderImpl(
{@JsonKey(name: 'depth') this.depth,
@JsonKey(name: 'difficulty') this.difficulty,
@JsonKey(name: 'hash') this.hash,
Expand All @@ -361,8 +361,8 @@ class _$_BlockHeader implements _BlockHeader {
: _miners = miners,
_tips = tips;

factory _$_BlockHeader.fromJson(Map<String, dynamic> json) =>
_$$_BlockHeaderFromJson(json);
factory _$BlockHeaderImpl.fromJson(Map<String, dynamic> json) =>
_$$BlockHeaderImplFromJson(json);

/// @nodoc
@override
Expand Down Expand Up @@ -468,10 +468,10 @@ class _$_BlockHeader implements _BlockHeader {
}

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_BlockHeader &&
other is _$BlockHeaderImpl &&
(identical(other.depth, depth) || other.depth == depth) &&
(identical(other.difficulty, difficulty) ||
other.difficulty == difficulty) &&
Expand Down Expand Up @@ -522,12 +522,12 @@ class _$_BlockHeader implements _BlockHeader {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_BlockHeaderCopyWith<_$_BlockHeader> get copyWith =>
__$$_BlockHeaderCopyWithImpl<_$_BlockHeader>(this, _$identity);
_$$BlockHeaderImplCopyWith<_$BlockHeaderImpl> get copyWith =>
__$$BlockHeaderImplCopyWithImpl<_$BlockHeaderImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_BlockHeaderToJson(
return _$$BlockHeaderImplToJson(
this,
);
}
Expand All @@ -550,10 +550,10 @@ abstract class _BlockHeader implements BlockHeader {
@JsonKey(name: 'miners') final List<String>? miners,
@JsonKey(name: 'reward') final int? reward,
@JsonKey(name: 'tips') final List<String>? tips,
@JsonKey(name: 'timestamp') final int? timestamp}) = _$_BlockHeader;
@JsonKey(name: 'timestamp') final int? timestamp}) = _$BlockHeaderImpl;

factory _BlockHeader.fromJson(Map<String, dynamic> json) =
_$_BlockHeader.fromJson;
_$BlockHeaderImpl.fromJson;

@override

Expand Down Expand Up @@ -637,6 +637,6 @@ abstract class _BlockHeader implements BlockHeader {
int? get timestamp;
@override
@JsonKey(ignore: true)
_$$_BlockHeaderCopyWith<_$_BlockHeader> get copyWith =>
_$$BlockHeaderImplCopyWith<_$BlockHeaderImpl> get copyWith =>
throw _privateConstructorUsedError;
}
6 changes: 3 additions & 3 deletions lib/src/json_rpc_api/derod/block_header/block_header.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa53f01

Please sign in to comment.