@owlpane/browser 0.1.4 → 0.1.5

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Owlpane
3
+ Copyright (c) 2026 The Owlpane Authors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/log-otlp.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { encodeAttrs, unixNano } from "./otlp.js";
2
- const REPLAY_SCOPE = { name: "@owlpane/browser-replay", version: "0.1.4" };
2
+ const REPLAY_SCOPE = { name: "@owlpane/browser-replay", version: "0.1.5" };
3
3
  export function buildLogsRequestBody(resourceAttrs, records) {
4
4
  const resource = JSON.stringify({ attributes: encodeAttrs(resourceAttrs) });
5
5
  const logs = records.map((r) => JSON.stringify({
package/dist/tracer.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { Env } from "./env.js";
2
2
  import { RandomBytes } from "./ids.js";
3
3
  import type { Attrs, SpanData, SpanEvent } from "./otlp.js";
4
- export declare const VERSION = "0.1.4";
4
+ export declare const VERSION = "0.1.5";
5
5
  export type ResolvedOptions = {
6
6
  endpoint: string;
7
7
  projectKey: string;
package/dist/tracer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defaultRandomBytes, newSpanId, newTraceId } from "./ids.js";
2
- export const VERSION = "0.1.4";
2
+ export const VERSION = "0.1.5";
3
3
  export function createTracer(env, opts, emit, sessionId, pageUrl, pageAttrs = {}) {
4
4
  const rand = env.randomBytes ?? defaultRandomBytes();
5
5
  const nav = env.navigator;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@owlpane/browser",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Owlpane real-user-monitoring SDK for browsers: page load, Web Vitals, JS errors, fetch/XHR spans, optional rrweb DOM replay, and W3C trace propagation over OTLP/HTTP JSON.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/balaji-singh/owlpane-sdk.git",
8
+ "url": "https://github.com/OwlPane/owlpane-sdk.git",
9
9
  "directory": "packages/browser"
10
10
  },
11
11
  "publishConfig": {