@camstack/core 0.1.18 → 0.1.20

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.mjs CHANGED
@@ -31,7 +31,7 @@ import { promisify } from "node:util";
31
31
  import { errMsg, parseJsonObject } from "@camstack/types";
32
32
  import * as vm from "node:vm";
33
33
  import * as os from "node:os";
34
- //#region ../types/dist/auth-records-BDg37fy9.mjs
34
+ //#region ../types/dist/auth-records-Bq2XO-Mg.mjs
35
35
  var MODEL_FORMATS = [
36
36
  "onnx",
37
37
  "coreml",
@@ -3419,6 +3419,14 @@ var TurnProviderInfoSchema = z.object({
3419
3419
  enabled: z.boolean(),
3420
3420
  /** Number of servers this provider is currently exposing. */
3421
3421
  serverCount: z.number(),
3422
+ /**
3423
+ * Flat list of every TURN/STUN URL this provider currently exposes.
3424
+ * One row per URL (multi-URL ICE server entries are flattened). The
3425
+ * admin UI shows this in a compact per-provider list so operators
3426
+ * can verify what's actually being negotiated without having to dig
3427
+ * into the combined `getAllServers` output.
3428
+ */
3429
+ urls: z.array(z.string()).readonly(),
3422
3430
  /** Last fetch error (when serverCount=0 due to API failure), if any. */
3423
3431
  error: z.string().optional()
3424
3432
  });
@@ -5125,8 +5133,8 @@ z.object({
5125
5133
  tokenHash: z.string(),
5126
5134
  tokenPrefix: z.string(),
5127
5135
  scopes: z.array(TokenScopeSchema),
5128
- expiresAt: z.number().optional(),
5129
- lastUsedAt: z.number().optional(),
5136
+ expiresAt: z.number().nullish(),
5137
+ lastUsedAt: z.number().nullish(),
5130
5138
  createdAt: z.number()
5131
5139
  });
5132
5140
  //#endregion