Skip to content

Commit

Permalink
Update packages (#2026)
Browse files Browse the repository at this point in the history
* fix: typos

Co-authored-by: friendlyping <[email protected]>

* fix: bump packages

---------

Co-authored-by: friendlyping <[email protected]>
  • Loading branch information
dcroote and friendlyping authored Jan 30, 2025
1 parent c5aef44 commit 4a8b877
Show file tree
Hide file tree
Showing 12 changed files with 360 additions and 168 deletions.
12 changes: 12 additions & 0 deletions .changeset/rare-apes-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@api3/airnode-operation": patch
"@api3/airnode-validator": patch
"@api3/airnode-deployer": patch
"@api3/airnode-examples": patch
"@api3/airnode-protocol": patch
"@api3/airnode-adapter": patch
"@api3/airnode-admin": patch
"@api3/airnode-node": patch
---

Bump dependencies and fix typos
2 changes: 1 addition & 1 deletion packages/airnode-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@api3/ois": "2.3.2",
"@api3/promise-utils": "^0.4.0",
"axios": "^1.6.7",
"axios": "^1.7.9",
"bignumber.js": "^9.1.2",
"ethers": "^5.7.2",
"lodash": "^4.17.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ describe('extract and encode multiple values', () => {
).toThrow('Parameter "_path" must be empty string or undefined when "_type" is "timestamp", but it was "1"');
});

it('throws if _times is present for non numberic types', () => {
it('throws if _times is present for non numeric types', () => {
const encodedString = ethers.utils.formatBytes32String('simplestring');
expect(() => extractAndEncodeResponse(encodedString, { _type: 'bytes32', _times: '1000' })).toThrow(
'Parameter "_times" can only be used with numeric types, but "_type" was "bytes32"'
Expand Down
4 changes: 2 additions & 2 deletions packages/airnode-admin/test/e2e/cli.feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('CLI', () => {
it('derives airnode xpub', () => {
const airnodeMnemonic = airnodeWallet.mnemonic.phrase;

// Derive the xpub programatically
// Derive the xpub programmatically
const airnodeXpub = admin.deriveAirnodeXpub(airnodeMnemonic);

// Derive the xpub using CLI
Expand Down Expand Up @@ -172,7 +172,7 @@ describe('CLI', () => {
['--sponsor-address', sponsorAddress]
);

// Derive the wallet programatically
// Derive the wallet programmatically
const sponsorWallet = await deriveSponsorWallet(airnodeWallet.mnemonic.phrase, sponsorAddress);

// Check that they generate the same wallet address
Expand Down
12 changes: 6 additions & 6 deletions packages/airnode-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"@aws-sdk/client-s3": "^3.525.0",
"@aws-sdk/signature-v4-crt": "^3.525.0",
"@google-cloud/storage": "^7.7.0",
"adm-zip": "^0.5.10",
"adm-zip": "^0.5.16",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
"compare-versions": "^6.1.0",
"compare-versions": "^6.1.1",
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.2",
"dotenv": "^16.4.5",
"date-fns-tz": "^3.2.0",
"dotenv": "^16.4.7",
"ethers": "^5.7.2",
"lodash": "^4.17.21",
"ora": "^5.4.1",
Expand All @@ -48,7 +48,7 @@
"devDependencies": {
"@aws-sdk/util-stream-node": "^3.374.0",
"@google-cloud/functions-framework": "^3.4.0",
"@types/adm-zip": "^0.5.5",
"@types/adm-zip": "^0.5.7",
"@types/aws-lambda": "^8.10.137",
"@types/lodash": "^4.17.0",
"@types/node": "^20.17.0",
Expand All @@ -62,7 +62,7 @@
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-ignore-dynamic-require": "^1.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/node": "^20.17.0",
"@types/prompts": "^2.4.9",
"chalk": "^4.1.2",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"ethereum-waffle": "^4.0.10",
"hardhat": "^2.22.18",
"jest": "^29.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const main = async () => {
// NOTE: When doing this manually, you can use the 'derive-airnode-xpub' command from the admin CLI package
const airnodeXpub = deriveAirnodeXpub(airnodeWallet.mnemonic.phrase);

// Derive the sponsor wallet address programatically
// Derive the sponsor wallet address programmatically
// NOTE: When doing this manually, you can use the 'derive-sponsor-wallet-address' command from the admin CLI package
const sponsorWalletAddress = await deriveSponsorWalletAddress(airnodeXpub, airnodeWallet.address, sponsor.address);

Expand Down
4 changes: 2 additions & 2 deletions packages/airnode-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@api3/promise-utils": "^0.4.0",
"@aws-sdk/client-lambda": "^3.525.0",
"date-fns": "^3.6.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"ethers": "^5.7.2",
"express": "^4.18.3",
"express": "^4.21.2",
"google-auth-library": "^9.6.3",
"lodash": "^4.17.21",
"yargs": "^17.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-operation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@api3/airnode-protocol": "^0.14.0",
"@api3/airnode-utilities": "^0.14.0",
"ethers": "^5.7.2",
"express": "^4.18.3",
"express": "^4.21.2",
"hardhat": "^2.22.18",
"morgan": "^1.10.0",
"pm2": "^5.3.1"
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.4.5"
},
"dependencies": {
"@api3/airnode-protocol-v1": "^3.3.0",
"@api3/airnode-protocol-v1": "^3.4.0",
"@openzeppelin/contracts": "4.4.2",
"ethers": "^5.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@api3/commons": "^0.9.0",
"@api3/ois": "2.3.2",
"@api3/promise-utils": "^0.4.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"ethers": "^5.7.2",
"lodash": "^4.17.21",
"ora": "^5.4.1",
Expand Down
Loading

0 comments on commit 4a8b877

Please sign in to comment.