From adda236e0af58dc290f7fd18796db4bbe105b772 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Thu, 14 Mar 2024 05:24:12 +0000 Subject: [PATCH] release: clickstream Web 0.10.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 164792e..2e83ac1 100644 --- a/README.md +++ b/README.md @@ -226,16 +226,16 @@ ClickstreamAnalytics.updateConfigure({ ### Integrate the `.tgz` file -Clone this repository locally and execute the following script to generate `aws-clickstream-web-0.9.2.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.10.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.9.2.tgz` into your project, then execute the script in your project root folder to install the SDK. +Copy the `aws-clickstream-web-0.10.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.9.2.tgz +npm install ./aws-clickstream-web-0.10.0.tgz ``` -**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.9.2.tgz` file is located. +**Note**: Please correct the SDK version and change the path to where the `aws-clickstream-web-0.10.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 624cb21..1a67a52 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.9.1/clickstream-web.min.js"; +const url = "https://github.com/awslabs/clickstream-web/releases/download/v0.10.0/clickstream-web.min.js"; injectScript(url, onLoadClickstreamSuccess, data.gtmOnFailure, 'ClickstreamAnalytics-web'); diff --git a/package-lock.json b/package-lock.json index 1950f46..65a77f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aws/clickstream-web", - "version": "0.9.2", + "version": "0.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aws/clickstream-web", - "version": "0.9.2", + "version": "0.10.0", "license": "Apache-2.0", "dependencies": { "@aws-amplify/core": "^5.5.1", diff --git a/package.json b/package.json index b745d36..13acb64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aws/clickstream-web", - "version": "0.9.2", + "version": "0.10.0", "description": "ClickstreamAnalytics Web SDK", "license": "Apache-2.0", "main": "./lib/index.ts",