Shopify-store from Web Components rewrites language and country

Today I started to see an issue with shopify-store component. We’re passing language and country attributes, but after initialization, they are all undefined

Now adding products to the cart fails with errors:

Variable $country of type CountryCode! was provided invalid value
Variable $language of type LanguageCode! was provided invalid value

What was changed?