diff --git a/History.md b/History.md index ac14a8813e..185e615953 100644 --- a/History.md +++ b/History.md @@ -4,6 +4,8 @@ * Updated `ddp-server@2.3.3` and `socket-stream-client@0.3.2` dependencies which removes Node's HTTP deprecation warning. +* Released `ddp-client@2.4.1` re-ordering fields in DDP message for better client readability. + ## v2.2, 2021-04-15 #### Highlights diff --git a/packages/ddp-client/common/livedata_connection.js b/packages/ddp-client/common/livedata_connection.js index 740a7f4abb..f3992944c2 100644 --- a/packages/ddp-client/common/livedata_connection.js +++ b/packages/ddp-client/common/livedata_connection.js @@ -692,9 +692,9 @@ export class Connection { // wrote. const message = { msg: 'method', + id: methodId, method: name, - params: args, - id: methodId + params: args }; // If an exception occurred in a stub, and we're ignoring it diff --git a/packages/ddp-client/package.js b/packages/ddp-client/package.js index 1d5b5a5bcd..ff13d25b8e 100644 --- a/packages/ddp-client/package.js +++ b/packages/ddp-client/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Meteor's latency-compensated distributed data client", - version: '2.4.0', + version: '2.4.1', documentation: null });