@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.
- package/dnd-filing-shell.js +4 -3
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -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
|
-
//
|
|
84326
|
-
|
|
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:
|
|
84329
|
+
lastName: isIndividual ? incorporator.lastName ?? "" : void 0,
|
|
84329
84330
|
mailingAddress: mapAddress(incorporator),
|
|
84330
84331
|
corporationOrFirmName: isIndividual ? void 0 : incorporator.incorporator_name
|
|
84331
84332
|
};
|