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

onesignal-cordova-plugin

Package Overview
Dependencies
Maintainers
9
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onesignal-cordova-plugin - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

dist/models/InAppMessage.d.ts

@@ -1,3 +0,3 @@

export declare type InAppMessageEventName = "click" | "willDisplay" | "didDisplay" | "willDismiss" | "didDismiss";
export declare type InAppMessageEventTypeMap = {
export type InAppMessageEventName = "click" | "willDisplay" | "didDisplay" | "willDismiss" | "didDismiss";
export type InAppMessageEventTypeMap = {
click: InAppMessageClickEvent;

@@ -19,3 +19,3 @@ willDisplay: InAppMessageWillDisplayEvent;

}
export declare type InAppMessageActionUrlType = "browser" | "webview" | "replacement";
export type InAppMessageActionUrlType = "browser" | "webview" | "replacement";
export interface InAppMessageWillDisplayEvent {

@@ -22,0 +22,0 @@ message: OSInAppMessage;

import { OSNotification } from '../OSNotification';
import { NotificationWillDisplayEvent } from '../NotificationReceivedEvent';
export declare type NotificationEventName = "click" | "foregroundWillDisplay" | "permissionChange";
export declare type NotificationEventTypeMap = {
export type NotificationEventName = "click" | "foregroundWillDisplay" | "permissionChange";
export type NotificationEventTypeMap = {
click: NotificationClickEvent;

@@ -6,0 +6,0 @@ foregroundWillDisplay: NotificationWillDisplayEvent;

@@ -103,3 +103,3 @@ "use strict";

PushSubscription.prototype.optIn = function () {
window.cordova.exec(function () { }, function () { }, "OneSignalPush", "OptInPushSubscription");
window.cordova.exec(function () { }, function () { }, "OneSignalPush", "optInPushSubscription");
};

@@ -106,0 +106,0 @@ /**

{
"version": "5.0.0",
"version": "5.0.1",
"name": "onesignal-cordova-plugin",

@@ -4,0 +4,0 @@ "cordova_name": "OneSignal Push Notifications",

@@ -115,3 +115,3 @@ // Suppress TS warnings about window.cordova

optIn(): void {
window.cordova.exec(function(){}, function(){}, "OneSignalPush", "OptInPushSubscription");
window.cordova.exec(function(){}, function(){}, "OneSignalPush", "optInPushSubscription");
}

@@ -118,0 +118,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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