@ai-sdk/provider-utils 2.2.2 → 2.2.4

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.
@@ -18750,6 +18750,9 @@ var TestServerCall2 = class {
18750
18750
  get requestBody() {
18751
18751
  return this.request.text().then(JSON.parse);
18752
18752
  }
18753
+ get requestCredentials() {
18754
+ return this.request.credentials;
18755
+ }
18753
18756
  get requestHeaders() {
18754
18757
  const requestHeaders = this.request.headers;
18755
18758
  const headersObject = {};
@@ -18874,6 +18877,9 @@ var TestResponseController = class {
18874
18877
  async write(chunk) {
18875
18878
  await this.writer.write(chunk);
18876
18879
  }
18880
+ async error(error3) {
18881
+ await this.writer.abort(error3);
18882
+ }
18877
18883
  async close() {
18878
18884
  await this.writer.close();
18879
18885
  }