@hintergrund/ui 0.1.12 → 0.2.0

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.
@@ -1,6 +1,6 @@
1
- import { y as cs, z as rn, D as It } from "./Builder-NIu11kXz.js";
1
+ import { d as cs, e as rn, f as It } from "./Builder-RvOmGKW5.js";
2
2
  import { h as an } from "./headers-u7rXGJ9f.js";
3
- import { p as Ot, a as on } from "./json-parse-Bp36xxKy.js";
3
+ import { p as Ot, a as on } from "./json-parse-Didq-LlA.js";
4
4
  import { b as cn, a as ln, s as W, t as un } from "./transform-messages-CkpQp6fJ.js";
5
5
  import { h as hn, b as dn, r as fn } from "./github-copilot-headers-DWh_6bE3.js";
6
6
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(r) {
@@ -1,12 +1,12 @@
1
- import { O as A, a as c, r as p, i as h, b as _ } from "./client-Sh7wNjbG.js";
2
- import { y as f, E as R, z as y } from "./Builder-NIu11kXz.js";
1
+ import { O as E, a as c, r as p, i as h, b as _ } from "./client-Sh7wNjbG.js";
2
+ import { d as f, h as R, e as y } from "./Builder-RvOmGKW5.js";
3
3
  import { h as g } from "./headers-u7rXGJ9f.js";
4
- import { p as I, c as v, a as O } from "./openai-responses-shared-Bseol-Xr.js";
4
+ import { p as I, c as v, a as O } from "./openai-responses-shared-qXvKLxLt.js";
5
5
  import { b } from "./transform-messages-CkpQp6fJ.js";
6
6
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(r) {
7
7
  return Promise.resolve().then(r);
8
8
  } });
9
- class N extends A {
9
+ class N extends E {
10
10
  /**
11
11
  * API Client for interfacing with the Azure OpenAI API.
12
12
  *
@@ -115,8 +115,8 @@ const M = (r, n, e) => {
115
115
  ...e?.signal ? { signal: e.signal } : {},
116
116
  ...e?.timeoutMs !== void 0 ? { timeout: e.timeoutMs } : {},
117
117
  ...e?.maxRetries !== void 0 ? { maxRetries: e.maxRetries } : {}
118
- }, { data: E, response: d } = await i.responses.create(u, l).withResponse();
119
- if (await e?.onResponse?.({ status: d.status, headers: g(d.headers) }, r), a.push({ type: "start", partial: s }), await I(E, s, a, r), e?.signal?.aborted)
118
+ }, { data: A, response: d } = await i.responses.create(u, l).withResponse();
119
+ if (await e?.onResponse?.({ status: d.status, headers: g(d.headers) }, r), a.push({ type: "start", partial: s }), await I(A, s, a, r), e?.signal?.aborted)
120
120
  throw new Error("Request was aborted");
121
121
  if (s.stopReason === "aborted" || s.stopReason === "error")
122
122
  throw new Error("An unknown error occurred");
package/dist/builder.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./global-lQxDrO8J.js";
2
- import { w as i } from "./Builder-NIu11kXz.js";
1
+ import "./global-JDSIqdYm.js";
2
+ import { B as i } from "./Builder-RvOmGKW5.js";
3
3
  typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
4
4
  return Promise.resolve().then(e);
5
5
  } });