@stashfin/grpc 1.2.156 → 1.2.160

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.156",
3
+ "version": "1.2.160",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -279,7 +279,7 @@ exports.approveLoanResponse = {
279
279
  writer.uint32(72).int32(message.final_disbursal_amount);
280
280
  }
281
281
  if (message.upfront_interest !== 0) {
282
- writer.uint32(80).int32(message.upfront_interest);
282
+ writer.uint32(85).float(message.upfront_interest);
283
283
  }
284
284
  if (message.rate_of_interest !== 0) {
285
285
  writer.uint32(88).int32(message.rate_of_interest);
@@ -402,10 +402,10 @@ exports.approveLoanResponse = {
402
402
  message.final_disbursal_amount = reader.int32();
403
403
  continue;
404
404
  case 10:
405
- if (tag !== 80) {
405
+ if (tag !== 85) {
406
406
  break;
407
407
  }
408
- message.upfront_interest = reader.int32();
408
+ message.upfront_interest = reader.float();
409
409
  continue;
410
410
  case 11:
411
411
  if (tag !== 88) {
@@ -600,7 +600,7 @@ exports.approveLoanResponse = {
600
600
  obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
601
601
  }
602
602
  if (message.upfront_interest !== 0) {
603
- obj.upfront_interest = Math.round(message.upfront_interest);
603
+ obj.upfront_interest = message.upfront_interest;
604
604
  }
605
605
  if (message.rate_of_interest !== 0) {
606
606
  obj.rate_of_interest = Math.round(message.rate_of_interest);
@@ -169,7 +169,7 @@ exports.loanSummaryResponse = {
169
169
  writer.uint32(72).int32(message.final_disbursal_amount);
170
170
  }
171
171
  if (message.upfront_interest !== 0) {
172
- writer.uint32(80).int32(message.upfront_interest);
172
+ writer.uint32(85).float(message.upfront_interest);
173
173
  }
174
174
  if (message.rate_of_interest !== 0) {
175
175
  writer.uint32(88).int32(message.rate_of_interest);
@@ -292,10 +292,10 @@ exports.loanSummaryResponse = {
292
292
  message.final_disbursal_amount = reader.int32();
293
293
  continue;
294
294
  case 10:
295
- if (tag !== 80) {
295
+ if (tag !== 85) {
296
296
  break;
297
297
  }
298
- message.upfront_interest = reader.int32();
298
+ message.upfront_interest = reader.float();
299
299
  continue;
300
300
  case 11:
301
301
  if (tag !== 88) {
@@ -490,7 +490,7 @@ exports.loanSummaryResponse = {
490
490
  obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
491
491
  }
492
492
  if (message.upfront_interest !== 0) {
493
- obj.upfront_interest = Math.round(message.upfront_interest);
493
+ obj.upfront_interest = message.upfront_interest;
494
494
  }
495
495
  if (message.rate_of_interest !== 0) {
496
496
  obj.rate_of_interest = Math.round(message.rate_of_interest);