@vtex/faststore-plugin-buyer-portal 2.0.31 → 2.0.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -27,7 +27,9 @@ export const tokenizeCreditCardService = async ({
27
27
  complement: creditCard.address.streetAddress2,
28
28
  coutry: creditCard.address.countryCode,
29
29
  neighborhood: creditCard.address.neighborhood ?? "",
30
- geoCoordinates: creditCard.address.geoCoordinates.split(",") ?? [],
30
+ geoCoordinates: creditCard.address.geoCoordinates
31
+ ? creditCard.address.geoCoordinates.split(",")
32
+ : [],
31
33
  postalCode: creditCard.address.zip,
32
34
  number: creditCard.address.streetNumber ?? "",
33
35
  receiverName: "NOT EMPTY",
@@ -33,4 +33,4 @@ export const STOREFRONT_RESOURCE_NAMES = {
33
33
  export type StorefrontResourceName =
34
34
  (typeof STOREFRONT_RESOURCE_NAMES)[keyof typeof STOREFRONT_RESOURCE_NAMES];
35
35
 
36
- export const CURRENT_VERSION = "2.0.31";
36
+ export const CURRENT_VERSION = "2.0.32";