Skip to content

Commit

Permalink
Release 4.1.0 (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
imnutz authored Nov 26, 2024
1 parent 503cd5e commit baa598b
Show file tree
Hide file tree
Showing 6 changed files with 6,177 additions and 1,154 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.1.0 (2024-11-26)
* Fetching ads cookies for Conversion APIs

## 4.0.2 (2024-07-25)
* Update documentation
* Remove preinstall hook
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Install td-js-sdk on your page by copying the appropriate JavaScript snippet bel

```html
<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=["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);
!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);
</script>
```

Expand Down
7,298 changes: 6,164 additions & 1,134 deletions dist/td.js

Large diffs are not rendered by default.

24 changes: 7 additions & 17 deletions dist/td.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
GLOBAL: 'Treasure',
VERSION: '4.0.2',
VERSION: '4.1.0',
HOST: 'in.treasuredata.com',
DATABASE: '',
PATHNAME: '/'
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": "td-js-sdk",
"version": "4.0.2",
"version": "4.1.0",
"license": "Apache-2.0",
"bugs": "https://github.com/treasure-data/td-js-sdk/issues",
"description": "Browser JS library for sending events to your Treasure Data account",
Expand Down

0 comments on commit baa598b

Please sign in to comment.