New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor/local-notifications

Package Overview
Dependencies
Maintainers
8
Versions
711
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/local-notifications - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.2.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/local-notifications@0.2.0...@capacitor/local-notifications@0.2.1) (2021-01-26)
### Bug Fixes
* Use the event names from Capacitor 2 ([#215](https://github.com/ionic-team/capacitor-plugins/issues/215)) ([008fe9e](https://github.com/ionic-team/capacitor-plugins/commit/008fe9e9bf6a960b0ab7b6fc4d5014f10ba13df8))
# [0.2.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/local-notifications@0.1.0...@capacitor/local-notifications@0.2.0) (2021-01-14)

@@ -8,0 +19,0 @@

4

dist/esm/definitions.d.ts

@@ -115,3 +115,3 @@ import type { PermissionState, PluginListenerHandle } from '@capacitor/core';

*/
addListener(eventName: 'received', listenerFunc: (notification: LocalNotificationSchema) => void): PluginListenerHandle;
addListener(eventName: 'localNotificationReceived', listenerFunc: (notification: LocalNotificationSchema) => void): PluginListenerHandle;
/**

@@ -122,3 +122,3 @@ * Listen for when an action is performed on a notification.

*/
addListener(eventName: 'actionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void): PluginListenerHandle;
addListener(eventName: 'localNotificationActionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void): PluginListenerHandle;
/**

@@ -125,0 +125,0 @@ * Remove all listeners for this plugin.

{
"name": "@capacitor/local-notifications",
"version": "0.2.0",
"version": "0.2.1",
"description": "The Local Notifications API provides a way to schedule device notifications locally (i.e. without a server sending push notifications).",

@@ -82,3 +82,3 @@ "main": "dist/plugin.cjs.js",

},
"gitHead": "6c724997284ac8fded5553b0e510c85055f74105"
"gitHead": "9c7056ff622b1619c0c0d1c59a09b47d20d5739f"
}

@@ -26,4 +26,4 @@ # @capacitor/local-notifications

* [`requestPermissions()`](#requestpermissions)
* [`addListener('received', ...)`](#addlistenerreceived-)
* [`addListener('actionPerformed', ...)`](#addlisteneractionperformed-)
* [`addListener('localNotificationReceived', ...)`](#addlistenerlocalnotificationreceived-)
* [`addListener('localNotificationActionPerformed', ...)`](#addlistenerlocalnotificationactionperformed-)
* [`removeAllListeners()`](#removealllisteners)

@@ -208,6 +208,6 @@ * [Interfaces](#interfaces)

### addListener('received', ...)
### addListener('localNotificationReceived', ...)
```typescript
addListener(eventName: 'received', listenerFunc: (notification: LocalNotificationSchema) => void) => PluginListenerHandle
addListener(eventName: 'localNotificationReceived', listenerFunc: (notification: LocalNotificationSchema) => void) => PluginListenerHandle
```

@@ -219,3 +219,3 @@

| ------------------ | ------------------------------------------------------------------------------------------------------ |
| **`eventName`** | <code>'received'</code> |
| **`eventName`** | <code>'localNotificationReceived'</code> |
| **`listenerFunc`** | <code>(notification: <a href="#localnotificationschema">LocalNotificationSchema</a>) =&gt; void</code> |

@@ -230,6 +230,6 @@

### addListener('actionPerformed', ...)
### addListener('localNotificationActionPerformed', ...)
```typescript
addListener(eventName: 'actionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void) => PluginListenerHandle
addListener(eventName: 'localNotificationActionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void) => PluginListenerHandle
```

@@ -241,3 +241,3 @@

| ------------------ | -------------------------------------------------------------------------------------------- |
| **`eventName`** | <code>'actionPerformed'</code> |
| **`eventName`** | <code>'localNotificationActionPerformed'</code> |
| **`listenerFunc`** | <code>(notificationAction: <a href="#actionperformed">ActionPerformed</a>) =&gt; void</code> |

@@ -244,0 +244,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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