Skip to content

Commit c5655a3

Browse files
committed
chore: update bundle size
1 parent a0b1f93 commit c5655a3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/aws-amplify/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479
"name": "[Storage] getUrl (S3)",
480480
"path": "./dist/esm/storage/index.mjs",
481481
"import": "{ getUrl }",
482-
"limit": "16.26 kB"
482+
"limit": "16.43 kB"
483483
},
484484
{
485485
"name": "[Storage] list (S3)",
@@ -497,7 +497,7 @@
497497
"name": "[Storage] uploadData (S3)",
498498
"path": "./dist/esm/storage/index.mjs",
499499
"import": "{ uploadData }",
500-
"limit": "21.63 kB"
500+
"limit": "21.68 kB"
501501
}
502502
]
503503
}

packages/core/src/clients/middleware/retry/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const retryMiddlewareFactory = <TInput = Request, TOutput = Response>({
9191
// context.attemptsCount may be updated after calling next handler which may retry the request by itself.
9292
attemptsCount =
9393
(context.attemptsCount ?? 0) > attemptsCount
94-
? context.attemptsCount ?? 0
94+
? (context.attemptsCount ?? 0)
9595
: attemptsCount + 1;
9696
context.attemptsCount = attemptsCount;
9797
const { isCredentialsExpiredError, retryable } = await retryDecider(

packages/core/src/providers/pinpoint/apis/updateEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const updateEndpoint = async ({
5151
// only automatically populate the endpoint with client info and identity id upon endpoint creation to
5252
// avoid overwriting the endpoint with these values every time the endpoint is updated
5353
const demographicsFromClientInfo: UserProfile['demographic'] = {};
54-
const resolvedUserId = createdEndpointId ? userId ?? identityId : userId;
54+
const resolvedUserId = createdEndpointId ? (userId ?? identityId) : userId;
5555
if (createdEndpointId) {
5656
const clientInfo = getClientInfo();
5757
demographicsFromClientInfo.appVersion = clientInfo.appVersion;

packages/storage/src/providers/s3/utils/resolveS3ConfigAndInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const resolveS3ConfigAndInput = async (
123123
apiOptions?.accessLevel ?? defaultAccessLevel ?? DEFAULT_ACCESS_LEVEL;
124124
const targetIdentityId =
125125
accessLevel === 'protected'
126-
? apiOptions?.targetIdentityId ?? identityId
126+
? (apiOptions?.targetIdentityId ?? identityId)
127127
: identityId;
128128

129129
const keyPrefix = await prefixResolver({ accessLevel, targetIdentityId });

0 commit comments

Comments
 (0)