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

@plaidev/karte-action-sdk

Package Overview
Dependencies
Maintainers
2
Versions
660
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plaidev/karte-action-sdk - npm Package Compare versions

Comparing version 1.0.10 to 1.0.14

dist/__tests__/index.d.ts

35

dist/index.js

@@ -31,14 +31,15 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {

var el = document.getElementById(KARTE_MODAL_ROOT);
var root;
if (el) {
return useShadow ? el.shadowRoot || el.attachShadow({ mode: 'open' }) : el;
root = useShadow ? el.shadowRoot || el.attachShadow({ mode: 'open' }) : el;
}
var newElement = document.createElement('div');
newElement.id = KARTE_MODAL_ROOT;
document.body.appendChild(newElement);
if (useShadow) {
return newElement.attachShadow({ mode: 'open' });
}
else {
return newElement;
var newRoot = document.createElement('div');
newRoot.id = KARTE_MODAL_ROOT;
document.body.appendChild(newRoot);
root = useShadow ? newRoot.attachShadow({ mode: 'open' }) : newRoot;
}
var modalContainer = document.createElement('div');
root.appendChild(modalContainer);
return useShadow ? modalContainer.attachShadow({ mode: 'open' }) : modalContainer;
}

@@ -118,6 +119,11 @@ export var Position = function (props) {

return (h(Fragment, null, state == 1 && (h(Fragment, null,
props.fog && (h(Fog, { onClick: function () { setState(0); } })),
props.fog && (h(Fog, { onClick: function () {
setState(0);
} })),
h(Position, { position: props.position, zIndex: props.zIndex, fixed: props.fixed },
h(Base, null,
h(CloseButton, { styled: props.styled, onClick: function () { props.send("message_close"); setState(0); } }),
h(CloseButton, { styled: props.styled, onClick: function () {
props.send('message_close');
setState(0);
} }),
h(Body, null, props.children)))))));

@@ -141,6 +147,11 @@ };

return (h(Fragment, null, state == 1 && (h(Fragment, null,
props.fog && (h(Fog, { onClick: function () { setState(0); } })),
props.fog && (h(Fog, { onClick: function () {
setState(0);
} })),
h(Position, { position: props.position, zIndex: props.zIndex, fixed: props.fixed },
h(Base, null,
h(CloseButton, { styled: props.styled, onClick: function () { props.send("message_close"); setState(0); } }),
h(CloseButton, { styled: props.styled, onClick: function () {
props.send('message_close');
setState(0);
} }),
h(Body, null, props.children)))))));

@@ -147,0 +158,0 @@ };

{
"name": "@plaidev/karte-action-sdk",
"version": "1.0.10",
"version": "1.0.14",
"description": "",

@@ -20,11 +20,18 @@ "keywords": [],

"watch": "tsc --project . --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest --watch",
"publish": "npm publish ."
},
"devDependencies": {
"@babel/core": "7.11.6",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"@jest/core": "^26.2.2",
"@types/jest": "^26.0.9",
"babel-jest": "26.3.0",
"goober": "2.0.5",
"jest": "26.4.2",
"preact": "10.4.8",
"serialized-svg-icons": "4.1.0",
"ts-jest": "^26.1.4",
"typescript": "3.9.7"
}
}

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