Skip to content

Commit

Permalink
update nitric version
Browse files Browse the repository at this point in the history
  • Loading branch information
HomelessDinosaur committed Jun 28, 2023
1 parent b2a905c commit 3d08f85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nitric/sdk",
"description": "Nitric NodeJS client sdk",
"nitric": "v0.27.0",
"nitric": "v0.30.0-rc.6",
"author": "Nitric <https://github.com/nitrictech>",
"repository": "https://github.com/nitrictech/node-sdk",
"main": "lib/index.js",
Expand Down
12 changes: 6 additions & 6 deletions src/gen/proto/faas/v1/faas_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ proto.nitric.faas.v1.HttpWorker.prototype.toObject = function(opt_includeInstanc
*/
proto.nitric.faas.v1.HttpWorker.toObject = function(includeInstance, msg) {
var f, obj = {
port: jspb.Message.getFieldWithDefault(msg, 2, 0)
port: jspb.Message.getFieldWithDefault(msg, 1, 0)
};

if (includeInstance) {
Expand Down Expand Up @@ -2487,7 +2487,7 @@ proto.nitric.faas.v1.HttpWorker.deserializeBinaryFromReader = function(msg, read
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setPort(value);
break;
Expand Down Expand Up @@ -2523,19 +2523,19 @@ proto.nitric.faas.v1.HttpWorker.serializeBinaryToWriter = function(message, writ
f = message.getPort();
if (f !== 0) {
writer.writeInt32(
2,
1,
f
);
}
};


/**
* optional int32 port = 2;
* optional int32 port = 1;
* @return {number}
*/
proto.nitric.faas.v1.HttpWorker.prototype.getPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


Expand All @@ -2544,7 +2544,7 @@ proto.nitric.faas.v1.HttpWorker.prototype.getPort = function() {
* @return {!proto.nitric.faas.v1.HttpWorker} returns this
*/
proto.nitric.faas.v1.HttpWorker.prototype.setPort = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
return jspb.Message.setProto3IntField(this, 1, value);
};


Expand Down

0 comments on commit 3d08f85

Please sign in to comment.