@wix/form-public 0.162.0 → 0.163.0

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/dist/index.cjs CHANGED
@@ -21313,7 +21313,7 @@ function formatAddressLine(isStreetFormat, streetAddress, addressLine) {
21313
21313
  return `${(streetAddress == null ? void 0 : streetAddress.name) || ""} ${streetNumber}`;
21314
21314
  }
21315
21315
  function formatMultilineAddress(submission, options) {
21316
- const country = import_locale_dataset_javascript2.default.getCountryByShortKey(submission.country);
21316
+ const country = submission.country ? import_locale_dataset_javascript2.default.getCountryByShortKey(submission.country) : void 0;
21317
21317
  const streetAddress = {
21318
21318
  name: submission.streetName,
21319
21319
  number: submission.streetNumber,