Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@imedx/ics-imedx-chromely-plugin-intf-platform
Advanced tools
```javascript import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform' ```
import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform'
init 初始化接口
/**
*
* @returns 成功:{code: 200, data, message: 'ok'}
*/
IntfPlatform.init()
dispose 释放核心接口
/**
*
* @returns 成功:{code: 200, data, message: 'ok'}
*/
IntfPlatform.dispose()
bussiness 业务交互接口
/**
*
* @param intfCode: string
* @param code: string
* @param param: any
* @returns 成功:{code: 200, data, message: 'ok'}
*/
IntfPlatform.bussiness(intfCode, code, param)
register 注册接口
/**
* 注册接口
* @param name 接口名称
* @param intfType 接口类型
* @param config 接口配置
*/
public static register(name: string, intfType: any, config: ConfigRecord)
getCoreInterface 获取核心接口
/**
* 获取核心接口
* @param name 接口名称
* @returns
*/
public static getCoreInterface(name: string): IInterfaceCore | undefined
getInterface 获取实现接口
/**
* 获取实现接口
* @param name 接口名称
* @returns
*/
public static getInterface(name: string): any | undefined
getInterfaceConfig 获取实现接口配置
/**
* 获取实现接口配置
* @param name 接口名称
* @returns
*/
public static getInterfaceConfig(name: string): ConfigRecord | undefined
getCoreInterfaceConfig 获取核心接口配置
/**
* 获取核心接口配置
* @param name 接口名称
* @returns
*/
public static getCoreInterfaceConfig(name: string): ConfigRecord | undefined
FAQs
```javascript import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform' ```
We found that @imedx/ics-imedx-chromely-plugin-intf-platform demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 20 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.