Skip to content

Commit 3fc431f

Browse files
authored
Merge pull request #98 from Fecony/fix/eden-docs-container-fix
🔧 fix: eden docs container display
2 parents a8ce1e0 + e3de124 commit 3fc431f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/plugins/eden/fn.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const fn = edenFn<App>('http://localhost:8080')
4040
const data = await fn.sum(6, 9)
4141
```
4242

43-
Elysia Fn uses JavaScript's Proxy to capture object properties and parameters, to create batched requests to the server to handle, and returns the value across the network.
43+
Elysia Fn uses JavaScript's Proxy to capture object properties and parameters, to create batched requests to the server to handle, and returns the value across the network.
4444

4545
Elysia Fn extends [superjson](https://github.com/blitz-js/superjson), allowing native type in JavaScript like `Error`, `Map`, `Set`, and `undefined` to parse across JSON data.
4646

@@ -53,7 +53,6 @@ As for naming convention, we will refers to Elysia Fn and Eden Fn as:
5353

5454
- Elysia Fn: Exposed functions on Elysia server
5555
- Eden Fn: A client to use Elysia Fn
56-
:::
5756

5857
## Security
5958
You can limit allow or deny scopes of the function, check for the authorization header and other headers' fields, validate parameters, or limit keys access programmatically using `permission` function.

docs/plugins/eden/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ head:
1515
---
1616

1717
# Eden
18-
Eden is a fetch client for an Elysia server with **end-to-end type safety** using only TypeScript's type inference instead of code generation.
18+
Eden is a fetch client for an Elysia server with **end-to-end type safety** using only TypeScript's type inference instead of code generation.
1919

2020
Allowing you to sync client and server types effortlessly, weighing less than 2KB.
2121

@@ -92,6 +92,6 @@ Using Eden Treaty with a complex type and lot of routes (more than 500 routes pe
9292

9393
Eden Fetch is an alternative and solution for fastest type inference possible while providing full type support like Eden Treaty.
9494

95-
::: note
95+
::: tip NOTE
9696
Unlike Eden Treaty, Eden Fetch doesn't provide Web Socket implementation for Elysia server
9797
:::

0 commit comments

Comments
 (0)