Skip to content

Commit

Permalink
Release 1.14.22
Browse files Browse the repository at this point in the history
  • Loading branch information
shengyonggen committed Sep 15, 2021
1 parent b6f91e8 commit 5e9f9f9
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 31 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.14.22(2021-09-15)
1. 优化
- 修改初始化配置参数 `show_log` 默认值为 `fasle`
- 修改初始化配置参数 `max_string_length` 默认值为 `500`
2. 修复
- 修复 `ES6` 语法报错问题

## 1.14.21(2021-08-27)
1. 优化
- `$SignUp` 事件去除 `$is_first_day` 属性
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sa-sdk-miniprogram",
"version": "1.14.21",
"version": "1.14.22",
"description": "sensorsdata miniprogram sdk",
"main": "sensorsdata.min.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.custom.es6.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -159,7 +159,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -885,7 +885,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.custom.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -161,7 +161,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -887,7 +887,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.es6.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -159,7 +159,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -885,7 +885,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -161,7 +161,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -887,7 +887,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.plugin.es6.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -159,7 +159,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -885,7 +885,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
8 changes: 4 additions & 4 deletions product/sensorsdata.plugin.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ sa.para = {
name: 'sensors',
server_url: '',
send_timeout: 1000,
show_log: true,
show_log: false,
launched: false,
allow_amend_share_path: true,
max_string_length: 300,
max_string_length: 500,
datasend_timeout: 3000,
source_channel: [],
autoTrack: {
Expand Down Expand Up @@ -161,7 +161,7 @@ var ArrayProto = Array.prototype,
slice = ArrayProto.slice,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty,
LIB_VERSION = '1.14.21',
LIB_VERSION = '1.14.22',
LIB_NAME = 'MiniProgram';

var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term';
Expand Down Expand Up @@ -887,7 +887,7 @@ _.delObjectKey = function(obj) {
logger.info('请传入有效对象');
return;
}
for (let i = 0; i < share_info_key.length; i++) {
for (var i = 0; i < share_info_key.length; i++) {
delete obj[share_info_key[i]];
}
};
Expand Down
2 changes: 1 addition & 1 deletion sensorsdata.custom.es6.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sensorsdata.custom.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sensorsdata.es6.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sensorsdata.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sensorsdata.plugin.es6.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sensorsdata.plugin.min.js

Large diffs are not rendered by default.

0 comments on commit 5e9f9f9

Please sign in to comment.