From 461c45b1beb3a4296c86b7c19f3b84d90132f4da Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Thu, 16 May 2024 10:05:05 +0000 Subject: [PATCH] release: clickstream Web 0.12.1 --- 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 5ee9bfb..eed69d4 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.12.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.1.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.12.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.1.tgz` into your project, then execute the script in your project root folder to install the SDK. ```bash -npm install ./aws-clickstream-web-0.12.0.tgz +npm install ./aws-clickstream-web-0.12.1.tgz ``` -**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.12.0.tgz` file is located. +**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.12.1.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 7bbcfc1..f613265 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.12.0/clickstream-web.min.js"; +const url = "https://github.com/awslabs/clickstream-web/releases/download/v0.12.1/clickstream-web.min.js"; injectScript(url, onLoadClickstreamSuccess, data.gtmOnFailure, 'ClickstreamAnalytics-web'); diff --git a/package-lock.json b/package-lock.json index d467973..4f6032f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aws/clickstream-web", - "version": "0.12.0", + "version": "0.12.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aws/clickstream-web", - "version": "0.12.0", + "version": "0.12.1", "license": "Apache-2.0", "dependencies": { "@aws-amplify/core": "^5.5.1", diff --git a/package.json b/package.json index 2625f43..3a3f71a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aws/clickstream-web", - "version": "0.12.0", + "version": "0.12.1", "description": "ClickstreamAnalytics Web SDK", "license": "Apache-2.0", "main": "./lib/index.js",