@dyedurham/search-and-file-widget 2.1.5 → 2.1.7
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.
- package/dnd-filing-shell.js +6 -3
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -84367,16 +84367,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84367
84367
|
issues.push("Company Email must be 150 characters or fewer.");
|
|
84368
84368
|
}
|
|
84369
84369
|
if (!request.registeredOfficeMailingAddress?.streetAddress?.trim()) {
|
|
84370
|
-
issues.push("The Registered Office has no Mailing address.
|
|
84370
|
+
issues.push("The Registered Office has no Mailing address.");
|
|
84371
84371
|
}
|
|
84372
84372
|
for (const director of request.directors ?? []) {
|
|
84373
84373
|
if (!director.mailingAddress?.streetAddress?.trim()) {
|
|
84374
|
-
issues.push(`Director ${`${director.firstName} ${director.lastName}`.trim()} has no Mailing address
|
|
84374
|
+
issues.push(`Director ${`${director.firstName} ${director.lastName}`.trim()} has no Mailing address.`);
|
|
84375
84375
|
}
|
|
84376
84376
|
}
|
|
84377
|
+
if (!request.authorizedShareStructure?.shareClasses?.length) {
|
|
84378
|
+
issues.push("The Authorized Share Structure is required.");
|
|
84379
|
+
}
|
|
84377
84380
|
const password = request.password ?? "";
|
|
84378
84381
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84379
|
-
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only
|
|
84382
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only.`);
|
|
84380
84383
|
}
|
|
84381
84384
|
return issues;
|
|
84382
84385
|
}
|