@stashfin/grpc 1.2.615 → 1.2.616

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.615",
3
+ "version": "1.2.616",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -7,6 +7,7 @@ export interface OutputPerfiosResponse {
7
7
  payload: string;
8
8
  signature: string;
9
9
  url: string;
10
+ transaction_id: string;
10
11
  }
11
12
  export declare const inputPerfiosRequest: {
12
13
  encode(message: inputPerfiosRequest, writer?: _m0.Writer): _m0.Writer;
@@ -64,7 +64,7 @@ exports.inputPerfiosRequest = {
64
64
  },
65
65
  };
66
66
  function createBaseOutputPerfiosResponse() {
67
- return { payload: "", signature: "", url: "" };
67
+ return { payload: "", signature: "", url: "", transaction_id: "" };
68
68
  }
69
69
  exports.OutputPerfiosResponse = {
70
70
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -77,6 +77,9 @@ exports.OutputPerfiosResponse = {
77
77
  if (message.url !== "") {
78
78
  writer.uint32(26).string(message.url);
79
79
  }
80
+ if (message.transaction_id !== "") {
81
+ writer.uint32(34).string(message.transaction_id);
82
+ }
80
83
  return writer;
81
84
  },
82
85
  decode(input, length) {
@@ -104,6 +107,12 @@ exports.OutputPerfiosResponse = {
104
107
  }
105
108
  message.url = reader.string();
106
109
  continue;
110
+ case 4:
111
+ if (tag !== 34) {
112
+ break;
113
+ }
114
+ message.transaction_id = reader.string();
115
+ continue;
107
116
  }
108
117
  if ((tag & 7) === 4 || tag === 0) {
109
118
  break;
@@ -117,6 +126,7 @@ exports.OutputPerfiosResponse = {
117
126
  payload: isSet(object.payload) ? globalThis.String(object.payload) : "",
118
127
  signature: isSet(object.signature) ? globalThis.String(object.signature) : "",
119
128
  url: isSet(object.url) ? globalThis.String(object.url) : "",
129
+ transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
120
130
  };
121
131
  },
122
132
  toJSON(message) {
@@ -130,6 +140,9 @@ exports.OutputPerfiosResponse = {
130
140
  if (message.url !== "") {
131
141
  obj.url = message.url;
132
142
  }
143
+ if (message.transaction_id !== "") {
144
+ obj.transaction_id = message.transaction_id;
145
+ }
133
146
  return obj;
134
147
  },
135
148
  create(base) {
@@ -140,6 +153,7 @@ exports.OutputPerfiosResponse = {
140
153
  message.payload = object.payload ?? "";
141
154
  message.signature = object.signature ?? "";
142
155
  message.url = object.url ?? "";
156
+ message.transaction_id = object.transaction_id ?? "";
143
157
  return message;
144
158
  },
145
159
  };