@dyedurham/search-and-file-widget 2.1.9 → 2.1.10

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.
Files changed (2) hide show
  1. package/dnd-filing-shell.js +3 -4
  2. package/package.json +11 -11
@@ -84450,11 +84450,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84450
84450
  const isIndividual = incorporator.type !== "entity";
84451
84451
  return {
84452
84452
  incorporatorType: isIndividual ? "individual" : "corporationOrFirm",
84453
- // Names are only accepted for an individual; a corporation or firm is identified by
84454
- // `corporationOrFirmName` (the API rejects first/last name otherwise).
84455
- firstName: isIndividual ? incorporator.firstName ?? "" : void 0,
84453
+ // Spec: a corporation or firm is represented by its signatory (names required for both types).
84454
+ firstName: (isIndividual ? incorporator.firstName : incorporator.signatory_first_name) ?? "",
84456
84455
  middleName: isIndividual ? incorporator.middleName || void 0 : void 0,
84457
- lastName: isIndividual ? incorporator.lastName ?? "" : void 0,
84456
+ lastName: (isIndividual ? incorporator.lastName : incorporator.signatory_last_name) ?? "",
84458
84457
  mailingAddress: mapAddress(incorporator),
84459
84458
  corporationOrFirmName: isIndividual ? void 0 : incorporator.incorporator_name
84460
84459
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.1.9",
4
- "description": "",
5
- "main": "dnd-filing-shell.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "author": "",
10
- "license": "ISC"
11
- }
1
+ {
2
+ "name": "@dyedurham/search-and-file-widget",
3
+ "version": "2.1.10",
4
+ "description": "",
5
+ "main": "dnd-filing-shell.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }