From 2a37441883fa1175eafdd3c5504e4c62ff06cbe0 Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Sat, 21 Dec 2024 22:36:03 +0100 Subject: [PATCH] Update `@since` annotations --- src/common/getters.ts | 10 +++++----- src/gConsent/query/query.ts | 4 ++-- src/resource/deleteFile.ts | 2 +- src/resource/deleteSolidDataset.ts | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/common/getters.ts b/src/common/getters.ts index 705eac74f..9c8576e33 100644 --- a/src/common/getters.ts +++ b/src/common/getters.ts @@ -530,7 +530,7 @@ function deserializeBoolean(serialized: Literal): boolean | undefined { * * @param accessCredential The Access Credential (Access Grant or Access Request) * @returns the custom boolean field with the provided name - * @since unreleased + * @since 3.2.0 */ export function getCustomBoolean( accessCredential: DatasetWithId, @@ -573,7 +573,7 @@ function deserializeFloat(serialized: Literal): number | undefined { * * @param accessCredential The Access Credential (Access Grant or Access Request) * @returns the custom float field with the provided name - * @since unreleased + * @since 3.2.0 */ export function getCustomFloat( accessCredential: DatasetWithId, @@ -611,7 +611,7 @@ function deserializeInteger(serialized: Literal): number | undefined { * * @param accessCredential The Access Credential (Access Grant or Access Request) * @returns the custom integer field with the provided name - * @since unreleased + * @since 3.2.0 */ export function getCustomInteger( accessCredential: DatasetWithId, @@ -646,7 +646,7 @@ export function getCustomInteger( * * @param accessCredential The Access Credential (Access Grant or Access Request) * @returns the custom string field with the provided name - * @since unreleased + * @since 3.2.0 */ export function getCustomString( accessCredential: DatasetWithId, @@ -717,7 +717,7 @@ const WELL_KNOWN_FIELDS = [ * * @param accessCredential The Access Credential (Access Grant or Access Request) * @returns an object keyed by the custom fields names, associated to their values. - * @since unreleased + * @since 3.2.0 */ export function getCustomFields( accessCredential: DatasetWithId, diff --git a/src/gConsent/query/query.ts b/src/gConsent/query/query.ts index 39eb2f8ca..672e5722b 100644 --- a/src/gConsent/query/query.ts +++ b/src/gConsent/query/query.ts @@ -222,7 +222,7 @@ function toQueryUrl(endpoint: URL, filter: CredentialFilter): URL { * @param filter The query filter * @param options Query options * @returns a paginated set of Access Credentials matching the given filter - * @since unreleased + * @since 3.2.0 * * @example * ``` @@ -274,7 +274,7 @@ export async function query( * @param filter The query filter * @param options Query options * @returns an async iterator going through the result pages - * @since unreleased + * @since 3.2.0 * * @example * ``` diff --git a/src/resource/deleteFile.ts b/src/resource/deleteFile.ts index e6aae28a9..7a8bd160d 100644 --- a/src/resource/deleteFile.ts +++ b/src/resource/deleteFile.ts @@ -39,7 +39,7 @@ import { fetchWithVc } from "../fetch"; * @param options Optional properties to customise the request behaviour. * @returns A promise that resolves to a SolidDataset if successful, and that * rejects otherwise. - * @since unreleased + * @since 2.4.0 */ export async function deleteFile( fileUrl: UrlString, diff --git a/src/resource/deleteSolidDataset.ts b/src/resource/deleteSolidDataset.ts index f9660c692..ab37e7f57 100644 --- a/src/resource/deleteSolidDataset.ts +++ b/src/resource/deleteSolidDataset.ts @@ -39,7 +39,7 @@ import { fetchWithVc } from "../fetch"; * @param options Optional properties to customise the request behaviour. * @returns A promise that resolves to a SolidDataset if successful, and that * rejects otherwise. - * @since unreleased + * @since 2.4.0 */ export async function deleteSolidDataset( datasetUrl: UrlString,