Releases: segmentio/analytics-next
Releases · segmentio/analytics-next
@segment/[email protected]
@segment/[email protected]
Patch Changes
- #1246
ee838db5
Thanks @silesky! - Fix argument resolver bug where the following would not set the correct options:analytics.page( null, 'foo', { url: "https://foo.com" }, { context: { __eventOrigin: { type: 'Signal' } } // would not be set correctly )
- Updated dependencies [
d5829da8
]:- @segment/[email protected]
@segment/[email protected]
@segment/[email protected]
@segment/[email protected]
@segment/[email protected]
@segment/[email protected]
@segment/[email protected]
Patch Changes
-
Updated dependencies [
2fc749a1
]:- @segment/[email protected]
@segment/[email protected]
@segment/[email protected]
Minor Changes
-
#1220
bf868573
Thanks @silesky! - Allow registration of middleware to allow for dropping and modification of signalsclass MyMiddleware implements SignalsMiddleware { process(signal: Signal) { if ( signal.type === 'network' && signal.data.action === 'request' && ... ) { // drop or modify signal return null } else { return signal } } } const signalsPlugin = new SignalsPlugin({ middleware: [new MyMiddleware()] })