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