@7365admin1/layer-common 4.97.1-staging.742 → 4.97.1-staging.743
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.
|
@@ -3183,8 +3183,9 @@ function onPhotoChange(event: Event) {
|
|
|
3183
3183
|
showToast("Facial enrollment only accepts JPG or PNG images.", "error");
|
|
3184
3184
|
return;
|
|
3185
3185
|
}
|
|
3186
|
-
|
|
3187
|
-
|
|
3186
|
+
// DV-2365: 2 MB, the limit core and API-core accept (1 MB before).
|
|
3187
|
+
if (file.size >= 2 * 1024 * 1024) {
|
|
3188
|
+
showToast("This photo is larger than 2 MB. Please choose a smaller photo.", "error");
|
|
3188
3189
|
return;
|
|
3189
3190
|
}
|
|
3190
3191
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.743",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|