Skip to content

Commit

Permalink
use msgpack serializer from xconnio
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahad-10 committed Dec 6, 2024
1 parent 4a32875 commit f88bb9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions lib/src/dealer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,14 @@ class Dealer {

_pendingCalls.remove(message.requestID);

var errMessage = Error(Call.id, pending.requestID, message.uri,
args: message.args, kwargs: message.kwargs, details: message.details);
var errMessage = Error(
Call.id,
pending.requestID,
message.uri,
args: message.args,
kwargs: message.kwargs,
details: message.details,
);

return MessageWithRecipient(errMessage, pending.callerID);
} else {
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ dependencies:
cbor: ^6.2.0
collection: ^1.18.0
crypto: ^3.0.3
msgpack_dart: ^1.0.1
msgpack_dart:
git: https://github.com/xconnio/msgpack_dart
pinenacl: ^0.6.0
pointycastle: ^3.9.1

Expand Down

0 comments on commit f88bb9a

Please sign in to comment.