@smplkit/sdk 1.7.2 → 1.8.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.cjs CHANGED
@@ -18731,6 +18731,8 @@ var Logger = class {
18731
18731
  var LogGroup = class {
18732
18732
  /** Unique identifier (slug), or `null` if unsaved. */
18733
18733
  id;
18734
+ /** Human-readable key (slug), or `null` if not set. */
18735
+ key;
18734
18736
  /** Human-readable display name. */
18735
18737
  name;
18736
18738
  /** Base log level, or null if inherited. */
@@ -18749,6 +18751,7 @@ var LogGroup = class {
18749
18751
  constructor(client, fields) {
18750
18752
  this._client = client;
18751
18753
  this.id = fields.id;
18754
+ this.key = fields.key;
18752
18755
  this.name = fields.name;
18753
18756
  this.level = fields.level;
18754
18757
  this.group = fields.group;
@@ -18796,6 +18799,7 @@ var LogGroup = class {
18796
18799
  /** @internal — copy all fields from another LogGroup instance. */
18797
18800
  _apply(other) {
18798
18801
  this.id = other.id;
18802
+ this.key = other.key;
18799
18803
  this.name = other.name;
18800
18804
  this.level = other.level;
18801
18805
  this.group = other.group;
@@ -19017,6 +19021,7 @@ var LoggingClient = class {
19017
19021
  _mgNewGroup(id, options) {
19018
19022
  return new LogGroup(this, {
19019
19023
  id,
19024
+ key: null,
19020
19025
  name: options?.name ?? keyToDisplayName(id),
19021
19026
  level: null,
19022
19027
  group: options?.group ?? null,
@@ -19601,6 +19606,7 @@ var LoggingClient = class {
19601
19606
  const attrs = resource.attributes;
19602
19607
  return new LogGroup(this, {
19603
19608
  id: resource.id ?? null,
19609
+ key: attrs.key ?? null,
19604
19610
  name: attrs.name,
19605
19611
  level: attrs.level ?? null,
19606
19612
  group: attrs.parent_id ?? null,