@adobe/magento-storefront-events-sdk 1.1.18 → 1.2.0

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.
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * @adobe/magento-storefront-events-sdk@v1.1.18
2
+ * @adobe/magento-storefront-events-sdk@v1.2.0
3
3
  * Copyright © Adobe, Inc. All rights reserved.See COPYING.txt for license details.
4
4
  */
@@ -1,6 +1,5 @@
1
1
  declare const events: {
2
2
  readonly ADD_TO_CART: "add-to-cart";
3
- readonly ABANDON_CART: "abandon-cart";
4
3
  readonly CREATE_ACCOUNT: "create-account";
5
4
  readonly CUSTOM: "commerce-custom";
6
5
  readonly CUSTOM_URL: "custom-url";
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCF,CAAC;AAEX,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCF,CAAC;AAEX,eAAe,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { CustomContext, Context } from "./contexts";
2
2
  import events from "../events";
3
- export declare type EventName = typeof events.ADD_TO_CART | typeof events.ABANDON_CART | typeof events.CREATE_ACCOUNT | typeof events.CUSTOM | typeof events.CUSTOM_URL | typeof events.DATA_LAYER_CHANGE | typeof events.DATA_LAYER_EVENT | typeof events.EDIT_ACCOUNT | typeof events.INITIATE_CHECKOUT | typeof events.OPEN_CART | typeof events.PAGE_ACTIVITY_SUMMARY | typeof events.PAGE_VIEW | typeof events.PLACE_ORDER | typeof events.PRODUCT_PAGE_VIEW | typeof events.RECS_ITEM_CLICK | typeof events.RECS_ITEM_ADD_TO_CART_CLICK | typeof events.RECS_REQUEST_SENT | typeof events.RECS_RESPONSE_RECEIVED | typeof events.RECS_UNIT_RENDER | typeof events.RECS_UNIT_VIEW | typeof events.REFERRER_URL | typeof events.REMOVE_FROM_CART | typeof events.SEARCH_CATEGORY_CLICK | typeof events.SEARCH_PRODUCT_CLICK | typeof events.SEARCH_REQUEST_SENT | typeof events.SEARCH_RESPONSE_RECEIVED | typeof events.SEARCH_RESULTS_VIEW | typeof events.SEARCH_SUGGESTION_CLICK | typeof events.SHOPPING_CART_VIEW | typeof events.SIGN_IN | typeof events.SIGN_OUT | typeof events.UPDATE_CART;
3
+ export declare type EventName = typeof events.ADD_TO_CART | typeof events.CREATE_ACCOUNT | typeof events.CUSTOM | typeof events.CUSTOM_URL | typeof events.DATA_LAYER_CHANGE | typeof events.DATA_LAYER_EVENT | typeof events.EDIT_ACCOUNT | typeof events.INITIATE_CHECKOUT | typeof events.OPEN_CART | typeof events.PAGE_ACTIVITY_SUMMARY | typeof events.PAGE_VIEW | typeof events.PLACE_ORDER | typeof events.PRODUCT_PAGE_VIEW | typeof events.RECS_ITEM_CLICK | typeof events.RECS_ITEM_ADD_TO_CART_CLICK | typeof events.RECS_REQUEST_SENT | typeof events.RECS_RESPONSE_RECEIVED | typeof events.RECS_UNIT_RENDER | typeof events.RECS_UNIT_VIEW | typeof events.REFERRER_URL | typeof events.REMOVE_FROM_CART | typeof events.SEARCH_CATEGORY_CLICK | typeof events.SEARCH_PRODUCT_CLICK | typeof events.SEARCH_REQUEST_SENT | typeof events.SEARCH_RESPONSE_RECEIVED | typeof events.SEARCH_RESULTS_VIEW | typeof events.SEARCH_SUGGESTION_CLICK | typeof events.SHOPPING_CART_VIEW | typeof events.SIGN_IN | typeof events.SIGN_OUT | typeof events.UPDATE_CART;
4
4
  export declare type Event = {
5
5
  event: EventName;
6
6
  eventInfo: Context & CustomContext;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/types/events.ts"],"names":[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AAM,CAAC,mBAAmB,GACjC,OAAO,MAAM,CAAC,uBAAuB,GACrC,OAAO,MAAM,CAAC,kBAAkB,GAChC,OAAO,MAAM,CAAC,OAAO,GACrB,OAAO,MAAM,CAAC,QAAQ,GACtB,OAAO,MAAM,CAAC,WAAW,CAAC;AAEhC,oBAAY,KAAK,GAAG;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,OAAO,GAAG,aAAa,CAAC;CACtC,CAAC;AAEF,oBAAY,YAAY,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AAElD,oBAAY,eAAe,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CACrC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/magento-storefront-events-sdk",
3
- "version": "1.1.18",
3
+ "version": "1.2.0",
4
4
  "description": "SDK for working with events on an Adobe Commerce storefront",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",