@faststats/web 0.10.0 → 0.10.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/error.js CHANGED
@@ -3,7 +3,7 @@ import { r as getSessionContext, t as sendData } from "./chunks/send-data-Dplz7m
3
3
  import { t as getAnonymousId } from "./chunks/identifiers-xX7o7oZz.js";
4
4
  //#region src/error.ts
5
5
  const SDK_NAME = "@faststats/web";
6
- const SDK_VERSION = "0.10.0";
6
+ const SDK_VERSION = "0.10.1";
7
7
  function errorTracking(options = {}) {
8
8
  return {
9
9
  name: "error-tracking",
package/dist/replay.js CHANGED
@@ -416,7 +416,7 @@ var ReplayTracker = class {
416
416
  else this.scheduleMinLengthFlush();
417
417
  };
418
418
  onUnload = () => {
419
- this.requestTerminalFlush("unload");
419
+ this.flush(true, false, "unload");
420
420
  };
421
421
  requestTerminalFlush(reason) {
422
422
  if (!this.hasReachedMinLength()) {
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "version": "0.10.0",
45
+ "version": "0.10.1",
46
46
  "scripts": {
47
47
  "build": "tsdown && bun run check-size",
48
48
  "dev": "bun run build",