netra-sdk 1.10.1 → 1.11.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.cts CHANGED
@@ -77,7 +77,7 @@ declare const DEFAULT_INSTRUMENTS: Set<NetraInstruments>;
77
77
  declare class Config {
78
78
  static readonly SDK_NAME = "netra";
79
79
  static readonly LIBRARY_NAME = "netra";
80
- static readonly LIBRARY_VERSION = "1.10.0";
80
+ static readonly LIBRARY_VERSION = "1.11.0";
81
81
  static readonly TRIAL_BLOCK_DURATION_SECONDS = 900;
82
82
  static readonly TRACE_ORIGIN_KEY = "netra.trace.origin";
83
83
  static readonly TRACE_ORIGIN_EVALUATION = "evaluation";
@@ -1556,6 +1556,10 @@ interface SpanData {
1556
1556
  input_tokens_details?: {
1557
1557
  cached_tokens?: number;
1558
1558
  cache_write_tokens?: number;
1559
+ cache_write_tokens_details?: {
1560
+ ttl_30m_tokens?: number;
1561
+ ttl_12h_tokens?: number;
1562
+ } | null;
1559
1563
  } | null;
1560
1564
  output_tokens_details?: {
1561
1565
  reasoning_tokens?: number;
@@ -1566,6 +1570,10 @@ interface SpanData {
1566
1570
  prompt_tokens_details?: {
1567
1571
  cached_tokens?: number;
1568
1572
  cache_write_tokens?: number;
1573
+ cache_write_tokens_details?: {
1574
+ ttl_30m_tokens?: number;
1575
+ ttl_12h_tokens?: number;
1576
+ } | null;
1569
1577
  } | null;
1570
1578
  completion_tokens_details?: {
1571
1579
  reasoning_tokens?: number;
package/dist/index.d.ts CHANGED
@@ -77,7 +77,7 @@ declare const DEFAULT_INSTRUMENTS: Set<NetraInstruments>;
77
77
  declare class Config {
78
78
  static readonly SDK_NAME = "netra";
79
79
  static readonly LIBRARY_NAME = "netra";
80
- static readonly LIBRARY_VERSION = "1.10.0";
80
+ static readonly LIBRARY_VERSION = "1.11.0";
81
81
  static readonly TRIAL_BLOCK_DURATION_SECONDS = 900;
82
82
  static readonly TRACE_ORIGIN_KEY = "netra.trace.origin";
83
83
  static readonly TRACE_ORIGIN_EVALUATION = "evaluation";
@@ -1556,6 +1556,10 @@ interface SpanData {
1556
1556
  input_tokens_details?: {
1557
1557
  cached_tokens?: number;
1558
1558
  cache_write_tokens?: number;
1559
+ cache_write_tokens_details?: {
1560
+ ttl_30m_tokens?: number;
1561
+ ttl_12h_tokens?: number;
1562
+ } | null;
1559
1563
  } | null;
1560
1564
  output_tokens_details?: {
1561
1565
  reasoning_tokens?: number;
@@ -1566,6 +1570,10 @@ interface SpanData {
1566
1570
  prompt_tokens_details?: {
1567
1571
  cached_tokens?: number;
1568
1572
  cache_write_tokens?: number;
1573
+ cache_write_tokens_details?: {
1574
+ ttl_30m_tokens?: number;
1575
+ ttl_12h_tokens?: number;
1576
+ } | null;
1569
1577
  } | null;
1570
1578
  completion_tokens_details?: {
1571
1579
  reasoning_tokens?: number;