Skip to content
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

rename .enable() to .start() and .disable() to .stop() as it works better with a "recorder" #27

Merged
merged 2 commits into from Dec 23, 2021

Conversation

gr2m
Copy link
Owner

@gr2m gr2m commented Dec 23, 2021

Breaking changes

  • rename .enable() to .start() and .disable() to .stop() as it works better with a "recorder"
  • prefer .addListener/.removeListener over .on/off for distinction from .start/.stop methods and web compat.

…works better with a "recorder"

BREAKING CHANGE: `httpRecorder.enable()` is now `httpRecorder.start()`

BREAKING CHANGE: `httpRecorder.disable()` is now `httpRecorder.stop()`
…n from .start/.stop methods and web compat
@gr2m gr2m enabled auto-merge (squash) December 23, 2021 02:06
@gr2m gr2m merged commit c44543f into main Dec 23, 2021
@gr2m gr2m deleted the start-stop branch December 23, 2021 02:06
@github-actions
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant