Releases: Boulevard/book-sdk
Releases · Boulevard/book-sdk
v1.0.37
v1.0.36
v1.0.35
v1.0.34
v1.0.33
v1.0.32
v1.0.31
Commits
- 578b6b3: Pin typescript version to 4.2.* (Oliver Searle-Barnes) #6
- 0804c7b: Generate docs for cart ownership by sms/email (Oliver Searle-Barnes) #6
- d155ef6: Tidies up the readme, adds documentation links and instructions to run the tests (nlukic-blvd)
- 0e7e7ec: Extract SANDBOX_API_KEY into env var (Oliver Searle-Barnes) #7
- c5decd4: Updates readme with badge information and adds license and contribution guidelines (nlukic-blvd)
- b7cf062: Adds automatic release action (nlukic-blvd)
Claim ownership of cart by SMS or Email
Additions
Allow returning customers to claim ownership of a cart using a code sent by SMS or Email. See https://developers.joinblvd.com/2020-01/client-api/guides/booking-an-appointment (2. Take ownership of the cart via email or SMS) for a guide.
Multi-Location Carts
Version 1 of the SDK brings the ability to create carts before you set a location.
Breaking Changes
The following CartItem fields have changed from Scalars["Money"]
to Maybe<Scalars["Money"]>
to accommodate carts that don't yet have a location:
- discountAmount
- lineTotal
- price
- taxAmount
Additions
- Fetch locations for an item with CartAvailableBookingItem.getLocationVariants
- Set a location on a cart with Cart.setLocation
Staff Avatar
- Adds Staff.avatar
- Adds CartBookableItem.update to allow direct updating
- Deprecates Cart.updateSelectedBookableItem in favor of CartBookableItem.update
- Fixes potential issue with the CartBookingQuestion.submitAnswer function call