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

post-notification-immediately

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

post-notification-immediately - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "post-notification-immediately",
"version": "0.1.0",
"version": "0.1.1",
"description": "A helper Electron & Node.js module to post notifications immediately via macOS distributed notification center",

@@ -5,0 +5,0 @@ "main": "index.js",

# post-notification-immediately
A helper workaround module for Electron issue ([#15789](https://github.com/electron/electron/issues/15789)) to post notifications immediately via macOS distributed notification center. This module also can be used in any `node.js` application running on `macOS`.

@@ -17,7 +18,14 @@ ## Installation

pickColor('kUniqueNotificationName',{ data: 'Hey there! :)' }).then(() => {
// sent successfully
},(err) => {
// error caused by payload parsing
});
const userInfo = {
data: 'Hey there! :)'
};
postNotification('kUniqueNotificationName',userInfo).then(
() => {
// sent successfully
},
(err) => {
// error caused by payload parsing
}
);
```

@@ -24,0 +32,0 @@

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