@devskin/browser-sdk 1.0.0 → 1.0.1

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 +9 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,11 +18,17 @@ Comprehensive browser monitoring SDK for collecting user analytics, performance
18
18
  ### Via CDN
19
19
 
20
20
  ```html
21
- <script src="https://cdn.devskin.com/sdk/devskin.umd.min.js"></script>
21
+ <!-- Via unpkg -->
22
+ <script src="https://unpkg.com/@devskin/browser-sdk@latest/dist/devskin.umd.min.js"></script>
23
+
24
+ <!-- Or via jsDelivr -->
25
+ <script src="https://cdn.jsdelivr.net/npm/@devskin/browser-sdk@latest/dist/devskin.umd.min.js"></script>
26
+
22
27
  <script>
23
28
  DevSkin.init({
24
29
  apiKey: 'your-api-key',
25
30
  appId: 'your-app-id',
31
+ apiUrl: 'https://api-monitoring.devskin.com', // Required!
26
32
  });
27
33
  </script>
28
34
  ```
@@ -39,6 +45,7 @@ import DevSkin from '@devskin/browser-sdk';
39
45
  DevSkin.init({
40
46
  apiKey: 'your-api-key',
41
47
  appId: 'your-app-id',
48
+ apiUrl: 'https://api-monitoring.devskin.com', // Required!
42
49
  });
43
50
  ```
44
51
 
@@ -49,9 +56,9 @@ DevSkin.init({
49
56
  // Required
50
57
  apiKey: 'your-api-key',
51
58
  appId: 'your-app-id',
59
+ apiUrl: 'https://api-monitoring.devskin.com', // IMPORTANT: Backend URL (Required!)
52
60
 
53
61
  // Optional
54
- apiUrl: 'https://api.devskin.com',
55
62
  debug: false,
56
63
  environment: 'production',
57
64
  release: '1.0.0',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devskin/browser-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "DevSkin Browser SDK for complete user analytics and monitoring with rrweb session recording",
5
5
  "type": "module",
6
6
  "main": "dist/devskin.cjs.js",