Skip to content

Commit

Permalink
Merge pull request #34 from CleverTap/develop
Browse files Browse the repository at this point in the history
[SDK-967] Release v1.1.0
  • Loading branch information
akashvercetti authored Dec 1, 2021
2 parents f1fdbb8 + 7339cd2 commit 29a546a
Show file tree
Hide file tree
Showing 20 changed files with 5,137 additions and 4,811 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Configure AWS credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_REGION }}
# - name: Copy file to S3
# # S3_bucket/clevertap.js for beta, /a.js when moving to prod for all
# run: |
# aws s3 cp clevertap.min.js s3://${{ secrets.S3_BUCKET_PATH }}
# - name: Configure AWS credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_REGION }}
# - name: Copy file to S3
# # S3_bucket/clevertap.js for beta, /a.js when moving to prod for all
# run: |
# aws s3 cp clevertap.min.js s3://${{ secrets.S3_BUCKET_PATH }}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.1.0] - 1 Dec, 2021
- Adds new Public API to record Notification Clicked Event for Custom Web Popups
- Handle Shopify websites for serviceworker registration ready state
- Use `clevertap-prod.com` instead of `wzrkt.com` as endpoint
- Fixed a bug where the push token wasn't being transfered/registered right after a new user logs in.
- Fixed a bug where the useIP flag value being not considered.
- Fixed a bug where the service worker was never ready when it wasn't at root location.

## [1.0.0] - 22 Apr, 2021
We are super excited to announce the launch of `CleverTap Web SDK`.
This release is fully compatible with the existing `a.js` provided by CleverTap for web analytics and engagement.
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<p align="center">
<img src="https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png" width = "50%"/>
</p>

# CleverTap Web SDK

![npm version](https://img.shields.io/npm/v/clevertap-web-sdk)
<a href="https://github.com/CleverTap/clevertap-web-sdk/releases">
<img src="https://img.shields.io/github/release/CleverTap/clevertap-web-sdk.svg" />
</a>
[![npm downloads](https://img.shields.io/npm/dm/clevertap-web-sdk.svg)](https://www.npmjs.com/package/clevertap-web-sdk)

## 👋 Introduction

Expand All @@ -16,15 +24,15 @@ To get started, sign up [here](https://clevertap.com/live-product-demo/)

CleverTap Web SDK is available as an npm package or as a script to manually add to your website.

### ___Use a package manager___
### Use a package manager

```npm install clevertap-web-sdk --save```

or

```yarn add clevertap-web-sdk```

### ___Manually add the script___
### Manually add the script

```html
<script type="text/javascript">
Expand Down Expand Up @@ -162,15 +170,15 @@ clevertap.setLogLevel(LOG_LEVEL)


## 𝌡 Example Usage
* A [react application](https://github.com/CleverTap/clevertap-web-sdk/tree/master/example-apps/react) showing the integration of our SDK in a create react app project.
* An [angular application](https://github.com/CleverTap/clevertap-web-sdk/tree/master/example-apps/angular) showing the integration of our SDK in an Angular CLI generated project.
* A [React Application](/example-apps/react) showing the integration of our SDK in a create react app project.
* An [Angular Application](/example-apps/angular) showing the integration of our SDK in an Angular CLI generated project.


## 🆕 Change Log

Refer to the [CleverTap Web SDK Change Log](https://github.com/CleverTap/clevertap-web-sdk/blob/master/CHANGELOG.md).
Refer to the [CleverTap Web SDK Change Log](/CHANGELOG.md).

## 📄 License

CleverTap Web SDK is released under the MIT license. See [LICENSE](https://github.com/CleverTap/clevertap-web-sdk/blob/master/LICENSE) for details.
CleverTap Web SDK is released under the MIT license. See [LICENSE](/LICENSE) for details.

Loading

0 comments on commit 29a546a

Please sign in to comment.