@stashfin/grpc 1.2.5 → 1.2.7
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
package/ts/stashcash/debitsc.js
CHANGED
|
@@ -209,7 +209,7 @@ function createBaseresponse_Data() {
|
|
|
209
209
|
unlocked: undefined,
|
|
210
210
|
balance: undefined,
|
|
211
211
|
rupee_balance: undefined,
|
|
212
|
-
txn_id:
|
|
212
|
+
txn_id: "",
|
|
213
213
|
conversion_factor: undefined,
|
|
214
214
|
txn_status: "",
|
|
215
215
|
};
|
|
@@ -228,8 +228,8 @@ exports.response_Data = {
|
|
|
228
228
|
if (message.rupee_balance !== undefined) {
|
|
229
229
|
writer.uint32(37).float(message.rupee_balance);
|
|
230
230
|
}
|
|
231
|
-
if (message.txn_id !==
|
|
232
|
-
writer.uint32(
|
|
231
|
+
if (message.txn_id !== "") {
|
|
232
|
+
writer.uint32(42).string(message.txn_id);
|
|
233
233
|
}
|
|
234
234
|
if (message.conversion_factor !== undefined) {
|
|
235
235
|
writer.uint32(48).int32(message.conversion_factor);
|
|
@@ -271,10 +271,10 @@ exports.response_Data = {
|
|
|
271
271
|
message.rupee_balance = reader.float();
|
|
272
272
|
continue;
|
|
273
273
|
case 5:
|
|
274
|
-
if (tag !==
|
|
274
|
+
if (tag !== 42) {
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
|
-
message.txn_id =
|
|
277
|
+
message.txn_id = reader.string();
|
|
278
278
|
continue;
|
|
279
279
|
case 6:
|
|
280
280
|
if (tag !== 48) {
|
|
@@ -302,7 +302,7 @@ exports.response_Data = {
|
|
|
302
302
|
unlocked: isSet(object.unlocked) ? globalThis.Number(object.unlocked) : undefined,
|
|
303
303
|
balance: isSet(object.balance) ? globalThis.Number(object.balance) : undefined,
|
|
304
304
|
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) : undefined,
|
|
305
|
-
txn_id: isSet(object.txn_id) ? globalThis.
|
|
305
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
306
306
|
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : undefined,
|
|
307
307
|
txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
|
|
308
308
|
};
|
|
@@ -321,8 +321,8 @@ exports.response_Data = {
|
|
|
321
321
|
if (message.rupee_balance !== undefined) {
|
|
322
322
|
obj.rupee_balance = message.rupee_balance;
|
|
323
323
|
}
|
|
324
|
-
if (message.txn_id !==
|
|
325
|
-
obj.txn_id =
|
|
324
|
+
if (message.txn_id !== "") {
|
|
325
|
+
obj.txn_id = message.txn_id;
|
|
326
326
|
}
|
|
327
327
|
if (message.conversion_factor !== undefined) {
|
|
328
328
|
obj.conversion_factor = Math.round(message.conversion_factor);
|
|
@@ -341,7 +341,7 @@ exports.response_Data = {
|
|
|
341
341
|
message.unlocked = object.unlocked ?? undefined;
|
|
342
342
|
message.balance = object.balance ?? undefined;
|
|
343
343
|
message.rupee_balance = object.rupee_balance ?? undefined;
|
|
344
|
-
message.txn_id = object.txn_id ??
|
|
344
|
+
message.txn_id = object.txn_id ?? "";
|
|
345
345
|
message.conversion_factor = object.conversion_factor ?? undefined;
|
|
346
346
|
message.txn_status = object.txn_status ?? "";
|
|
347
347
|
return message;
|