@zeniai/client-epic-state 4.19.30 → 4.19.31

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.
@@ -34,6 +34,7 @@ export type PaymentToOption = {
34
34
  bankAccountIban: string;
35
35
  bankAccountName: string;
36
36
  bankAccountNumber: string;
37
+ bankAccountType: string;
37
38
  bankName: string;
38
39
  bankRoutingNumberAch: string;
39
40
  bankRoutingNumberWireTransfer: string;
@@ -519,17 +519,19 @@ function toPaymentToOption(paymentMode) {
519
519
  bankRoutingNumberWireTransfer: '',
520
520
  bankSwiftCode: '',
521
521
  bankAccountIban: '',
522
+ bankAccountType: '',
522
523
  piName: '',
523
524
  piLabels: [],
524
525
  minValidAmount: 0,
525
526
  maxValidAmount: null,
526
527
  };
527
528
  if ((0, has_1.default)(paymentMode, 'bankAccountId')) {
528
- const { bankAccountId, bankAccountName, bankAccountNumber, bankName, bankRoutingNumberAch, bankRoutingNumberWireTransfer, bankSwiftCode, bankAccountIban, createTime, } = paymentMode;
529
+ const { bankAccountId, bankAccountName, bankAccountNumber, bankAccountType, bankName, bankRoutingNumberAch, bankRoutingNumberWireTransfer, bankSwiftCode, bankAccountIban, createTime, } = paymentMode;
529
530
  paymentToOption.id = bankAccountId;
530
531
  paymentToOption.type = 'BankAccount';
531
532
  paymentToOption.bankAccountName = bankAccountName;
532
533
  paymentToOption.bankAccountNumber = bankAccountNumber;
534
+ paymentToOption.bankAccountType = bankAccountType ?? '';
533
535
  paymentToOption.bankName = bankName;
534
536
  paymentToOption.bankRoutingNumberAch = bankRoutingNumberAch;
535
537
  paymentToOption.bankRoutingNumberWireTransfer =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.30",
3
+ "version": "4.19.31",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",