New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sa-sdk-javascript

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sa-sdk-javascript - npm Package Compare versions

Comparing version 1.8.14 to 1.9.1

heatmap.min.js

2

package.json
{
"name": "sa-sdk-javascript",
"version": "1.8.14",
"version": "1.9.1",
"description": "official sensorsdata javascript sdk",

@@ -5,0 +5,0 @@ "main": "sensorsdata.min.js",

@@ -5,3 +5,3 @@ # sa-sdk-javascript

完整文档请[点击这里](http://www.sensorsdata.cn/manual/js_sdk.html),如有疑问请联系邮箱 shengyonggen@sensorsdata.cn,着急联系qq=522370351。
完整文档请[点击这里](http://www.sensorsdata.cn/manual/js_sdk.html),如有疑问请联系邮箱 shengyonggen@sensorsdata.cn。

@@ -8,0 +8,0 @@ 目录说明:

@@ -87,7 +87,12 @@ /**

},
callback_timeout: 1500,
callback_timeout: 1000,
is_track_device_id: false,
use_app_track: false
use_app_track: false,
heatmap: {
clickmap:'default',
scroll_notice_map:'default'
}
};

@@ -106,2 +111,14 @@

}
sd.para.heatmap_url = sd.para.heatmap_url || sd.para.sdk_url.replace(/[^\/]+\.min\.js/,'heatmap.min.js');
if(_.isObject(sd.para.heatmap)) {
if(_.isEmptyObject(sd.para.heatmap)){
sd.para.heatmap = sd.para_default.heatmap;
}else{
sd.para.heatmap = _.extend(sd.para_default.heatmap,sd.para.heatmap);
}
sd.para.heatmap.scroll_delay_time = sd.para.heatmap.scroll_delay_time || 4000;
}
// 优化配置

@@ -108,0 +125,0 @@ if(typeof sd.para.server_url === 'object' && sd.para.server_url.length){

@@ -1,1 +0,1 @@

var sensorsdata_js_sdk_latest_version = '1.8.14';
var sensorsdata_js_sdk_latest_version = '1.9.1';

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

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

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

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

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

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