Skip to content

Commit

Permalink
Functions docs small fixes (#1819)
Browse files Browse the repository at this point in the history
* Functions docs small fixes

* capitalize
  • Loading branch information
thedriftofwords authored Mar 15, 2024
1 parent 4c9423c commit 088594d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
title: "Supported Networks",
url: "chainlink-functions/supported-networks",
},
{
title: "Service Limits",
url: "chainlink-functions/resources/service-limits",
},
{
title: "Service Responsibility",
url: "chainlink-functions/service-responsibility",
Expand Down Expand Up @@ -579,10 +583,6 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
title: "Managing Subscriptions",
url: "chainlink-functions/resources/subscriptions",
},
{
title: "Service Limits",
url: "chainlink-functions/resources/service-limits",
},
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: "JavaScript code API Reference"

JavaScript source code for a Functions request should comply with certain restrictions:

- **Allowed Modules**: Only vanilla [Deno](https://deno.land/) is supported, without module imports.
- **Allowed Modules**: Vanilla [Deno](https://deno.land/) and module [imports](/chainlink-functions/tutorials/importing-packages).
- **Return Type**: Must return a JavaScript `Buffer` object representing the response bytes sent back to the invoking contract.
- **Time Limit**: Scripts must execute within a 10-second timeframe; otherwise, they will be terminated, and an error will be returned to the requesting contract.

Expand Down

0 comments on commit 088594d

Please sign in to comment.