@absolutejs/beacon 0.6.49 → 0.6.50
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/index.d.ts +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare const BEACON_ATTRIBUTE: {
|
|
|
104
104
|
/** Response header used to correlate a browser signal with its server request. */
|
|
105
105
|
export declare const BEACON_TRACE_HEADER = "x-absolute-trace-id";
|
|
106
106
|
/** Beacon package version retained with every captured event. */
|
|
107
|
-
export declare const BEACON_SDK_VERSION = "0.6.
|
|
107
|
+
export declare const BEACON_SDK_VERSION = "0.6.50";
|
|
108
108
|
/** Arbitrary event tags, with Beacon's reserved `signal` tag type-checked. */
|
|
109
109
|
export type BeaconTags = Record<string, string> & {
|
|
110
110
|
signal?: BeaconSignal;
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ var BEACON_ATTRIBUTE = {
|
|
|
75
75
|
THEME: "data-beacon-theme"
|
|
76
76
|
};
|
|
77
77
|
var BEACON_TRACE_HEADER = "x-absolute-trace-id";
|
|
78
|
-
var BEACON_SDK_VERSION = "0.6.
|
|
78
|
+
var BEACON_SDK_VERSION = "0.6.50";
|
|
79
79
|
var inBrowser = () => typeof window !== "undefined";
|
|
80
80
|
var newId = () => {
|
|
81
81
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -3891,6 +3891,9 @@ var createBeacon = (options) => {
|
|
|
3891
3891
|
return registration;
|
|
3892
3892
|
} catch (error) {
|
|
3893
3893
|
const registrationError = toError(error);
|
|
3894
|
+
if (filterKnownNoise && isKnownBeaconNoise(registrationError)) {
|
|
3895
|
+
throw error;
|
|
3896
|
+
}
|
|
3894
3897
|
if (transientRegistrationErrors.has(registrationError.name)) {
|
|
3895
3898
|
const existing = pendingRegistrationFailures.get(endpointLabel);
|
|
3896
3899
|
if (existing !== undefined) {
|
|
@@ -4392,5 +4395,5 @@ export {
|
|
|
4392
4395
|
BEACON_ATTRIBUTE
|
|
4393
4396
|
};
|
|
4394
4397
|
|
|
4395
|
-
//# debugId=
|
|
4398
|
+
//# debugId=429074B23CDFDDC864756E2164756E21
|
|
4396
4399
|
//# sourceMappingURL=index.js.map
|