pishoniq-tracker 2.0.1 → 2.0.2

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,10 +30,10 @@ yarn add pishoniq
30
30
  ### CDN script tag
31
31
 
32
32
  ```html
33
- <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.0/dist/browser.global.js"></script>
33
+ <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.2/dist/browser.global.js"></script>
34
34
  ```
35
35
 
36
- The script exposes `window.PishonIQ`. Use `https://unpkg.com/pishoniq-tracker@2.0.0/dist/browser.global.js` as an alternative CDN.
36
+ The script exposes `window.PishonIQ`. Use `https://unpkg.com/pishoniq-tracker@2.0.2/dist/browser.global.js` as an alternative CDN.
37
37
 
38
38
  ---
39
39
 
@@ -65,7 +65,7 @@ PishonIQ.page('Checkout');
65
65
 
66
66
  ```html
67
67
  <!-- Add before </body> -->
68
- <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.0/dist/browser.global.js"></script>
68
+ <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.2/dist/browser.global.js"></script>
69
69
  <script>
70
70
  window.PishonIQ.init({
71
71
  apiKey: 'pk_live_xxxxxxxxxxxx',
@@ -79,7 +79,7 @@ PishonIQ.page('Checkout');
79
79
  If you point the script at `defer`, initialize inside `DOMContentLoaded` instead of immediately:
80
80
 
81
81
  ```html
82
- <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.0/dist/browser.global.js" defer></script>
82
+ <script src="https://cdn.jsdelivr.net/npm/pishoniq-tracker@2.0.2/dist/browser.global.js" defer></script>
83
83
  <script>
84
84
  window.addEventListener('DOMContentLoaded', function () {
85
85
  window.PishonIQ.init({ apiKey: 'pk_live_xxxxxxxxxxxx', host: 'https://your-pishoniq-backend.com' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pishoniq-tracker",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "PishonIQ analytics SDK for web applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",