tracking-lib-ott 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,20 +4,20 @@ Thư viện tracking events dành cho các dự án OTT (Web, Smart TV).
4
4
 
5
5
  ## Cài đặt
6
6
 
7
- ````bash
7
+ ```bash
8
8
  npm install tracking-lib-ott
9
9
  # hoặc
10
10
  yarn add tracking-lib-ott
11
-
11
+ ```
12
12
 
13
13
  ## Session ID
14
14
 
15
15
  ```javascript
16
16
  const sessionId = getOrCreateSessionId({
17
- domain: window.location.hostname,
18
- expirationMinutes: 30
19
- })
20
-
17
+ domain: window.location.hostname,
18
+ expirationMinutes: 30,
19
+ });
20
+ ```
21
21
 
22
22
  ### 1. Khởi tạo (Init)
23
23
 
@@ -44,7 +44,7 @@ tracking.init({
44
44
  deviceOsVersion: "17.0",
45
45
  sdkVersion: "1.0.0",
46
46
  });
47
- ````
47
+ ```
48
48
 
49
49
  ### 2. Set User Info
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tracking-lib-ott",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",