@everymatrix/casino-header-controller 1.17.5 → 1.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-header-controller",
3
- "version": "1.17.5",
3
+ "version": "1.18.0",
4
4
  "main": "dist/casino-header-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "e558426aacbc1f9a28260526551afc6d4cf887b1"
40
+ "gitHead": "6e90294022b2d742320099f1a4681ee431732dd5"
41
41
  }
@@ -306,7 +306,7 @@
306
306
  }
307
307
 
308
308
  const navigationTrigger = (itemData:any) => {
309
- window.postMessage({ type: actionevent, itemId: itemData.id, item: itemData, externalLink: itemData.externalLink || false, target: itemData.attrs?.target || null }, window.location.href);
309
+ window.postMessage({ type: 'NavigateTo', itemId: itemData.id, item: itemData, path: itemData.path, externalLink: itemData.externalLink || false, target: itemData.attrs?.target || null }, window.location.href);
310
310
  }
311
311
 
312
312
  const selectLanguage = (operatorLanguage:string): void => {