mk-sdk-git 1.1.7 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mk-sdk-git",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "SDK de tracking de e-commerce + try-on da MetaKosmos (core tracker, roda em todas as páginas)",
5
5
  "main": "dist/mk-sdk.js",
6
6
  "files": [
@@ -42,3 +42,5 @@ export async function addToCart({ size, quantity }) {
42
42
  if (!resp.ok) throw new Error('hybris: ' + action + ' HTTP ' + resp.status);
43
43
  return { platform: 'hybris', productCode: code, size: el.textContent.trim() };
44
44
  }
45
+ // Sem openCartDrawer: a Marisa (Hybris) não tem sacola lateral no tema. Sem drawer,
46
+ // o fluxo cai no redirect pro /cart ao fechar o provador (preservando o NPS).