forked from thislooksfun/snoots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace Client.authFromCode() with Client.fromAuthCode()
`authFromCode()` was a mutating method, which goes against the API design vision of snoots. It has been replaced with `fromAuthCode()`, which is a static factory function. This is an important step towards ensuring the Client object is internally immutable. BREAKING CHANGE: `Client.authFromCode()` has been replaced with `Client.fromAuthCode()`.
- Loading branch information
1 parent
ba87fdf
commit 8fa90b8
Showing
2 changed files
with
27 additions
and
12 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