Skip to content

🎥 Make videos programmatically with React

Update version of `@remotion/lambda-client`

Jonny Burgerf308a47103d1
diff --git a/packages/docs/docs/lambda/light-client.mdx b/packages/docs/docs/lambda/light-client.mdx
index aa89221ed0..137365ae03 100644
--- a/packages/docs/docs/lambda/light-client.mdx
+++ b/packages/docs/docs/lambda/light-client.mdx
@@ -2,10 +2,12 @@
image: /generated/articles-docs-lambda-light-client.png
sidebar_label: Light client
title: Light client
-crumb: "Lambda"
+crumb: 'Lambda'
---
-The following methods and types can be imported from `@remotion/lambda/client`:
+The following methods and types can be imported from `@remotion/lambda/client`.
+
+`@remotion/lambda/client` re-exports everything from the `@remotion/lambda-client` NPM package, which you can install if you only need these functions in your project, saving you some dependencies.
```tsx twoslash
// organize-imports-ignore
@@ -28,7 +30,7 @@ import {
getAwsClient, // available from v4.0.82
deleteRender, // available from v4.0.84
DeleteRenderInput, // available from v4.0.84
-} from "@remotion/lambda/client";
+} from '@remotion/lambda/client';
```
:::info
diff --git a/packages/docs/docs/lambda/supabase.mdx b/packages/docs/docs/lambda/supabase.mdx
index 27d0f78d8b..15778c18fc 100644
--- a/packages/docs/docs/lambda/supabase.mdx
+++ b/packages/docs/docs/lambda/supabase.mdx
@@ -9,15 +9,15 @@ slug: /lambda/supabase
This page shows how to trigger a Remotion Lambda render from a Supabase Edge Function.
Other than that, the steps to use Remotion Lambda are the same as described in the [Remotion Lambda setup](/docs/lambda/setup).
-## Invoking a Remotion Lambda render from Supabase Edge Functions<AvailableFrom v="4.0.261"/>
+## Invoking a Remotion Lambda render from Supabase Edge Functions<AvailableFrom v="4.0.265"/>
Install the `@remotion/lambda-client` package in your Supabase Edge Functions project:
```bash
-deno add @remotion/[email protected]
+deno add @remotion/[email protected]
```
-Replace `4.0.261` with the version of Remotion you are using.
+Replace `4.0.265` with the version of Remotion you are using.
Set the environment variable `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`:
@@ -28,8 +28,8 @@ AWS_SECRET_ACCESS_KEY=xxx
```tsx title="supabase/functions/trigger-render.ts"
import 'jsr:@supabase/functions-js/edge-runtime.d.ts';
-// FIXME: Replace 4.0.261 with the version of Remotion you are using.
-import {renderMediaOnLambda} from 'npm:@remotion/[email protected]';
+// FIXME: Replace 4.0.265 with the version of Remotion you are using.
+import {renderMediaOnLambda} from 'npm:@remotion/[email protected]';
Deno.serve(async (req) => {
const {props} = await req.json();