Skip to content

Commit

Permalink
Updated versions and example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir committed May 2, 2018
1 parent 080928e commit 5c97b0b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion example/go/_proto/examplecom/library/book_service.pb.go

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

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@types/google-protobuf": "^3.2.5",
"google-protobuf": "^3.2.0",
"grpc-web-client": "0.5.0"
"grpc-web-client": "0.6.1"
},
"devDependencies": {
"concurrently": "^3.4.0",
Expand Down
10 changes: 5 additions & 5 deletions example/ts/_proto/examplecom/library/book_service_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ proto.examplecom.library.Book.prototype.getIsbn = function() {

/** @param {number} value */
proto.examplecom.library.Book.prototype.setIsbn = function(value) {
jspb.Message.setField(this, 1, value);
jspb.Message.setProto3IntField(this, 1, value);
};


Expand All @@ -191,7 +191,7 @@ proto.examplecom.library.Book.prototype.getTitle = function() {

/** @param {string} value */
proto.examplecom.library.Book.prototype.setTitle = function(value) {
jspb.Message.setField(this, 2, value);
jspb.Message.setProto3StringField(this, 2, value);
};


Expand All @@ -206,7 +206,7 @@ proto.examplecom.library.Book.prototype.getAuthor = function() {

/** @param {string} value */
proto.examplecom.library.Book.prototype.setAuthor = function(value) {
jspb.Message.setField(this, 3, value);
jspb.Message.setProto3StringField(this, 3, value);
};


Expand Down Expand Up @@ -348,7 +348,7 @@ proto.examplecom.library.GetBookRequest.prototype.getIsbn = function() {

/** @param {number} value */
proto.examplecom.library.GetBookRequest.prototype.setIsbn = function(value) {
jspb.Message.setField(this, 1, value);
jspb.Message.setProto3IntField(this, 1, value);
};


Expand Down Expand Up @@ -490,7 +490,7 @@ proto.examplecom.library.QueryBooksRequest.prototype.getAuthorPrefix = function(

/** @param {string} value */
proto.examplecom.library.QueryBooksRequest.prototype.setAuthorPrefix = function(value) {
jspb.Message.setField(this, 1, value);
jspb.Message.setProto3StringField(this, 1, value);
};


Expand Down
2 changes: 1 addition & 1 deletion ts/package-lock.json

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

2 changes: 1 addition & 1 deletion ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grpc-web-client",
"version": "0.6.0",
"version": "0.6.1",
"description": "gRPC-Web client for browsers (JS/TS)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 5c97b0b

Please sign in to comment.