Skip to content

Commit 5a0eebe

Browse files
authored
Merge pull request #76 from launchdarkly/prepare-1.6.2
Prepare 1.6.2
2 parents 74b8cda + 46b68dc commit 5a0eebe

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
All notable changes to the LaunchDarkly client-side JavaScript SDK will be documented in this file. This
44
project adheres to [Semantic Versioning](http://semver.org).
55

6+
## [1.6.2] - 2018-04-05
7+
### Fixed
8+
- `LDClient.track` properly sets the user for custom events.
9+
10+
611
## [1.6.1] - 2018-03-30
712
### Fixed
813
- 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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ldclient-js",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"description": "LaunchDarkly SDK for JavaScript",
55
"author": "LaunchDarkly <[email protected]>",
66
"license": "Apache-2.0",

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ function initialize(env, user, options) {
189189
kind: 'custom',
190190
key: key,
191191
data: data,
192+
user: ident.getUser(),
192193
url: window.location.href,
193194
creationDate: (new Date()).getTime()
194195
});

0 commit comments

Comments
 (0)