@aircall/tracker
Advanced tools
Comparing version 2.3.11 to 2.3.13
@@ -6,2 +6,25 @@ # Change Log | ||
## [2.3.13](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/tracker@2.3.12...@aircall/tracker@2.3.13) (2021-06-28) | ||
### Bug Fixes | ||
* **tracker:** correct typing of reset method ([34a8f51](http://bitbucket.org/aircall/front-end-modules/commits/34a8f5144ea721885e435eb8f9de16284b32310f)) | ||
* **tracker:** correct typing of the "reset" method [PH-2358] [#25](http://bitbucket.org/aircall/front-end-modules/issues/25) ([c6c0b70](http://bitbucket.org/aircall/front-end-modules/commits/c6c0b70e38a9b4bce243e585cdd629a2eb1fc75c)) | ||
## [2.3.12](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/tracker@2.3.11...@aircall/tracker@2.3.12) (2021-06-28) | ||
### Bug Fixes | ||
* **tracker:** remove identify properties from events payload ([2e0e07b](http://bitbucket.org/aircall/front-end-modules/commits/2e0e07b83efa240032715e577c738459b5878649)) | ||
## [2.3.11](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/tracker@2.3.10...@aircall/tracker@2.3.11) (2020-11-20) | ||
@@ -8,0 +31,0 @@ |
@@ -90,3 +90,3 @@ "use strict"; | ||
else { | ||
this.sdk.track(message, Object.assign(Object.assign({}, properties), this.identification)); | ||
this.sdk.track(message, properties); | ||
} | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "@aircall/tracker", | ||
"version": "2.3.11", | ||
"version": "2.3.13", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "08adb2f18414cafa5f4c207e77a625d237775095", | ||
"gitHead": "65538466c02d3bc5e6b58f2c5498c1f604ef63f7", | ||
"devDependencies": { | ||
@@ -17,0 +17,0 @@ "@types/segment-analytics": "^0.0.32" |
@@ -99,3 +99,3 @@ import Tracker, { | ||
expect(spy).toHaveBeenCalledWith(message, { ...properties, ...identifyOptions }); | ||
expect(spy).toHaveBeenCalledWith(message, properties); | ||
}); | ||
@@ -102,0 +102,0 @@ }); |
@@ -142,3 +142,3 @@ export class AnalyticsJS extends Array { | ||
} else { | ||
this.sdk.track(message, { ...properties, ...this.identification }); | ||
this.sdk.track(message, properties); | ||
} | ||
@@ -148,5 +148,5 @@ } | ||
// Resets the id, including anonymousId, and clears traits for the currently identified user | ||
public reset() { | ||
public reset(): void { | ||
this.sdk.reset(); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
22856