@dyedurham/search-and-file-widget 2.0.90 → 2.0.91
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 +9 -4
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -95581,13 +95581,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95581
95581
|
}
|
|
95582
95582
|
return { filingType: "changeOfAddressFiling", filing };
|
|
95583
95583
|
}
|
|
95584
|
-
function getBritishColumbiaAccessCode(task) {
|
|
95585
|
-
|
|
95584
|
+
function getBritishColumbiaAccessCode(task, env) {
|
|
95585
|
+
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95586
|
+
if (registryId) {
|
|
95587
|
+
return registryId;
|
|
95588
|
+
}
|
|
95589
|
+
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95586
95590
|
}
|
|
95587
|
-
var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95591
|
+
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95588
95592
|
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95589
95593
|
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95590
95594
|
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95595
|
+
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95591
95596
|
BC_PROVINCE_CODE = "BC";
|
|
95592
95597
|
CANADA_COUNTRY_CODE = "CA";
|
|
95593
95598
|
clean = (value) => (value ?? "").trim();
|
|
@@ -96253,7 +96258,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96253
96258
|
const opts = this.validateOptions() ?? {};
|
|
96254
96259
|
const context2 = {
|
|
96255
96260
|
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96256
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
96261
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task, signature.env),
|
|
96257
96262
|
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96258
96263
|
};
|
|
96259
96264
|
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|