You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

td-js-sdk

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

td-js-sdk - npm Package Compare versions

Comparing version

to
1.8.1

6

CHANGELOG.md
# Changelog
## 1.8.1 (2017-5-01)
* Allow for CDP host to be configured
## 1.8.0 (2017-4-24)
* Add fetchUserSegments
## 1.7.2 (2016-12-15)

@@ -4,0 +10,0 @@

4

lib/plugins/personalization.js

@@ -14,3 +14,5 @@ var jsonp = require('jsonp')

jsonp('https://cdp.in.treasuredata.com/cdp/lookup/collect/segments?token=' + audienceToken, {
var url = this.client.protocol + '//cdp.' + this.client.host + '/cdp/lookup/collect/segments?token=' + audienceToken
jsonp(url, {
prefix: 'TreasureJSONPCallback',

@@ -17,0 +19,0 @@ timeout: 10000

{
"name": "td-js-sdk",
"version": "1.8.0",
"version": "1.8.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/treasure-data/td-js-sdk/issues",

@@ -291,2 +291,3 @@ # td-js-sdk

```
*N.B.* This feature is not enabled on accounts by defaut, please contact support for more information.

@@ -293,0 +294,0 @@ ### Treasure#trackClicks