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

Bump @api3/ois to 1.4.0 with necessary zod version bump to 3.20 #1597

Merged
merged 3 commits into from
Dec 19, 2022
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
9 changes: 9 additions & 0 deletions .changeset/strange-fishes-retire.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/airnode-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-adapter/test/fixtures/ois.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { OIS } from '@api3/ois';

export function buildOIS(overrides?: Partial<OIS>): OIS {
return {
oisFormat: '1.3.0',
oisFormat: '1.4.0',
version: '1.2.3',
title: 'Currency Converter API',
apiSpecifications: {
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-deployer/config/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinMarketCap Basic Authenticated Request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinMarketCap Basic Authenticated Request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko basic request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko coins markets request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko coins markets request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko history data request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko history data request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko basic request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko basic request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko basic request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "CoinGecko basic request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'CoinGecko basic request',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "Failure Example",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'Failure Example',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'Relay Security Schemes via httpbin',
version: '1.0.0',
apiSpecifications: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"title": "OpenWeather Multiple Encoded Values",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const createConfig = async (generateExampleFile: boolean): Promise<Config> => ({
templates: [],
ois: [
{
oisFormat: '1.3.0',
oisFormat: '1.4.0',
title: 'OpenWeather Multiple Encoded Values',
version: '1.0.0',
apiSpecifications: {
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-node/config/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"templates": [],
"ois": [
{
"oisFormat": "1.3.0",
"oisFormat": "1.4.0",
"version": "1.2.3",
"title": "Currency Converter API",
"apiSpecifications": {
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 @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-node/test/fixtures/config/ois.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { OIS } from '@api3/ois';

export function buildOIS(ois?: Partial<OIS>): OIS {
return {
oisFormat: '1.3.0',
oisFormat: '1.4.0',
version: '1.2.3',
title: 'Currency Converter API',
apiSpecifications: {
Expand Down
4 changes: 2 additions & 2 deletions packages/airnode-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/airnode-validator/src/api/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ describe('parseConfigWithSecrets', () => {
minimum: 1,
type: 'string',
inclusive: true,
exact: false,
message: 'Secret cannot be empty',
path: ['AIRNODE_WALLET_MNEMONIC'],
},
Expand Down
3 changes: 3 additions & 0 deletions packages/airnode-validator/src/config/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ describe('gasPriceOracleSchema', () => {
minimum: 1,
type: 'array',
inclusive: true,
exact: false,
message: 'Array must contain at least 1 element(s)',
path: [],
},
Expand Down Expand Up @@ -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'],
},
Expand All @@ -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'],
},
Expand Down
Loading