-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Mixpanel types #116
base: master
Are you sure you want to change the base?
Mixpanel types #116
Commits on Nov 14, 2020
-
types(core): add typedefs for plugin hooks
Juro Oravec committedNov 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 4cb6564 - Browse repository at this point
Copy the full SHA 4cb6564View commit details -
types(core): annotate payloads
Juro Oravec committedNov 14, 2020 Configuration menu - View commit details
-
Copy full SHA for bfc6ddb - Browse repository at this point
Copy the full SHA bfc6ddbView commit details -
Juro Oravec committed
Nov 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 676943c - Browse repository at this point
Copy the full SHA 676943cView commit details -
refactor(core): add jsdoc-plugin-intersection to jsdoc
Juro Oravec committedNov 14, 2020 Configuration menu - View commit details
-
Copy full SHA for ffb8ded - Browse repository at this point
Copy the full SHA ffb8dedView commit details -
types(core): export and extend types in types.d.ts
Juro Oravec committedNov 14, 2020 Configuration menu - View commit details
-
Copy full SHA for a8af861 - Browse repository at this point
Copy the full SHA a8af861View commit details
Commits on Nov 15, 2020
-
feat(mixpanel): Add
context
mixpanel plugin config option- Move the mixpanel load script to separate file - Modify the load script to be able to specify which context object the mixpanel instance should be loaded. Defaults to `window` for backward compatibility - Add `context` mixpanel plugin config option that specifies the context that's passed the refactored load script - Update hooks to get mixpanel instance from resolveMixpanel function instead of from `window`. This decouples the use of mixpanel instance from the window object
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for b388e1a - Browse repository at this point
Copy the full SHA b388e1aView commit details -
feat(mixpanel): Add
mixpanel
mixpanel plugin config option- Add option to be able to pass a mixpanel instance directly to mixpanel plugin instead of fetching it from mixpanel CDN
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for f4e311b - Browse repository at this point
Copy the full SHA f4e311bView commit details -
feat(mixpanel): Add
config
mixpanel plugin config option- Add option to pass Mixpanel config - The config is passed to mixpanel.init if the instance needs to be instantiated - The config is passed to mixpanel.set_config if the instance already exists
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 02a3ff2 - Browse repository at this point
Copy the full SHA 02a3ff2View commit details -
feat(mixpanel): Add
pageEvent
mixpanel plugin config option- Add option `pageEvent`, which allows to specify the name of the event that's tracked when mixpanelPlugin.page is called. Defautlts to 'page'
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for be8c56e - Browse repository at this point
Copy the full SHA be8c56eView commit details -
feat(mixpanel): Allow to pass all properties to mixpanel.track on
mixpanelPlugin.page
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 5feb2cc - Browse repository at this point
Copy the full SHA 5feb2ccView commit details -
feat(mixpanel): try to load mixpanel from 'mixpanel-browser' if avail…
…able - If 'mixpanel-browser' npm package is installed, the @analytics/mixpanel plugin will try to use that if a mixpanel instance doesn't exist yet
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 9b7d5c7 - Browse repository at this point
Copy the full SHA 9b7d5c7View commit details -
feat(mixpanel): Add 'getMixpanel' plugin method that returns
current mixpanel instance
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 96bf4f8 - Browse repository at this point
Copy the full SHA 96bf4f8View commit details -
Merge branch 'improve-typescript-support' into mixpanel-types
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for feff2b1 - Browse repository at this point
Copy the full SHA feff2b1View commit details -
feat(mixpanel): add types annotations
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 84ba922 - Browse repository at this point
Copy the full SHA 84ba922View commit details -
build(mixpanel): add postbuild types generation
- Add ./scripts/types script similar to one in @analytics/core. The script postprocesses the generated types and exports plugin config and plugin type. - Add analytics as dependency so types in types.d.ts can import types - Add 'types' npm command to @analytics/mixpanel - Add 'temp-types' to .gitignore
Juro Oravec committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 2712604 - Browse repository at this point
Copy the full SHA 2712604View commit details