@multiplayer-app/ai-agent-react 0.1.0-beta.13 → 0.1.0-beta.14-test

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.
@@ -40,7 +40,7 @@ const w7 = H.object({
40
40
  mode: H.literal("proxy"),
41
41
  baseUrl: H.string(),
42
42
  apiKey: H.string().optional(),
43
- path: H.string().optional(),
43
+ socketPath: H.string().optional(),
44
44
  timeoutMs: H.number().optional(),
45
45
  headers: H.record(H.string()).optional()
46
46
  }),
@@ -34264,7 +34264,7 @@ const o_e = ep(null), s_e = ({ children: e }) => {
34264
34264
  v.headers && Object.assign(_, v.headers);
34265
34265
  const k = {}, w = v.apiKey && `Bearer ${v.apiKey}` || v.headers?.Authorization || v.headers?.authorization;
34266
34266
  w && (k.authorization = w, _.Authorization = w);
34267
- const M = i.path ?? hd.Path, S = qi(y, {
34267
+ const M = i.socketPath ?? hd.Path, S = qi(y, {
34268
34268
  path: M,
34269
34269
  auth: k,
34270
34270
  transports: ["websocket", "polling"],
@@ -34303,7 +34303,7 @@ const o_e = ep(null), s_e = ({ children: e }) => {
34303
34303
  i.mode,
34304
34304
  i.mode === "proxy" ? i.baseUrl : void 0,
34305
34305
  i.mode === "proxy" ? i.apiKey : void 0,
34306
- i.mode === "proxy" ? i.path : void 0,
34306
+ i.mode === "proxy" ? i.socketPath : void 0,
34307
34307
  i.mode === "proxy" ? JSON.stringify(i.headers ?? {}) : "",
34308
34308
  a
34309
34309
  ]);