@remotion/lambda-client 4.0.286 → 4.0.288

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,16 +99,19 @@ const getServiceClient = ({ region, service, customCredentials, forcePathStyle,
99
99
  endpoint: customCredentials.endpoint,
100
100
  requestHandler: lambdaOptions,
101
101
  forcePathStyle: customCredentials.forcePathStyle,
102
+ maxAttempts: service === 'lambda' ? 1 : undefined,
102
103
  })
103
104
  : (0, get_env_variable_1.getEnvVariable)('REMOTION_SKIP_AWS_CREDENTIALS_CHECK')
104
105
  ? new Client({
105
106
  region,
106
107
  requestHandler: lambdaOptions,
108
+ maxAttempts: service === 'lambda' ? 1 : undefined,
107
109
  })
108
110
  : new Client({
109
111
  region,
110
112
  credentials: (0, get_credentials_1.getCredentials)(),
111
113
  requestHandler: lambdaOptions,
114
+ maxAttempts: service === 'lambda' ? 1 : undefined,
112
115
  });
113
116
  if ((0, get_env_variable_1.getEnvVariable)('REMOTION_DISABLE_AWS_CLIENT_CACHE')) {
114
117
  return client;
package/package.json CHANGED
@@ -3,31 +3,31 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
4
4
  },
5
5
  "name": "@remotion/lambda-client",
6
- "version": "4.0.286",
6
+ "version": "4.0.288",
7
7
  "main": "dist/index.js",
8
8
  "sideEffects": false,
9
9
  "author": "Jonny Burger <jonny@remotion.dev>",
10
10
  "license": "UNLICENSED",
11
11
  "dependencies": {
12
- "@aws-sdk/client-cloudwatch-logs": "3.738.0",
13
- "@aws-sdk/client-iam": "3.738.0",
14
- "@aws-sdk/client-lambda": "3.738.0",
15
- "@aws-sdk/s3-request-presigner": "3.738.0",
16
- "@aws-sdk/client-s3": "3.738.0",
17
- "@aws-sdk/client-service-quotas": "3.738.0",
18
- "@aws-sdk/client-sts": "3.738.0",
19
- "@aws-sdk/lib-storage": "3.738.0",
12
+ "@aws-sdk/client-cloudwatch-logs": "3.787.0",
13
+ "@aws-sdk/client-iam": "3.787.0",
14
+ "@aws-sdk/client-lambda": "3.787.0",
15
+ "@aws-sdk/s3-request-presigner": "3.787.0",
16
+ "@aws-sdk/client-s3": "3.787.0",
17
+ "@aws-sdk/client-service-quotas": "3.787.0",
18
+ "@aws-sdk/client-sts": "3.787.0",
19
+ "@aws-sdk/lib-storage": "3.787.0",
20
20
  "mime-types": "2.1.34"
21
21
  },
22
22
  "devDependencies": {
23
- "@aws-sdk/credential-provider-ini": "3.734.0",
23
+ "@aws-sdk/credential-provider-ini": "3.787.0",
24
24
  "@types/express": "^5.0.0",
25
25
  "express": "4.21.0",
26
26
  "eslint": "9.19.0",
27
27
  "next": "15.2.4",
28
28
  "@types/mime-types": "2.1.1",
29
- "@remotion/serverless-client": "4.0.286",
30
- "@remotion/eslint-config-internal": "4.0.286"
29
+ "@remotion/serverless-client": "4.0.288",
30
+ "@remotion/eslint-config-internal": "4.0.288"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
@@ -155,16 +155,19 @@ export const getServiceClient = <T extends keyof ServiceMapping>({
155
155
  endpoint: customCredentials.endpoint,
156
156
  requestHandler: lambdaOptions,
157
157
  forcePathStyle: customCredentials.forcePathStyle,
158
+ maxAttempts: service === 'lambda' ? 1 : undefined,
158
159
  })
159
160
  : getEnvVariable('REMOTION_SKIP_AWS_CREDENTIALS_CHECK')
160
161
  ? new Client({
161
162
  region,
162
163
  requestHandler: lambdaOptions,
164
+ maxAttempts: service === 'lambda' ? 1 : undefined,
163
165
  })
164
166
  : new Client({
165
167
  region,
166
168
  credentials: getCredentials(),
167
169
  requestHandler: lambdaOptions,
170
+ maxAttempts: service === 'lambda' ? 1 : undefined,
168
171
  });
169
172
 
170
173
  if (getEnvVariable('REMOTION_DISABLE_AWS_CLIENT_CACHE')) {