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

remove cognito dependency #16

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,7 @@ import { createSignedFetcher } from 'aws-sigv4-fetch';
const signedFetch = createSignedFetcher({ service: 'iam', region: 'eu-west-1', fetch });
```

## To Do
- [ ] add integration tests for other AWS services like S3, DynamoDB, etc.
- [ ] guess AWS service and region from URL

## Resources
- [Sign GraphQL Request with AWS IAM and Signature V4](https://dev.to/zirkelc/sign-graphql-request-with-aws-iam-and-signature-v4-2il6)
- [Amplify Signing a request from Lambda](https://docs.amplify.aws/lib/graphqlapi/graphql-from-nodejs/q/platform/js/#signing-a-request-from-lambda)
- [Signing HTTP requests to Amazon OpenSearch Service
](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html#request-signing-node)
- [Signing HTTP requests to Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html#request-signing-node)
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-sigv4-fetch",
"version": "3.1.0",
"version": "3.1.1",
"description": "SignatureV4 fetch implemented with official @aws-sdk v3",
"packageManager": "[email protected]",
"type": "module",
Expand Down Expand Up @@ -43,7 +43,6 @@
"homepage": "https://github.com/zirkelc/aws-sigv4-fetch#readme",
"dependencies": {
"@aws-crypto/sha256-js": "^4.0.0",
"@aws-sdk/client-cognito-identity-provider": "^3.359.0",
"@aws-sdk/credential-provider-node": "^3.358.0",
"@aws-sdk/types": "^3.357.0",
"@smithy/protocol-http": "^3.3.0",
Expand Down
129 changes: 0 additions & 129 deletions pnpm-lock.yaml

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

Loading