Skip to content

Commit a1ff33e

Browse files
author
shengyonggen
committed
Release 1.18.5
1 parent 9fd1a76 commit a1ff33e

14 files changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.18.5 (2021-7-17)
2+
1. 修复
3+
- 修复第三方工具压缩源码导致初始化异常问题
4+
15
## 1.18.4 (2021-7-14)
26
1. 修复
37
- 自定义属性功能开关默认修改为关闭

core/sensorsdata.amd.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/sensorsdata.es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/sensorsdata.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

heatmap.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sa-sdk-javascript",
3-
"version": "1.18.4",
3+
"version": "1.18.5",
44
"description": "official sensorsdata javascript sdk",
55
"main": "sensorsdata.min.js",
66
"scripts": {

product/heatmap.full.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9405,7 +9405,7 @@
94059405

94069406
window.sa_jssdk_heatmap_render = function(se, data, type, url) {
94079407
sd = se;
9408-
sd.heatmap_version = '1.18.4';
9408+
sd.heatmap_version = '1.18.5';
94099409
_ = sd._;
94109410

94119411
_.bindReady = function(fn, win) {

product/sensorsdata.amd.full.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3374,7 +3374,7 @@
33743374

33753375
sd.setInitVar = function() {
33763376
sd._t = sd._t || 1 * new Date();
3377-
sd.lib_version = '1.18.4';
3377+
sd.lib_version = '1.18.5';
33783378
sd.is_first_visitor = false;
33793379
sd.source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
33803380
};
@@ -4279,7 +4279,7 @@
42794279
source: 'sa-web-sdk',
42804280
type: 'v-is-vtrack',
42814281
data: {
4282-
sdkversion: '1.18.4'
4282+
sdkversion: '1.18.5'
42834283
}
42844284
},
42854285
'*'
@@ -6114,8 +6114,8 @@
61146114
return isNaN(a) ? 0 : a;
61156115
},
61166116
W: function(a) {
6117-
var b = parseInt(+a.clientX + +this.na(), 10);
6118-
var a = parseInt(+a.clientY + +this.i(), 10);
6117+
var b = parseInt(+a.clientX + Number(this.na()), 10);
6118+
var a = parseInt(+a.clientY + Number(this.i()), 10);
61196119
return {
61206120
x: isNaN(b) ? 0 : b,
61216121
y: isNaN(a) ? 0 : a

product/sensorsdata.es6.full.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3368,7 +3368,7 @@ sd.setPreConfig = function(sa) {
33683368

33693369
sd.setInitVar = function() {
33703370
sd._t = sd._t || 1 * new Date();
3371-
sd.lib_version = '1.18.4';
3371+
sd.lib_version = '1.18.5';
33723372
sd.is_first_visitor = false;
33733373
sd.source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
33743374
};
@@ -4273,7 +4273,7 @@ sd.detectMode = function() {
42734273
source: 'sa-web-sdk',
42744274
type: 'v-is-vtrack',
42754275
data: {
4276-
sdkversion: '1.18.4'
4276+
sdkversion: '1.18.5'
42774277
}
42784278
},
42794279
'*'
@@ -6108,8 +6108,8 @@ var heatmap = (sd.heatmap = {
61086108
return isNaN(a) ? 0 : a;
61096109
},
61106110
W: function(a) {
6111-
var b = parseInt(+a.clientX + +this.na(), 10);
6112-
var a = parseInt(+a.clientY + +this.i(), 10);
6111+
var b = parseInt(+a.clientX + Number(this.na()), 10);
6112+
var a = parseInt(+a.clientY + Number(this.i()), 10);
61136113
return {
61146114
x: isNaN(b) ? 0 : b,
61156115
y: isNaN(a) ? 0 : a

product/sensorsdata.full.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3376,7 +3376,7 @@
33763376

33773377
sd.setInitVar = function() {
33783378
sd._t = sd._t || 1 * new Date();
3379-
sd.lib_version = '1.18.4';
3379+
sd.lib_version = '1.18.5';
33803380
sd.is_first_visitor = false;
33813381
sd.source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
33823382
};
@@ -4281,7 +4281,7 @@
42814281
source: 'sa-web-sdk',
42824282
type: 'v-is-vtrack',
42834283
data: {
4284-
sdkversion: '1.18.4'
4284+
sdkversion: '1.18.5'
42854285
}
42864286
},
42874287
'*'
@@ -6116,8 +6116,8 @@
61166116
return isNaN(a) ? 0 : a;
61176117
},
61186118
W: function(a) {
6119-
var b = parseInt(+a.clientX + +this.na(), 10);
6120-
var a = parseInt(+a.clientY + +this.i(), 10);
6119+
var b = parseInt(+a.clientX + Number(this.na()), 10);
6120+
var a = parseInt(+a.clientY + Number(this.i()), 10);
61216121
return {
61226122
x: isNaN(b) ? 0 : b,
61236123
y: isNaN(a) ? 0 : a

0 commit comments

Comments
 (0)