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

[tracker] Fix missing default value for optional parameter on public method #355

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

ZacharieTFR
Copy link
Contributor

Description

On public method track of vast-tracker: track(eventName, { macros, once })
The following parameters are optional

  • macros: Object - An optional Object of macros to be used in the tracking calls.
  • once: Boolean - An optional Boolean to define if the event has to be tracked only once.

Those parameters are inside a destructed object, if the method track is called without this object it will trigger an error. As this is an optional object and given that this method is public, it should not cause any error.

Type

  • Breaking change
  • Enhancement
  • Fix
  • Documentation
  • Tooling

@ZacharieTFR ZacharieTFR changed the title [tracker] Fix missing default value for optionnal param [tracker] Fix missing default value for optional parameter on public method Feb 12, 2020
@ZacharieTFR ZacharieTFR merged commit 29a1a59 into 3.0-version Feb 12, 2020
@ZacharieTFR ZacharieTFR deleted the fix-track-optional-param-bug branch February 12, 2020 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants