@ai-sdk/anthropic 3.0.10 → 3.0.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 3.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [34d1c8a]
8
+ - @ai-sdk/provider-utils@4.0.5
9
+
10
+ ## 3.0.11
11
+
12
+ ### Patch Changes
13
+
14
+ - 8c1c6e3: fix(anthropic): add application/json type regex matching
15
+
3
16
  ## 3.0.10
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var import_provider4 = require("@ai-sdk/provider");
32
32
  var import_provider_utils22 = require("@ai-sdk/provider-utils");
33
33
 
34
34
  // src/version.ts
35
- var VERSION = true ? "3.0.10" : "0.0.0-test";
35
+ var VERSION = true ? "3.0.12" : "0.0.0-test";
36
36
 
37
37
  // src/anthropic-messages-language-model.ts
38
38
  var import_provider3 = require("@ai-sdk/provider");
@@ -4263,7 +4263,8 @@ function createAnthropic(options = {}) {
4263
4263
  fetch: options.fetch,
4264
4264
  generateId: (_a2 = options.generateId) != null ? _a2 : import_provider_utils22.generateId,
4265
4265
  supportedUrls: () => ({
4266
- "image/*": [/^https?:\/\/.*$/]
4266
+ "image/*": [/^https?:\/\/.*$/],
4267
+ "application/pdf": [/^https?:\/\/.*$/]
4267
4268
  })
4268
4269
  });
4269
4270
  };