posthog-js 1.279.2 → 1.280.0
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/dist/all-external-dependencies.js.map +1 -1
- package/dist/array.full.es5.js +1 -1
- package/dist/array.full.es5.js.map +1 -1
- package/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.full.no-external.js +1 -1
- package/dist/array.full.no-external.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/array.no-external.js +1 -1
- package/dist/array.no-external.js.map +1 -1
- package/dist/customizations.full.js +1 -1
- package/dist/exception-autocapture.js.map +1 -1
- package/dist/lazy-recorder.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.d.ts +8 -0
- package/dist/module.full.d.ts +8 -0
- package/dist/module.full.js +1 -1
- package/dist/module.full.js.map +1 -1
- package/dist/module.full.no-external.d.ts +8 -0
- package/dist/module.full.no-external.js +1 -1
- package/dist/module.full.no-external.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/module.no-external.d.ts +8 -0
- package/dist/module.no-external.js +1 -1
- package/dist/module.no-external.js.map +1 -1
- package/dist/posthog-recorder.js +1 -1
- package/dist/src/posthog-exceptions.d.ts +2 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/surveys-preview.d.ts +8 -0
- package/lib/package.json +1 -1
- package/lib/src/posthog-exceptions.d.ts +2 -0
- package/lib/src/posthog-exceptions.js +31 -15
- package/lib/src/posthog-exceptions.js.map +1 -1
- package/lib/src/types.d.ts +6 -0
- package/lib/src/types.js.map +1 -1
- package/package.json +2 -2
|
@@ -1738,6 +1738,12 @@ interface ErrorTrackingOptions {
|
|
|
1738
1738
|
* @default false
|
|
1739
1739
|
*/
|
|
1740
1740
|
captureExtensionExceptions?: boolean;
|
|
1741
|
+
/**
|
|
1742
|
+
* UNSTABLE: determines whether exception caused by the PostHog SDK will be captured
|
|
1743
|
+
*
|
|
1744
|
+
* @default false
|
|
1745
|
+
*/
|
|
1746
|
+
__capturePostHogExceptions?: boolean;
|
|
1741
1747
|
/**
|
|
1742
1748
|
* ADVANCED: alters the refill rate for the token bucket mutation throttling
|
|
1743
1749
|
* Normally only altered alongside posthog support guidance.
|
|
@@ -2661,6 +2667,8 @@ declare class PostHogExceptions {
|
|
|
2661
2667
|
sendExceptionEvent(properties: Properties): CaptureResult | undefined;
|
|
2662
2668
|
private _matchesSuppressionRule;
|
|
2663
2669
|
private _isExtensionException;
|
|
2670
|
+
private _isPostHogException;
|
|
2671
|
+
private _isExceptionList;
|
|
2664
2672
|
}
|
|
2665
2673
|
|
|
2666
2674
|
/**
|