diff --git a/.changeset/strange-fishes-retire.md b/.changeset/strange-fishes-retire.md new file mode 100644 index 0000000000..e9440af3e5 --- /dev/null +++ b/.changeset/strange-fishes-retire.md @@ -0,0 +1,9 @@ +--- +'@api3/airnode-adapter': minor +'@api3/airnode-deployer': minor +'@api3/airnode-examples': minor +'@api3/airnode-node': minor +'@api3/airnode-validator': minor +--- + +Bump @api3/ois to 1.4.0 with necessary zod version bump to 3.20 diff --git a/packages/airnode-adapter/package.json b/packages/airnode-adapter/package.json index 442b527bcf..6c8788feea 100644 --- a/packages/airnode-adapter/package.json +++ b/packages/airnode-adapter/package.json @@ -19,7 +19,7 @@ "test:watch": "yarn test:ts --watch" }, "dependencies": { - "@api3/ois": "1.3.0", + "@api3/ois": "1.4.0", "@api3/promise-utils": "^0.3.0", "axios": "1.1.3", "bignumber.js": "^9.1.0", diff --git a/packages/airnode-adapter/test/fixtures/ois.ts b/packages/airnode-adapter/test/fixtures/ois.ts index 71db60098a..5e2ecd7db7 100644 --- a/packages/airnode-adapter/test/fixtures/ois.ts +++ b/packages/airnode-adapter/test/fixtures/ois.ts @@ -2,7 +2,7 @@ import { OIS } from '@api3/ois'; export function buildOIS(overrides?: Partial): OIS { return { - oisFormat: '1.3.0', + oisFormat: '1.4.0', version: '1.2.3', title: 'Currency Converter API', apiSpecifications: { diff --git a/packages/airnode-deployer/config/config.example.json b/packages/airnode-deployer/config/config.example.json index b018311b02..f9881b2859 100644 --- a/packages/airnode-deployer/config/config.example.json +++ b/packages/airnode-deployer/config/config.example.json @@ -87,7 +87,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-deployer/package.json b/packages/airnode-deployer/package.json index 804a3f98b7..46906ea934 100644 --- a/packages/airnode-deployer/package.json +++ b/packages/airnode-deployer/package.json @@ -41,7 +41,7 @@ "lodash": "^4.17.21", "ora": "^5.4.1", "yargs": "^17.6.0", - "zod": "^3.19.1" + "zod": "^3.20.0" }, "devDependencies": { "@google-cloud/functions-framework": "^3.1.2", diff --git a/packages/airnode-deployer/test/fixtures/config.aws.valid.json b/packages/airnode-deployer/test/fixtures/config.aws.valid.json index 90ba186557..9c4f3eb781 100644 --- a/packages/airnode-deployer/test/fixtures/config.aws.valid.json +++ b/packages/airnode-deployer/test/fixtures/config.aws.valid.json @@ -90,7 +90,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-deployer/test/fixtures/config.gcp.valid.json b/packages/airnode-deployer/test/fixtures/config.gcp.valid.json index f497a1606f..f6e6d1fab5 100644 --- a/packages/airnode-deployer/test/fixtures/config.gcp.valid.json +++ b/packages/airnode-deployer/test/fixtures/config.gcp.valid.json @@ -90,7 +90,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/authenticated-coinmarketcap/config.example.json b/packages/airnode-examples/integrations/authenticated-coinmarketcap/config.example.json index ac3a324f56..224b4088a9 100644 --- a/packages/airnode-examples/integrations/authenticated-coinmarketcap/config.example.json +++ b/packages/airnode-examples/integrations/authenticated-coinmarketcap/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinMarketCap Basic Authenticated Request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/authenticated-coinmarketcap/create-config.ts b/packages/airnode-examples/integrations/authenticated-coinmarketcap/create-config.ts index 1b81ecac13..01aa7f3cb1 100644 --- a/packages/airnode-examples/integrations/authenticated-coinmarketcap/create-config.ts +++ b/packages/airnode-examples/integrations/authenticated-coinmarketcap/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinMarketCap Basic Authenticated Request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/config.example.json b/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/config.example.json index f00abb0c97..af6422c402 100644 --- a/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/config.example.json @@ -90,7 +90,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/create-config.ts b/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/create-config.ts index e952ed64f5..6b1c3faee7 100644 --- a/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-cross-chain-authorizer/create-config.ts @@ -98,7 +98,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko basic request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-post-processing/config.example.json b/packages/airnode-examples/integrations/coingecko-post-processing/config.example.json index a9e3de245c..4618195394 100644 --- a/packages/airnode-examples/integrations/coingecko-post-processing/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-post-processing/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko coins markets request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-post-processing/create-config.ts b/packages/airnode-examples/integrations/coingecko-post-processing/create-config.ts index daf6173e06..a5a2f82a5f 100644 --- a/packages/airnode-examples/integrations/coingecko-post-processing/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-post-processing/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko coins markets request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-pre-processing/config.example.json b/packages/airnode-examples/integrations/coingecko-pre-processing/config.example.json index 3be4e5579e..4d95bae31e 100644 --- a/packages/airnode-examples/integrations/coingecko-pre-processing/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-pre-processing/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko history data request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-pre-processing/create-config.ts b/packages/airnode-examples/integrations/coingecko-pre-processing/create-config.ts index d1e8481afa..962a94a7ff 100644 --- a/packages/airnode-examples/integrations/coingecko-pre-processing/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-pre-processing/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko history data request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-signed-data/config.example.json b/packages/airnode-examples/integrations/coingecko-signed-data/config.example.json index 6fc754a614..8413d7dfd7 100644 --- a/packages/airnode-examples/integrations/coingecko-signed-data/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-signed-data/config.example.json @@ -86,7 +86,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-signed-data/create-config.ts b/packages/airnode-examples/integrations/coingecko-signed-data/create-config.ts index 48e33fe7f1..6c18abbb1a 100644 --- a/packages/airnode-examples/integrations/coingecko-signed-data/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-signed-data/create-config.ts @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko basic request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-template/config.example.json b/packages/airnode-examples/integrations/coingecko-template/config.example.json index 44cd19b80d..95fd08a213 100644 --- a/packages/airnode-examples/integrations/coingecko-template/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-template/config.example.json @@ -84,7 +84,7 @@ ], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-template/create-config.ts b/packages/airnode-examples/integrations/coingecko-template/create-config.ts index be9319f30a..d97aa60380 100644 --- a/packages/airnode-examples/integrations/coingecko-template/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-template/create-config.ts @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ ], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko basic request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko-testable/config.example.json b/packages/airnode-examples/integrations/coingecko-testable/config.example.json index 979d087738..440d8dfb23 100644 --- a/packages/airnode-examples/integrations/coingecko-testable/config.example.json +++ b/packages/airnode-examples/integrations/coingecko-testable/config.example.json @@ -86,7 +86,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko-testable/create-config.ts b/packages/airnode-examples/integrations/coingecko-testable/create-config.ts index e9cf107d2f..5765209433 100644 --- a/packages/airnode-examples/integrations/coingecko-testable/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko-testable/create-config.ts @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko basic request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/coingecko/config.example.json b/packages/airnode-examples/integrations/coingecko/config.example.json index 415333febe..f9cc3ca192 100644 --- a/packages/airnode-examples/integrations/coingecko/config.example.json +++ b/packages/airnode-examples/integrations/coingecko/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/coingecko/create-config.ts b/packages/airnode-examples/integrations/coingecko/create-config.ts index 68a2f4928d..1fcf3c5623 100644 --- a/packages/airnode-examples/integrations/coingecko/create-config.ts +++ b/packages/airnode-examples/integrations/coingecko/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'CoinGecko basic request', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/failing-example/config.example.json b/packages/airnode-examples/integrations/failing-example/config.example.json index 955dce399b..f69aa11365 100644 --- a/packages/airnode-examples/integrations/failing-example/config.example.json +++ b/packages/airnode-examples/integrations/failing-example/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "Failure Example", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/failing-example/create-config.ts b/packages/airnode-examples/integrations/failing-example/create-config.ts index 693502fd25..35cb67de30 100644 --- a/packages/airnode-examples/integrations/failing-example/create-config.ts +++ b/packages/airnode-examples/integrations/failing-example/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'Failure Example', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/relay-security-schemes/config.example.json b/packages/airnode-examples/integrations/relay-security-schemes/config.example.json index 2ce4592727..6b4ac58e89 100644 --- a/packages/airnode-examples/integrations/relay-security-schemes/config.example.json +++ b/packages/airnode-examples/integrations/relay-security-schemes/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "Relay Security Schemes via httpbin", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/relay-security-schemes/create-config.ts b/packages/airnode-examples/integrations/relay-security-schemes/create-config.ts index 6937a4ffe8..04b7b57011 100644 --- a/packages/airnode-examples/integrations/relay-security-schemes/create-config.ts +++ b/packages/airnode-examples/integrations/relay-security-schemes/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'Relay Security Schemes via httpbin', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-examples/integrations/weather-multi-value/config.example.json b/packages/airnode-examples/integrations/weather-multi-value/config.example.json index 02a813a161..7a5e0945a8 100644 --- a/packages/airnode-examples/integrations/weather-multi-value/config.example.json +++ b/packages/airnode-examples/integrations/weather-multi-value/config.example.json @@ -78,7 +78,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "OpenWeather Multiple Encoded Values", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-examples/integrations/weather-multi-value/create-config.ts b/packages/airnode-examples/integrations/weather-multi-value/create-config.ts index 1ed8bbf5ba..f6c6df0fc9 100644 --- a/packages/airnode-examples/integrations/weather-multi-value/create-config.ts +++ b/packages/airnode-examples/integrations/weather-multi-value/create-config.ts @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise => ({ templates: [], ois: [ { - oisFormat: '1.3.0', + oisFormat: '1.4.0', title: 'OpenWeather Multiple Encoded Values', version: '1.0.0', apiSpecifications: { diff --git a/packages/airnode-node/config/config.example.json b/packages/airnode-node/config/config.example.json index 7c17209f07..08351630ed 100644 --- a/packages/airnode-node/config/config.example.json +++ b/packages/airnode-node/config/config.example.json @@ -79,7 +79,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "version": "1.2.3", "title": "Currency Converter API", "apiSpecifications": { diff --git a/packages/airnode-node/package.json b/packages/airnode-node/package.json index 30de5b2b24..82281361c1 100644 --- a/packages/airnode-node/package.json +++ b/packages/airnode-node/package.json @@ -29,7 +29,7 @@ "@api3/airnode-protocol": "^0.9.0", "@api3/airnode-utilities": "^0.9.0", "@api3/airnode-validator": "^0.9.0", - "@api3/ois": "1.3.0", + "@api3/ois": "1.4.0", "@api3/promise-utils": "^0.3.0", "aws-sdk": "^2.1243.0", "dotenv": "^16.0.3", @@ -38,7 +38,7 @@ "google-auth-library": "^8.6.0", "lodash": "^4.17.21", "yargs": "^17.6.0", - "zod": "^3.19.1" + "zod": "^3.20.0" }, "devDependencies": { "@api3/airnode-operation": "^0.9.0", diff --git a/packages/airnode-node/test/fixtures/config/ois.ts b/packages/airnode-node/test/fixtures/config/ois.ts index 606afa9169..e99d1380b9 100644 --- a/packages/airnode-node/test/fixtures/config/ois.ts +++ b/packages/airnode-node/test/fixtures/config/ois.ts @@ -2,7 +2,7 @@ import { OIS } from '@api3/ois'; export function buildOIS(ois?: Partial): OIS { return { - oisFormat: '1.3.0', + oisFormat: '1.4.0', version: '1.2.3', title: 'Currency Converter API', apiSpecifications: { diff --git a/packages/airnode-validator/package.json b/packages/airnode-validator/package.json index e47f841a35..218b293be9 100644 --- a/packages/airnode-validator/package.json +++ b/packages/airnode-validator/package.json @@ -21,14 +21,14 @@ "test:e2e:update-snapshot": "yarn test:e2e --updateSnapshot" }, "dependencies": { - "@api3/ois": "1.3.0", + "@api3/ois": "1.4.0", "@api3/promise-utils": "^0.3.0", "dotenv": "^16.0.3", "ethers": "^5.7.2", "lodash": "^4.17.21", "ora": "^5.4.1", "yargs": "^17.6.0", - "zod": "^3.19.1" + "zod": "^3.20.0" }, "devDependencies": { "@types/yargs": "^17.0.13", diff --git a/packages/airnode-validator/src/api/api.test.ts b/packages/airnode-validator/src/api/api.test.ts index cd8341fcca..a6c8200782 100644 --- a/packages/airnode-validator/src/api/api.test.ts +++ b/packages/airnode-validator/src/api/api.test.ts @@ -74,6 +74,7 @@ describe('parseConfigWithSecrets', () => { minimum: 1, type: 'string', inclusive: true, + exact: false, message: 'Secret cannot be empty', path: ['AIRNODE_WALLET_MNEMONIC'], }, diff --git a/packages/airnode-validator/src/config/config.test.ts b/packages/airnode-validator/src/config/config.test.ts index 654d4bb866..d08d7c59a0 100644 --- a/packages/airnode-validator/src/config/config.test.ts +++ b/packages/airnode-validator/src/config/config.test.ts @@ -96,6 +96,7 @@ describe('gasPriceOracleSchema', () => { minimum: 1, type: 'array', inclusive: true, + exact: false, message: 'Array must contain at least 1 element(s)', path: [], }, @@ -379,6 +380,7 @@ describe('apiKey schemas', () => { minimum: 30, type: 'string', inclusive: true, + exact: false, message: 'String must contain at least 30 character(s)', path: ['apiKey'], }, @@ -393,6 +395,7 @@ describe('apiKey schemas', () => { maximum: 120, type: 'string', inclusive: true, + exact: false, message: 'String must contain at most 120 character(s)', path: ['apiKey'], }, diff --git a/packages/airnode-validator/src/config/config.ts b/packages/airnode-validator/src/config/config.ts index e0910baffb..47e28e00a0 100644 --- a/packages/airnode-validator/src/config/config.ts +++ b/packages/airnode-validator/src/config/config.ts @@ -122,33 +122,28 @@ export const gasPriceOracleStrategySchema = z.discriminatedUnion('gasPriceStrate constantGasPriceStrategySchema, ]); -export const validateGasPriceOracleStrategies: SuperRefinement = (gasPriceOracle, ctx) => { - const constantGasPriceStrategy = gasPriceOracle.find( - (gasPriceOracleStrategy) => gasPriceOracleStrategy.gasPriceStrategy === 'constantGasPrice' - ); - - // Require at least the constantGasPrice strategy to be defined - if (!constantGasPriceStrategy) { - ctx.addIssue({ - code: z.ZodIssueCode.custom, - message: `Missing required constantGasPrice strategy`, - path: ['gasPriceOracle'], - }); - } - - if (gasPriceOracle[gasPriceOracle.length - 1]?.gasPriceStrategy !== 'constantGasPrice') { - ctx.addIssue({ - code: z.ZodIssueCode.custom, - message: `ConstantGasPrice strategy must be set as the last strategy in the array.`, - path: ['gasPriceOracle'], - }); - } -}; - export const gasPriceOracleSchema = z .array(gasPriceOracleStrategySchema) .nonempty() - .superRefine(validateGasPriceOracleStrategies); + .superRefine((strategies, ctx) => { + const constantGasPriceStrategy = strategies.find((strategy) => strategy.gasPriceStrategy === 'constantGasPrice'); + + if (!constantGasPriceStrategy) { + ctx.addIssue({ + code: z.ZodIssueCode.custom, + message: `Missing required constantGasPrice strategy`, + path: ['gasPriceOracle'], + }); + } + + if (strategies[strategies.length - 1]?.gasPriceStrategy !== 'constantGasPrice') { + ctx.addIssue({ + code: z.ZodIssueCode.custom, + message: `ConstantGasPrice strategy must be set as the last strategy in the array.`, + path: ['gasPriceOracle'], + }); + } + }); export const chainOptionsSchema = z .object({ @@ -492,4 +487,4 @@ export type Amount = SchemaType; export type EnabledGateway = SchemaType; export type MaxConcurrency = SchemaType; -export const availableCloudProviders = Array.from(cloudProviderSchema.options.keys()) as CloudProvider['type'][]; +export const availableCloudProviders = Array.from(cloudProviderSchema.optionsMap.keys()) as CloudProvider['type'][]; diff --git a/packages/airnode-validator/test/fixtures/config.valid.json b/packages/airnode-validator/test/fixtures/config.valid.json index 981bf020fc..af5e47c572 100644 --- a/packages/airnode-validator/test/fixtures/config.valid.json +++ b/packages/airnode-validator/test/fixtures/config.valid.json @@ -79,7 +79,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-validator/test/fixtures/interpolated-config.valid.json b/packages/airnode-validator/test/fixtures/interpolated-config.valid.json index 50650ac7f4..7f03f22b52 100644 --- a/packages/airnode-validator/test/fixtures/interpolated-config.valid.json +++ b/packages/airnode-validator/test/fixtures/interpolated-config.valid.json @@ -83,7 +83,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-validator/test/fixtures/invalid-secret-name/config.json b/packages/airnode-validator/test/fixtures/invalid-secret-name/config.json index 57a308f0f9..2d288caaa6 100644 --- a/packages/airnode-validator/test/fixtures/invalid-secret-name/config.json +++ b/packages/airnode-validator/test/fixtures/invalid-secret-name/config.json @@ -67,7 +67,7 @@ "templates": [], "ois": [ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "title": "CoinGecko basic request", "version": "1.0.0", "apiSpecifications": { diff --git a/packages/airnode-validator/test/fixtures/ois.json b/packages/airnode-validator/test/fixtures/ois.json index f97d2d2357..ce5382f59b 100644 --- a/packages/airnode-validator/test/fixtures/ois.json +++ b/packages/airnode-validator/test/fixtures/ois.json @@ -1,5 +1,5 @@ { - "oisFormat": "1.3.0", + "oisFormat": "1.4.0", "version": "1.2.3", "title": "coinlayer", "apiSpecifications": { diff --git a/yarn.lock b/yarn.lock index f1ce386821..d24a47c6d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,13 +10,13 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" -"@api3/ois@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@api3/ois/-/ois-1.3.0.tgz#3780a1bcd439e2fdb1316955d97f5124311ad316" - integrity sha512-fdUsK1WwVN6FJUPPwDWpjyJNTg2MCaWYej8rr4bIoFMPvBre9ow7vKMw99+qdAS1P5CZP0Yvba14yacy3f3P4w== +"@api3/ois@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@api3/ois/-/ois-1.4.0.tgz#128e56d8ff5f03b6219aaaa9e5022d1e9ab6dc57" + integrity sha512-oPzHipFgGXaTgYCQeU9nx0vaucFZPO1oymMs25v/qfcl+M+i6/xwgmej3o7CFt/dF0q2yNLiZW31Tro7g4AMcA== dependencies: lodash "^4.17.21" - zod "^3.19.1" + zod "^3.20.0" "@api3/promise-utils@^0.3.0": version "0.3.0" @@ -17066,7 +17066,7 @@ zksync-web3@^0.8.1: resolved "https://registry.yarnpkg.com/zksync-web3/-/zksync-web3-0.8.1.tgz#db289d8f6caf61f4d5ddc471fa3448d93208dc14" integrity sha512-1A4aHPQ3MyuGjpv5X/8pVEN+MdZqMjfVmiweQSRjOlklXYu65wT9BGEOtCmMs5d3gIvLp4ssfTeuR5OCKOD2kw== -zod@^3.19.1: - version "3.19.1" - resolved "https://registry.yarnpkg.com/zod/-/zod-3.19.1.tgz#112f074a97b50bfc4772d4ad1576814bd8ac4473" - integrity sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA== +zod@^3.20.0: + version "3.20.2" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.2.tgz#068606642c8f51b3333981f91c0a8ab37dfc2807" + integrity sha512-1MzNQdAvO+54H+EaK5YpyEy0T+Ejo/7YLHS93G3RnYWh5gaotGHwGeN/ZO687qEDU2y4CdStQYXVHIgrUl5UVQ==