protobuf-platform 1.0.40 → 1.0.41

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.
package/file/file.proto CHANGED
@@ -3,7 +3,7 @@ syntax = "proto3";
3
3
  package file;
4
4
 
5
5
  service File {
6
- rpc getMediaResource(GetFileRequest) returns (FileResponse);
6
+ rpc getMediaResource(GetFileRequest) returns (stream FileResponse);
7
7
  }
8
8
 
9
9
  message GetFileRequest { string file_path = 1; }
@@ -31,7 +31,7 @@ var FileService = exports.FileService = {
31
31
  getMediaResource: {
32
32
  path: '/file.File/getMediaResource',
33
33
  requestStream: false,
34
- responseStream: false,
34
+ responseStream: true,
35
35
  requestType: file_pb.GetFileRequest,
36
36
  responseType: file_pb.FileResponse,
37
37
  requestSerialize: serialize_file_GetFileRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {