@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.js CHANGED
@@ -21287,7 +21287,7 @@ function formatAddressLine(isStreetFormat, streetAddress, addressLine) {
21287
21287
  return `${(streetAddress == null ? void 0 : streetAddress.name) || ""} ${streetNumber}`;
21288
21288
  }
21289
21289
  function formatMultilineAddress(submission, options) {
21290
- const country = import_locale_dataset_javascript2.default.getCountryByShortKey(submission.country);
21290
+ const country = submission.country ? import_locale_dataset_javascript2.default.getCountryByShortKey(submission.country) : void 0;
21291
21291
  const streetAddress = {
21292
21292
  name: submission.streetName,
21293
21293
  number: submission.streetNumber,