fix(core): update
This commit is contained in:
parent
4301a0337c
commit
5227cebc98
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@mojoio/tink',
|
||||
version: '3.1.4',
|
||||
version: '3.1.5',
|
||||
description: 'an unofficial api abstraction for tink.com'
|
||||
}
|
||||
|
@ -111,10 +111,8 @@ export class BankAccount {
|
||||
return {
|
||||
id: this.data.id,
|
||||
name: this.data.name,
|
||||
accountNumber:
|
||||
this.data.identifiers.iban?.iban ||
|
||||
this.data.identifiers?.financialInstitution?.accountNumber ||
|
||||
null,
|
||||
accountNumber: this.data.identifiers?.financialInstitution?.accountNumber || null,
|
||||
iban: this.data.identifiers.iban?.iban || null,
|
||||
bookedValue: tinkHelpers.getNormalizedAmount(this.data.balances.booked?.amount),
|
||||
availableValue: tinkHelpers.getNormalizedAmount(this.data.balances.available?.amount),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user