webc-miam 8.6.4 → 8.7.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.
- package/interfaces/miam-interface.ts +13 -1
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/package.json +1 -1
- 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
|
@@ -21,12 +21,17 @@ export interface MiamInterface {
|
|
|
21
21
|
* @param domain Plausible domain
|
|
22
22
|
* @param optimizeKey Google Optimize key
|
|
23
23
|
*/
|
|
24
|
-
init: (domain: string,
|
|
24
|
+
init: (domain: string, _optimizeKey: string) => void;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Observable on events as a string sent from Analytics
|
|
28
28
|
*/
|
|
29
29
|
eventSent$: Observable<string>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Must be called before init
|
|
33
|
+
*/
|
|
34
|
+
setAbTestKey: (key: string) => void;
|
|
30
35
|
};
|
|
31
36
|
|
|
32
37
|
// ---------------------------------------------------------------------------------------------------
|
|
@@ -61,6 +66,13 @@ export interface MiamInterface {
|
|
|
61
66
|
* Opens the preview by calling the `openBasket` method of the `recipesService`.
|
|
62
67
|
*/
|
|
63
68
|
openPreview: () => void;
|
|
69
|
+
/**
|
|
70
|
+
* /!\ Debug only: If no-supplier mode is activated, override the base of the transfer url with an other url
|
|
71
|
+
* ex: if transfer url is 'https://test.com/recipes?param1=x,param2=y'
|
|
72
|
+
* and overrideTransferUrl is called with 'http://localhost:3000/recettes'
|
|
73
|
+
* transfer url will become 'http://localhost:3000/recettes?param1=x,param2=y'
|
|
74
|
+
*/
|
|
75
|
+
overrideTransferUrl: (url: string) => void;
|
|
64
76
|
};
|
|
65
77
|
|
|
66
78
|
basketSync: {
|