Skip to content

Commit

Permalink
worker
Browse files Browse the repository at this point in the history
  • Loading branch information
turtledreams committed Apr 23, 2024
1 parent 216e79a commit 90f5c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## 24.4.0
! Minor breaking change ! For implementations using `salt` the browser compatability is tied to SubtleCrypto's `digest` method support

- Added the `salt` init config flag to add checksums to requests (for secure web context only, no worker support yet)
- Added the `salt` init config flag to add checksums to requests (for secure contexts only)

## 23.12.6
- Mitigated an issue where error tracking could prevent SDK initialization in async mode
Expand Down
3 changes: 1 addition & 2 deletions lib/countly.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@
str.push(i + "=" + encodeURIComponent(params[i]));
}
var data = str.join("&");
if (salt && isBrowser) {
// no web worker support (yet!)
if (salt) {
return calculateChecksum(data, salt).then(function (checksum) {
data += "&checksum256=" + checksum;
return data;
Expand Down

0 comments on commit 90f5c86

Please sign in to comment.