diff --git a/src/config/sidebar.ts b/src/config/sidebar.ts index da074f66e19..45c9b8eff5b 100644 --- a/src/config/sidebar.ts +++ b/src/config/sidebar.ts @@ -493,6 +493,10 @@ export const SIDEBAR: Partial> = { 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", @@ -579,10 +583,6 @@ export const SIDEBAR: Partial> = { title: "Managing Subscriptions", url: "chainlink-functions/resources/subscriptions", }, - { - title: "Service Limits", - url: "chainlink-functions/resources/service-limits", - }, ], }, { diff --git a/src/content/chainlink-functions/api-reference/javascript-source.mdx b/src/content/chainlink-functions/api-reference/javascript-source.mdx index f3e6a358026..d8313fe1617 100644 --- a/src/content/chainlink-functions/api-reference/javascript-source.mdx +++ b/src/content/chainlink-functions/api-reference/javascript-source.mdx @@ -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.