Skip to content

Commit 4080380

Browse files
author
shengyonggen
committed
Release 1.16.4
1 parent 49d36e4 commit 4080380

11 files changed

+48
-20
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
## 1.16.3 (2021-01-25)
1+
## 1.16.4 (2021-02-20)
22
1. 新增
3-
- Web 可视化全埋点支持同级元素合并
3+
- 新增 `ts` 声明文件
4+
1. 优化
5+
- 热力图跨域问题优化
46

7+
## 1.16.3 (2021-01-25)
8+
1. 新增
9+
- `Web` 可视化全埋点支持同级元素合并
510

611
## 1.16.2 (2021-01-22)
712
1. 优化

core/sensorsdata.amd.min.js

Lines changed: 4 additions & 4 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: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

heatmap.min.js

Lines changed: 4 additions & 4 deletions
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.16.3",
3+
"version": "1.16.4",
44
"description": "official sensorsdata javascript sdk",
55
"main": "sensorsdata.min.js",
66
"scripts": {

sensorsdata.amd.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.

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.

sensorsdata.min.d.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
declare namespace sensors {
2+
function init(para: object): void;
3+
function track(e: string, p?: object, c?: any): void;
4+
function use(name: string, option: object): any;
5+
function quick(name: string, p?: any, t?: any, c?: any): any;
6+
7+
function identify(id: string, isSave?: boolean): any;
8+
function login(id: string, callback?: any): void;
9+
function logout(isChangeId?: boolean): void;
10+
11+
function setOnceProfile(prop: object, c?: any): void;
12+
function setProfile(prop: object, c?: any): void;
13+
function appendProfile(prop: object, c?: any): void;
14+
function incrementProfile(prop: object, c?: any): void;
15+
function deleteProfile(c?: any): void;
16+
function unsetProfile(prop: object, c?: any): void;
17+
18+
function registerPage(obj: object): void;
19+
20+
function getPresetProperties(): any;
21+
}
22+
// 当项目中是通过 script 标签的 src 来加载神策 SDK 时,可以注释掉下面 export 这行代码
23+
export default sensors;

sensorsdata.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.

0 commit comments

Comments
 (0)