@dyedurham/search-and-file-widget 2.0.69 → 2.0.70

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.
@@ -84322,10 +84322,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84322
84322
  const isIndividual = incorporator.type !== "entity";
84323
84323
  return {
84324
84324
  incorporatorType: isIndividual ? "individual" : "corporationOrFirm",
84325
- // The API requires a first/last name for both types; for a corporation it is the signatory.
84326
- firstName: (isIndividual ? incorporator.firstName : incorporator.signatory_first_name) ?? "",
84325
+ // Names are only accepted for an individual; a corporation or firm is identified by
84326
+ // `corporationOrFirmName` (the API rejects first/last name otherwise).
84327
+ firstName: isIndividual ? incorporator.firstName ?? "" : void 0,
84327
84328
  middleName: isIndividual ? incorporator.middleName || void 0 : void 0,
84328
- lastName: (isIndividual ? incorporator.lastName : incorporator.signatory_last_name) ?? "",
84329
+ lastName: isIndividual ? incorporator.lastName ?? "" : void 0,
84329
84330
  mailingAddress: mapAddress(incorporator),
84330
84331
  corporationOrFirmName: isIndividual ? void 0 : incorporator.incorporator_name
84331
84332
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.0.69",
3
+ "version": "2.0.70",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {