Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

admin-shell-messaging

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-shell-messaging - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

dist/navigation.d.ts

4

dist/breadcrumb.d.ts

@@ -13,3 +13,3 @@ import { InsertOnBreadcrumbParams } from "./types";

* // other necessary imports up here...
* import { insertNewBreadcrumbLevel } from '@vtex/admin-shell-messaging'
* import { insertNewBreadcrumbLevel } from `@vtex/admin-shell-messaging`
*

@@ -52,3 +52,3 @@ * const App = () => {

* // other necessary imports up here...
* import { clearBreadcrumbExtraLevels } from '@vtex/admin-shell-messaging'
* import { clearBreadcrumbExtraLevels } from `@vtex/admin-shell-messaging`
*

@@ -55,0 +55,0 @@ * const App = () => {

@@ -5,2 +5,3 @@ "use strict";

const actions_1 = require("./actions");
const shell_1 = require("./shell");
/**

@@ -17,3 +18,3 @@ * Function to insert a new breadcrumb level.

* // other necessary imports up here...
* import { insertNewBreadcrumbLevel } from '@vtex/admin-shell-messaging'
* import { insertNewBreadcrumbLevel } from `@vtex/admin-shell-messaging`
*

@@ -49,3 +50,3 @@ * const App = () => {

});
window.top.postMessage(params, "*");
shell_1.shell.postMessage(params, "*");
}

@@ -64,3 +65,3 @@ exports.insertNewBreadcrumbLevel = insertNewBreadcrumbLevel;

* // other necessary imports up here...
* import { clearBreadcrumbExtraLevels } from '@vtex/admin-shell-messaging'
* import { clearBreadcrumbExtraLevels } from `@vtex/admin-shell-messaging`
*

@@ -86,5 +87,5 @@ * const App = () => {

const params = actions_1.ACTIONS.CLEAR_BREADCRUMB_EXTRA_LEVELS();
window.top.postMessage(params, "*");
shell_1.shell.postMessage(params, "*");
}
exports.clearBreadcrumbExtraLevels = clearBreadcrumbExtraLevels;
//# sourceMappingURL=breadcrumb.js.map

@@ -5,1 +5,2 @@ export { ACTION_TYPES, ACTIONS } from "./actions";

export { InsertOnBreadcrumbParams, Message, ReceivedMessage } from "./types";
export { shell } from "./shell";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stopLoading = exports.startLoading = exports.clearBreadcrumbExtraLevels = exports.insertNewBreadcrumbLevel = exports.ACTIONS = exports.ACTION_TYPES = void 0;
exports.shell = exports.stopLoading = exports.startLoading = exports.clearBreadcrumbExtraLevels = exports.insertNewBreadcrumbLevel = exports.ACTIONS = exports.ACTION_TYPES = void 0;
var actions_1 = require("./actions");

@@ -13,2 +13,4 @@ Object.defineProperty(exports, "ACTION_TYPES", { enumerable: true, get: function () { return actions_1.ACTION_TYPES; } });

Object.defineProperty(exports, "stopLoading", { enumerable: true, get: function () { return loadbar_1.stopLoading; } });
var shell_1 = require("./shell");
Object.defineProperty(exports, "shell", { enumerable: true, get: function () { return shell_1.shell; } });
//# sourceMappingURL=index.js.map

@@ -17,3 +17,3 @@ /**

* // other necessary imports up here...
* import { startLoading, stopLoading } from '@vtex/admin-shell-messaging'
* import { startLoading, stopLoading } from `@vtex/admin-shell-messaging`
*

@@ -20,0 +20,0 @@ * const App = () => {

@@ -5,2 +5,3 @@ "use strict";

const actions_1 = require("./actions");
const shell_1 = require("./shell");
/**

@@ -22,3 +23,3 @@ * Function to warn the admin-shell to start the global

* // other necessary imports up here...
* import { startLoading, stopLoading } from '@vtex/admin-shell-messaging'
* import { startLoading, stopLoading } from `@vtex/admin-shell-messaging`
*

@@ -73,3 +74,3 @@ * const App = () => {

const params = actions_1.ACTIONS.START_LOADING();
window.top.postMessage(params, "*");
shell_1.shell.postMessage(params, "*");
return true;

@@ -141,3 +142,3 @@ }

const params = actions_1.ACTIONS.STOP_LOADING();
window.top.postMessage(params, "*");
shell_1.shell.postMessage(params, "*");
return true;

@@ -144,0 +145,0 @@ }

@@ -36,3 +36,3 @@ import { ACTION_TYPES } from "./actions";

* // other necessary imports up here...
* import { ReceivedMessage, ACTION_TYPES } from '@vtex/admin-shell-messaging'
* import { ReceivedMessage, ACTION_TYPES } from `@vtex/admin-shell-messaging`
*

@@ -39,0 +39,0 @@ * const App = () => {

{
"name": "admin-shell-messaging",
"version": "0.1.8",
"version": "0.1.9",
"description": "Admin shell Iframe messaging package",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import { ACTIONS } from "./actions";
import { shell } from "./shell";
import { InsertOnBreadcrumbParams } from "./types";

@@ -15,3 +16,3 @@

* // other necessary imports up here...
* import { insertNewBreadcrumbLevel } from '@vtex/admin-shell-messaging'
* import { insertNewBreadcrumbLevel } from `@vtex/admin-shell-messaging`
*

@@ -51,3 +52,3 @@ * const App = () => {

window.top.postMessage(params, "*");
shell.postMessage(params, "*");
}

@@ -66,3 +67,3 @@

* // other necessary imports up here...
* import { clearBreadcrumbExtraLevels } from '@vtex/admin-shell-messaging'
* import { clearBreadcrumbExtraLevels } from `@vtex/admin-shell-messaging`
*

@@ -88,3 +89,3 @@ * const App = () => {

const params = ACTIONS.CLEAR_BREADCRUMB_EXTRA_LEVELS();
window.top.postMessage(params, "*");
shell.postMessage(params, "*");
}

@@ -8,1 +8,2 @@ export { ACTION_TYPES, ACTIONS } from "./actions";

export { InsertOnBreadcrumbParams, Message, ReceivedMessage } from "./types";
export { shell } from "./shell";
import { ACTIONS } from "./actions";
import { shell } from "./shell";

@@ -19,3 +20,3 @@ /**

* // other necessary imports up here...
* import { startLoading, stopLoading } from '@vtex/admin-shell-messaging'
* import { startLoading, stopLoading } from `@vtex/admin-shell-messaging`
*

@@ -71,3 +72,3 @@ * const App = () => {

window.top.postMessage(params, "*");
shell.postMessage(params, "*");

@@ -141,5 +142,5 @@ return true;

window.top.postMessage(params, "*");
shell.postMessage(params, "*");
return true;
}

@@ -39,3 +39,3 @@ import { ACTION_TYPES } from "./actions";

* // other necessary imports up here...
* import { ReceivedMessage, ACTION_TYPES } from '@vtex/admin-shell-messaging'
* import { ReceivedMessage, ACTION_TYPES } from `@vtex/admin-shell-messaging`
*

@@ -42,0 +42,0 @@ * const App = () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc