@coralogix/browser 1.0.2 → 1.0.3
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 +2 -13
- package/browser-sdk-version.d.ts +1 -1
- package/browser-sdk-version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,25 +20,14 @@ CoralogixRum.init({
|
|
|
20
20
|
environment: 'production',
|
|
21
21
|
public_key: 'abc-123-456',
|
|
22
22
|
coralogixDomain: 'EU2',
|
|
23
|
-
instrumentations: {
|
|
24
|
-
errors: true,
|
|
25
|
-
fetch: true,
|
|
26
|
-
xhr: true,
|
|
27
|
-
},
|
|
28
|
-
ignoreUrls: [/.*\.svg/],
|
|
29
23
|
version: 'v1.0.3',
|
|
30
|
-
traceParentInHeader: {
|
|
31
|
-
enabled: true,
|
|
32
|
-
options: {
|
|
33
|
-
propagateTraceHeaderCorsUrls: [new RegExp('https://api.*')],
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
24
|
labels: {
|
|
37
25
|
payment: 'visa',
|
|
38
26
|
},
|
|
39
|
-
ignoreErrors: ['some error message'],
|
|
27
|
+
ignoreErrors: ['some error message to ignore'],
|
|
40
28
|
});
|
|
41
29
|
```
|
|
30
|
+
More properties: `instrumentations`, `traceParentInHeader`, `ignoreUrls`, `debug`
|
|
42
31
|
|
|
43
32
|
To provide contextual information or transmit manual logs, utilize the exported functions of `CoralogixRum`.
|
|
44
33
|
Keep in mind that these functions will remain inactive until you've invoked `CoralogixRum.init()`.
|
package/browser-sdk-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const browserSdkVersion = "1.0.
|
|
1
|
+
export declare const browserSdkVersion = "1.0.3";
|
package/browser-sdk-version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const browserSdkVersion = '1.0.
|
|
1
|
+
export const browserSdkVersion = '1.0.3';
|
|
2
2
|
//# sourceMappingURL=browser-sdk-version.js.map
|