@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.
- package/README.md +9 -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
|
-
|
|
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