Socket
Socket
Sign inDemoInstall

clevertap-web-sdk

Package Overview
Dependencies
Maintainers
5
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clevertap-web-sdk - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

5

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
## [1.3.5] - 23 Dec, 2022
- Fixes cases where a requests were processed twice from cache
- Multiple On User Login requests can be fired consequtively.
- Dynamic image dimensions for web carousel
- Adds offline mode, where events can be queued and sent at a desired time later
## [1.3.4] - 1 Dec, 2022

@@ -5,0 +10,0 @@ - Fixes cases where multiple request can be fired without a gcookie.

2

package.json
{
"name": "clevertap-web-sdk",
"version": "1.3.4",
"version": "1.3.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "clevertap.js",

@@ -154,2 +154,17 @@ <p align="center">

### Offline Mode
The offline mode allows setting CleverTap SDK to offline. The `setOffline` method determines the SDK online state. By default the offline state of the sdk is set to `false`.
However, once the `setOffline` method is passed with `true` as described below, the CleverTap SDK goes offline. All the events are recorded and queued locally, but they are not sent to the CleverTap server.
When the `setOffline` method is passed with `false`, as described below, the CleverTap SDK goes online, and the queued events are sent to the server immediately.
```javascript
clevertap.setOffline(true) // sets the sdk in offline mode.Events will be queued locally and will be fired only when offline mode is set to false
clevertap.setOffline(false) // disables the offline mode. Events will now get fired immediately
```
### Debugging

@@ -156,0 +171,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc