chatwoot/app/javascript/sdk
Nithin David Thomas 1017903ee1
fix: Adds domain option to user cookies set by SDK [CW-352] (#7070)
* fix: Adds domain option to user cookies set by SDK

* Adds domain to init event from chatwootSettings variable

* Testing multiple domains on heroku

* Updates with sdk from staging

* Removes sdk init code

* Testing why cookie is not getting set

* Cleans up testing code

* Refactors code to fix codeclimate issues

* Update app/javascript/sdk/cookieHelpers.js

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>

* Adds test cases for setCookieWithDomain

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2023-06-08 14:27:49 +05:30
..
specs fix: Adds domain option to user cookies set by SDK [CW-352] (#7070) 2023-06-08 14:27:49 +05:30
bubbleHelpers.js fix: use innerText instead of innerHTML (#6431) 2023-02-10 17:20:15 +05:30
constants.js feat: Add an option to use darkMode only in the widget (#7151) 2023-05-22 09:05:05 +05:30
cookieHelpers.js fix: Adds domain option to user cookies set by SDK [CW-352] (#7070) 2023-06-08 14:27:49 +05:30
DOMHelpers.js chore: Remove unnecessary methods and polyfills (#5614) 2022-10-12 14:42:06 -07:00
IFrameHelper.js fix: Adds domain option to user cookies set by SDK [CW-352] (#7070) 2023-06-08 14:27:49 +05:30
sdk.js fix: Add animation to live chat trigger button (#6252) 2023-01-16 09:07:10 -08:00
settingsHelper.js feat: Support Dark mode for the widget (#4137) 2022-04-01 20:59:03 +05:30