Skip to content

Commit 70c67a2

Browse files
committed
small style update & options order fix
1 parent 0cc4247 commit 70c67a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ Options used to configure the transport. This is an object with the following po
249249

250250
The Electron SDK provides built-in offline support that queues events when the app is offline and automatically sends them once the connection is restored. These options let you configure that behavior:
251251

252-
- `maxQueueSize`: The maximum number of days to keep an envelope in the queue.
253252
- `maxAgeDays`: The maximum number of envelopes to keep in the queue.
253+
- `maxQueueSize`: The maximum number of days to keep an envelope in the queue.
254254
- `flushAtStartup`: Whether the offline store should flush shortly after application startup. Defaults to `false`.
255255
- `shouldSend`: Called before the SDK attempts to send an envelope to Sentry. If this function returns false, `shouldStore` will be called to determine if the envelope should be stored. Defaults to `() => true`.
256256
- `shouldStore`: Called before an event is stored. Return `false` to drop the envelope rather than store it. Defaults to `() => true`.

docs/platforms/javascript/guides/electron/features/inter-process-communication.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If your application uses multiple IPC channels, you can specify a custom namespa
2323

2424
Configure the same namespace across all three contexts:
2525

26-
**Main process:**
26+
**Main process**
2727

2828
```javascript
2929
import * as Sentry from "@sentry/electron/main";
@@ -34,7 +34,7 @@ Sentry.init({
3434
});
3535
```
3636

37-
**Renderer process:**
37+
**Renderer process**
3838

3939
```javascript
4040
import * as Sentry from "@sentry/electron/renderer";
@@ -44,7 +44,7 @@ Sentry.init({
4444
});
4545
```
4646

47-
**Preload process:**
47+
**Preload process**
4848

4949
```javascript
5050
import { hookupIpc } from "@sentry/electron/preload-namespaced";

0 commit comments

Comments
 (0)