In Shopify’s hydrogen-storefront repo, specifically in cart.tsx, addLines function supposedly returns a Promise. CartQueryData I believe should contain the Cart object along with its line items, attributes, etc.
result = await cart.addLines(inputs.lines);
However when the promise resolves, I notice that result.cart only contains totalQuantity and id. How do I get the rest of the properties such as line items, attributes, etc?