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

yach.nim.on

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yach.nim.on - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

lib/log.js

9

lib/nim-on-error.js
// log
import { log } from 'yach.electron.ipcrenderer';
import { log } from './log.js';

@@ -9,8 +9,3 @@ /**

export function onError(error){
let project = 'yach_13_im';
let namespace = 'qiaowenbin';
let unit = 'nim life';
if(window.debugNim) console.log(project, namespace, unit, 'onError', error);
log(project, namespace, unit, 'onError', error);
log('onError', error);
}
{
"name": "yach.nim.on",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "yach nim: on callback",

# api
### onConnect
onConnect
### onError

@@ -7,1 +10,3 @@ onError

1. init project
2. on connect
3. on error
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