@kmmao/happy-wire 0.3.0 → 0.3.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.
package/dist/index.cjs CHANGED
@@ -320,6 +320,7 @@ const MachineMetadataSchema = z__namespace.object({
320
320
  });
321
321
  const TailscaleServeEntrySchema = z__namespace.object({
322
322
  port: z__namespace.number(),
323
+ path: z__namespace.string().optional(),
323
324
  protocol: z__namespace.string(),
324
325
  target: z__namespace.string(),
325
326
  funnel: z__namespace.boolean(),
package/dist/index.d.cts CHANGED
@@ -1193,6 +1193,7 @@ declare const MachineMetadataSchema: z.ZodObject<{
1193
1193
  type MachineMetadata = z.infer<typeof MachineMetadataSchema>;
1194
1194
  declare const TailscaleServeEntrySchema: z.ZodObject<{
1195
1195
  port: z.ZodNumber;
1196
+ path: z.ZodOptional<z.ZodString>;
1196
1197
  protocol: z.ZodString;
1197
1198
  target: z.ZodString;
1198
1199
  funnel: z.ZodBoolean;
@@ -1212,6 +1213,7 @@ declare const TailscaleInfoSchema: z.ZodObject<{
1212
1213
  version: z.ZodOptional<z.ZodString>;
1213
1214
  serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
1214
1215
  port: z.ZodNumber;
1216
+ path: z.ZodOptional<z.ZodString>;
1215
1217
  protocol: z.ZodString;
1216
1218
  target: z.ZodString;
1217
1219
  funnel: z.ZodBoolean;
@@ -1247,6 +1249,7 @@ declare const DaemonStateSchema: z.ZodObject<{
1247
1249
  version: z.ZodOptional<z.ZodString>;
1248
1250
  serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
1249
1251
  port: z.ZodNumber;
1252
+ path: z.ZodOptional<z.ZodString>;
1250
1253
  protocol: z.ZodString;
1251
1254
  target: z.ZodString;
1252
1255
  funnel: z.ZodBoolean;
package/dist/index.d.mts CHANGED
@@ -1193,6 +1193,7 @@ declare const MachineMetadataSchema: z.ZodObject<{
1193
1193
  type MachineMetadata = z.infer<typeof MachineMetadataSchema>;
1194
1194
  declare const TailscaleServeEntrySchema: z.ZodObject<{
1195
1195
  port: z.ZodNumber;
1196
+ path: z.ZodOptional<z.ZodString>;
1196
1197
  protocol: z.ZodString;
1197
1198
  target: z.ZodString;
1198
1199
  funnel: z.ZodBoolean;
@@ -1212,6 +1213,7 @@ declare const TailscaleInfoSchema: z.ZodObject<{
1212
1213
  version: z.ZodOptional<z.ZodString>;
1213
1214
  serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
1214
1215
  port: z.ZodNumber;
1216
+ path: z.ZodOptional<z.ZodString>;
1215
1217
  protocol: z.ZodString;
1216
1218
  target: z.ZodString;
1217
1219
  funnel: z.ZodBoolean;
@@ -1247,6 +1249,7 @@ declare const DaemonStateSchema: z.ZodObject<{
1247
1249
  version: z.ZodOptional<z.ZodString>;
1248
1250
  serves: z.ZodOptional<z.ZodArray<z.ZodObject<{
1249
1251
  port: z.ZodNumber;
1252
+ path: z.ZodOptional<z.ZodString>;
1250
1253
  protocol: z.ZodString;
1251
1254
  target: z.ZodString;
1252
1255
  funnel: z.ZodBoolean;
package/dist/index.mjs CHANGED
@@ -299,6 +299,7 @@ const MachineMetadataSchema = z.object({
299
299
  });
300
300
  const TailscaleServeEntrySchema = z.object({
301
301
  port: z.number(),
302
+ path: z.string().optional(),
302
303
  protocol: z.string(),
303
304
  target: z.string(),
304
305
  funnel: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",