webc-miam 7.0.3 → 7.1.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.
@@ -167,7 +167,7 @@ export interface MiamInterface {
167
167
  // */
168
168
  // setSuggestionsPrimaryButtonActions: (display: boolean, addToBasket: boolean) => void;
169
169
  /**
170
- * If called, adding a recipe to Miam's basket will display a confirmation toaster
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
  // ---------------------------------------------------------------------------------------------------