@everymatrix/general-navigation-bar 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/general-navigation-bar",
3
- "version": "1.17.5",
3
+ "version": "1.18.0",
4
4
  "main": "dist/general-navigation-bar.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "e558426aacbc1f9a28260526551afc6d4cf887b1"
38
+ "gitHead": "6e90294022b2d742320099f1a4681ee431732dd5"
39
39
  }
@@ -156,7 +156,7 @@
156
156
  if(eventInterpreted[label]){
157
157
  window.postMessage({ type: `MobileBottomNavigationEvent`, event: eventInterpreted[label]}, window.location.href);
158
158
  } else {
159
- window.postMessage({ type: 'NavigateTo', url, target: target, externalLink: externalLink }, window.location.href);
159
+ window.postMessage({ type: 'NavigateTo', path: url, target: target || null, externalLink: externalLink || false }, window.location.href);
160
160
  }
161
161
 
162
162
  //Analytics event