You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2022. It is now read-only.
* feat: add addDestinationMiddleware function
WIP
* feat: fix bug whereby changes made by integration mw were not persisted
This bug meant that this code did not send an event with a userId=bar
to segment.io. This change will result in this code sending an event
with userId=bar to segment.io:
f=function(payload, integration, next) {
payload.obj.userId = "bar";next(payload);
};
analytics.addIntegrationMiddleware(f);
analytics.identify();
* feat: correct doc
* feat: update addDestinationMiddleware docs
* feat: update dest mw signature to be consistent with source mw
* chore: fix syntax error
* chore: fix failing tests
* chore: fix failing test by enabling integration
Co-authored-by: Matthew Ault <[email protected]>
0 commit comments