Skip to content

Commit

Permalink
supportr
Browse files Browse the repository at this point in the history
  • Loading branch information
turtledreams committed Apr 4, 2024
1 parent f7571d3 commit 3a68d7d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 23.12.7

* Added support for responsive Feedback Widgets

## 23.12.6

* Mitigated an issue where error tracking could prevent SDK initialization in async mode
Expand Down
2 changes: 1 addition & 1 deletion modules/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var healthCheckCounterEnum = Object.freeze({
errorMessage: "cly_hc_error_message",
});

var SDK_VERSION = "23.12.5";
var SDK_VERSION = "23.12.7";
var SDK_NAME = "javascript_native_web";

// Using this on document.referrer would return an array with 17 elements in it. The 12th element (array[11]) would be the path we are looking for. Others would be things like password and such (use https://regex101.com/ to check more)
Expand Down
2 changes: 2 additions & 0 deletions modules/CountlyClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -3064,6 +3064,8 @@ class CountlyClass {
if (feedbackWidgetSegmentation) {
var customObjectToSendWithTheWidget = {};
customObjectToSendWithTheWidget.sg = feedbackWidgetSegmentation;
customObjectToSendWithTheWidget.tc = 1; // indicates SDK supports opening links from the widget in a new tab
customObjectToSendWithTheWidget.rw = 1; // indicates SDK supports responsive widgets
url += "&custom=" + JSON.stringify(customObjectToSendWithTheWidget);
}
// Origin is passed to the popup so that it passes it back in the postMessage event
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "countly-sdk-js",
"version": "23.12.5",
"version": "23.12.7",
"description": "Countly JavaScript SDK",
"type": "module",
"main": "Countly.js",
Expand Down

0 comments on commit 3a68d7d

Please sign in to comment.