@alwaysmeticulous/api 2.286.0 → 2.288.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.d.ts CHANGED
@@ -7,7 +7,7 @@ export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
7
7
  export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
8
8
  export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
9
9
  export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
10
- export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreSnapshot, IDBObjectStoreWithEntries, IDBIndexSnapshot, CustomDataSingletonInternalKey, CustomDataSingletonInternalValues, CustomData, CustomUserEvent, SessionContext, ExpiringImage, CustomRecordingType, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
10
+ export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreSnapshot, IDBObjectStoreWithEntries, IDBIndexSnapshot, CustomDataSingletonInternalKey, CustomDataSingletonInternalValues, CustomData, CustomUserEvent, SessionContext, ExpiringImage, CustomRecordingType, HttpSpanAttributes, SerializedBackendSpan, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
11
11
  export { SequenceNumber, WebSocketConnectionData, WebSocketConnectionEvent, WebSocketConnectionCreatedEvent, WebSocketConnectionOpenedEvent, EncodedArrayBuffer, EncodedBlob, WebSocketConnectionMessageEvent, WebSocketConnectionErrorEvent, WebSocketConnectionClosedEvent, } from "./sdk-bundle-api/sdk-to-bundle/websocket-data";
12
12
  export * from "./sdk-bundle-api/sdk-to-bundle/event-source-data";
13
13
  export { StreamingFetchChunk, StreamingFetchResponseData, } from "./sdk-bundle-api/sdk-to-bundle/streaming-fetch-data";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4d355048-519b-539f-97e2-b08438b0f52c")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9e91b78d-59c2-5275-9eb5-0d4021984eb6")}catch(e){}}();
3
3
 
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -25,4 +25,4 @@ var session_data_1 = require("./sdk-bundle-api/sdk-to-bundle/session-data");
25
25
  Object.defineProperty(exports, "CustomDataSingletonInternalKey", { enumerable: true, get: function () { return session_data_1.CustomDataSingletonInternalKey; } });
26
26
  __exportStar(require("./sdk-bundle-api/sdk-to-bundle/event-source-data"), exports);
27
27
  //# sourceMappingURL=index.js.map
28
- //# debugId=4d355048-519b-539f-97e2-b08438b0f52c
28
+ //# debugId=9e91b78d-59c2-5275-9eb5-0d4021984eb6
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,0DAaiC;AAZ/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAsBrB,sFAAoE;AAQpE,4EAoBqD;AAPnD,8HAAA,8BAA8B,OAAA;AAoBhC,mFAAiE","debugId":"4d355048-519b-539f-97e2-b08438b0f52c"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,0DAaiC;AAZ/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAsBrB,sFAAoE;AAQpE,4EAsBqD;AATnD,8HAAA,8BAA8B,OAAA;AAsBhC,mFAAiE","debugId":"9e91b78d-59c2-5275-9eb5-0d4021984eb6"}
@@ -82,6 +82,11 @@ export interface SessionData {
82
82
  * Only present on some recordings since ~Feb 2026.
83
83
  */
84
84
  initialNavigationResponse?: HarResponse;
85
+ /**
86
+ * Backend spans captured by the backend recorder.
87
+ * Only present on recordings since ~June 2026.
88
+ */
89
+ backendSpans?: SerializedBackendSpan[];
85
90
  }
86
91
  export interface WindowData {
87
92
  startUrl: string;
@@ -299,4 +304,66 @@ export interface ExpiringImage {
299
304
  compressionStrategy: string;
300
305
  data: string;
301
306
  }
307
+ export interface HttpSpanAttributes {
308
+ "http.request.method"?: string;
309
+ "http.request.method_original"?: string;
310
+ "http.response.status_code"?: number;
311
+ "http.route"?: string;
312
+ "url.full"?: string;
313
+ "url.path"?: string;
314
+ "url.query"?: string;
315
+ "url.scheme"?: string;
316
+ "server.address"?: string;
317
+ "server.port"?: number;
318
+ "client.address"?: string;
319
+ "network.peer.address"?: string;
320
+ "network.peer.port"?: number;
321
+ "network.protocol.version"?: string;
322
+ "user_agent.original"?: string;
323
+ "user_agent.synthetic.type"?: string;
324
+ "error.type"?: string;
325
+ "http.url"?: string;
326
+ "http.method"?: string;
327
+ "http.target"?: string;
328
+ "http.host"?: string;
329
+ "http.scheme"?: string;
330
+ "http.status_code"?: number;
331
+ "http.status_text"?: string;
332
+ "http.flavor"?: string;
333
+ "http.user_agent"?: string;
334
+ "http.client_ip"?: string;
335
+ "http.server_name"?: string;
336
+ "http.request_content_length"?: number;
337
+ "http.request_content_length_uncompressed"?: number;
338
+ "http.response_content_length"?: number;
339
+ "http.response_content_length_uncompressed"?: number;
340
+ "http.error_name"?: string;
341
+ "http.error_message"?: string;
342
+ "net.host.ip"?: string;
343
+ "net.host.name"?: string;
344
+ "net.host.port"?: number;
345
+ "net.peer.ip"?: string;
346
+ "net.peer.name"?: string;
347
+ "net.peer.port"?: number;
348
+ "net.transport"?: string;
349
+ "http.request.body"?: string;
350
+ "http.request.body.truncated"?: boolean;
351
+ "http.response.body"?: string;
352
+ "http.response.body.truncated"?: boolean;
353
+ "meticulous.frontend_session_id"?: string;
354
+ [key: `http.request.header.${string}`]: string[] | undefined;
355
+ [key: `http.response.header.${string}`]: string[] | undefined;
356
+ }
357
+ export interface SerializedBackendSpan {
358
+ name: string;
359
+ traceId: string;
360
+ spanId: string;
361
+ parentSpanId: string | undefined;
362
+ kind: number;
363
+ status: unknown;
364
+ startTimeMs: number;
365
+ endTimeMs: number;
366
+ durationMs: number;
367
+ attributes: HttpSpanAttributes;
368
+ }
302
369
  export {};
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2fe6ab73-e5d4-5417-a556-ffa00d358dcf")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d349248b-6184-531e-9ac2-79dee320d54c")}catch(e){}}();
3
3
 
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.CustomDataSingletonInternalKey = void 0;
@@ -37,4 +37,4 @@ var CustomDataSingletonInternalKey;
37
37
  CustomDataSingletonInternalKey["CustomObjectTooLargeToSerialize"] = "met-custom-object-too-large-to-serialize";
38
38
  })(CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = CustomDataSingletonInternalKey = {}));
39
39
  //# sourceMappingURL=session-data.js.map
40
- //# debugId=2fe6ab73-e5d4-5417-a556-ffa00d358dcf
40
+ //# debugId=d349248b-6184-531e-9ac2-79dee320d54c
@@ -1 +1 @@
1
- {"version":3,"file":"session-data.js","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AA2QA,IAAY,8BAmCX;AAnCD,WAAY,8BAA8B;IACxC;;;OAGG;IACH,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;IAE3B;;;OAGG;IACH,8DAA4B,CAAA;IAE5B;;;;OAIG;IACH,8GAA4E,CAAA;AAC9E,CAAC,EAnCW,8BAA8B,8CAA9B,8BAA8B,QAmCzC","debugId":"2fe6ab73-e5d4-5417-a556-ffa00d358dcf"}
1
+ {"version":3,"file":"session-data.js","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AAiRA,IAAY,8BAmCX;AAnCD,WAAY,8BAA8B;IACxC;;;OAGG;IACH,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;IAE3B;;;OAGG;IACH,8DAA4B,CAAA;IAE5B;;;;OAIG;IACH,8GAA4E,CAAA;AAC9E,CAAC,EAnCW,8BAA8B,8CAA9B,8BAA8B,QAmCzC","debugId":"d349248b-6184-531e-9ac2-79dee320d54c"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.286.0",
3
+ "version": "2.288.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",