Skip to content

Commit b75d0b6

Browse files
committed
fix more
1 parent 5175b6d commit b75d0b6

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

docs/platforms/javascript/common/options.mdx

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_order: 2
99

1010
## Available Options
1111

12-
<TableOfContents ignoreIds={['available-options']} />
12+
<TableOfContents ignoreIds={["available-options"]} />
1313

1414
## Core Options
1515

@@ -224,19 +224,28 @@ The JavaScript SDK uses a transport to send events to Sentry. On modern browsers
224224
Options used to configure the transport. This is an object with the following possible optional keys:
225225

226226
<PlatformCategorySection supported={["server", "serverless"]}>
227-
- `headers`: An object containing headers to be sent with every request. -
228-
`proxy`: A proxy used for outbound requests. Can be http or https. -
229-
`caCerts`: A path or list of paths to a CA certificate, or a buffer of CA
230-
certificates. - `httpModule`: A custom HTTP module to use for requests.
231-
Defaults to the the native `http` and `https` modules. - `keepAlive`:
232-
Determines whether to keep the socket alive between requests. Defaults to
233-
`false`.
227+
228+
<PlatformCategorySection supported={["browser", "desktop"]}>
229+
**Options for the node `httpTransport` transport:**
230+
</PlatformCategorySection>
231+
232+
- `headers`: An object containing headers to be sent with every request.
233+
- `proxy`: A proxy used for outbound requests. Can be http or https.
234+
- `caCerts`: A path or list of paths to a CA certificate, or a buffer of CA certificates.
235+
- `httpModule`: A custom HTTP module to use for requests. Defaults to the the native `http` and `https` modules.
236+
- `keepAlive`: Determines whether to keep the socket alive between requests. Defaults to `false`.
237+
234238
</PlatformCategorySection>
235239

236240
<PlatformCategorySection supported={["browser", "desktop"]}>
237-
- `headers`: An object containing headers to be sent with every request. Used
238-
by the SDK's `fetch` and XHR transports. - `fetchOptions`: An object containing
239-
options to be passed to the `fetch` call. Used by the SDK's fetch transport.
241+
242+
<PlatformCategorySection supported={["server", "serverless"]}>
243+
**Options for the browser `fetch` transport:**
244+
</PlatformCategorySection>
245+
246+
- `headers`: An object containing headers to be sent with every request.
247+
- `fetchOptions`: An object containing options to be passed to the `fetch` call. Used by the SDK's fetch transport.
248+
240249
</PlatformCategorySection>
241250

242251
</SdkOption>

0 commit comments

Comments
 (0)