@sjawhar/pi-legion 19.38.0 → 19.38.1

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.
Files changed (2) hide show
  1. package/dist/legion.js +5 -4
  2. package/package.json +1 -1
package/dist/legion.js CHANGED
@@ -26500,6 +26500,7 @@ var DeliveryAnswerWireSchema = object({
26500
26500
  gap: boolean2(),
26501
26501
  consumer_start: number2().int().nonnegative().optional()
26502
26502
  });
26503
+ var StringListWireSchema = array(string2()).nullish().transform((list) => list ?? []);
26503
26504
  var SessionWireSchema = object({
26504
26505
  session_id: string2(),
26505
26506
  machine_id: string2(),
@@ -26507,9 +26508,9 @@ var SessionWireSchema = object({
26507
26508
  dir: string2(),
26508
26509
  port: number2().int(),
26509
26510
  title: string2(),
26510
- topics: array(string2()),
26511
- roles: array(string2()).optional(),
26512
- capabilities: array(string2()).optional(),
26511
+ topics: StringListWireSchema,
26512
+ roles: StringListWireSchema,
26513
+ capabilities: StringListWireSchema,
26513
26514
  self_subscribed: boolean2(),
26514
26515
  last_seen: number2().int().optional(),
26515
26516
  state: WireStateSchema,
@@ -29919,7 +29920,7 @@ import { logger as logger3 } from "@oh-my-pi/pi-utils";
29919
29920
  // package.json
29920
29921
  var package_default = {
29921
29922
  name: "@sjawhar/pi-legion",
29922
- version: "19.38.0",
29923
+ version: "19.38.1",
29923
29924
  license: "Apache-2.0",
29924
29925
  type: "module",
29925
29926
  omp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "19.38.0",
3
+ "version": "19.38.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {