Skip to content

Commit

Permalink
fix(deps): update dependencies (non-major) (#1830)
Browse files Browse the repository at this point in the history
* fix(deps): update dependencies (non-major)

* fix(deps): update to @smithy package for aws-sdk

Also bumps the related aws-sdk-client-mock and aws-sdk-client-mock-jest
packages

* fix: add import comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Derek Croote <[email protected]>
  • Loading branch information
renovate[bot] and dcroote authored Aug 15, 2023
1 parent fc287d3 commit 1d7e4b2
Show file tree
Hide file tree
Showing 6 changed files with 854 additions and 766 deletions.
7 changes: 7 additions & 0 deletions .changeset/serious-bobcats-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@api3/airnode-deployer': patch
'@api3/airnode-protocol': patch
'@api3/airnode-node': patch
---

Update to @smithy package for aws-sdk
10 changes: 5 additions & 5 deletions packages/airnode-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"@api3/airnode-utilities": "^0.12.0",
"@api3/airnode-validator": "^0.12.0",
"@api3/promise-utils": "^0.4.0",
"@aws-sdk/client-s3": "^3.360.0",
"@aws-sdk/signature-v4-crt": "^3.357.0",
"@google-cloud/storage": "^6.11.0",
"@aws-sdk/client-s3": "^3.383.0",
"@aws-sdk/signature-v4-crt": "^3.378.0",
"@google-cloud/storage": "^6.12.0",
"adm-zip": "^0.5.10",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
Expand All @@ -53,8 +53,8 @@
"@types/lodash": "^4.14.195",
"@types/node": "^18.16.19",
"@types/yargs": "^17.0.24",
"aws-sdk-client-mock": "^2.2.0",
"aws-sdk-client-mock-jest": "^2.2.0",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock-jest": "^3.0.0",
"copyfiles": "^2.4.1",
"esbuild-loader": "^3.0.1",
"jest": "^29.6.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/airnode-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"@api3/airnode-validator": "^0.12.0",
"@api3/ois": "2.1.0",
"@api3/promise-utils": "^0.4.0",
"@aws-sdk/client-lambda": "^3.360.0",
"@aws-sdk/client-lambda": "^3.382.0",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"ethers": "^5.7.2",
"express": "^4.18.2",
"google-auth-library": "^8.8.0",
"google-auth-library": "^8.9.0",
"lodash": "^4.17.21",
"yargs": "^17.7.2",
"zod": "^3.21.4"
Expand All @@ -48,8 +48,8 @@
"@types/lodash": "^4.14.195",
"@types/node": "^18.16.19",
"@types/yargs": "^17.0.24",
"aws-sdk-client-mock": "^2.2.0",
"aws-sdk-client-mock-jest": "^2.2.0",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock-jest": "^3.0.0",
"copyfiles": "^2.4.1",
"jest": "^29.6.0",
"rimraf": "^5.0.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/airnode-node/src/workers/cloud-platforms/aws.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { logger } from '@api3/airnode-utilities';
import { go } from '@api3/promise-utils';
import { LambdaClient, InvokeCommand } from '@aws-sdk/client-lambda';
import { Uint8ArrayBlobAdapter } from '@aws-sdk/util-stream';
// The following is an indirect @aws-sdk/client-lambda dependency
// For more, see comments in https://github.com/api3dao/airnode/pull/1830
import { Uint8ArrayBlobAdapter } from '@smithy/util-stream';
import { WorkerParameters, WorkerResponse } from '../../types';

export function encodeUtf8(input: string) {
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "^5.1.6"
},
"dependencies": {
"@api3/airnode-protocol-v1": "^2.7.1",
"@api3/airnode-protocol-v1": "^2.8.0",
"@openzeppelin/contracts": "4.4.2",
"ethers": "^5.7.2"
}
Expand Down
Loading

0 comments on commit 1d7e4b2

Please sign in to comment.