UNPKG
@anthropic-ai/bedrock-sdk
Version:
latest (0.22.1)
0.22.1
0.22.0
0.21.2
0.21.1
0.21.0
0.12.6
0.12.5
0.12.4
0.12.0
0.11.2
0.11.1
0.11.0
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.1
0.7.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
The official TypeScript library for the Anthropic Bedrock API
anthropics/anthropic-sdk-typescript
@anthropic-ai/bedrock-sdk
/
internal
/
request-options.mjs
10 lines
•
328 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
export
const
FallbackEncoder
= (
{ headers, body }
) => {
return
{
bodyHeaders
: {
'content-type'
:
'application/json'
, },
body
:
JSON
.
stringify
(body), }; };
//# sourceMappingURL=request-options.mjs.map