-
Notifications
You must be signed in to change notification settings - Fork 66
feat: add retries #99
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #99 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 95 110 +15
Branches 19 23 +4
=========================================
+ Hits 95 110 +15
Continue to review full report at Codecov.
|
# [1.10.0](v1.9.0...v1.10.0) (2020-11-13) ### Features * add retries for script.onerror with default of 5 retry attempts ([#99](#99)) ([4c5eac0](4c5eac0))
🎉 This PR is included in version 1.10.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
private loadErrorCallback(e: Event): void { | ||
this.onerrorEvent = e; | ||
this.callback(); | ||
deleteScript(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpoehnelt While working on #102 I noticed this deleteScript
function wasn't marked private
. Was this intentional, is it a public facing API? I can update the docs if so. :)
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
There are some nice changes since 1.7.0: - googlemaps/js-api-loader#99 -- retries loading the Google Maps script (which is a common source of error reports) - googlemaps/js-api-loader#351 -- fixes bad promise rejection that was reported by a user of google-maps-react It's a fairly big version bump but the vast majority of changes are dev dependency bumps.
The singleton loader will retry on script failures up to
retries
attempts. A new instance will not retry again.closes #93