@adobe/magento-storefront-events-sdk 1.5.2 → 1.5.3
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/dist/index.js.LICENSE.txt +1 -1
- package/dist/types/types/contexts.d.ts +3 -2
- package/dist/types/types/contexts.d.ts.map +1 -1
- package/dist/types/types/schemas/index.d.ts +1 -0
- package/dist/types/types/schemas/index.d.ts.map +1 -1
- package/dist/types/types/schemas/orderProducts.d.ts +2 -4
- package/dist/types/types/schemas/orderProducts.d.ts.map +1 -1
- package/dist/types/types/schemas/storefrontInstance.d.ts +1 -0
- package/dist/types/types/schemas/storefrontInstance.d.ts.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -322
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import contexts from "../contexts";
|
|
2
|
-
import { Account, AEP, Category, ChangedProducts, CustomUrl, DataServicesExtension, Debug, EventForwarding, ExperiencePlatformConnectorExtension, MagentoExtension, Order, Page, Product, Recommendations, RecommendationsExtension, ReferrerUrl, RequisitionList, RequisitionListItems, SearchExtension, SearchInput, SearchResults, Shopper, ShoppingCart, StorefrontInstance } from "./schemas";
|
|
3
|
-
export declare type ContextName = typeof contexts.AEP_CONTEXT | typeof contexts.CATEGORY_CONTEXT | typeof contexts.CHANGED_PRODUCTS_CONTEXT | typeof contexts.CUSTOM_URL_CONTEXT | typeof contexts.DATA_SERVICES_EXTENSION_CONTEXT | typeof contexts.DEBUG_CONTEXT | typeof contexts.EVENT_FORWARDING_CONTEXT | typeof contexts.EXPERIENCE_PLATFORM_CONNECTOR_EXTENSION_CONTEXT | typeof contexts.MAGENTO_EXTENSION_CONTEXT | typeof contexts.ORDER_CONTEXT | typeof contexts.PAGE_CONTEXT | typeof contexts.PRODUCT_CONTEXT | typeof contexts.RECOMMENDATIONS_CONTEXT | typeof contexts.RECOMMENDATIONS_EXTENSION_CONTEXT | typeof contexts.REFERRER_URL_CONTEXT | typeof contexts.REQUISITION_LIST_CONTEXT | typeof contexts.REQUISITION_LIST_ITEMS_CONTEXT | typeof contexts.SEARCH_EXTENSION_CONTEXT | typeof contexts.SEARCH_INPUT_CONTEXT | typeof contexts.SEARCH_RESULTS_CONTEXT | typeof contexts.SHOPPER_CONTEXT | typeof contexts.SHOPPING_CART_CONTEXT | typeof contexts.STOREFRONT_INSTANCE_CONTEXT;
|
|
2
|
+
import { Account, AEP, Category, ChangedProducts, CustomUrl, DataServicesExtension, Debug, EventForwarding, ExperiencePlatformConnectorExtension, MagentoExtension, Order, OrderProducts, Page, Product, Recommendations, RecommendationsExtension, ReferrerUrl, RequisitionList, RequisitionListItems, SearchExtension, SearchInput, SearchResults, Shopper, ShoppingCart, StorefrontInstance } from "./schemas";
|
|
3
|
+
export declare type ContextName = typeof contexts.AEP_CONTEXT | typeof contexts.CATEGORY_CONTEXT | typeof contexts.CHANGED_PRODUCTS_CONTEXT | typeof contexts.CUSTOM_URL_CONTEXT | typeof contexts.DATA_SERVICES_EXTENSION_CONTEXT | typeof contexts.DEBUG_CONTEXT | typeof contexts.EVENT_FORWARDING_CONTEXT | typeof contexts.EXPERIENCE_PLATFORM_CONNECTOR_EXTENSION_CONTEXT | typeof contexts.MAGENTO_EXTENSION_CONTEXT | typeof contexts.ORDER_CONTEXT | typeof contexts.ORDER_PAGE_CONTEXT | typeof contexts.PAGE_CONTEXT | typeof contexts.PRODUCT_CONTEXT | typeof contexts.RECOMMENDATIONS_CONTEXT | typeof contexts.RECOMMENDATIONS_EXTENSION_CONTEXT | typeof contexts.REFERRER_URL_CONTEXT | typeof contexts.REQUISITION_LIST_CONTEXT | typeof contexts.REQUISITION_LIST_ITEMS_CONTEXT | typeof contexts.SEARCH_EXTENSION_CONTEXT | typeof contexts.SEARCH_INPUT_CONTEXT | typeof contexts.SEARCH_RESULTS_CONTEXT | typeof contexts.SHOPPER_CONTEXT | typeof contexts.SHOPPING_CART_CONTEXT | typeof contexts.STOREFRONT_INSTANCE_CONTEXT;
|
|
4
4
|
export declare type Context = {
|
|
5
5
|
[contexts.ACCOUNT_CONTEXT]?: Account;
|
|
6
6
|
[contexts.AEP_CONTEXT]?: AEP;
|
|
@@ -13,6 +13,7 @@ export declare type Context = {
|
|
|
13
13
|
[contexts.EXPERIENCE_PLATFORM_CONNECTOR_EXTENSION_CONTEXT]?: ExperiencePlatformConnectorExtension;
|
|
14
14
|
[contexts.MAGENTO_EXTENSION_CONTEXT]: MagentoExtension;
|
|
15
15
|
[contexts.ORDER_CONTEXT]: Order;
|
|
16
|
+
[contexts.ORDER_PAGE_CONTEXT]: OrderProducts;
|
|
16
17
|
[contexts.PAGE_CONTEXT]: Page;
|
|
17
18
|
[contexts.PRODUCT_CONTEXT]: Product;
|
|
18
19
|
[contexts.RECOMMENDATIONS_EXTENSION_CONTEXT]?: RecommendationsExtension;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../src/types/contexts.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EACH,OAAO,EACP,GAAG,EACH,QAAQ,EACR,eAAe,EACf,SAAS,EACT,qBAAqB,EACrB,KAAK,EACL,eAAe,EACf,oCAAoC,EACpC,gBAAgB,EAChB,KAAK,EACL,IAAI,EACJ,OAAO,EACP,eAAe,EACf,wBAAwB,EACxB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,aAAa,EACb,OAAO,EACP,YAAY,EACZ,kBAAkB,EACrB,MAAM,WAAW,CAAC;AAEnB,oBAAY,WAAW,GACjB,OAAO,QAAQ,CAAC,WAAW,GAC3B,OAAO,QAAQ,CAAC,gBAAgB,GAChC,OAAO,QAAQ,CAAC,wBAAwB,GACxC,OAAO,QAAQ,CAAC,kBAAkB,GAClC,OAAO,QAAQ,CAAC,+BAA+B,GAC/C,OAAO,QAAQ,CAAC,aAAa,GAC7B,OAAO,QAAQ,CAAC,wBAAwB,GACxC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MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,wCAAwC,CAAC;AACvD,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,wCAAwC,CAAC;AACvD,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequisitionListItems } from "./requisitionList";
|
|
2
2
|
/** The products on the sales-order-view page */
|
|
3
|
-
export declare type OrderProducts =
|
|
4
|
-
items: Product[];
|
|
5
|
-
};
|
|
3
|
+
export declare type OrderProducts = RequisitionListItems;
|
|
6
4
|
//# sourceMappingURL=orderProducts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderProducts.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/orderProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"orderProducts.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/orderProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,gDAAgD;AAChD,oBAAY,aAAa,GAAG,oBAAoB,CAAC"}
|
|
@@ -15,5 +15,6 @@ export declare type StorefrontInstance = {
|
|
|
15
15
|
baseCurrencyCode: string;
|
|
16
16
|
storeViewCurrencyCode: string;
|
|
17
17
|
catalogExtensionVersion?: string | null;
|
|
18
|
+
storefrontTemplate?: "Luma" | "Hyva" | "AEM CIF" | "Franklin" | "PWA Studio" | "Other";
|
|
18
19
|
};
|
|
19
20
|
//# sourceMappingURL=storefrontInstance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storefrontInstance.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/storefrontInstance.ts"],"names":[],"mappings":"AACA,oBAAY,kBAAkB,GAAG;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"storefrontInstance.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/storefrontInstance.ts"],"names":[],"mappings":"AACA,oBAAY,kBAAkB,GAAG;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,CAAC;CAC1F,CAAC"}
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [1.1.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.1.0...v1.1.1) (2021-10-26)
|
|
6
|
-
|
|
7
|
-
### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- **src/types/schemas/recommendations.ts:** added `typeId: string` as field to RecommendationUnit ([ba0e636](https://github.com/adobe/magento-storefront-events-sdk/commit/ba0e636f8c65327aa4bbe224a9d26a84ef9daf00))
|
|
10
|
-
|
|
11
|
-
## [1.1.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.2...v1.1.0) (2021-09-07)
|
|
12
|
-
|
|
13
|
-
### Features
|
|
14
|
-
|
|
15
|
-
- add api execution time tracking ([611f8e5](https://github.com/adobe/magento-storefront-events-sdk/commit/611f8e5b62f47b0f049b5f23848b555892d740ec))
|
|
16
|
-
|
|
17
|
-
### [1.0.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.1...v1.0.2) (2021-09-07)
|
|
18
|
-
|
|
19
|
-
### Bug Fixes
|
|
20
|
-
|
|
21
|
-
- make price optional to support b2b ([8847ca0](https://github.com/adobe/magento-storefront-events-sdk/commit/8847ca0eaf71aef75ecdb5fdebc5debf0ff3b162))
|
|
22
|
-
|
|
23
|
-
### [1.0.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.0...v1.0.1) (2021-06-17)
|
|
24
|
-
|
|
25
|
-
## [1.0.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.17.1...v1.0.0) (2021-06-07)
|
|
26
|
-
|
|
27
|
-
### [0.17.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.17.0...v0.17.1) (2021-06-05)
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
|
|
31
|
-
- add sourcemaps in dev and qa. broadcast message when available ([368de43](https://github.com/adobe/magento-storefront-events-sdk/commit/368de43217762609456968977426cab2f00e710d))
|
|
32
|
-
|
|
33
|
-
## [0.17.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.2...v0.17.0) (2021-05-27)
|
|
34
|
-
|
|
35
|
-
### ⚠ BREAKING CHANGES
|
|
36
|
-
|
|
37
|
-
- The placement field has been renamed to pagePlacement.
|
|
38
|
-
|
|
39
|
-
- change placement to pagePlacement ([46dcb9d](https://github.com/adobe/magento-storefront-events-sdk/commit/46dcb9d373db05b6aa5f1a0dda0a4ae91c7c69ac))
|
|
40
|
-
|
|
41
|
-
### [0.16.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.1...v0.16.2) (2021-05-27)
|
|
42
|
-
|
|
43
|
-
### Features
|
|
44
|
-
|
|
45
|
-
- support gift options ([24250aa](https://github.com/adobe/magento-storefront-events-sdk/commit/24250aa9a7a6c02bc7f8a21cfc58f3ecbd8a4720))
|
|
46
|
-
|
|
47
|
-
### [0.16.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.0...v0.16.1) (2021-05-26)
|
|
48
|
-
|
|
49
|
-
### Features
|
|
50
|
-
|
|
51
|
-
- support one page checkouts ([3c86046](https://github.com/adobe/magento-storefront-events-sdk/commit/3c860469bcefed0e53f5189c71c71b5fe92c6d9d))
|
|
52
|
-
|
|
53
|
-
## [0.16.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.3...v0.16.0) (2021-05-25)
|
|
54
|
-
|
|
55
|
-
### ⚠ BREAKING CHANGES
|
|
56
|
-
|
|
57
|
-
- Placement is now required in the Recommendation context.
|
|
58
|
-
|
|
59
|
-
### Features
|
|
60
|
-
|
|
61
|
-
- support placement and offset ([a2ea560](https://github.com/adobe/magento-storefront-events-sdk/commit/a2ea560237e99cb1ee93b95f3f1a03a8b462217a))
|
|
62
|
-
|
|
63
|
-
### [0.15.3](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.2...v0.15.3) (2021-05-25)
|
|
64
|
-
|
|
65
|
-
### [0.15.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.1...v0.15.2) (2021-05-18)
|
|
66
|
-
|
|
67
|
-
### Bug Fixes
|
|
68
|
-
|
|
69
|
-
- make product pricing optional ([095bb10](https://github.com/adobe/magento-storefront-events-sdk/commit/095bb10a7bf2d1124666fe55d9c0e7d519accdd4))
|
|
70
|
-
|
|
71
|
-
### [0.15.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.0...v0.15.1) (2021-05-17)
|
|
72
|
-
|
|
73
|
-
## [0.15.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.14.0...v0.15.0) (2021-05-14)
|
|
74
|
-
|
|
75
|
-
### ⚠ BREAKING CHANGES
|
|
76
|
-
|
|
77
|
-
- The Facet types have changed. See the types directory for more information.
|
|
78
|
-
|
|
79
|
-
### Features
|
|
80
|
-
|
|
81
|
-
- support new search facets api ([97c11c9](https://github.com/adobe/magento-storefront-events-sdk/commit/97c11c94191e83f78a866d2f2e11b46285cb2eb2))
|
|
82
|
-
|
|
83
|
-
## [0.14.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.13.0...v0.14.0) (2021-05-12)
|
|
84
|
-
|
|
85
|
-
### ⚠ BREAKING CHANGES
|
|
86
|
-
|
|
87
|
-
- The sort field is now an array.
|
|
88
|
-
|
|
89
|
-
### Features
|
|
90
|
-
|
|
91
|
-
- support multiple sorts ([6761d36](https://github.com/adobe/magento-storefront-events-sdk/commit/6761d3645421e624677fd4521356e49afa79a6c1))
|
|
92
|
-
|
|
93
|
-
## [0.13.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.12.0...v0.13.0) (2021-05-10)
|
|
94
|
-
|
|
95
|
-
### ⚠ BREAKING CHANGES
|
|
96
|
-
|
|
97
|
-
- The SearchInput and SearchResults contexts are now an array of units.
|
|
98
|
-
|
|
99
|
-
SEARCH-1322
|
|
100
|
-
|
|
101
|
-
### Features
|
|
102
|
-
|
|
103
|
-
- include unit id with every search handler ([4d37aad](https://github.com/adobe/magento-storefront-events-sdk/commit/4d37aad32f7fc9b6ecfb8b00b603bb86aad5c54d))
|
|
104
|
-
- support multiple search units ([a2803cb](https://github.com/adobe/magento-storefront-events-sdk/commit/a2803cba802637a20cdeb6bef87ff953921d1daa))
|
|
105
|
-
|
|
106
|
-
### Bug Fixes
|
|
107
|
-
|
|
108
|
-
- export search input types ([bde2b52](https://github.com/adobe/magento-storefront-events-sdk/commit/bde2b52d368053be70eda1084c3d6a05596094fc))
|
|
109
|
-
|
|
110
|
-
## [0.12.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.2...v0.12.0) (2021-04-30)
|
|
111
|
-
|
|
112
|
-
### ⚠ BREAKING CHANGES
|
|
113
|
-
|
|
114
|
-
- The product.sku and product.pricing are now required. Same with the
|
|
115
|
-
shoppingCart.item.prices and the shoppingCart.item.quantity.
|
|
116
|
-
|
|
117
|
-
SEARCH-1441
|
|
118
|
-
|
|
119
|
-
### Bug Fixes
|
|
120
|
-
|
|
121
|
-
- require more properties to match snowplow schema ([45ef6d4](https://github.com/adobe/magento-storefront-events-sdk/commit/45ef6d4fbcccbb43798feef25ecd9460b74ef57a))
|
|
122
|
-
|
|
123
|
-
### [0.11.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.1...v0.11.2) (2021-04-28)
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
- add category context ([b72d2d8](https://github.com/adobe/magento-storefront-events-sdk/commit/b72d2d86fe5282cd34648fa4a1b62b8f502eec12))
|
|
128
|
-
|
|
129
|
-
### [0.11.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.0...v0.11.1) (2021-04-26)
|
|
130
|
-
|
|
131
|
-
### Features
|
|
132
|
-
|
|
133
|
-
- add custom context getters and setters ([e8991c2](https://github.com/adobe/magento-storefront-events-sdk/commit/e8991c2b9048104f9c2491765a79caf0aa5de8cb))
|
|
134
|
-
|
|
135
|
-
## [0.11.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.10.1...v0.11.0) (2021-04-26)
|
|
136
|
-
|
|
137
|
-
### ⚠ BREAKING CHANGES
|
|
138
|
-
|
|
139
|
-
- The magentoJsBuild field in the MagentoJsTracker context has been removed.
|
|
140
|
-
|
|
141
|
-
### Bug Fixes
|
|
142
|
-
|
|
143
|
-
- remove tracker build numberr ([3df3347](https://github.com/adobe/magento-storefront-events-sdk/commit/3df33477524b11fa8777b8968de1214c409d047e))
|
|
144
|
-
|
|
145
|
-
### [0.10.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.10.0...v0.10.1) (2021-04-22)
|
|
146
|
-
|
|
147
|
-
### Features
|
|
148
|
-
|
|
149
|
-
- instant purchase event ([b733e50](https://github.com/adobe/magento-storefront-events-sdk/commit/b733e503dab567599951ff66898a2ad241094303))
|
|
150
|
-
|
|
151
|
-
## [0.10.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.9.0...v0.10.0) (2021-04-20)
|
|
152
|
-
|
|
153
|
-
### ⚠ BREAKING CHANGES
|
|
154
|
-
|
|
155
|
-
- The ShoppingCart context now has a different shape.
|
|
156
|
-
|
|
157
|
-
SEARCH-1381
|
|
158
|
-
|
|
159
|
-
### Bug Fixes
|
|
160
|
-
|
|
161
|
-
- fix shopping cart types ([af4b967](https://github.com/adobe/magento-storefront-events-sdk/commit/af4b9679f91a5d4e8111e8ed5073a59f7c01d098))
|
|
162
|
-
|
|
163
|
-
## [0.9.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.8.1...v0.9.0) (2021-04-16)
|
|
164
|
-
|
|
165
|
-
### ⚠ BREAKING CHANGES
|
|
166
|
-
|
|
167
|
-
- searchRequestId is a new required property for SearchInput and SearchResults
|
|
168
|
-
context.
|
|
169
|
-
|
|
170
|
-
SEARCH-1374
|
|
171
|
-
|
|
172
|
-
- The SearchResults schema now requires a facets property.
|
|
173
|
-
|
|
174
|
-
SEARCH-1342
|
|
175
|
-
|
|
176
|
-
- The SearchInput context now has a filters property instead of the previous
|
|
177
|
-
refinements properties.
|
|
178
|
-
|
|
179
|
-
### Features
|
|
180
|
-
|
|
181
|
-
- add search request id ([cc7b2a3](https://github.com/adobe/magento-storefront-events-sdk/commit/cc7b2a3847b898516290515b5ffc5593a034255d))
|
|
182
|
-
- adjusting the filter types ([c81b53c](https://github.com/adobe/magento-storefront-events-sdk/commit/c81b53cb2b019867eb234a658131d0d76c190cf1))
|
|
183
|
-
- update snowplow schema versions ([caeba1d](https://github.com/adobe/magento-storefront-events-sdk/commit/caeba1d1d211080a4c90d7038510f171c415730c))
|
|
184
|
-
|
|
185
|
-
### [0.8.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.8.0...v0.8.1) (2021-04-09)
|
|
186
|
-
|
|
187
|
-
## [0.8.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.7.0...v0.8.0) (2021-04-08)
|
|
188
|
-
|
|
189
|
-
### ⚠ BREAKING CHANGES
|
|
190
|
-
|
|
191
|
-
- The following events now require additional parameters when published:
|
|
192
|
-
|
|
193
|
-
* recsItemAddToCartClick
|
|
194
|
-
* recsItemClick
|
|
195
|
-
* recsUnitRender
|
|
196
|
-
* recsUnitView
|
|
197
|
-
* searchCategoryClick
|
|
198
|
-
* searchProductClick
|
|
199
|
-
* searchSuggestionClick
|
|
200
|
-
|
|
201
|
-
SEARCH-1326
|
|
202
|
-
|
|
203
|
-
### Features
|
|
204
|
-
|
|
205
|
-
- pass additional data to publish ([0d50b0c](https://github.com/adobe/magento-storefront-events-sdk/commit/0d50b0c8a99b64d9f020e630997ebfca3ea18070))
|
|
206
|
-
|
|
207
|
-
## [0.7.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.6.0...v0.7.0) (2021-04-07)
|
|
208
|
-
|
|
209
|
-
### ⚠ BREAKING CHANGES
|
|
210
|
-
|
|
211
|
-
- Renamed the getPageOffset and setPageOffset methods to getPage and setPage.
|
|
212
|
-
|
|
213
|
-
SEARCH-1329
|
|
214
|
-
|
|
215
|
-
### Features
|
|
216
|
-
|
|
217
|
-
- add page context ([530de3d](https://github.com/adobe/magento-storefront-events-sdk/commit/530de3db82d84527edd3e38bd6082ee28a3eebba))
|
|
218
|
-
|
|
219
|
-
## [0.6.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.2...v0.6.0) (2021-04-06)
|
|
220
|
-
|
|
221
|
-
### ⚠ BREAKING CHANGES
|
|
222
|
-
|
|
223
|
-
- Renamed adjustment.value to adjustment.amount.
|
|
224
|
-
|
|
225
|
-
### Bug Fixes
|
|
226
|
-
|
|
227
|
-
- fix adjustment type definition ([375cc84](https://github.com/adobe/magento-storefront-events-sdk/commit/375cc84d14141daf368dbfc93ed02bdd46663d96))
|
|
228
|
-
|
|
229
|
-
### [0.5.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.1...v0.5.2) (2021-04-01)
|
|
230
|
-
|
|
231
|
-
### Features
|
|
232
|
-
|
|
233
|
-
- add recommendations context ([309dc9f](https://github.com/adobe/magento-storefront-events-sdk/commit/309dc9f0bfcc84f23b3f2c2d3b90c8e966f678a9))
|
|
234
|
-
|
|
235
|
-
### [0.5.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.0...v0.5.1) (2021-03-29)
|
|
236
|
-
|
|
237
|
-
### Features
|
|
238
|
-
|
|
239
|
-
- support shopping cart view event ([5231139](https://github.com/adobe/magento-storefront-events-sdk/commit/52311395578768d2ac8864143c2adf28c5ce25ab))
|
|
240
|
-
|
|
241
|
-
## [0.5.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.4.0...v0.5.0) (2021-03-24)
|
|
242
|
-
|
|
243
|
-
### ⚠ BREAKING CHANGES
|
|
244
|
-
|
|
245
|
-
- Renamed foramttedPrice to formattedPrice in ShoppingCartItem.
|
|
246
|
-
|
|
247
|
-
### Bug Fixes
|
|
248
|
-
|
|
249
|
-
- fix typo in ShoppingCartItem ([bd61d84](https://github.com/adobe/magento-storefront-events-sdk/commit/bd61d842cf306149b16528494e35bb3ff5fbee9a))
|
|
250
|
-
|
|
251
|
-
## [0.4.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.3.1...v0.4.0) (2021-03-24)
|
|
252
|
-
|
|
253
|
-
### ⚠ BREAKING CHANGES
|
|
254
|
-
|
|
255
|
-
- Renamed environtmentId to environmentId.
|
|
256
|
-
|
|
257
|
-
### Bug Fixes
|
|
258
|
-
|
|
259
|
-
- fix storefront instance typo ([d4fb111](https://github.com/adobe/magento-storefront-events-sdk/commit/d4fb11173f108f4ffe6a9f2a1b9731a13ca61ba5))
|
|
260
|
-
|
|
261
|
-
### [0.3.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.3.0...v0.3.1) (2021-03-22)
|
|
262
|
-
|
|
263
|
-
## [0.3.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.3...v0.3.0) (2021-03-22)
|
|
264
|
-
|
|
265
|
-
### ⚠ BREAKING CHANGES
|
|
266
|
-
|
|
267
|
-
- Removed the SEARCH_RESULT_CLICK event.
|
|
268
|
-
|
|
269
|
-
### Features
|
|
270
|
-
|
|
271
|
-
- support search result click events ([1759ba0](https://github.com/adobe/magento-storefront-events-sdk/commit/1759ba055286ab501ff80d5aeb00bf690ac31e56))
|
|
272
|
-
|
|
273
|
-
### [0.2.3](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.2...v0.2.3) (2021-03-19)
|
|
274
|
-
|
|
275
|
-
### [0.2.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.1...v0.2.2) (2021-03-18)
|
|
276
|
-
|
|
277
|
-
### [0.2.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.0...v0.2.1) (2021-03-18)
|
|
278
|
-
|
|
279
|
-
### Features
|
|
280
|
-
|
|
281
|
-
- **recommendations:** enables recommendations events ([cd76752](https://github.com/adobe/magento-storefront-events-sdk/commit/cd767529c0afaa24df5d2f7362057b1e47838b44))
|
|
282
|
-
|
|
283
|
-
### Bug Fixes
|
|
284
|
-
|
|
285
|
-
- **filename:** fixed recomendations.js to reocmmendations.js ([b6d7e13](https://github.com/adobe/magento-storefront-events-sdk/commit/b6d7e136242ca64e3fc64a95e2da09ea05aa2f9e))
|
|
286
|
-
|
|
287
|
-
## [0.2.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.1.1...v0.2.0) (2021-03-17)
|
|
288
|
-
|
|
289
|
-
### ⚠ BREAKING CHANGES
|
|
290
|
-
|
|
291
|
-
- **rename:** Changing the package name to @adobe/magento-storefront-events-sdk.
|
|
292
|
-
- **webpack:** window.magentoDataLayer.default is now window.MagentoDataLayer.
|
|
293
|
-
|
|
294
|
-
### build
|
|
295
|
-
|
|
296
|
-
- **webpack:** include default export on window ([839d9d9](https://github.com/adobe/magento-storefront-events-sdk/commit/839d9d9ec4c077d8e6784b24bdbd9d1be8aae54a))
|
|
297
|
-
|
|
298
|
-
- **rename:** change the package name ([9598d98](https://github.com/adobe/magento-storefront-events-sdk/commit/9598d98e3b3fa3ee48657252d8e6b2bf85a49205))
|
|
299
|
-
|
|
300
|
-
### [0.1.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.1.0...v0.1.1) (2021-03-16)
|
|
301
|
-
|
|
302
|
-
### Bug Fixes
|
|
303
|
-
|
|
304
|
-
- **events:** event context was in data layer. Change to "eventInfo" object that won't be persisted ([e1de784](https://github.com/adobe/magento-storefront-events-sdk/commit/e1de784ef6920c629ab3b738d2a1e9eb1acbdcce))
|
|
305
|
-
|
|
306
|
-
## [0.1.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.0.9...v0.1.0) (2021-03-16)
|
|
307
|
-
|
|
308
|
-
### ⚠ BREAKING CHANGES
|
|
309
|
-
|
|
310
|
-
- handlers no longer receive a reference to mdl as a second argument
|
|
311
|
-
|
|
312
|
-
### Features
|
|
313
|
-
|
|
314
|
-
- add initial order context ([d2078b2](https://github.com/adobe/magento-storefront-events-sdk/commit/d2078b260d2b2db328a93cb687376e8734722a26))
|
|
315
|
-
|
|
316
|
-
- send copy of the entire data layer context with handler rather than a reference to mdl ([37ba49a](https://github.com/adobe/magento-storefront-events-sdk/commit/37ba49af6073abe351a3c466d3080962d2b727f0)), closes [#8](https://github.com/adobe/magento-storefront-events-sdk/issues/8)
|
|
317
|
-
|
|
318
|
-
### [0.0.9](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.0.8...v0.0.9) (2021-03-15)
|
|
319
|
-
|
|
320
|
-
### Features
|
|
321
|
-
|
|
322
|
-
- add missing unsubscribe support for generic event listeners ([f8ee42e](https://github.com/adobe/magento-storefront-events-sdk/commit/f8ee42e079e9c861be0295e47135eb3d80077a2a))
|