Skip to content

Commit

Permalink
Merge pull request #76 from launchdarkly/prepare-1.6.2
Browse files Browse the repository at this point in the history
Prepare 1.6.2
  • Loading branch information
apucacao authored Apr 5, 2018
2 parents 74b8cda + 46b68dc commit 5a0eebe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
All notable changes to the LaunchDarkly client-side JavaScript SDK will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org).

## [1.6.2] - 2018-04-05
### Fixed
- `LDClient.track` properly sets the user for custom events.


## [1.6.1] - 2018-03-30
### Fixed
- The SDK now polls the URL for changes if (and only if) there are page view goals,to ensure it is accurately reporting page views.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ldclient-js",
"version": "1.6.1",
"version": "1.6.2",
"description": "LaunchDarkly SDK for JavaScript",
"author": "LaunchDarkly <[email protected]>",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ function initialize(env, user, options) {
kind: 'custom',
key: key,
data: data,
user: ident.getUser(),
url: window.location.href,
creationDate: (new Date()).getTime()
});
Expand Down

0 comments on commit 5a0eebe

Please sign in to comment.