Skip to content

@nmi-agro/fdm-storage@0.1.0

Latest

Choose a tag to compare

@SvenVw SvenVw released this 01 Dec 16:54
dea6fd9

Minor Changes

  • #916 971f138 Thanks @SvenVw! - New package with file storage for FDM: a FileStorage interface with an implementation on Google Cloud Storage (createGcsStorage) and one in memory for tests (createMemoryStorage), and readAndValidateFileUpload, which checks the type of an uploaded file from its contents.

  • #973 8ca24d1 Thanks @BoraIneviNMI! - Require Node.js 26 or higher (engines.node is now >=26.0.0) and build for the node26 target.

Patch Changes

  • #967 fd9d527 Thanks @SvenVw! - Update @google-cloud/storage to version 9. The client no longer exports ApiError, so not-found and transient-network errors are now recognised by their HTTP status instead. isGcsNotFoundError is exported for callers that need the same check.