
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
capacitor-plugin-nsd
Advanced tools
capacitor plugin nsd
npm install capacitor-plugin-nsd
npx cap sync
stopNetworkService()
startFindNewtworkService(...)
addListener('onServiceResolved', ...)
addListener('onServiceRemoved', ...)
addListener('onDiscoveryStopped', ...)
addListener('onServiceError', ...)
stopNetworkService() => Promise<void>
startFindNewtworkService(params: DiscoveryParam) => Promise<void>
Param | Type |
---|---|
params | DiscoveryParam |
addListener(eventName: "onServiceResolved", listenerFunc: (data: NetService) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Called when a service is resolved and result received.
Provides NetService result.
Param | Type |
---|---|
eventName | 'onServiceResolved' |
listenerFunc | (data: NetService) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
addListener(eventName: "onServiceRemoved", listenerFunc: (data: NetService) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Called when a service is removed and result received.
Provides NetService result.
Param | Type |
---|---|
eventName | 'onServiceRemoved' |
listenerFunc | (data: NetService) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
addListener(eventName: "onDiscoveryStopped", listenerFunc: (data: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Called when a service discovery is stopped.
Provides no result.
Param | Type |
---|---|
eventName | 'onDiscoveryStopped' |
listenerFunc | (data: any) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
addListener(eventName: "onServiceError", listenerFunc: (data: NetServiceError) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Called on a service error and error received.
Provides NetServiceError result.
Param | Type |
---|---|
eventName | 'onServiceError' |
listenerFunc | (data: NetServiceError) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
Prop | Type |
---|---|
type | string |
domain | string |
Prop | Type |
---|---|
remove | () => Promise<void> |
Prop | Type |
---|---|
printerCount | number |
serviceName | string |
isUntrustedCert | boolean |
isSearchable | boolean |
serviceType | number |
serviceID | string |
serviceURL | string |
Prop | Type |
---|---|
code | string |
error | string |
FAQs
capacitor plugin nsd
The npm package capacitor-plugin-nsd receives a total of 1 weekly downloads. As such, capacitor-plugin-nsd popularity was classified as not popular.
We found that capacitor-plugin-nsd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.