I want to set the allowed countries of the cart programmatically on the website, because I want the user to select the country before adding products to the cart. Then the checkout country selector should only show the selected country.
There was an option in V2
Snipcart.api.configure('allowed_countries', ['CA']);
How can I accomplish this in V3?