@liquid-state/iwa-desktop
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -11,5 +11,5 @@ var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
action: action }, data)); }; | ||
var responseForNavigate = function (message) { | ||
var responseForNavigate = function (messageData) { | ||
// Build the response message for a navigate. | ||
var _a = message.data, webapp_id = _a.webapp_id, route = _a.route, params = _a.params, context = _a.context, transition = _a.transition; | ||
var _a = messageData.data, webapp_id = _a.webapp_id, route = _a.route, params = _a.params, context = _a.context, transition = _a.transition; | ||
// If we are passed a webapp_id this route is navigating to an external web app. | ||
@@ -24,5 +24,5 @@ var result = webapp_id ? "external://" + webapp_id + "/" + route : route; | ||
} | ||
dispatch(responseForNavigate(message)); | ||
dispatch(responseForNavigate(message.data)); | ||
}; }; | ||
export default navigationMiddleware; | ||
//# sourceMappingURL=navigation.js.map |
{ | ||
"name": "@liquid-state/iwa-desktop", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A set of functions and utilities to make it easy to run IWAs in a desktop environment.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
12552