@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.
@@ -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. Add one in Athennian.");
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. Add one in Athennian.`);
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. Update the registry ID in Athennian.`);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.1.5",
3
+ "version": "2.1.7",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {