Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

v3.13.3

  • v3.13.3
  • 497822c
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • v3.13.3
  • 497822c
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@aultimus aultimus tagged this 26 May 18:18
* 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: add addDestinationMiddleware function

WIP

* 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

* feat: fix multiple invoke events being emitted

* chore: touch HISTORY.md to fix build error

* chore: fix HISTORY.md

* chore: resolve review comments

* chore: bump package version

Co-authored-by: Matthew Ault <matthew.ault@segment.com>
Assets 2
Loading