Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@videsk/headway-sdk
Advanced tools
Videsk is not proprietary of Headwayapp.co, and not have any business direct relation with Headway App, Inc. This SDK was developed because Videsk need integrate Headway app in custom UI, more programmatically and flexible.
Please take as real needs of a customer, not intent of break copyrights.
npm i @videsk/headway-sdk
const account = 'XXXXX';
const changelog = new HeadwaySDK(account);
changelog.on('height', height => {
// Set height to the iframe or parent node that contain the iframe
});
changelog.on('ready', (changelogs) => {
// Do something if you want or with changelogs
// The changelogs is an array
});
const element = document.querySelector('body');
changelog.render(element);
The SDK provide a list of events. Events can be set by property event
or method on
, after instance the class.
property
changelog.events.ready = function () {
// Do something
};
changelog.events.badge = function () {
// Do something
};
method
changelog.on('ready', function () {
// Do something
});
changelog.on('badge', function () {
// Do something
});
Ready event is emitted when the widget (iframe) was loaded successfully. Returns the changelogs as argument.
changelog.on('ready', function (changelogs) {
// Do something
});
Badge event is emitted to set the number of changelogs has not been seen. Returns the number of changelog as argument.
changelog.on('badge', function (number) {
// Set badge on your DOM node
})
Height event is emitted to set the height of iframe or parent node in pixels. This is based on height of website iframe to avoid showing an overflow.
This event can consider as optional to listen, because if you don't listen an overflow will display on iframe.
changelog.on('height', function (height) {
// Apply height to custom node.
iframe.style.height = height + 'px'; // Example
iframeContainer.style.height = height + 'px'; // Example
});
This SDK was develop by Videsk, but the real proprietary is Headway App, Inc., and is mandated to decide to eliminate or unpublished this code.
FAQs
Headway SDK for integrate changelog in custom HTML node.
The npm package @videsk/headway-sdk receives a total of 0 weekly downloads. As such, @videsk/headway-sdk popularity was classified as not popular.
We found that @videsk/headway-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.