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

V7: Remove non-public methods from client interface #659

Merged
merged 3 commits into from
Dec 5, 2019

Conversation

bengourley
Copy link
Contributor

@bengourley bengourley commented Dec 2, 2019

Replaces delivery() with _setDelivery() and replaces logger()/sessionDelegate() with direct property access.

These methods were only used internally, but they were on the the public interface.

@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Dec 2, 2019

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 39.55 kB 11.96 kB
After 39.43 kB 11.94 kB
± -127 bytes -20 bytes

Generated by 🚫 dangerJS against a7a96f6

@bengourley bengourley changed the title refactor: Remove non-public methods from client interface V7: Remove non-public methods from client interface Dec 2, 2019
Replaces `delivery()` with `_setDelivery()` and replaces `logger()`/`sessionDelegate()` with direct
property access.
packages/core/client.js Outdated Show resolved Hide resolved
@bengourley bengourley merged commit c063284 into v7 Dec 5, 2019
@bengourley bengourley deleted the v7-remove-client-methods branch December 5, 2019 16:41
@bengourley bengourley mentioned this pull request Apr 14, 2020
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants