@synnaxlabs/client 0.17.4 → 0.17.5

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/client.js CHANGED
@@ -15237,6 +15237,11 @@ class Qe {
15237
15237
  t[t.length - 1].timeRange.end
15238
15238
  );
15239
15239
  }
15240
+ latest() {
15241
+ return Object.fromEntries(
15242
+ this.columns.map((e, t) => [e, this.series[t].at(-1)]).filter(([e, t]) => t != null)
15243
+ );
15244
+ }
15240
15245
  get timeRanges() {
15241
15246
  return this.uniqueColumns.map((e) => this.timeRange(e));
15242
15247
  }