This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for authorized withdraws / deposits (#84)
Addresses #72, though this isn't quite tested yet. - Provider classes now track info locally. So you don't have to pass `supportedAssets` to `fetchFinalFee`, but you do have to call `fetchSupportedAssets` ASAP. - Switch back to all camelCase function inputs, since the Transfer stuff already outputs stuff in camelCase. Unfortunately, it means that devs might have to convert names from `info.fields` from snake_case to camelCase (and I think we should stop short of rewriting those values). But I think, better to be consistent and be clear about that consistency than to be correct but confusing. - Add a function to set bearer tokens. - Set Authorization headers when deposit/withdrawing an asset that's auth-required.
- Loading branch information
Morley Zhi
authored
Jul 18, 2019
1 parent
78dba6a
commit 799638c
Showing
8 changed files
with
281 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.