ts-proto 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.markdown +2 -2
  2. package/package.json +1 -1
package/README.markdown CHANGED
@@ -701,8 +701,8 @@ const sendRequest: RpcImpl = (service, method, data) => {
701
701
  return argument;
702
702
  }
703
703
 
704
- // Using passThrough as the serialize and deserialize functions
705
- conn.makeUnaryRequest(path, passThrough, passThrough, data, resultCallback);
704
+ // Using passThrough as the deserialize functions
705
+ conn.makeUnaryRequest(path, d => Buffer.from(d), passThrough, data, resultCallback);
706
706
  });
707
707
  };
708
708
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "",
5
5
  "main": "build/src/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",