Skip to content

Commit

Permalink
chore(release): publish
Browse files Browse the repository at this point in the history
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
  • Loading branch information
amplitude-sdk-bot committed Jun 17, 2024
1 parent 743b9c0 commit 79b78f3
Show file tree
Hide file tree
Showing 21 changed files with 124 additions and 33 deletions.
21 changes: 21 additions & 0 deletions packages/analytics-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.9.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

### Bug Fixes

- adding ability to enable debug logs using cookies
([bc36f08](https://github.com/amplitude/Amplitude-TypeScript/commit/bc36f0893b27d96a676120dadd50dd756921de46))
- don't use global window directly
([7a88927](https://github.com/amplitude/Amplitude-TypeScript/commit/7a88927efe30b15b91d33b2fd05ce76d985c7a9a))
- response with non-json format ([#758](https://github.com/amplitude/Amplitude-TypeScript/issues/758))
([3d234ca](https://github.com/amplitude/Amplitude-TypeScript/commit/3d234ca5a71bacf9ab7f82a115cb2010e94a3a33))

### Features

- **analytics-browser:** consume remote config ([#769](https://github.com/amplitude/Amplitude-TypeScript/issues/769))
([9c4e03c](https://github.com/amplitude/Amplitude-TypeScript/commit/9c4e03c3b3989213ac04410c8b9bf5e78ed393cf))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.8.1](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-24)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This SDK is also available through CDN. Copy the script loader below and paste b
<!-- README_SNIPPET_BLOCK -->
```html
<script type="text/javascript">
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:{}};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e._q.push({name:t,args:Array.prototype.slice.call(r,0)})},i=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))};o(e,t,Array.prototype.slice.call(arguments))}},a=function(e){for(var t=0;t<g.length;t++)i(e,g[t],!1);for(var r=0;r<m.length;r++)i(e,m[r],!0)};r.invoked=!0;var c=t.createElement("script");c.type="text/javascript",c.integrity="sha384-7OMex1WYtzbDAdKl8HtBEJJB+8Yj6zAJRSeZhWCSQmjLGr4H2OBdrKtiw8HEhwgI",c.crossOrigin="anonymous",c.async=!0,c.src="https://cdn.amplitude.com/libs/analytics-browser-2.8.1-min.js.gz",c.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var u=t.getElementsByTagName("script")[0];u.parentNode.insertBefore(c,u);for(var l=function(){return this._q=[],this},p=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],d=0;d<p.length;d++)n(l,p[d]);r.Identify=l;for(var f=function(){return this._q=[],this},v=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],y=0;y<v.length;y++)n(f,v[y]);r.Revenue=f;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset","extendSession"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];a(r),r.createInstance=function(e){return r._iq[e]={_q:[]},a(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:{}};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e._q.push({name:t,args:Array.prototype.slice.call(r,0)})},i=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))};o(e,t,Array.prototype.slice.call(arguments))}},a=function(e){for(var t=0;t<g.length;t++)i(e,g[t],!1);for(var r=0;r<m.length;r++)i(e,m[r],!0)};r.invoked=!0;var c=t.createElement("script");c.type="text/javascript",c.integrity="sha384-Ag5J9qfXqjEfEr4ZgYYyRyytsut42EOm9b21f6k0xdhBxUPlRJhS6qzGBNgGTUnf",c.crossOrigin="anonymous",c.async=!0,c.src="https://cdn.amplitude.com/libs/analytics-browser-2.9.0-min.js.gz",c.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var u=t.getElementsByTagName("script")[0];u.parentNode.insertBefore(c,u);for(var l=function(){return this._q=[],this},p=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],d=0;d<p.length;d++)n(l,p[d]);r.Identify=l;for(var f=function(){return this._q=[],this},y=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],v=0;v<y.length;v++)n(f,y[v]);r.Revenue=f;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset","extendSession"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];a(r),r.createInstance=function(e){return r._iq[e]={_q:[]},a(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
amplitude.init("<YOUR_API_KEY>");
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
s.parentNode.insertBefore(autoTrackingPluginScript, s);
var as = document.createElement('script');
as.type = 'text/javascript';
as.integrity = 'sha384-7OMex1WYtzbDAdKl8HtBEJJB+8Yj6zAJRSeZhWCSQmjLGr4H2OBdrKtiw8HEhwgI';
as.integrity = 'sha384-Ag5J9qfXqjEfEr4ZgYYyRyytsut42EOm9b21f6k0xdhBxUPlRJhS6qzGBNgGTUnf';
as.crossOrigin = 'anonymous';
as.async = false;
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-2.8.1-min.js.gz';
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-2.9.0-min.js.gz';
as.onload = function () {
if (!window.amplitude.runQueuedFunctions) {
console.log('[Amplitude] Error: could not load SDK');
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-browser/generated/amplitude-gtm-snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
amplitude.invoked = true;
var as = document.createElement('script');
as.type = 'text/javascript';
as.integrity = 'sha384-eDok6/6H9kgHspp9YiBlZ5GpGB6hEhC7e5jjtQowkoiHJ3J84/ycC5289ba6CnS/';
as.integrity = 'sha384-9HsNgjJk02De4JrziAnJAuSZoL1qr0j/uknyPyatrUafItOPqYLWco4GQMMeZNyN';
as.crossOrigin = 'anonymous';
as.async = true;
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-gtm-2.8.1-min.js.gz';
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-gtm-2.9.0-min.js.gz';
as.onload = function () {
if (!window.amplitudeGTM.runQueuedFunctions) {
console.log('[Amplitude] Error: could not load SDK');
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-browser/generated/amplitude-snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
amplitude.invoked = true;
var as = document.createElement('script');
as.type = 'text/javascript';
as.integrity = 'sha384-7OMex1WYtzbDAdKl8HtBEJJB+8Yj6zAJRSeZhWCSQmjLGr4H2OBdrKtiw8HEhwgI';
as.integrity = 'sha384-Ag5J9qfXqjEfEr4ZgYYyRyytsut42EOm9b21f6k0xdhBxUPlRJhS6qzGBNgGTUnf';
as.crossOrigin = 'anonymous';
as.async = true;
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-2.8.1-min.js.gz';
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-2.9.0-min.js.gz';
as.onload = function () {
if (!window.amplitude.runQueuedFunctions) {
console.log('[Amplitude] Error: could not load SDK');
Expand Down
10 changes: 5 additions & 5 deletions packages/analytics-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-browser",
"version": "2.8.1",
"version": "2.9.0",
"description": "Official Amplitude SDK for Web",
"keywords": [
"analytics",
Expand Down Expand Up @@ -45,10 +45,10 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-client-common": "^2.2.1",
"@amplitude/analytics-core": "^2.2.8",
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/plugin-page-view-tracking-browser": "^2.2.13",
"@amplitude/analytics-client-common": "^2.2.2",
"@amplitude/analytics-core": "^2.3.0",
"@amplitude/analytics-types": "^2.6.0",
"@amplitude/plugin-page-view-tracking-browser": "^2.2.14",
"tslib": "^2.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-browser/playground/html/amplitude.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/analytics-browser/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '2.8.1';
export const VERSION = '2.9.0';
14 changes: 14 additions & 0 deletions packages/analytics-client-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.2](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

### Bug Fixes

- add cookie storage logs ([#778](https://github.com/amplitude/Amplitude-TypeScript/issues/778))
([743b9c0](https://github.com/amplitude/Amplitude-TypeScript/commit/743b9c053ec4db4fc754da812534c329de4d1fff))
- response with non-json format ([#758](https://github.com/amplitude/Amplitude-TypeScript/issues/758))
([3d234ca](https://github.com/amplitude/Amplitude-TypeScript/commit/3d234ca5a71bacf9ab7f82a115cb2010e94a3a33))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.1](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-24)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-client-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-client-common",
"version": "2.2.1",
"version": "2.2.2",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -36,8 +36,8 @@
},
"dependencies": {
"@amplitude/analytics-connector": "^1.4.8",
"@amplitude/analytics-core": "^2.2.8",
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-core": "^2.3.0",
"@amplitude/analytics-types": "^2.6.0",
"tslib": "^2.4.1"
},
"files": [
Expand Down
12 changes: 12 additions & 0 deletions packages/analytics-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.3.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

### Features

- **analytics-browser:** consume remote config ([#769](https://github.com/amplitude/Amplitude-TypeScript/issues/769))
([9c4e03c](https://github.com/amplitude/Amplitude-TypeScript/commit/9c4e03c3b3989213ac04410c8b9bf5e78ed393cf))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.8](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-21)

**Note:** Version bump only for package @amplitude/analytics-core
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-core",
"version": "2.2.8",
"version": "2.3.0",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -35,7 +35,7 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-types": "^2.6.0",
"tslib": "^2.4.1"
},
"files": [
Expand Down
17 changes: 17 additions & 0 deletions packages/analytics-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.6.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

### Bug Fixes

- adding ability to enable debug logs using cookies
([bc36f08](https://github.com/amplitude/Amplitude-TypeScript/commit/bc36f0893b27d96a676120dadd50dd756921de46))

### Features

- **analytics-browser:** consume remote config ([#769](https://github.com/amplitude/Amplitude-TypeScript/issues/769))
([9c4e03c](https://github.com/amplitude/Amplitude-TypeScript/commit/9c4e03c3b3989213ac04410c8b9bf5e78ed393cf))

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.1](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-21)

**Note:** Version bump only for package @amplitude/analytics-types
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-types",
"version": "2.5.1",
"version": "2.6.0",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down
9 changes: 9 additions & 0 deletions packages/plugin-global-user-properties/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.22](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

**Note:** Version bump only for package @amplitude/plugin-global-user-properties

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.21](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-24)

**Note:** Version bump only for package @amplitude/plugin-global-user-properties
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-global-user-properties/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/plugin-global-user-properties",
"version": "1.2.21",
"version": "1.2.22",
"description": "An event enrichment plugin that adds the experimental global user properties field to events",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -36,11 +36,11 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-types": "^2.6.0",
"tslib": "^2.4.1"
},
"devDependencies": {
"@amplitude/analytics-browser": "^2.8.1",
"@amplitude/analytics-browser": "^2.9.0",
"@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^10.0.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/plugin-page-view-tracking-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.14](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

**Note:** Version bump only for package @amplitude/plugin-page-view-tracking-browser

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.13](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-24)

**Note:** Version bump only for package @amplitude/plugin-page-view-tracking-browser
Expand Down
8 changes: 4 additions & 4 deletions packages/plugin-page-view-tracking-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/plugin-page-view-tracking-browser",
"version": "2.2.13",
"version": "2.2.14",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -36,12 +36,12 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-client-common": "^2.2.1",
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-client-common": "^2.2.2",
"@amplitude/analytics-types": "^2.6.0",
"tslib": "^2.4.1"
},
"devDependencies": {
"@amplitude/analytics-browser": "^2.8.1",
"@amplitude/analytics-browser": "^2.9.0",
"@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^10.0.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/plugin-web-attribution-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.15](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-06-17)

**Note:** Version bump only for package @amplitude/plugin-web-attribution-browser

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.14](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2024-05-24)

**Note:** Version bump only for package @amplitude/plugin-web-attribution-browser
Expand Down
10 changes: 5 additions & 5 deletions packages/plugin-web-attribution-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/plugin-web-attribution-browser",
"version": "2.1.14",
"version": "2.1.15",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -36,13 +36,13 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-client-common": "^2.2.1",
"@amplitude/analytics-core": "^2.2.8",
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-client-common": "^2.2.2",
"@amplitude/analytics-core": "^2.3.0",
"@amplitude/analytics-types": "^2.6.0",
"tslib": "^2.4.1"
},
"devDependencies": {
"@amplitude/analytics-browser": "^2.8.1",
"@amplitude/analytics-browser": "^2.9.0",
"@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^10.0.1",
Expand Down

0 comments on commit 79b78f3

Please sign in to comment.