Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated new release version #53

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
1.2.1
cgalvan committed Dec 17, 2024
commit 93794ea723bc82020db88da8f4bb99df2fe1cb2f
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "@aws/amazon-location-utilities-auth-helper",
"description": "Amazon Location Utilities - Authentication Helper for JavaScript",
"license": "Apache-2.0",
"version": "1.2.0",
"version": "1.2.1",
"keywords": [],
"author": {
"name": "Amazon Web Services",

Unchanged files with check annotations Beta

}
export class Signer {
static signUrl(urlToSign: string, region: string, serviceName: string, accessInfo: any): string {

Check warning on line 86 in src/utils/signer.ts

GitHub Actions / build

Unexpected any. Specify a different type
const method = "GET";
let body: undefined;
.sort()
.join(";");
const getHashedPayload = (body: HttpRequest["body"]): string => {

Check warning on line 366 in src/utils/signer.ts

GitHub Actions / build

'body' is defined but never used
// Modification - For our use-case, the body is always null,
// so we just return the EMPTY_HASH
// return precalculated empty hash if body is undefined or null