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

admin-iframe-compatibility

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-iframe-compatibility - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

8

cms-iframe.js

@@ -7,2 +7,9 @@ console.debug(`%c [ADMIN CMS JS] - Running custom js `, 'background: #002833; color: #258bd2');

var addVtexLoaderScript = function () {
var vtexLoaderScript = document.createElement('script')
vtexLoaderScript.async = false
vtexLoaderScript.src = "//io.vtex.com.br/io-vtex-loader/2.3.1/io-vtex-loader.min.js"
document.body.appendChild(vtexLoaderScript)
}
var handleIframePostMessage = (e) => {

@@ -28,2 +35,3 @@ console.debug(`%c [ADMIN CMS JS] - message received: \n data: ${e.data} `, 'background: #002833; color: #258bd2')

// legacy topbar load
addVtexLoaderScript();
$(window).on('topbarLoaded.vtex', function () {

@@ -30,0 +38,0 @@ vtex.topbar.topbar = new vtex.topbar.Topbar();

2

package.json
{
"name": "admin-iframe-compatibility",
"version": "1.0.21",
"version": "1.0.22",
"description": "Compatiblity js to adapt catalog admin to iframe",

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

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