@sypnia/telemetry 0.3.0 → 0.3.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/CHANGELOG.md +4 -0
- package/dist/browser/index.js +1 -1
- package/dist/{chunk-YGXX6CWT.js → chunk-E2RSHYUO.js} +1 -1
- package/dist/next/client.js +2 -2
- package/dist/next/opennext.js +1 -1
- package/dist/next/server.js +1 -1
- package/dist/node/index.js +2 -1
- package/dist/start-MKLQU3SQ.js +2 -0
- package/package.json +1 -1
- package/dist/start-TW6OBKK7.js +0 -2
- /package/dist/{chunk-LBKUMS7U.js → chunk-BSVLHKIB.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1 (2026-11-17)
|
|
4
|
+
|
|
5
|
+
- Node and Next.js: a request of an anonymous route records its route in `url.path` (`/invite/:id`), never the path with its ids or tokens, like the browser.
|
|
6
|
+
|
|
3
7
|
## 0.3.0 (2026-11-17)
|
|
4
8
|
|
|
5
9
|
Anonymous visitors (docs: https://telemetry.docs.sypnia.com/sdks/anonymous-visitors).
|
package/dist/browser/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { flush, getSessionId, identify, init, notifyNavigation, optIn, optOut, reportError, track } from '../chunk-
|
|
1
|
+
export { flush, getSessionId, identify, init, notifyNavigation, optIn, optOut, reportError, track } from '../chunk-E2RSHYUO.js';
|
|
2
2
|
import '../chunk-UPXOW6QR.js';
|
|
3
3
|
import '../chunk-P5DK2OU7.js';
|
package/dist/next/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init, notifyNavigation } from '../chunk-
|
|
2
|
-
export { flush, getSessionId, identify, optIn, optOut, reportError, track } from '../chunk-
|
|
1
|
+
import { init, notifyNavigation } from '../chunk-E2RSHYUO.js';
|
|
2
|
+
export { flush, getSessionId, identify, optIn, optOut, reportError, track } from '../chunk-E2RSHYUO.js';
|
|
3
3
|
import { readConfig } from '../chunk-WUAOTFVV.js';
|
|
4
4
|
import '../chunk-UPXOW6QR.js';
|
|
5
5
|
import { routeNamer } from '../chunk-2RMEOMSD.js';
|
package/dist/next/opennext.js
CHANGED
package/dist/next/server.js
CHANGED
|
@@ -10,7 +10,7 @@ async function register() {
|
|
|
10
10
|
if (process.env.NEXT_RUNTIME !== "nodejs") return;
|
|
11
11
|
const config = readConfig();
|
|
12
12
|
if (!config) return;
|
|
13
|
-
const { startNode } = await import('../start-
|
|
13
|
+
const { startNode } = await import('../start-MKLQU3SQ.js');
|
|
14
14
|
node = await startNode(config);
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
package/dist/node/index.js
CHANGED
|
@@ -723,6 +723,7 @@ function startRequest(sdk, request) {
|
|
|
723
723
|
if (isAnonymousRoute(sdk.options, request.path)) {
|
|
724
724
|
trace.anonymous = true;
|
|
725
725
|
setAttribute(server.attributes, "sypnia.anonymous", true);
|
|
726
|
+
setAttribute(server.attributes, "url.path", routeOf(request.path));
|
|
726
727
|
}
|
|
727
728
|
return trace;
|
|
728
729
|
}
|
|
@@ -1380,7 +1381,7 @@ function resolveOptions(options) {
|
|
|
1380
1381
|
|
|
1381
1382
|
// ../node/src/version.ts
|
|
1382
1383
|
var SDK_NAME = "@sypnia/telemetry/node" ;
|
|
1383
|
-
var SDK_VERSION = "0.3.
|
|
1384
|
+
var SDK_VERSION = "0.3.1" ;
|
|
1384
1385
|
|
|
1385
1386
|
// ../node/src/api.ts
|
|
1386
1387
|
var BRIDGE_MARKER = /* @__PURE__ */ Symbol.for("sypnia.otel.bridge");
|
package/package.json
CHANGED
package/dist/start-TW6OBKK7.js
DELETED
|
File without changes
|