Version 0.2.0 Milestone
This completes the v0.2.0 milestone #51
A few things added:
- Provides a convenience method to fetch the most recent cart if it exists, or create one.
- Allow full domains, over just myshopify domains. Going forward we will be supporting different TLDs. myShopifyDomain is now deprecated.
- Add
cart.lineItemCount
for total number of items in cart, not justlineItems.length
(Inspired by #57 and https://github.com/Shopify/js-buy-sdk/pull/57/files#diff-2252a2513e98df574dd8383c6bbfc5dbR242) - Images sizes (see #10)
- Safely handling no product images. Currently, things fail out on IE9 when there are no images.
- Add Version Header to requests
- Add version mark to artifact.