@dyedurham/search-and-file-widget 2.0.72 → 2.0.74

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.
@@ -58106,7 +58106,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58106
58106
  if (!task) {
58107
58107
  return void 0;
58108
58108
  }
58109
- const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "britishColumbia" : "federal";
58109
+ const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
58110
58110
  if (isFormationTask2(task)) {
58111
58111
  return `${prefix}Incorporation`;
58112
58112
  }
@@ -86227,8 +86227,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86227
86227
  corporationNameType: corpDetails?.[BCFormationFormControls.CorporationNameType] ?? null,
86228
86228
  // Kept for Numbered too so the name survives a save / reload; the payload mapper only
86229
86229
  // sends them when the type is Named.
86230
- companyName: corpDetails?.[BCFormationFormControls.CompanyName] || null,
86231
- nameReservationNumber: corpDetails?.[BCFormationFormControls.NameReservationNumber] || null,
86230
+ companyName: corpDetails?.[BCFormationFormControls.CompanyName] ?? null,
86231
+ nameReservationNumber: corpDetails?.[BCFormationFormControls.NameReservationNumber] ?? null,
86232
86232
  usesNameTranslation,
86233
86233
  nameTranslations,
86234
86234
  companyEmail: corpDetails?.[BCFormationFormControls.CompanyEmail] ?? null,
@@ -92979,7 +92979,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
92979
92979
  searchOrFilingType,
92980
92980
  serviceOrderId,
92981
92981
  validatedOn: /* @__PURE__ */ new Date(),
92982
- provider: "obr",
92982
+ provider: "bcreg",
92983
92983
  draftPdf: response.Draft ?? "",
92984
92984
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
92985
92985
  documentType: "pdf"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.0.72",
3
+ "version": "2.0.74",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {