-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: getOptions() no longer accepts GoogleAuthOptions #749
Conversation
Codecov Report
@@ Coverage Diff @@
## master #749 +/- ##
==========================================
- Coverage 84.41% 84.23% -0.18%
==========================================
Files 17 17
Lines 943 945 +2
Branches 210 208 -2
==========================================
Hits 796 796
- Misses 87 88 +1
- Partials 60 61 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #749 +/- ##
==========================================
- Coverage 84.41% 84.26% -0.15%
==========================================
Files 17 17
Lines 943 947 +4
Branches 211 210 -1
==========================================
+ Hits 796 798 +2
- Misses 87 88 +1
- Partials 60 61 +1
Continue to review full report at Codecov.
|
BREAKING CHANGE:
getOptions()
no longer accepts GoogleAuthOptions, preventing a variety of side effects caused by credentials that have already been stored in cache.new GoogleAuth({})
should instead be used to customize options, or to instantiate multiple clients.fromJSON()
has also been made idempotent (it no longer changes the cache).fixes #390