91 Commits

Author SHA1 Message Date
Zoe Yang
ee35895cf6 update old versions 2024-05-28 14:44:51 -07:00
Sam Martin
d934c35e53 updating package version 2024-02-26 08:09:38 -08:00
Sam Martin
677254b2bf ensuring we wait for initial dom to load before returning from visualize setup 2024-01-26 12:32:39 -08:00
Sam Martin
92058186d0 missing build change 2023-11-17 11:08:31 -08:00
Sam Martin
7a04326287 making adoptedStyles optional module 2023-11-14 11:07:56 -08:00
Sam Martin
6d01bea01d handling null animation targets without visualization side effects 2023-11-13 19:39:22 -08:00
Mustafa Leithy
d3c67358a0 version bump 2023-11-12 14:33:09 +02:00
Sam Martin
d220b22c2a grabbing css content for electron apps rather than references 2023-11-02 15:17:41 -07:00
Sam Martin
510a75a811 augmenting consent api to enable webmasters to indicate consent was revoked. will clear cookies and start a new clarity session 2023-10-25 13:59:13 -07:00
Sam Martin
e836d99691 checking effect at run time to ensure it has keyframes and timing 2023-10-16 14:47:01 -07:00
Mustafa Leithy
0f1e3adb70 version bump 2023-10-11 22:57:11 +03:00
Sam Martin
d60bc90fe2 version rev 2023-09-25 10:37:40 -07:00
Sam Martin
34d12c81a8 updating version 2023-08-30 16:01:04 -07:00
Sam Martin
98eca34f82 moving to 0.7.10 2023-08-02 12:22:42 -07:00
Sam Martin
e30e3dfb7a support for an image proxy service 2023-07-31 16:28:37 -07:00
Alaa Megahed
65bcde5fa7 Add DOB to clarity cookie (#380)
* Add dob to clarity cookie.

* Use UTC date.

* Update version.

* Send DOB as a dimension not an envelope field.

* Set dob by the server.

* Only add DOB to the cookie if it's not null.

---------

Co-authored-by: alaamegahed <alaamegahed@microsoft.com>
Co-authored-by: Sarvesh Nagpal <sarveshnagpal@gmail.com>
2023-05-08 21:08:51 -07:00
Sam Martin
6252cbca50 bumping version 2023-04-04 14:21:34 -07:00
Sarvesh Nagpal
59b32fc739 Bumping version to 0.7.6 2023-03-24 06:54:12 -07:00
Swaathee Radhakrishnan
df91d96aa1 resolve comments and version update 2023-03-07 13:29:54 -08:00
Sarvesh Nagpal
3030d902f5 Updating all packages and building insights bundle (#347)
* Updating all packages and building insights bundle

* Visualization bug fixes to better handle shadow DOM

* Bumping version to 0.7.3

* Bump http-cache-semantics from 4.1.0 to 4.1.1 (#340)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump json5 from 1.0.1 to 1.0.2 (#325)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sarvesh Nagpal <sarveshnagpal@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:40:20 -08:00
Sarvesh Nagpal
66456871aa Bug fixes based on user feedback (#343)
* Bug Fixes

* Bumping version to 0.7.2

* add proxy and error logger (#337)

* bugfixes (#344)

- Wait for stylesheets and fonts to load
- Null check layout
- Rename logger

Co-authored-by: Sohaida Salaheldin <soreyad@microsoft.com>

* Addressing PR feedback

---------

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
Co-authored-by: sosalah <123548776+sosalah@users.noreply.github.com>
Co-authored-by: Sohaida Salaheldin <soreyad@microsoft.com>
2023-02-07 19:40:31 -08:00
Sarvesh Nagpal
1c817777a0 Bug fix to handle text nodes under SELECT tag (#318)
* Bug fix to handle text nodes under SELECT tag

* Bumping version to 0.7.1

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
2022-12-14 08:30:13 -08:00
Sarvesh Nagpal
37eb5cb3c1 Clarity 0.7.0 Updates (#316)
* Clarity updates

* Bumping version to 0.7.0

* Addressing PR feedback

* Adding tests for change event

* Added pathname in order to correctly load relative path address. (#296)

* Added pathname in order to correctly load relative path address.

* Implemented handle to not overwrite the predefined base tag (in case the page already contains one).
Properly applying base tag inside iframes.

* Refactoring code to infer right base tag

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
Co-authored-by: Matheus Inácio <29243277+matheus-inacio@users.noreply.github.com>
2022-12-11 11:30:49 -08:00
Sam Martin
25d2d47bac strong equality check and missing verison update 2022-10-14 08:43:43 -07:00
Sarvesh Nagpal
08de741dbe Dependabot alerts, bug fixes and unit test updates (#277)
* Minor bug fixes and test updates

* Resolving dependabot alerts

* Bumping version to 0.6.41

* adding callback support for server initiated actions (#276)

* handling null action

Co-authored-by: Sam Martin <samart@microsoft.com>

* Adding support for server actions

Co-authored-by: Sam Martin <samart@microsoft.com>
2022-09-19 08:01:30 -07:00
Sarvesh Nagpal
82d325cde2 Add support for alpha selector (#270)
* Adding support for alpha selector

* Bumping up version to 0.6.40

* exclude svg:style children text nodes from masking. hence will be treated like style and title tags (#268)

Co-authored-by: Sarvesh Nagpal <sarveshnagpal@gmail.com>

* Addressing PR feedback

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
Co-authored-by: Mostafa Alaa <mostafa-alaa@outlook.com>
2022-08-29 20:17:08 -07:00
Sarvesh Nagpal
0615c00ee0 Bug fix: Older browser compatibility (#265)
* Browser compatibility bug fix

* Bumping version to 0.6.39

* append audio element to the DOM (#264)

Co-authored-by: Mahitab <maema@microsoft.com>

Co-authored-by: MahitabEmam1 <82945941+MahitabEmam1@users.noreply.github.com>
Co-authored-by: Mahitab <maema@microsoft.com>
2022-08-11 17:09:03 -07:00
Sarvesh Nagpal
5a8f56393c Masking logic update + bug fixes (#263)
* Update masking logic and unit tests

* Using wheel event for better browser compatibility

* Bumping version to 0.6.38

* Updating comments
2022-08-10 16:27:44 -07:00
Sarvesh Nagpal
5850baf1ab Bug fix and updating unit tests for masking (#261)
* Bug fix and updating unit tests for masking

* Bumping up version to 0.6.37

* Bump terser from 5.10.0 to 5.14.2 (#260)

* Updating package versions
2022-08-04 09:44:37 -07:00
Sarvesh Nagpal
cf70242e9d Refactor privacy code and performance improvements (#239)
* Refactor privacy code and performance improvements

* Bump minimist from 1.2.5 to 1.2.6 (#233)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bumping version to 0.6.35

* Track memory consumption as a metric

* Add support for fraud detection

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 15:51:12 -07:00
Sarvesh Nagpal
a46053c332 Perf improvement & bug fix to improve Angular SPA (#214)
* Perf improvement & bug fix to improve Angular SPA

* Fixing lint errors

* Bumping version to 0.6.32

* Bump shelljs from 0.8.4 to 0.8.5 (#209)

Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Refactor the send payload function (#203)

* bind the sendBeacon to navigator before passing reference

* surround the sendBeacon call with try catch bloc

* removed console.error from catch bloc for performance reasons

* Update packages and comments

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Djeghri Houssem <35101902+HoussemDjeghri@users.noreply.github.com>
2022-02-02 12:03:55 -08:00
Sarvesh Nagpal
c7c9724e47 Bumping version to 0.6.30 (#201) 2021-12-09 12:51:54 -08:00
Sarvesh Nagpal
46b0daafb6 Bug fixes and monitoring updates (#188)
* Updating reporting logic and beta selectors

* Bumping version to 0.6.28

* Update packages/clarity-js/src/layout/selector.ts

Co-authored-by: Xu Gao <xugao0131@hotmail.com>

* extract user agent data from client hints api (#189)

* extract user agent data from client hints api

Co-authored-by: Xu Gao <xugao0131@hotmail.com>
Co-authored-by: swaathee <swaathee@users.noreply.github.com>
2021-11-10 10:01:15 -08:00
Sarvesh Nagpal
a9eea076a8 Minor data updates (#186)
* Minor data updates

* Bumping version to 0.6.27

* Fix lint errors and an edge case with shadow DOM
2021-11-01 07:45:31 -07:00
Sarvesh Nagpal
4868c6b151 Simplify selector logic in clarity-js (#174)
* Simplify selector logic in clarity-js

* Addressing PR feedback

* Bumping version to 0.6.26

* Reset counter after a successful history operation

* Bug fixes related to shadow dom

* Bug fix to enable standalone calls to merge function

* Handling empty selectors

* Ability to lookup value by hash and extension bug fixes
2021-10-28 14:22:19 -07:00
Sarvesh Nagpal
81d1b7f505 Bumping version to 0.6.25 2021-10-10 10:48:25 -07:00
Sarvesh Nagpal
d263871ecc Performance optimizations (#164)
* Performance optimizations

* Tracking consent in a cookie

* Ignore report-only CSP violations

* Bumping version to 0.6.22
2021-08-17 21:28:47 -07:00
Sarvesh Nagpal
afef6ad6a5 Add support for a fallback upload URL (#163)
* Add support for a fallback upload URL

* Bump client version to 0.6.21

* Refactor report module and PR feedback

* Fixing security alert

* Fix comments

* Minimizing cookie churn and improving logic to find root domain

* Address PR feedback

* Bug fix
2021-08-12 09:55:33 -07:00
Sarvesh Nagpal
fb8da28465 Persisting server location as part of session information (#161)
* Persisting server location in the session

* Bumping version to 0.6.20

* Bug fixes

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
2021-08-05 21:33:54 -07:00
Sarvesh Nagpal
093a931b1e Prevent running multiple instances of Clarity simultaneously (#160)
* Prevent running multiple instances of Clarity

* Bumping version to 0.6.19
2021-08-04 15:48:09 -07:00
Sarvesh Nagpal
87b5a33f9a Add support for cross sub-domain sessions (#156)
* Add support for cross sub-domain sessions

* Bumping version to 0.6.18

* Addressing PR feedback and bug fix

* Visualization update to add alt tag on images
2021-07-29 16:24:47 -07:00
Sarvesh Nagpal
42c72e6d6a Reduce frequency of upload calls (#153)
* Reduce frequency of upload calls

* Compatibility with vue-fragment and PR feedback

* Bumping version to 0.6.17

* Upgrading packages and better mutation suspension logic

* Better handle async task execution across pages

* Updating trim-newlines version

* Bug fix: horizontal scrolling on elements
2021-07-21 14:33:58 -07:00
Sarvesh Nagpal
65aa9401de Using CompressionStream where supported (#148)
* Using CompressionStream where supported

* Set accept header when sending compressed bytes

* Adding try catch around compression code

* Bumping up the version to 0.6.16

* Upgrading package dependencies to latest version

* visualization bug fix (#149)

Co-authored-by: Sarvesh Nagpal <sarveshn@microsoft.com>
Co-authored-by: swaathee <swaathee@users.noreply.github.com>
2021-06-30 11:20:39 -07:00
Sarvesh Nagpal
2ad9f11533 Performance improvements and simplifying regions (#137)
* Simplifying regions

* Bumping version to 0.6.14

* Throttling repeated mutations and other bug fixes

* scroll map changes (#139)

* Unblocking visualization using jsdom

* Addressing PR feedback and visualization updates

* Bumping version to 0.6.15

* Refactoring types

* Extend visualization to work against any target and not  only iframe

* Simplifying visualization interface

* log direction

* Sending one region update per event

* Addressing PR feedback

* Fix build step to not use typescript cache

* Visualizatoin updates

* heatmap changes (#147)

Co-authored-by: Swaathee Radhakrishnan <swradhak@microsoft.com>
2021-06-21 14:56:43 -07:00
Swaathee Radhakrishnan
9ac99de294 bump version 2021-06-07 16:30:50 -07:00
Sarvesh Nagpal
380a3fe6b9 Bumping version to 0.6.13 2021-05-17 10:28:17 -07:00
Sarvesh Nagpal
767ecd86e0 Upgrading yarn packages 2021-05-17 10:26:01 -07:00
Sarvesh Nagpal
1513bc84c5 JSON+LD fixes and moving sessionization to use cookies (#128)
* Using cookies for sessionization

* Bumping version to 0.6.12

* Addressing PR feedback
2021-04-11 14:39:33 -07:00
Sarvesh Nagpal
b450d2f6f6 Changes to sessionization logic and price extraction (#127)
* Changes to sessionization and  price extraction

* Bumping version to 0.6.11

* Addressing PR feedback

* Fixes to backward compatibility
2021-04-09 21:50:47 -07:00
Sarvesh Nagpal
b2dd599629 Support for metrics via DOM (#121)
* Support for metrics via DOM

* Bumping version to 0.6.10

* Bug fix to match query selectors on sub-tree mutations
2021-03-18 12:13:37 -07:00