webc-miam 7.0.4 → 7.1.1
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/interfaces/miam-interface.ts +6 -1
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/package.json +13 -3
- package/webc-miam-de.js +1 -1
- package/webc-miam-en.js +1 -1
- package/webc-miam-es.js +1 -1
- package/webc-miam-fr.js +1 -1
- package/webc-miam-it.js +1 -1
- package/webc-miam-nl.js +1 -1
- package/webc-miam-pt.js +1 -1
- package/webc-miam-ro.js +1 -1
|
@@ -167,7 +167,7 @@ export interface MiamInterface {
|
|
|
167
167
|
// */
|
|
168
168
|
// setSuggestionsPrimaryButtonActions: (display: boolean, addToBasket: boolean) => void;
|
|
169
169
|
/**
|
|
170
|
-
* If called, adding
|
|
170
|
+
* If called, adding or removing any product to or from the cart will display a confirmation toaster
|
|
171
171
|
*/
|
|
172
172
|
showConfirmationToaster: () => void;
|
|
173
173
|
|
|
@@ -214,6 +214,11 @@ export interface MiamInterface {
|
|
|
214
214
|
* @param supplierId the Supplier id in Miam's database
|
|
215
215
|
*/
|
|
216
216
|
load: (supplierId: number | string) => void;
|
|
217
|
+
/**
|
|
218
|
+
* 3-in-1 version of supplier.load, supplier.setOrigin & analytics.init, that requires a single token
|
|
219
|
+
* @param token a single token containing the information for supplierId, origin & plausible domain
|
|
220
|
+
*/
|
|
221
|
+
setupWithToken: (token: string) => void;
|
|
217
222
|
};
|
|
218
223
|
|
|
219
224
|
// ---------------------------------------------------------------------------------------------------
|