@stashfin/grpc 1.2.7 → 1.2.8
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 +1 -1
- package/ts/stashcash/debitsc.d.ts +1 -0
- package/ts/stashcash/debitsc.js +15 -0
package/package.json
CHANGED
package/ts/stashcash/debitsc.js
CHANGED
|
@@ -212,6 +212,7 @@ function createBaseresponse_Data() {
|
|
|
212
212
|
txn_id: "",
|
|
213
213
|
conversion_factor: undefined,
|
|
214
214
|
txn_status: "",
|
|
215
|
+
txn_sc: undefined,
|
|
215
216
|
};
|
|
216
217
|
}
|
|
217
218
|
exports.response_Data = {
|
|
@@ -237,6 +238,9 @@ exports.response_Data = {
|
|
|
237
238
|
if (message.txn_status !== "") {
|
|
238
239
|
writer.uint32(58).string(message.txn_status);
|
|
239
240
|
}
|
|
241
|
+
if (message.txn_sc !== undefined) {
|
|
242
|
+
writer.uint32(69).float(message.txn_sc);
|
|
243
|
+
}
|
|
240
244
|
return writer;
|
|
241
245
|
},
|
|
242
246
|
decode(input, length) {
|
|
@@ -288,6 +292,12 @@ exports.response_Data = {
|
|
|
288
292
|
}
|
|
289
293
|
message.txn_status = reader.string();
|
|
290
294
|
continue;
|
|
295
|
+
case 8:
|
|
296
|
+
if (tag !== 69) {
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
message.txn_sc = reader.float();
|
|
300
|
+
continue;
|
|
291
301
|
}
|
|
292
302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
293
303
|
break;
|
|
@@ -305,6 +315,7 @@ exports.response_Data = {
|
|
|
305
315
|
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
306
316
|
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : undefined,
|
|
307
317
|
txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
|
|
318
|
+
txn_sc: isSet(object.txn_sc) ? globalThis.Number(object.txn_sc) : undefined,
|
|
308
319
|
};
|
|
309
320
|
},
|
|
310
321
|
toJSON(message) {
|
|
@@ -330,6 +341,9 @@ exports.response_Data = {
|
|
|
330
341
|
if (message.txn_status !== "") {
|
|
331
342
|
obj.txn_status = message.txn_status;
|
|
332
343
|
}
|
|
344
|
+
if (message.txn_sc !== undefined) {
|
|
345
|
+
obj.txn_sc = message.txn_sc;
|
|
346
|
+
}
|
|
333
347
|
return obj;
|
|
334
348
|
},
|
|
335
349
|
create(base) {
|
|
@@ -344,6 +358,7 @@ exports.response_Data = {
|
|
|
344
358
|
message.txn_id = object.txn_id ?? "";
|
|
345
359
|
message.conversion_factor = object.conversion_factor ?? undefined;
|
|
346
360
|
message.txn_status = object.txn_status ?? "";
|
|
361
|
+
message.txn_sc = object.txn_sc ?? undefined;
|
|
347
362
|
return message;
|
|
348
363
|
},
|
|
349
364
|
};
|