New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

smartnftportal

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartnftportal - npm Package Compare versions

Comparing version 1.0.39 to 1.0.40

30

dist/SmartNFTPortal.js

@@ -38,13 +38,3 @@ "use strict";

onMouseOut,
onMouseOver,
onClick,
onMouseDown,
onMouseUp,
onMouseMove,
onContextMenu,
onDblClick,
onTouchStart,
onTouchEnd,
onTouchMove,
onTouchCancel
onMouseOver
} = props;

@@ -414,3 +404,3 @@ let loadingContent = props.loadingContent;

}
librariesHTML += getPortalAPIScripts(smartImports, metadata, activeHtmlStyle, inactiveHtmlStyle);
librariesHTML += getPortalAPIScripts(smartImports, metadata, props);
if (metadata && metadata.files && metadata.files[0]) {

@@ -436,3 +426,17 @@ let newSrc = metadata.files[0].src; // Todo - this line and the line above assume that the text/html program code will be the first element in the files array

// This is the API that's provided to the child iframe:
const getPortalAPIScripts = (smartImports, metadata, activeHtmlStyle, inactiveHtmlStyle) => {
const getPortalAPIScripts = (smartImports, metadata, props) => {
const {
onClick,
onMouseDown,
onMouseUp,
onMouseMove,
onContextMenu,
onDblClick,
onTouchStart,
onTouchEnd,
onTouchMove,
onTouchCancel,
activeHtmlStyle,
inactiveHtmlStyle
} = props;
let ret = "<script>\n";

@@ -439,0 +443,0 @@ ret += "if (!window.cardano) window.cardano={};\n";

@@ -19,3 +19,3 @@ {

"license": "BSD-3-Clause-Attribution",
"version": "1.0.39",
"version": "1.0.40",
"main": "dist/index.js",

@@ -22,0 +22,0 @@ "scripts": {

@@ -19,6 +19,3 @@

onMouseOut,
onMouseOver,
onClick,
onMouseDown,
onMouseUp, onMouseMove,onContextMenu,onDblClick,onTouchStart,onTouchEnd,onTouchMove,onTouchCancel} = props;
onMouseOver} = props;
let loadingContent = props.loadingContent;

@@ -369,3 +366,3 @@ let ROOT = props.apiRoot;

}
librariesHTML+=getPortalAPIScripts(smartImports, metadata, activeHtmlStyle, inactiveHtmlStyle);
librariesHTML+=getPortalAPIScripts(smartImports, metadata, props);
if (metadata && metadata.files && metadata.files[0]) {

@@ -387,4 +384,4 @@ let newSrc = metadata.files[0].src; // Todo - this line and the line above assume that the text/html program code will be the first element in the files array

// This is the API that's provided to the child iframe:
const getPortalAPIScripts = (smartImports, metadata, activeHtmlStyle, inactiveHtmlStyle) => {
const getPortalAPIScripts = (smartImports, metadata, props) => {
const {onClick, onMouseDown, onMouseUp, onMouseMove,onContextMenu,onDblClick,onTouchStart,onTouchEnd,onTouchMove,onTouchCancel, activeHtmlStyle, inactiveHtmlStyle} = props;
let ret="<script>\n";

@@ -391,0 +388,0 @@ ret+="if (!window.cardano) window.cardano={};\n";

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