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.7.2

yarn.lock

4

CHANGELOG.md
# Changelog
## 1.7.2 (2016-12-15)
* When available, use record's time to overwrite the default import time
## 1.7.1 (2016-11-01)

@@ -4,0 +8,0 @@

@@ -54,2 +54,6 @@ /**

if (request.time) {
params.push('time=' + encodeURIComponent(request.time))
}
var jsonpUrl = request.url + '?' + params.join('&')

@@ -113,8 +117,13 @@ jsonp(jsonpUrl, {

var request = {
url: this.client.endpoint + this.client.database + '/' + table,
apikey: this.client.writeKey,
record: this.applyProperties(table, record),
time: null,
type: this.client.requestType,
apikey: this.client.writeKey
url: this.client.endpoint + this.client.database + '/' + table
}
if (request.record.time) {
request.time = request.record.time
}
if (this.client.development) {

@@ -121,0 +130,0 @@ this.log('addRecord', request)

2

lib/version.js

@@ -1,1 +0,1 @@

module.exports = '1.7.1'
module.exports = '1.7.2'
{
"name": "td-js-sdk",
"version": "1.7.1",
"version": "1.7.2",
"license": "Apache-2.0",

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

"test": "standard && node ./bin/test.js",
"test-full": "zuul --concurrency 1 --disable-tunnel -- test/*.spec.js",
"test-full": "zuul --concurrency 1 -- test/*.spec.js",
"test-local": "zuul --local 11111 --no-coverage -- test/*.spec.js",

@@ -58,4 +58,3 @@ "test-phantom": "zuul --phantom -- test/*.spec.js"

"webpack": "^1.13.1",
"zuul": "^3.9.0",
"zuul-ngrok": "^4.0.0"
"zuul": "^3.11.1"
},

@@ -67,5 +66,5 @@ "dependencies": {

"json3": "^3.3.2",
"jsonp": "^0.2.0",
"jsonp": "0.2.0",
"lodash-compat": "^3.10.1"
}
}

@@ -15,3 +15,3 @@ # td-js-sdk

<script type="text/javascript">
!function(t,e){if(void 0===e[t]){e[t]=function(){e[t].clients.push(this),this._init=[Array.prototype.slice.call(arguments)]},e[t].clients=[];for(var r=function(t){return function(){return this["_"+t]=this["_"+t]||[],this["_"+t].push(Array.prototype.slice.call(arguments)),this}},s=["addRecord","set","trackEvent","trackPageview","trackClicks","ready"],a=0;a<s.length;a++){var c=s[a];e[t].prototype[c]=r(c)}var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.treasuredata.com/sdk/1.7.1/td.min.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}}("Treasure",this);
!function(t,e){if(void 0===e[t]){e[t]=function(){e[t].clients.push(this),this._init=[Array.prototype.slice.call(arguments)]},e[t].clients=[];for(var r=function(t){return function(){return this["_"+t]=this["_"+t]||[],this["_"+t].push(Array.prototype.slice.call(arguments)),this}},s=["addRecord","set","trackEvent","trackPageview","trackClicks","ready"],a=0;a<s.length;a++){var c=s[a];e[t].prototype[c]=r(c)}var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.treasuredata.com/js-sdk/1.7.2/td.min.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}}("Treasure",this);
</script>

@@ -18,0 +18,0 @@ ```

Sorry, the diff of this file is not supported yet