Skip to content

Commit

Permalink
Web SDK Release v1.11.2 (#285)
Browse files Browse the repository at this point in the history
* fix: account id was undefined (#274)

* Web Push Prompt css fix (#276)

* Updated font size and font-weight

* Corrected styling for web push prompt box

* Additional Triggers and Clicks for Web Popup (#278)

* Added additional triggers and click logic. Refactored tr.js

* handle preview cases

* handling dismissSpamControl Logic

* delay handling in exit intent

* removed console log

* fix: added chanelogs

* feat: updated SDK to 1.11.0

* fix: updated package json version

* Web Push prompt button styling fix (#281)

* prompt button style fix

* prompt css fix

* Fixed image styling

* Web Popup delay bugfix (#280)

* Web Popup delay bugfix

* changelog and package json update

* Updated changelog

* Updated build files

* Popup rendering fix in iframe (#284)

* Fixed the iframe search on specific iframe

* Updated changelog and package.json

---------

Co-authored-by: Yusuf Khan <[email protected]>
Co-authored-by: kkyusuftk <[email protected]>
Co-authored-by: raghav.gupta <[email protected]>
Co-authored-by: Raghav Gupta <[email protected]>
  • Loading branch information
5 people authored Oct 17, 2024
1 parent 7420a8c commit 8bbd467
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.11.2] - 17 Oct, 2024
- Fixes a bug where Web Popup Campaign was not working if other iframes present on DOM.

## [1.11.1] - 16 Oct, 2024
- Fixes a bug where delay was not working for Web Popup Campaigns

Expand Down
8 changes: 4 additions & 4 deletions clevertap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clevertap.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clevertap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clevertap-web-sdk",
"version": "1.11.1",
"version": "1.11.2",
"description": "",
"main": "clevertap.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/util/tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const _tr = (msg, {
}

const isExistingCampaign = (campaignId) => {
const testIframe = document.querySelector('iframe')
const testIframe = document.getElementById('wiz-iframe-intent') || document.getElementById('wiz-iframe')
if (testIframe) {
const iframeDocument = testIframe.contentDocument || testIframe.contentWindow.document
return iframeDocument.documentElement.innerHTML.includes(campaignId)
Expand Down

0 comments on commit 8bbd467

Please sign in to comment.