posthog-node 5.28.2 → 5.28.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/dist/client.js +1 -1
- package/dist/client.mjs +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/version.ts +1 -1
package/dist/client.js
CHANGED
|
@@ -664,7 +664,7 @@ class PostHogBackendClient extends core_namespaceObject.PostHogCoreStateless {
|
|
|
664
664
|
async captureExceptionImmediate(error, distinctId, additionalProperties) {
|
|
665
665
|
if (!index_js_default().isPreviouslyCapturedError(error)) {
|
|
666
666
|
const syntheticException = new Error('PostHog syntheticException');
|
|
667
|
-
this.addPendingPromise(index_js_default().buildEventMessage(error, {
|
|
667
|
+
return this.addPendingPromise(index_js_default().buildEventMessage(error, {
|
|
668
668
|
syntheticException
|
|
669
669
|
}, distinctId, additionalProperties).then((msg)=>this.captureImmediate(msg)));
|
|
670
670
|
}
|
package/dist/client.mjs
CHANGED
|
@@ -626,7 +626,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
626
626
|
async captureExceptionImmediate(error, distinctId, additionalProperties) {
|
|
627
627
|
if (!error_tracking.isPreviouslyCapturedError(error)) {
|
|
628
628
|
const syntheticException = new Error('PostHog syntheticException');
|
|
629
|
-
this.addPendingPromise(error_tracking.buildEventMessage(error, {
|
|
629
|
+
return this.addPendingPromise(error_tracking.buildEventMessage(error, {
|
|
630
630
|
syntheticException
|
|
631
631
|
}, distinctId, additionalProperties).then((msg)=>this.captureImmediate(msg)));
|
|
632
632
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.28.
|
|
1
|
+
export declare const version = "5.28.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
version: ()=>version
|
|
28
28
|
});
|
|
29
|
-
const version = '5.28.
|
|
29
|
+
const version = '5.28.3';
|
|
30
30
|
exports.version = __webpack_exports__.version;
|
|
31
31
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
32
32
|
"version"
|
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = '5.28.
|
|
1
|
+
const version = '5.28.3';
|
|
2
2
|
export { version };
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1970,7 +1970,7 @@ export abstract class PostHogBackendClient extends PostHogCoreStateless implemen
|
|
|
1970
1970
|
): Promise<void> {
|
|
1971
1971
|
if (!ErrorTracking.isPreviouslyCapturedError(error)) {
|
|
1972
1972
|
const syntheticException = new Error('PostHog syntheticException')
|
|
1973
|
-
this.addPendingPromise(
|
|
1973
|
+
return this.addPendingPromise(
|
|
1974
1974
|
ErrorTracking.buildEventMessage(error, { syntheticException }, distinctId, additionalProperties).then((msg) =>
|
|
1975
1975
|
this.captureImmediate(msg)
|
|
1976
1976
|
)
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.28.
|
|
1
|
+
export const version = '5.28.3'
|