diff --git a/libs/client/package.json b/libs/client/package.json index b51a260..5abf3fc 100644 --- a/libs/client/package.json +++ b/libs/client/package.json @@ -1,7 +1,7 @@ { "name": "@fal-ai/serverless-client", "description": "The fal serverless JS/TS client", - "version": "0.9.2", + "version": "0.9.3", "license": "MIT", "repository": { "type": "git", diff --git a/libs/client/src/storage.ts b/libs/client/src/storage.ts index 6b81038..439a5f8 100644 --- a/libs/client/src/storage.ts +++ b/libs/client/src/storage.ts @@ -104,6 +104,9 @@ export const storageImpl: StorageSupport = { // eslint-disable-next-line @typescript-eslint/no-explicit-any transformInput: async (input: Record) => { + if (!isPlainObject(input)) { + return input; + } const promises = Object.entries(input).map(async ([key, value]) => { if ( value instanceof Blob ||