commerce.js icon indicating copy to clipboard operation
commerce.js copied to clipboard

Type definitions are not updated with the latest version

Open zguo123 opened this issue 3 years ago • 0 comments

Your typescript definitions are not updated with the latest version; for example, per the 2022-07-21's change logs, the live object was removed. However, when I examine the type definitions file, it shows that the object still exists on the CheckoutToken object, as demonstrated here:

export interface CheckoutToken {
    // truncated for simplicity 
    shipping_methods: ShippingMethod[];
    live: Live;
}

zguo123 avatar Dec 08 '22 00:12 zguo123