@nagoorkani/session-capture-core 0.1.1 → 0.1.2

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/core.d.ts CHANGED
@@ -9,7 +9,15 @@ import { type CapturedError } from './errors.ts';
9
9
  import type { NetworkEvent } from './network.ts';
10
10
  import { type SessionState } from './session.ts';
11
11
  import { type CaptureEvent, type EventBatch, type EventType, type InitOptions, type RemoteConfig } from './types.ts';
12
- export declare const SDK_VERSION = "0.1.0";
12
+ /**
13
+ * What every batch reports as `sdkVersion`, and what ingestion logs per batch.
14
+ *
15
+ * Core's package version, by hand, with a test that fails when the two drift.
16
+ * It sat at 0.1.0 through two releases, and the cost was real: a device that
17
+ * still showed a bug fixed in 0.1.1 could not be told apart from one that had
18
+ * never been updated, from the dashboard or from the logs.
19
+ */
20
+ export declare const SDK_VERSION = "0.1.2";
13
21
  /**
14
22
  * Idle bound. Nothing for this long and the next event opens a new session.
15
23
  *
package/dist/core.js CHANGED
@@ -13,7 +13,15 @@ import { measure, timeToReady, mark } from "./performance.js";
13
13
  import { redact } from "./redact.js";
14
14
  import { SessionManager } from "./session.js";
15
15
  import { DEFAULT_CONFIG, SCHEMA_VERSION, } from "./types.js";
16
- export const SDK_VERSION = '0.1.0';
16
+ /**
17
+ * What every batch reports as `sdkVersion`, and what ingestion logs per batch.
18
+ *
19
+ * Core's package version, by hand, with a test that fails when the two drift.
20
+ * It sat at 0.1.0 through two releases, and the cost was real: a device that
21
+ * still showed a bug fixed in 0.1.1 could not be told apart from one that had
22
+ * never been updated, from the dashboard or from the logs.
23
+ */
24
+ export const SDK_VERSION = '0.1.2';
17
25
  /**
18
26
  * Idle bound. Nothing for this long and the next event opens a new session.
19
27
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nagoorkani/session-capture-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Platform-free core for the session-capture SDKs",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",