netra-sdk 1.12.1 → 1.12.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/index.d.cts CHANGED
@@ -90,7 +90,7 @@ declare const DEFAULT_INSTRUMENTS: Set<NetraInstruments>;
90
90
  declare class Config {
91
91
  static readonly SDK_NAME = "netra";
92
92
  static readonly LIBRARY_NAME = "netra";
93
- static readonly LIBRARY_VERSION = "1.12.1";
93
+ static readonly LIBRARY_VERSION = "1.12.2";
94
94
  static readonly TRIAL_BLOCK_DURATION_SECONDS = 900;
95
95
  static readonly TRACE_ORIGIN_KEY = "netra.trace.origin";
96
96
  static readonly TRACE_ORIGIN_EVALUATION = "evaluation";
@@ -117,6 +117,11 @@ declare class Config {
117
117
  private _getOtlpEndpoint;
118
118
  private _parseHeaders;
119
119
  private _parseEnvHeaders;
120
+ /**
121
+ * Warn when a Netra endpoint has no API key. The key counts as present when
122
+ * it is set via NETRA_API_KEY or already passed as an `x-api-key` header
123
+ * (through `headers` or NETRA_HEADERS); header names match case-insensitively.
124
+ */
120
125
  private _validateApiKey;
121
126
  private _setupAuthentication;
122
127
  private _getBoolConfig;
package/dist/index.d.ts CHANGED
@@ -90,7 +90,7 @@ declare const DEFAULT_INSTRUMENTS: Set<NetraInstruments>;
90
90
  declare class Config {
91
91
  static readonly SDK_NAME = "netra";
92
92
  static readonly LIBRARY_NAME = "netra";
93
- static readonly LIBRARY_VERSION = "1.12.1";
93
+ static readonly LIBRARY_VERSION = "1.12.2";
94
94
  static readonly TRIAL_BLOCK_DURATION_SECONDS = 900;
95
95
  static readonly TRACE_ORIGIN_KEY = "netra.trace.origin";
96
96
  static readonly TRACE_ORIGIN_EVALUATION = "evaluation";
@@ -117,6 +117,11 @@ declare class Config {
117
117
  private _getOtlpEndpoint;
118
118
  private _parseHeaders;
119
119
  private _parseEnvHeaders;
120
+ /**
121
+ * Warn when a Netra endpoint has no API key. The key counts as present when
122
+ * it is set via NETRA_API_KEY or already passed as an `x-api-key` header
123
+ * (through `headers` or NETRA_HEADERS); header names match case-insensitively.
124
+ */
120
125
  private _validateApiKey;
121
126
  private _setupAuthentication;
122
127
  private _getBoolConfig;