Releases: commercelayer/drop-in.js
Releases · commercelayer/drop-in.js
v2.0.1
What's Changed
🐛 Bug Fix
- Add expires to customer cookie and revoke token when logout by @marcomontalbano in #42
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
💥 Breaking Change
- Rename
returnUrl
toorderReturnUrl
by @marcomontalbano in #39
🚀 Enhancement
- Integrate with Commerce Layer's Identity and My Account by @marcomontalbano in #35
- Add comments to
@Prop
and generate docs based on them by @marcomontalbano in #37 - Update all dependencies to the latest by @marcomontalbano in #40
📝 Documentation
- Update documentation for Identity and My account by @sfiorucci in #38
Full Changelog: v1.4.0...v2.0.0-beta.0
Breaking Changes
Rename returnUrl
to orderReturnUrl
<script>
(function() {
window.commercelayerConfig = {
clientId: 'kuSKPbeKbU9LG9LjndzieKWRcfiXFuEfO0OYHXKH9J8',
slug: 'drop-in-js',
scope: 'market:11709',
- returnUrl: 'https://example.com'
+ orderReturnUrl: 'https://example.com'
}
}());
</script>
The accessToken
stored in the cookie has changed
If you were using the accessToken
stored in the cookie, you need to know that the cookie value is now a JSON.stringified object.
Below is an example:
{
"type": "guest",
"accessToken": "eyJhbGciOiJIUzUxMiJ9...",
"scope": "market:11709"
}
v2.0.0-beta.0
What's Changed
💥 Breaking Change
- Rename
returnUrl
toorderReturnUrl
by @marcomontalbano in #39
🚀 Enhancement
- Integrate with Commerce Layer's Identity by @marcomontalbano in #35
- Add comments to
@Prop
and generate docs based on them by @marcomontalbano in #37 - Update all dependencies to the latest by @marcomontalbano in #40
📝 Documentation
- Update documentation for Identity and My account by @sfiorucci in #38
Full Changelog: v1.4.0...v2.0.0-beta.0
v1.4.0
What's Changed
🚀 Enhancement
- Update all dependencies to the latest by @marcomontalbano in #31
- Reduce cart requests by @marcomontalbano in #33
📝 Documentation
- Move the minicart to a dedicated page by @marcomontalbano in #32
Full Changelog: v1.3.2...v1.4.0
v1.3.2
What's Changed
🚀 Enhancement
- Update
cart_url
only when different by @malessani in #30
New Contributors
- @malessani made their first contribution in #30
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
🚀 Enhancement
- Update the URL of the hosted checkout by @marcomontalbano in #27
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
🚀 Enhancement
- Node >= 16.14.0 – TypeScript v5 – Stencil v3.2.0 🌷 by @marcomontalbano in #25
📝 Documentation
- Add webcomponents.org badge by @BolajiAyodeji in #24
New Contributors
- @BolajiAyodeji made their first contribution in #24
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
🚀 Enhancement
- Update all dependencies to latest + Stencil 🍕 3.1.0 by @marcomontalbano in #22
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
🚀 Enhancement
- Add the ability to dispatch custom events to the document object by @marcomontalbano in #14
- Rename event names to follow a more widely used naming convention by @marcomontalbano in #16
- Update all dependencies to latest by @marcomontalbano in #18
📝 Documentation
- Update events page and related component sections by @sfiorucci in #17
Full Changelog: v1.0.2...v1.1.0
v1.1.0-beta.1
What's Changed
🚀 Enhancement
- Rename event names to follow a more widely used naming convention by @marcomontalbano in #16
📝 Documentation
- Update events page and related component sections by @sfiorucci in #17
Full Changelog: v1.1.0-beta.0...v1.1.0-beta.1