diff --git a/packages/skyflow-js/README.md b/packages/skyflow-js/README.md index 11d588bd..a48da980 100644 --- a/packages/skyflow-js/README.md +++ b/packages/skyflow-js/README.md @@ -3723,9 +3723,6 @@ const options = { const fileElement = container.create(fileElementInput, options); ``` -The vault API defaults `returnFileMetadata` to `false`; the SDK defaults it to `true` to keep the existing render response. Set it to `false` to omit `fileMetadata` from the response, in which case zip detection relies on the file name alone. - - An example of a inputStyles object: ```javascript @@ -4358,9 +4355,6 @@ const options = { const fileElement = container.create(fileElementInput, options); ``` -The vault API defaults `returnFileMetadata` to `false`; the SDK defaults it to `true` to keep the existing render response. Set it to `false` to omit `fileMetadata` from the response, in which case zip detection relies on the file name alone. - - An example of a inputStyles object: ```javascript diff --git a/packages/skyflow-js/samples/using-script-tag/composable-multi-file-upload.html b/packages/skyflow-js/samples/using-script-tag/composable-multi-file-upload.html index ec2fb583..a8860961 100644 --- a/packages/skyflow-js/samples/using-script-tag/composable-multi-file-upload.html +++ b/packages/skyflow-js/samples/using-script-tag/composable-multi-file-upload.html @@ -149,6 +149,7 @@

Collect Composable Elements

blockEmptyFiles: true, // default is false, if set to true, it will block empty files maxFileSize: 1000000, // default is 32000000 (32MB), if set, it will block files greater than the specified size maxFileCount: 3, // default is 5, if set, it will block if the number of files exceeds the specified number + returnFileMetadata: false } const fileElement = collectContainer.create({ diff --git a/packages/skyflow-js/samples/using-script-tag/skyflow-file-upload.html b/packages/skyflow-js/samples/using-script-tag/skyflow-file-upload.html index 98c91904..2041a60e 100644 --- a/packages/skyflow-js/samples/using-script-tag/skyflow-file-upload.html +++ b/packages/skyflow-js/samples/using-script-tag/skyflow-file-upload.html @@ -127,6 +127,7 @@

Collect Elements

const options = { allowedFileType: ["", ""], blockEmptyFiles: true, // default is false, if set to true, it will block empty files + returnFileMetadata: false, } const fileElement = collectContainer.create({