diff --git a/packages/api/lib/api-client.ts b/packages/api/lib/api-client.ts index c02c739..f3fa7da 100644 --- a/packages/api/lib/api-client.ts +++ b/packages/api/lib/api-client.ts @@ -22,7 +22,7 @@ export class ApiClient { * @param {string} token - The authentication token required for making API requests to Monday.com. * @param {ApiVersionType} [apiVersion=defaultVersion] - The API version to use for requests. * Can be one of the predefined versions in `AvailableVersions` or a custom version string. - * Defaults to `stable` if not specified. + * Defaults to the current version if not specified. * @param {string} [endpoint='https://api.monday.com/v2'] - The URL of the API endpoint. Defaults to the standard Monday.com API endpoint if not specified. */ diff --git a/packages/api/lib/constants/index.ts b/packages/api/lib/constants/index.ts index 0d8aad0..e252dbb 100644 --- a/packages/api/lib/constants/index.ts +++ b/packages/api/lib/constants/index.ts @@ -4,9 +4,9 @@ export enum AvailableVersions { // CURRENT = 'current', // RELEASE_CANDIDATE = 'release_candidate', // DEV = 'dev', - VERSION_2023_10 = '2024-04', - VERSION_2024_01 = '2024-07', - VERSION_2024_04 = '2024-10', + VERSION_2024_01 = '2024-01', + VERSION_2024_04 = '2024-04', + VERSION_2024_07 = '2024-07', } export const defaultVersion = AvailableVersions.VERSION_2024_04;