Skip to content

Commit baa598b

Browse files
authored
Release 4.1.0 (#292)
1 parent 503cd5e commit baa598b

6 files changed

Lines changed: 6177 additions & 1154 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 4.1.0 (2024-11-26)
4+
* Fetching ads cookies for Conversion APIs
5+
36
## 4.0.2 (2024-07-25)
47
* Update documentation
58
* Remove preinstall hook

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Install td-js-sdk on your page by copying the appropriate JavaScript snippet bel
6262

6363
```html
6464
<script type="text/javascript">
65-
!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=["addRecord","blockEvents","fetchServerCookie","fetchGlobalID","fetchUserSegments","resetUUID","ready","setSignedMode","setAnonymousMode","set","trackEvent","trackPageview","trackClicks","unblockEvents"],s=0;s<r.length;s++){var c=r[s];e[t].prototype[c]=function(t){return function(){return this["_"+t]=this["_"+t]||[],this["_"+t].push(Array.prototype.slice.call(arguments)),this}}(c)}var n=document.createElement("script"),o=(n.type="text/javascript",n.async=!0,n.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.treasuredata.com/sdk/4.0/td.min.js",document.getElementsByTagName("script")[0]);o.parentNode.insertBefore(n,o)}}("Treasure",this);
65+
!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=["collectTags","addRecord","blockEvents","fetchServerCookie","fetchGlobalID","fetchUserSegments","resetUUID","ready","setSignedMode","setAnonymousMode","set","trackEvent","trackPageview","trackClicks","unblockEvents"],c=0;c<s.length;c++){var o=s[c];e[t].prototype[o]=r(o)}var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.treasuredata.com/sdk/4.1/td.min.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}}("Treasure",this);
6666
</script>
6767
```
6868

dist/td.js

Lines changed: 6164 additions & 1134 deletions
Large diffs are not rendered by default.

dist/td.min.js

Lines changed: 7 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
GLOBAL: 'Treasure',
3-
VERSION: '4.0.2',
3+
VERSION: '4.1.0',
44
HOST: 'in.treasuredata.com',
55
DATABASE: '',
66
PATHNAME: '/'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "td-js-sdk",
3-
"version": "4.0.2",
3+
"version": "4.1.0",
44
"license": "Apache-2.0",
55
"bugs": "https://github.com/treasure-data/td-js-sdk/issues",
66
"description": "Browser JS library for sending events to your Treasure Data account",

0 commit comments

Comments
 (0)