@dyedurham/search-and-file-widget 1.5.4 → 1.5.5

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 +13 -14
  2. package/package.json +1 -1
@@ -78322,8 +78322,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78322
78322
  if (isUpdated && prevValueMap) {
78323
78323
  const key = formValue[IRFormControls.AffiliationName];
78324
78324
  const prevValue = prevValueMap.get(key);
78325
- prevValue.ceasedRoles;
78326
- return result + prevValue.ceasedRoles?.reduce((acc, curr) => {
78325
+ return result + prevValue?.ceasedRoles?.reduce((acc, curr) => {
78327
78326
  return acc + `</br><span class="body-1-semibold">${t("Cease Role")}:</span> ${curr}`;
78328
78327
  }, "");
78329
78328
  }
@@ -84328,16 +84327,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84328
84327
  IncorporationDate: signature.task.entity._compliance.incorporation_date
84329
84328
  }
84330
84329
  };
84331
- const url = signature.proxyApiUrl;
84330
+ const url = "/api/CurrentData";
84332
84331
  const resp = yield fetchFn(url, {
84333
84332
  method: "POST",
84334
84333
  headers: __spreadValues({
84335
84334
  "Content-Type": "application/json",
84336
- // 'ApiKey': 'a759101c-aeac-4fa6-90dc-8b56f01b2939',
84335
+ "ApiKey": "a759101c-aeac-4fa6-90dc-8b56f01b2939",
84337
84336
  "ClientId": "22124",
84338
84337
  "UserId": "140422",
84339
84338
  "x-target-url": `${this.config.ONFiling}api/CurrentData`,
84340
- // AccountKey: '1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227',
84339
+ AccountKey: "1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227",
84341
84340
  Cookie: "AWSALB=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53; AWSALBCORS=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53"
84342
84341
  }, opts?.headers ?? {}),
84343
84342
  body: JSON.stringify(CorporationInformation)
@@ -84349,15 +84348,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84349
84348
  submitData(signature, id, opts) {
84350
84349
  return __async(this, null, function* () {
84351
84350
  const fetchFn = opts?.fetchImpl ?? fetch;
84352
- const url = signature.proxyApiUrl;
84351
+ const url = `api/CurrentData/${id}/submit`;
84353
84352
  yield fetchFn(url, {
84354
84353
  method: "POST",
84355
84354
  headers: __spreadValues({
84356
84355
  "Content-Type": "application/json",
84357
- // 'ApiKey': 'a759101c-aeac-4fa6-90dc-8b56f01b2939',
84356
+ "ApiKey": "a759101c-aeac-4fa6-90dc-8b56f01b2939",
84358
84357
  "ClientId": "22124",
84359
84358
  "UserId": "140422",
84360
- // AccountKey: '1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227',
84359
+ AccountKey: "1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227",
84361
84360
  "x-target-url": `${this.config.ONFiling}api/CurrentData/${id}/submit`,
84362
84361
  Cookie: "AWSALB=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53; AWSALBCORS=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53"
84363
84362
  }, opts?.headers ?? {})
@@ -84367,15 +84366,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84367
84366
  getCurrentData(signature, id, opts) {
84368
84367
  return __async(this, null, function* () {
84369
84368
  const fetchFn = opts?.fetchImpl ?? fetch;
84370
- const url = signature.proxyApiUrl;
84369
+ const url = `api/CurrentData/${id}`;
84371
84370
  const resp = yield fetchFn(url, {
84372
84371
  method: "GET",
84373
84372
  headers: __spreadValues({
84374
84373
  "Content-Type": "application/json",
84375
- // 'ApiKey': 'a759101c-aeac-4fa6-90dc-8b56f01b2939',
84374
+ "ApiKey": "a759101c-aeac-4fa6-90dc-8b56f01b2939",
84376
84375
  "ClientId": "22124",
84377
84376
  "UserId": "140422",
84378
- // AccountKey: '1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227',
84377
+ AccountKey: "1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227",
84379
84378
  "x-target-url": `${this.config.ONFiling}api/CurrentData/${id}`,
84380
84379
  Cookie: "AWSALB=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53; AWSALBCORS=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53"
84381
84380
  }, opts?.headers ?? {})
@@ -84744,12 +84743,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84744
84743
  }
84745
84744
  };
84746
84745
  const fetchFn = opts?.fetchImpl ?? fetch;
84747
- const url = signature.proxyApiUrl;
84746
+ const url = "api/FilingON";
84748
84747
  const resp = yield fetchFn(url, {
84749
84748
  method: "POST",
84750
84749
  headers: __spreadValues({
84751
- // 'ApiKey': 'a759101c-aeac-4fa6-90dc-8b56f01b2939',
84752
- // AccountKey: '1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227',
84750
+ "ApiKey": "a759101c-aeac-4fa6-90dc-8b56f01b2939",
84751
+ AccountKey: "1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227",
84753
84752
  "Content-Type": "application/json",
84754
84753
  "ClientId": "22124",
84755
84754
  "UserId": "140422",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {