@flareapp/core 2.9.0 → 2.10.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/index.cjs CHANGED
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  }) : target, mod));
27
27
 
28
28
  //#endregion
29
- const require_urlAttributes = require('./urlAttributes-CEP6bOBn.cjs');
29
+ const require_urlAttributes = require('./urlAttributes-B37JykP3.cjs');
30
30
  let error_stack_parser = require("error-stack-parser");
31
31
  error_stack_parser = __toESM(error_stack_parser);
32
32
 
@@ -220,6 +220,7 @@ var TelemetryBuffer = class {
220
220
  }
221
221
  add(record) {
222
222
  const config = this.deps.getConfig();
223
+ if (config.hasConsent === false) return;
223
224
  const limits = this.policy.limits(config);
224
225
  const bytes = this.policy.estimateBytes(record);
225
226
  if (bytes > limits.maxBytes) {
@@ -239,6 +240,10 @@ var TelemetryBuffer = class {
239
240
  const config = this.deps.getConfig();
240
241
  if (!this.policy.enabled(config)) return;
241
242
  if (this.entries.length === 0) return;
243
+ if (config.hasConsent === false) {
244
+ this.clearTimer();
245
+ return;
246
+ }
242
247
  if (!require_urlAttributes.assertKey(config.key, config.debug)) {
243
248
  this.clearTimer();
244
249
  return;
@@ -574,6 +579,7 @@ var Logger = class {
574
579
  }
575
580
  record(level, message, context, attributes) {
576
581
  const config = this.deps.getConfig();
582
+ if (config.hasConsent === false) return;
577
583
  if (!config.enableLogs) return;
578
584
  if (config.minimumLogLevel && !isAtOrAboveMinimum(level, config.minimumLogLevel)) return;
579
585
  const userAttributes = {
@@ -1441,6 +1447,7 @@ var Flare = class {
1441
1447
  _tracer;
1442
1448
  _config = {
1443
1449
  key: null,
1450
+ hasConsent: true,
1444
1451
  version: "",
1445
1452
  sourcemapVersionId: require_urlAttributes.SOURCEMAP_VERSION,
1446
1453
  stage: "",
@@ -1582,6 +1589,21 @@ var Flare = class {
1582
1589
  this._tracer.flush();
1583
1590
  return this;
1584
1591
  }
1592
+ /**
1593
+ * Turn sending on or off for consent. Off blocks errors, logs, and traces, and drops telemetry
1594
+ * captured earlier so a later grant cannot ship it. On re-grant, flushes anything still buffered.
1595
+ */
1596
+ setConsent(granted) {
1597
+ this._config.hasConsent = granted;
1598
+ if (granted) {
1599
+ this._logger.flush();
1600
+ this._tracer.flush();
1601
+ } else {
1602
+ this._logger.clear();
1603
+ this._tracer.clear();
1604
+ }
1605
+ return this;
1606
+ }
1585
1607
  configure(config) {
1586
1608
  const wasLogsEnabled = this._config.enableLogs;
1587
1609
  const wasTracingEnabled = this._config.enableTracing;
@@ -1668,11 +1690,19 @@ var Flare = class {
1668
1690
  this.framework = framework;
1669
1691
  return this;
1670
1692
  }
1693
+ /**
1694
+ * True when a report must not be captured: consent withdrawn, or dropped by sampling. Consent is
1695
+ * checked first, so a blocked report never runs the sampler or assembles a report (no cookie read).
1696
+ */
1697
+ shouldSkipCapture() {
1698
+ if (this._config.hasConsent === false) return true;
1699
+ return this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate;
1700
+ }
1671
1701
  report(error, attributes = {}) {
1672
1702
  return this.track(this.reportInternal(error, attributes));
1673
1703
  }
1674
1704
  async reportInternal(error, attributes = {}) {
1675
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1705
+ if (this.shouldSkipCapture()) return;
1676
1706
  const seenAtUnixNano = Date.now() * 1e6;
1677
1707
  const coerced = error instanceof Error ? error : new Error(String(error));
1678
1708
  const errorToReport = await this._config.beforeEvaluate(coerced);
@@ -1688,7 +1718,7 @@ var Flare = class {
1688
1718
  return this.track(this.reportUnhandledRejectionInternal(message, attributes));
1689
1719
  }
1690
1720
  async reportUnhandledRejectionInternal(message, attributes = {}) {
1691
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1721
+ if (this.shouldSkipCapture()) return;
1692
1722
  const seenAtUnixNano = Date.now() * 1e6;
1693
1723
  const report = this.buildReport({
1694
1724
  exceptionClass: "UnhandledRejection",
@@ -1706,7 +1736,7 @@ var Flare = class {
1706
1736
  return this.track(this.reportMessageInternal(message, level, attributes));
1707
1737
  }
1708
1738
  async reportMessageInternal(message, level, attributes = {}) {
1709
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1739
+ if (this.shouldSkipCapture()) return;
1710
1740
  const seenAtUnixNano = Date.now() * 1e6;
1711
1741
  const stackTrace = await createStackTrace(/* @__PURE__ */ new Error(), this._config.debug, this.fileReader);
1712
1742
  stackTrace.shift();
@@ -1823,6 +1853,7 @@ var Flare = class {
1823
1853
  return report;
1824
1854
  }
1825
1855
  async sendReport(report) {
1856
+ if (this._config.hasConsent === false) return;
1826
1857
  if (!require_urlAttributes.assertKey(this._config.key, this._config.debug)) return;
1827
1858
  const reportToSubmit = await this._config.beforeSubmit(report);
1828
1859
  if (!reportToSubmit) return;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as TracesSampler, A as BufferedLog, B as OtelLogRecord, D as AnyValue, E as assert, F as Framework, G as SdkInfo, H as OverriddenGrouping, I as Glow, J as SpanOptions, K as Span, L as KeyValue, M as Config, N as EntryPointHandler, O as AttributeValue, P as EntryPointType, Q as TracesEnvelope, R as LogsEnvelope, S as convertToError, T as assertKey, U as Report, V as OtelSpan, W as SamplingContext, X as SpanStatusCode, Y as SpanStatus, Z as StackFrame, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, et as User, f as redactUrlQuery, h as now, it as FrameworkName, j as BufferedSpan, k as Attributes, l as routeRejection, m as safeDecode, n as urlAttributes, nt as BrowserSpanType, o as safeClone, p as resolveDenylist, q as SpanEvent, r as toCustomContext, rt as SpanTypeName, s as RejectionReporter, tt as BrowserSpanEventType, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, x as createIdentityTagger, y as extractCode, z as MessageLevel } from "./urlAttributes-DSPpBmH-.cjs";
1
+ import { $ as TracesSampler, A as BufferedLog, B as OtelLogRecord, D as AnyValue, E as assert, F as Framework, G as SdkInfo, H as OverriddenGrouping, I as Glow, J as SpanOptions, K as Span, L as KeyValue, M as Config, N as EntryPointHandler, O as AttributeValue, P as EntryPointType, Q as TracesEnvelope, R as LogsEnvelope, S as convertToError, T as assertKey, U as Report, V as OtelSpan, W as SamplingContext, X as SpanStatusCode, Y as SpanStatus, Z as StackFrame, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, et as User, f as redactUrlQuery, h as now, it as FrameworkName, j as BufferedSpan, k as Attributes, l as routeRejection, m as safeDecode, n as urlAttributes, nt as BrowserSpanType, o as safeClone, p as resolveDenylist, q as SpanEvent, r as toCustomContext, rt as SpanTypeName, s as RejectionReporter, tt as BrowserSpanEventType, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, x as createIdentityTagger, y as extractCode, z as MessageLevel } from "./urlAttributes-DW_i-YQ3.cjs";
2
2
 
3
3
  //#region src/api/Api.d.ts
4
4
  declare class Api {
@@ -277,6 +277,11 @@ declare class Flare {
277
277
  */
278
278
  withSpan<T>(name: string, fn: (span: Span) => T, opts?: SpanOptions): T;
279
279
  light(key?: string, debug?: boolean): this;
280
+ /**
281
+ * Turn sending on or off for consent. Off blocks errors, logs, and traces, and drops telemetry
282
+ * captured earlier so a later grant cannot ship it. On re-grant, flushes anything still buffered.
283
+ */
284
+ setConsent(granted: boolean): this;
280
285
  configure(config: Partial<Config>): this;
281
286
  test(): Promise<void>;
282
287
  private testInternal;
@@ -293,6 +298,11 @@ declare class Flare {
293
298
  setEntryPoint(handler: EntryPointHandler): this;
294
299
  setSdkInfo(info: SdkInfo): this;
295
300
  setFramework(framework: Framework): this;
301
+ /**
302
+ * True when a report must not be captured: consent withdrawn, or dropped by sampling. Consent is
303
+ * checked first, so a blocked report never runs the sampler or assembles a report (no cookie read).
304
+ */
305
+ private shouldSkipCapture;
296
306
  report(error: Error, attributes?: Attributes): Promise<void>;
297
307
  private reportInternal;
298
308
  reportSilently(error: Error, attributes?: Attributes): void;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as TracesSampler, A as BufferedLog, B as OtelLogRecord, D as AnyValue, E as assert, F as Framework, G as SdkInfo, H as OverriddenGrouping, I as Glow, J as SpanOptions, K as Span, L as KeyValue, M as Config, N as EntryPointHandler, O as AttributeValue, P as EntryPointType, Q as TracesEnvelope, R as LogsEnvelope, S as convertToError, T as assertKey, U as Report, V as OtelSpan, W as SamplingContext, X as SpanStatusCode, Y as SpanStatus, Z as StackFrame, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, et as User, f as redactUrlQuery, h as now, it as FrameworkName, j as BufferedSpan, k as Attributes, l as routeRejection, m as safeDecode, n as urlAttributes, nt as BrowserSpanType, o as safeClone, p as resolveDenylist, q as SpanEvent, r as toCustomContext, rt as SpanTypeName, s as RejectionReporter, tt as BrowserSpanEventType, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, x as createIdentityTagger, y as extractCode, z as MessageLevel } from "./urlAttributes-CYJKlJKi.mjs";
1
+ import { $ as TracesSampler, A as BufferedLog, B as OtelLogRecord, D as AnyValue, E as assert, F as Framework, G as SdkInfo, H as OverriddenGrouping, I as Glow, J as SpanOptions, K as Span, L as KeyValue, M as Config, N as EntryPointHandler, O as AttributeValue, P as EntryPointType, Q as TracesEnvelope, R as LogsEnvelope, S as convertToError, T as assertKey, U as Report, V as OtelSpan, W as SamplingContext, X as SpanStatusCode, Y as SpanStatus, Z as StackFrame, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, et as User, f as redactUrlQuery, h as now, it as FrameworkName, j as BufferedSpan, k as Attributes, l as routeRejection, m as safeDecode, n as urlAttributes, nt as BrowserSpanType, o as safeClone, p as resolveDenylist, q as SpanEvent, r as toCustomContext, rt as SpanTypeName, s as RejectionReporter, tt as BrowserSpanEventType, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, x as createIdentityTagger, y as extractCode, z as MessageLevel } from "./urlAttributes-CYsfTfi9.mjs";
2
2
 
3
3
  //#region src/api/Api.d.ts
4
4
  declare class Api {
@@ -277,6 +277,11 @@ declare class Flare {
277
277
  */
278
278
  withSpan<T>(name: string, fn: (span: Span) => T, opts?: SpanOptions): T;
279
279
  light(key?: string, debug?: boolean): this;
280
+ /**
281
+ * Turn sending on or off for consent. Off blocks errors, logs, and traces, and drops telemetry
282
+ * captured earlier so a later grant cannot ship it. On re-grant, flushes anything still buffered.
283
+ */
284
+ setConsent(granted: boolean): this;
280
285
  configure(config: Partial<Config>): this;
281
286
  test(): Promise<void>;
282
287
  private testInternal;
@@ -293,6 +298,11 @@ declare class Flare {
293
298
  setEntryPoint(handler: EntryPointHandler): this;
294
299
  setSdkInfo(info: SdkInfo): this;
295
300
  setFramework(framework: Framework): this;
301
+ /**
302
+ * True when a report must not be captured: consent withdrawn, or dropped by sampling. Consent is
303
+ * checked first, so a blocked report never runs the sampler or assembles a report (no cookie read).
304
+ */
305
+ private shouldSkipCapture;
296
306
  report(error: Error, attributes?: Attributes): Promise<void>;
297
307
  private reportInternal;
298
308
  reportSilently(error: Error, attributes?: Attributes): void;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { D as CLIENT_VERSION, E as assert, O as KEY, S as convertToError, T as assertKey, _ as TRUNCATED, a as routeRejection, b as extractCode, c as redactUrlQuery, d as now, f as timelineEvents, g as MAX_TRAVERSAL_DEPTH, h as safeClone, i as describeRejectionReason, k as SOURCEMAP_VERSION, l as resolveDenylist, m as flatJsonStringify, n as urlAttributes, o as DEFAULT_URL_DENYLIST, p as glowsToEvents, r as toCustomContext, s as redactObjectValues, u as safeDecode, v as createTraversalBudget, x as createIdentityTagger, y as spendNode } from "./urlAttributes-qNkR9fIF.mjs";
1
+ import { D as CLIENT_VERSION, E as assert, O as KEY, S as convertToError, T as assertKey, _ as TRUNCATED, a as routeRejection, b as extractCode, c as redactUrlQuery, d as now, f as timelineEvents, g as MAX_TRAVERSAL_DEPTH, h as safeClone, i as describeRejectionReason, k as SOURCEMAP_VERSION, l as resolveDenylist, m as flatJsonStringify, n as urlAttributes, o as DEFAULT_URL_DENYLIST, p as glowsToEvents, r as toCustomContext, s as redactObjectValues, u as safeDecode, v as createTraversalBudget, x as createIdentityTagger, y as spendNode } from "./urlAttributes-DeDN7qtu.mjs";
2
2
  import ErrorStackParser from "error-stack-parser";
3
3
 
4
4
  //#region src/framework.ts
@@ -191,6 +191,7 @@ var TelemetryBuffer = class {
191
191
  }
192
192
  add(record) {
193
193
  const config = this.deps.getConfig();
194
+ if (config.hasConsent === false) return;
194
195
  const limits = this.policy.limits(config);
195
196
  const bytes = this.policy.estimateBytes(record);
196
197
  if (bytes > limits.maxBytes) {
@@ -210,6 +211,10 @@ var TelemetryBuffer = class {
210
211
  const config = this.deps.getConfig();
211
212
  if (!this.policy.enabled(config)) return;
212
213
  if (this.entries.length === 0) return;
214
+ if (config.hasConsent === false) {
215
+ this.clearTimer();
216
+ return;
217
+ }
213
218
  if (!assertKey(config.key, config.debug)) {
214
219
  this.clearTimer();
215
220
  return;
@@ -545,6 +550,7 @@ var Logger = class {
545
550
  }
546
551
  record(level, message, context, attributes) {
547
552
  const config = this.deps.getConfig();
553
+ if (config.hasConsent === false) return;
548
554
  if (!config.enableLogs) return;
549
555
  if (config.minimumLogLevel && !isAtOrAboveMinimum(level, config.minimumLogLevel)) return;
550
556
  const userAttributes = {
@@ -1412,6 +1418,7 @@ var Flare = class {
1412
1418
  _tracer;
1413
1419
  _config = {
1414
1420
  key: null,
1421
+ hasConsent: true,
1415
1422
  version: "",
1416
1423
  sourcemapVersionId: SOURCEMAP_VERSION,
1417
1424
  stage: "",
@@ -1553,6 +1560,21 @@ var Flare = class {
1553
1560
  this._tracer.flush();
1554
1561
  return this;
1555
1562
  }
1563
+ /**
1564
+ * Turn sending on or off for consent. Off blocks errors, logs, and traces, and drops telemetry
1565
+ * captured earlier so a later grant cannot ship it. On re-grant, flushes anything still buffered.
1566
+ */
1567
+ setConsent(granted) {
1568
+ this._config.hasConsent = granted;
1569
+ if (granted) {
1570
+ this._logger.flush();
1571
+ this._tracer.flush();
1572
+ } else {
1573
+ this._logger.clear();
1574
+ this._tracer.clear();
1575
+ }
1576
+ return this;
1577
+ }
1556
1578
  configure(config) {
1557
1579
  const wasLogsEnabled = this._config.enableLogs;
1558
1580
  const wasTracingEnabled = this._config.enableTracing;
@@ -1639,11 +1661,19 @@ var Flare = class {
1639
1661
  this.framework = framework;
1640
1662
  return this;
1641
1663
  }
1664
+ /**
1665
+ * True when a report must not be captured: consent withdrawn, or dropped by sampling. Consent is
1666
+ * checked first, so a blocked report never runs the sampler or assembles a report (no cookie read).
1667
+ */
1668
+ shouldSkipCapture() {
1669
+ if (this._config.hasConsent === false) return true;
1670
+ return this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate;
1671
+ }
1642
1672
  report(error, attributes = {}) {
1643
1673
  return this.track(this.reportInternal(error, attributes));
1644
1674
  }
1645
1675
  async reportInternal(error, attributes = {}) {
1646
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1676
+ if (this.shouldSkipCapture()) return;
1647
1677
  const seenAtUnixNano = Date.now() * 1e6;
1648
1678
  const coerced = error instanceof Error ? error : new Error(String(error));
1649
1679
  const errorToReport = await this._config.beforeEvaluate(coerced);
@@ -1659,7 +1689,7 @@ var Flare = class {
1659
1689
  return this.track(this.reportUnhandledRejectionInternal(message, attributes));
1660
1690
  }
1661
1691
  async reportUnhandledRejectionInternal(message, attributes = {}) {
1662
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1692
+ if (this.shouldSkipCapture()) return;
1663
1693
  const seenAtUnixNano = Date.now() * 1e6;
1664
1694
  const report = this.buildReport({
1665
1695
  exceptionClass: "UnhandledRejection",
@@ -1677,7 +1707,7 @@ var Flare = class {
1677
1707
  return this.track(this.reportMessageInternal(message, level, attributes));
1678
1708
  }
1679
1709
  async reportMessageInternal(message, level, attributes = {}) {
1680
- if (this._config.sampleRate < 1 && Math.random() >= this._config.sampleRate) return;
1710
+ if (this.shouldSkipCapture()) return;
1681
1711
  const seenAtUnixNano = Date.now() * 1e6;
1682
1712
  const stackTrace = await createStackTrace(/* @__PURE__ */ new Error(), this._config.debug, this.fileReader);
1683
1713
  stackTrace.shift();
@@ -1794,6 +1824,7 @@ var Flare = class {
1794
1824
  return report;
1795
1825
  }
1796
1826
  async sendReport(report) {
1827
+ if (this._config.hasConsent === false) return;
1797
1828
  if (!assertKey(this._config.key, this._config.debug)) return;
1798
1829
  const reportToSubmit = await this._config.beforeSubmit(report);
1799
1830
  if (!reportToSubmit) return;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/env/index.ts
3
- const CLIENT_VERSION = typeof process !== "undefined" && true ? "2.9.0" : "?";
3
+ const CLIENT_VERSION = typeof process !== "undefined" && true ? "2.10.0" : "?";
4
4
  const KEY = typeof FLARE_JS_KEY === "undefined" ? "" : FLARE_JS_KEY;
5
5
  const SOURCEMAP_VERSION = typeof FLARE_SOURCEMAP_VERSION === "undefined" ? "" : FLARE_SOURCEMAP_VERSION;
6
6
 
@@ -65,6 +65,9 @@ type User = {
65
65
  };
66
66
  type Config = {
67
67
  key: string | null;
68
+ /** When false, the SDK sends nothing: no errors, logs, or traces. Flip it with `setConsent()`.
69
+ * Default true, so setups without a consent tool are unchanged. */
70
+ hasConsent: boolean;
68
71
  version: string;
69
72
  sourcemapVersionId: string;
70
73
  stage: string;
@@ -65,6 +65,9 @@ type User = {
65
65
  };
66
66
  type Config = {
67
67
  key: string | null;
68
+ /** When false, the SDK sends nothing: no errors, logs, or traces. Flip it with `setConsent()`.
69
+ * Default true, so setups without a consent tool are unchanged. */
70
+ hasConsent: boolean;
68
71
  version: string;
69
72
  sourcemapVersionId: string;
70
73
  stage: string;
@@ -1,5 +1,5 @@
1
1
  //#region src/env/index.ts
2
- const CLIENT_VERSION = typeof process !== "undefined" && true ? "2.9.0" : "?";
2
+ const CLIENT_VERSION = typeof process !== "undefined" && true ? "2.10.0" : "?";
3
3
  const KEY = typeof FLARE_JS_KEY === "undefined" ? "" : FLARE_JS_KEY;
4
4
  const SOURCEMAP_VERSION = typeof FLARE_SOURCEMAP_VERSION === "undefined" ? "" : FLARE_SOURCEMAP_VERSION;
5
5
 
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_urlAttributes = require('../urlAttributes-CEP6bOBn.cjs');
2
+ const require_urlAttributes = require('../urlAttributes-B37JykP3.cjs');
3
3
 
4
4
  exports.DEFAULT_URL_DENYLIST = require_urlAttributes.DEFAULT_URL_DENYLIST;
5
5
  exports.MAX_URL_LENGTH = require_urlAttributes.MAX_URL_LENGTH;
@@ -1,2 +1,2 @@
1
- import { C as ProfileComponentsOption, E as assert, S as convertToError, T as assertKey, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, f as redactUrlQuery, g as timelineEvents, h as now, i as withoutStatefulFlags, l as routeRejection, m as safeDecode, n as urlAttributes, o as safeClone, p as resolveDenylist, r as toCustomContext, s as RejectionReporter, t as MAX_URL_LENGTH, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, w as createComponentMatcher, x as createIdentityTagger, y as extractCode } from "../urlAttributes-DSPpBmH-.cjs";
1
+ import { C as ProfileComponentsOption, E as assert, S as convertToError, T as assertKey, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, f as redactUrlQuery, g as timelineEvents, h as now, i as withoutStatefulFlags, l as routeRejection, m as safeDecode, n as urlAttributes, o as safeClone, p as resolveDenylist, r as toCustomContext, s as RejectionReporter, t as MAX_URL_LENGTH, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, w as createComponentMatcher, x as createIdentityTagger, y as extractCode } from "../urlAttributes-DW_i-YQ3.cjs";
2
2
  export { DEFAULT_URL_DENYLIST, MAX_URL_LENGTH, ProfileComponentsOption, RejectionReporter, SafeCloneOptions, SdkTaggable, assert, assertKey, convertToError, createComponentMatcher, createIdentityTagger, describeRejectionReason, extractCode, flatJsonStringify, glowsToEvents, now, redactObjectValues, redactUrlQuery, resolveDenylist, routeRejection, safeClone, safeDecode, timelineEvents, toCustomContext, urlAttributes, withoutStatefulFlags };
@@ -1,2 +1,2 @@
1
- import { C as ProfileComponentsOption, E as assert, S as convertToError, T as assertKey, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, f as redactUrlQuery, g as timelineEvents, h as now, i as withoutStatefulFlags, l as routeRejection, m as safeDecode, n as urlAttributes, o as safeClone, p as resolveDenylist, r as toCustomContext, s as RejectionReporter, t as MAX_URL_LENGTH, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, w as createComponentMatcher, x as createIdentityTagger, y as extractCode } from "../urlAttributes-CYJKlJKi.mjs";
1
+ import { C as ProfileComponentsOption, E as assert, S as convertToError, T as assertKey, _ as glowsToEvents, a as SafeCloneOptions, b as SdkTaggable, c as describeRejectionReason, d as redactObjectValues, f as redactUrlQuery, g as timelineEvents, h as now, i as withoutStatefulFlags, l as routeRejection, m as safeDecode, n as urlAttributes, o as safeClone, p as resolveDenylist, r as toCustomContext, s as RejectionReporter, t as MAX_URL_LENGTH, u as DEFAULT_URL_DENYLIST, v as flatJsonStringify, w as createComponentMatcher, x as createIdentityTagger, y as extractCode } from "../urlAttributes-CYsfTfi9.mjs";
2
2
  export { DEFAULT_URL_DENYLIST, MAX_URL_LENGTH, ProfileComponentsOption, RejectionReporter, SafeCloneOptions, SdkTaggable, assert, assertKey, convertToError, createComponentMatcher, createIdentityTagger, describeRejectionReason, extractCode, flatJsonStringify, glowsToEvents, now, redactObjectValues, redactUrlQuery, resolveDenylist, routeRejection, safeClone, safeDecode, timelineEvents, toCustomContext, urlAttributes, withoutStatefulFlags };
@@ -1,3 +1,3 @@
1
- import { C as createComponentMatcher, E as assert, S as convertToError, T as assertKey, a as routeRejection, b as extractCode, c as redactUrlQuery, d as now, f as timelineEvents, h as safeClone, i as describeRejectionReason, l as resolveDenylist, m as flatJsonStringify, n as urlAttributes, o as DEFAULT_URL_DENYLIST, p as glowsToEvents, r as toCustomContext, s as redactObjectValues, t as MAX_URL_LENGTH, u as safeDecode, w as withoutStatefulFlags, x as createIdentityTagger } from "../urlAttributes-qNkR9fIF.mjs";
1
+ import { C as createComponentMatcher, E as assert, S as convertToError, T as assertKey, a as routeRejection, b as extractCode, c as redactUrlQuery, d as now, f as timelineEvents, h as safeClone, i as describeRejectionReason, l as resolveDenylist, m as flatJsonStringify, n as urlAttributes, o as DEFAULT_URL_DENYLIST, p as glowsToEvents, r as toCustomContext, s as redactObjectValues, t as MAX_URL_LENGTH, u as safeDecode, w as withoutStatefulFlags, x as createIdentityTagger } from "../urlAttributes-DeDN7qtu.mjs";
2
2
 
3
3
  export { DEFAULT_URL_DENYLIST, MAX_URL_LENGTH, assert, assertKey, convertToError, createComponentMatcher, createIdentityTagger, describeRejectionReason, extractCode, flatJsonStringify, glowsToEvents, now, redactObjectValues, redactUrlQuery, resolveDenylist, routeRejection, safeClone, safeDecode, timelineEvents, toCustomContext, urlAttributes, withoutStatefulFlags };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flareapp/core",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "Environment-agnostic core for the Flare JS SDK",
5
5
  "homepage": "https://flareapp.io",
6
6
  "bugs": {