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

remove settings from AbstractAnalytic #152

Merged
merged 26 commits into from
Apr 4, 2024
Merged

Conversation

Rayus7
Copy link
Contributor

@Rayus7 Rayus7 commented Mar 4, 2024

Removed config from constructor of AbstractAnalytic to be able to use spread operator for dependencies in constructor of classes which extends AbstractAnalytic. Until now, we had to repeat all arguments from AbstractAnalytic constructor if we wanted to access config parameter, which is very common use-case. Also, now we can work with types in TypeScript more easily.

Copy link

changeset-bot bot commented Mar 4, 2024

🦋 Changeset detected

Latest commit: cfdb4a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ima/plugin-analytic-fb-pixel Major
@ima/plugin-analytic-google Major
@ima/plugin-analytic Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rayus7 Rayus7 marked this pull request as ready for review March 8, 2024 12:46
@Rayus7 Rayus7 merged commit 66ef0fa into master Apr 4, 2024
2 checks passed
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.

4 participants