@edifice.io/react 2.0.5-develop-pedago.20250213144738 → 2.0.5-develop-pedago.20250213153833
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.
|
@@ -37,7 +37,7 @@ const useUpload = (visibility, application = "media-library") => {
|
|
|
37
37
|
try {
|
|
38
38
|
let resource;
|
|
39
39
|
return application === "media-library" && file.type.includes("video") ? resource = await uploadVideo(file, {
|
|
40
|
-
filename:
|
|
40
|
+
filename: file.name,
|
|
41
41
|
...metadata
|
|
42
42
|
}) : resource = await create(file, {
|
|
43
43
|
application,
|
|
@@ -70,7 +70,7 @@ const useUpload = (visibility, application = "media-library") => {
|
|
|
70
70
|
},
|
|
71
71
|
url: window.location.hostname,
|
|
72
72
|
file: blob,
|
|
73
|
-
filename: (
|
|
73
|
+
filename: getDefaultDate() ?? "filename",
|
|
74
74
|
weight: blob.size
|
|
75
75
|
},
|
|
76
76
|
appCode: application,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.0.5-develop-pedago.
|
|
3
|
+
"version": "2.0.5-develop-pedago.20250213153833",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"react-slugify": "^3.0.3",
|
|
119
119
|
"swiper": "^10.1.0",
|
|
120
120
|
"ua-parser-js": "^1.0.36",
|
|
121
|
-
"@edifice.io/bootstrap": "2.0.5-develop-pedago.
|
|
122
|
-
"@edifice.io/tiptap-extensions": "2.0.5-develop-pedago.
|
|
123
|
-
"@edifice.io/utilities": "2.0.5-develop-pedago.
|
|
121
|
+
"@edifice.io/bootstrap": "2.0.5-develop-pedago.20250213153833",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.0.5-develop-pedago.20250213153833",
|
|
123
|
+
"@edifice.io/utilities": "2.0.5-develop-pedago.20250213153833"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
"vite": "^5.4.11",
|
|
149
149
|
"vite-plugin-dts": "^4.1.0",
|
|
150
150
|
"vite-tsconfig-paths": "^5.0.1",
|
|
151
|
-
"@edifice.io/client": "2.0.5-develop-pedago.
|
|
152
|
-
"@edifice.io/config": "2.0.5-develop-pedago.
|
|
151
|
+
"@edifice.io/client": "2.0.5-develop-pedago.20250213153833",
|
|
152
|
+
"@edifice.io/config": "2.0.5-develop-pedago.20250213153833"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
155
|
"@react-spring/web": "^9.7.5",
|