@shopware-ag/admin-extension-sdk
Advanced tools
Comparing version 0.0.14 to 0.0.15
export declare const redirect: (messageOptions: import("../channel").MessageDataType<"windowRedirect">) => Promise<void>; | ||
export declare const reload: (messageOptions: import("../channel").MessageDataType<"windowReload">) => Promise<void>; | ||
/** | ||
@@ -3,0 +4,0 @@ * Redirect to another URL |
import { createSender } from '../channel'; | ||
export const redirect = createSender('windowRedirect'); | ||
export const reload = createSender('windowReload'); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@shopware-ag/admin-extension-sdk", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"repository": "git://github.com/shopware/admin-extension-sdk.git", | ||
@@ -5,0 +5,0 @@ "description": "The SDK for App iframes to communicate with the Shopware Adminstration", |
export declare const redirect: (messageOptions: import("../channel").MessageDataType<"windowRedirect">) => Promise<void>; | ||
export declare const reload: (messageOptions: import("../channel").MessageDataType<"windowReload">) => Promise<void>; | ||
/** | ||
@@ -3,0 +4,0 @@ * Redirect to another URL |
@@ -12,6 +12,7 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.redirect = void 0; | ||
exports.reload = exports.redirect = void 0; | ||
const channel_1 = require("../channel"); | ||
exports.redirect = (0, channel_1.createSender)('windowRedirect'); | ||
exports.reload = (0, channel_1.createSender)('windowReload'); | ||
}); | ||
//# sourceMappingURL=index.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
83921
1336