From 6fceae910d4cd8886c88aef7aec00caf129bae1f Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Wed, 8 May 2024 03:11:39 +0000 Subject: [PATCH] release: clickstream Web 0.12.0 --- README.md | 8 ++++---- gtm-template/ClickstreamAnalytics-gtm-template.tpl | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 86c171b..5ee9bfb 100644 --- a/README.md +++ b/README.md @@ -241,16 +241,16 @@ ClickstreamAnalytics.updateConfigure({ ### Integrate the `.tgz` file -Clone this repository locally and execute the following script to generate `aws-clickstream-web-0.11.0.tgz` zip package, which will be located in the project root folder. +Clone this repository locally and execute the following script to generate `aws-clickstream-web-0.12.0.tgz` zip package, which will be located in the project root folder. ```bash cd clickstream-web && npm i && npm run pack ``` -Copy the `aws-clickstream-web-0.11.0.tgz` into your project, then execute the script in your project root folder to install the SDK. +Copy the `aws-clickstream-web-0.12.0.tgz` into your project, then execute the script in your project root folder to install the SDK. ```bash -npm install ./aws-clickstream-web-0.11.0.tgz +npm install ./aws-clickstream-web-0.12.0.tgz ``` -**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.11.0.tgz` file is located. +**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.12.0.tgz` file is located. ### Integrate the `clickstream-web.min.js` file Execute the following script to generate `clickstream-web.min.js`, located in the `/dist` folder. diff --git a/gtm-template/ClickstreamAnalytics-gtm-template.tpl b/gtm-template/ClickstreamAnalytics-gtm-template.tpl index 2785d9b..7bbcfc1 100644 --- a/gtm-template/ClickstreamAnalytics-gtm-template.tpl +++ b/gtm-template/ClickstreamAnalytics-gtm-template.tpl @@ -390,7 +390,7 @@ const onLoadClickstreamSuccess = function () { }); }; -const url = "https://github.com/awslabs/clickstream-web/releases/download/v0.11.0/clickstream-web.min.js"; +const url = "https://github.com/awslabs/clickstream-web/releases/download/v0.12.0/clickstream-web.min.js"; injectScript(url, onLoadClickstreamSuccess, data.gtmOnFailure, 'ClickstreamAnalytics-web'); diff --git a/package-lock.json b/package-lock.json index 7b46baa..d467973 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aws/clickstream-web", - "version": "0.11.0", + "version": "0.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aws/clickstream-web", - "version": "0.11.0", + "version": "0.12.0", "license": "Apache-2.0", "dependencies": { "@aws-amplify/core": "^5.5.1", diff --git a/package.json b/package.json index 58fe1c5..2625f43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aws/clickstream-web", - "version": "0.11.0", + "version": "0.12.0", "description": "ClickstreamAnalytics Web SDK", "license": "Apache-2.0", "main": "./lib/index.js",