react-onesignal
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -9,3 +9,3 @@ const ONESIGNAL_SDK_ID = 'onesignal-sdk'; | ||
let isOneSignalScriptFailed = false; | ||
if (window) { | ||
if (typeof window !== 'undefined') { | ||
window.OneSignalDeferred = window.OneSignalDeferred || []; | ||
@@ -12,0 +12,0 @@ addSDKScript(); |
@@ -11,3 +11,3 @@ 'use strict'; | ||
let isOneSignalScriptFailed = false; | ||
if (window) { | ||
if (typeof window !== 'undefined') { | ||
window.OneSignalDeferred = window.OneSignalDeferred || []; | ||
@@ -14,0 +14,0 @@ addSDKScript(); |
@@ -11,3 +11,3 @@ const ONESIGNAL_SDK_ID = 'onesignal-sdk'; | ||
if (window) { | ||
if (typeof window !== 'undefined') { | ||
window.OneSignalDeferred = window.OneSignalDeferred || []; | ||
@@ -14,0 +14,0 @@ addSDKScript(); |
{ | ||
"name": "react-onesignal", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "React OneSignal Module: Make it easy to integrate OneSignal with your React App!", | ||
@@ -5,0 +5,0 @@ "author": "rgomezp", |
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
190591
0