@squasher-ai/browser 0.3.0 → 0.4.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/errors.js CHANGED
@@ -9,7 +9,7 @@
9
9
  * @squasher-ai/node. In-app heuristic: node_modules = not in_app.
10
10
  */
11
11
  const SDK_NAME = "@squasher-ai/browser";
12
- const SDK_VERSION = "0.3.0";
12
+ const SDK_VERSION = "0.4.0";
13
13
  /** Stack trace line regex — works for V8 (Chrome, Node) and SpiderMonkey (Firefox). */
14
14
  const STACK_LINE_RE = /^\s*at\s+(?:(.+?)\s+\()?(.+?):(\d+):(\d+)\)?/;
15
15
  /** Firefox stack format: "functionName@filename:line:col" */
@@ -4,7 +4,7 @@ const MAX_ATTEMPTS = 3;
4
4
  const MAX_BACKOFF_MS = 4_000;
5
5
  const MAX_PENDING_PAYLOADS = 10;
6
6
  const SDK_NAME = "@squasher-ai/browser";
7
- const SDK_VERSION = "0.3.0";
7
+ const SDK_VERSION = "0.4.0";
8
8
  const DEFAULT_TELEMETRY_HEADERS = getDefaultHeaders({
9
9
  packageName: SDK_NAME,
10
10
  packageVersion: SDK_VERSION,
package/dist/transport.js CHANGED
@@ -11,7 +11,7 @@
11
11
  import { attempt, attemptAsync } from "./_vendor/result-runtime/attempt.js";
12
12
  import { getDefaultHeaders } from "./_vendor/sdk-runtime/runtime/public-sdk-runtime.js";
13
13
  const SDK_NAME = "@squasher-ai/browser";
14
- const SDK_VERSION = "0.3.0";
14
+ const SDK_VERSION = "0.4.0";
15
15
  const BEACON_CONTENT_TYPE = "text/plain";
16
16
  // One allocation per process; getDefaultHeaders is pure given package
17
17
  // metadata and platform detection memoizes inside sdk-core.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squasher-ai/browser",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Official @squasher-ai/browser package for Squasher.",
5
5
  "homepage": "https://squasher.ai",
6
6
  "license": "MIT",