@absolutejs/beacon 0.7.0-beta.7 → 0.7.0-beta.8

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 CHANGED
@@ -25,7 +25,7 @@ export type BeaconLevel = "fatal" | "error" | "warning" | "info";
25
25
  /** Response header used to correlate a browser signal with its server request. */
26
26
  export declare const BEACON_TRACE_HEADER = "x-absolute-trace-id";
27
27
  /** Beacon package version retained with every captured event. */
28
- export declare const BEACON_SDK_VERSION = "0.7.0-beta.7";
28
+ export declare const BEACON_SDK_VERSION = "0.7.0-beta.8";
29
29
  /** Arbitrary event tags, with Beacon's reserved `signal` tag type-checked. */
30
30
  export type BeaconTags = Record<string, string> & {
31
31
  signal?: BeaconSignal;
@@ -547,6 +547,7 @@ export type Beacon = {
547
547
  export declare const redactBeaconEvent: (event: BeaconEvent) => BeaconEvent;
548
548
  /** Known browser-host/scanner failures that do not originate in page code. */
549
549
  export declare const isKnownBeaconNoise: (event: Pick<BeaconEvent, "message" | "name" | "stack" | "tags">, userAgent?: string) => boolean;
550
+ export declare const isAutomatedBrowser: () => boolean;
550
551
  export declare const createBeacon: (options: BeaconOptions) => Beacon;
551
552
  /** Initialize the global beacon. Returns the instance. */
552
553
  export declare const initBeacon: (options: BeaconOptions) => Beacon;
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@ var consumeEarlyLayoutShiftBuffer = () => {
199
199
 
200
200
  // src/index.ts
201
201
  var BEACON_TRACE_HEADER = "x-absolute-trace-id";
202
- var BEACON_SDK_VERSION = "0.7.0-beta.7";
202
+ var BEACON_SDK_VERSION = "0.7.0-beta.8";
203
203
  var inBrowser = () => typeof window !== "undefined";
204
204
  var newId = () => {
205
205
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
@@ -4823,10 +4823,11 @@ export {
4823
4823
  createBeacon,
4824
4824
  getBeacon,
4825
4825
  initBeacon,
4826
+ isAutomatedBrowser,
4826
4827
  isKnownBeaconNoise,
4827
4828
  observeCapability,
4828
4829
  redactBeaconEvent
4829
4830
  };
4830
4831
 
4831
- //# debugId=024293C5A498559364756E2164756E21
4832
+ //# debugId=6833B5EED4A6D0D164756E2164756E21
4832
4833
  //# sourceMappingURL=index.js.map