Closed kukac7 closed 5 years ago
I realised I didn't publish the package properly - try with the v0.4.4
cool, thanks!
but...
const accounts = revolut.accounts.getAll().run();
accounts.then(r => console.log(r)).catch(e => console.error(e));
Left {value: Error, _tag: "Left", constructor: Object}
That's the correct result: accounts
is Either
type.
Could not find module in path: 'revolut-sdk/dist/api/accounts' relative to '/node_modules/revolut-sdk/dist/index.js'
demo