@aws-amplify/ui-react-storage 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,7 +26,7 @@ const getInput = ({ accessLevel, file, key, onProgress, path, processFile, useAc
|
|
|
26
26
|
else {
|
|
27
27
|
const { identityId } = await fetchAuthSession();
|
|
28
28
|
const resolvedPath = `${hasCallbackPath ? path({ identityId }) : path}${processedKey}`;
|
|
29
|
-
inputResult = { data
|
|
29
|
+
inputResult = { data, path: resolvedPath, options };
|
|
30
30
|
}
|
|
31
31
|
return inputResult;
|
|
32
32
|
};
|
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -329,7 +329,7 @@ const getInput = ({ accessLevel, file, key, onProgress, path, processFile, useAc
|
|
|
329
329
|
else {
|
|
330
330
|
const { identityId } = await auth.fetchAuthSession();
|
|
331
331
|
const resolvedPath = `${hasCallbackPath ? path({ identityId }) : path}${processedKey}`;
|
|
332
|
-
inputResult = { data
|
|
332
|
+
inputResult = { data, path: resolvedPath, options };
|
|
333
333
|
}
|
|
334
334
|
return inputResult;
|
|
335
335
|
};
|
|
@@ -551,7 +551,7 @@ function FilePicker$1({ children, className = ui.ComponentClassName.FileUploader
|
|
|
551
551
|
return (React__namespace["default"].createElement(uiReact.Button, { ...props, className: className, size: size }, children));
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
-
const VERSION = '3.4.
|
|
554
|
+
const VERSION = '3.4.1';
|
|
555
555
|
|
|
556
556
|
const logger$1 = ui.getLogger('Storage');
|
|
557
557
|
const MISSING_REQUIRED_PROPS_MESSAGE$1 = '`FileUploader` requires a `maxFileCount` prop to be provided.';
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.4.
|
|
1
|
+
export declare const VERSION = "3.4.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-storage",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -75,6 +75,12 @@
|
|
|
75
75
|
"@aws-amplify/storage"
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
|
+
{
|
|
79
|
+
"name": "StorageBrowser",
|
|
80
|
+
"path": "dist/esm/index.mjs",
|
|
81
|
+
"import": "{ StorageBrowser }",
|
|
82
|
+
"limit": "83 kB"
|
|
83
|
+
},
|
|
78
84
|
{
|
|
79
85
|
"name": "FileUploader",
|
|
80
86
|
"path": "dist/esm/index.mjs",
|