We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22a659f + 7e6d4fa commit 2651964Copy full SHA for 2651964
index.ts
@@ -10,7 +10,7 @@ let isOneSignalInitialized = false;
10
// OneSignal#init.
11
let isOneSignalScriptFailed = false;
12
13
-if (window) {
+if (typeof window !== 'undefined') {
14
window.OneSignalDeferred = window.OneSignalDeferred || [];
15
addSDKScript();
16
}
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@onesignal/onesignal-vue3",
3
- "version": "2.0.0",
+ "version": "2.0.1",
4
"description": "Vue 3 OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!",
5
"author": "rgomezp",
6
"contributors": [
0 commit comments