From 0868a88a77e8539885df126c7be5cb5386081fbc Mon Sep 17 00:00:00 2001 From: Jason Stewart Date: Tue, 7 Nov 2023 15:37:10 -0500 Subject: [PATCH] force postal code as required --- src/cart.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cart.ts b/src/cart.ts index 1779684..3c9c770 100644 --- a/src/cart.ts +++ b/src/cart.ts @@ -334,7 +334,7 @@ class Cart extends Node { cvv: string; exp_month: number; exp_year: number; - address_postal_code?: string; + address_postal_code: string; }; } | { token: string }, @@ -365,7 +365,7 @@ class Cart extends Node { cvv: string; exp_month: number; exp_year: number; - address_postal_code?: string; + address_postal_code: string; }; } | { token: string }