onesignal-cordova-plugin
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -32,8 +32,2 @@ /** | ||
import { ChangeEvent, DeviceState, EmailSubscriptionChange, PermissionChange, SMSSubscriptionChange, SubscriptionChange } from "./Subscription"; | ||
declare global { | ||
interface Window { | ||
cordova: any; | ||
plugins: any; | ||
} | ||
} | ||
export declare type LogLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6; | ||
@@ -40,0 +34,0 @@ export declare class OneSignalPlugin { |
{ | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"name": "onesignal-cordova-plugin", | ||
@@ -5,0 +4,0 @@ "cordova_name": "OneSignal Push Notifications", |
@@ -43,8 +43,3 @@ /** | ||
// Suppress TS warnings about window.cordova | ||
declare global { | ||
interface Window { | ||
cordova: any; // turn off type checking | ||
plugins: any; | ||
} | ||
} | ||
declare let window: any; // turn off type checking | ||
@@ -51,0 +46,0 @@ // 0 = None, 1 = Fatal, 2 = Errors, 3 = Warnings, 4 = Info, 5 = Debug, 6 = Verbose |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
699411
3875
2