posthog-js 1.279.3 → 1.280.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/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 +10 -0
- package/dist/module.full.d.ts +10 -0
- package/dist/module.full.js +1 -1
- package/dist/module.full.js.map +1 -1
- package/dist/module.full.no-external.d.ts +10 -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 +10 -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/request.d.ts +8 -1
- package/dist/src/retry-queue.d.ts +2 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/surveys-preview.d.ts +10 -0
- package/dist/surveys-preview.js.map +1 -1
- package/dist/surveys.js.map +1 -1
- 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/request.d.ts +8 -1
- package/lib/src/request.js +22 -8
- package/lib/src/request.js.map +1 -1
- package/lib/src/retry-queue.d.ts +2 -0
- package/lib/src/retry-queue.js +23 -5
- package/lib/src/retry-queue.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
|
/**
|
|
@@ -2980,6 +2988,8 @@ declare class RetryQueue {
|
|
|
2980
2988
|
private _pollIntervalMs;
|
|
2981
2989
|
private _queue;
|
|
2982
2990
|
private _areWeOnline;
|
|
2991
|
+
private _onlineListener;
|
|
2992
|
+
private _offlineListener;
|
|
2983
2993
|
constructor(_instance: PostHog);
|
|
2984
2994
|
get length(): number;
|
|
2985
2995
|
retriableRequest({ retriesPerformedSoFar, ...options }: RetriableRequestWithOptions): void;
|