Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onesignal/onesignal-vue3

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onesignal/onesignal-vue3 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/index.d.ts

@@ -115,3 +115,3 @@ import { App } from 'vue';

}
export declare const useOneSignal: () => unknown;
export declare const useOneSignal: () => IOneSignal;
declare const OneSignalVuePlugin: {

@@ -118,0 +118,0 @@ install(app: App, options: IInitObject): void;

@@ -1,2 +0,1 @@

import { inject } from 'vue';
const ONESIGNAL_SDK_ID = 'onesignal-sdk';

@@ -698,5 +697,4 @@ const ONE_SIGNAL_SCRIPT_SRC = 'https://cdn.onesignal.com/sdks/OneSignalSDK.js';

};
const INJECT_KEY = "onesignal";
export const useOneSignal = () => {
return inject(INJECT_KEY);
return OneSignalVue;
};

@@ -707,3 +705,2 @@ const OneSignalVuePlugin = {

app.config.globalProperties.$OneSignal.init(options);
app.provide(INJECT_KEY, OneSignalVue);
}

@@ -710,0 +707,0 @@ };

@@ -1,2 +0,2 @@

import { App, inject } from 'vue';
import { App } from 'vue';

@@ -877,6 +877,4 @@ const ONESIGNAL_SDK_ID = 'onesignal-sdk';

const INJECT_KEY = "onesignal";
export const useOneSignal = () => {
return inject(INJECT_KEY);
return OneSignalVue;
}

@@ -888,3 +886,2 @@

app.config.globalProperties.$OneSignal.init(options);
app.provide(INJECT_KEY, OneSignalVue);
}

@@ -891,0 +888,0 @@ }

{
"name": "@onesignal/onesignal-vue3",
"version": "1.0.1",
"version": "1.0.2",
"description": "Vue 3 OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!",
"author": "rgomezp",
"contributors": [
{
"name": "Rodrigo Gomez-Palacio"
}
{ "name": "Rodrigo Gomez-Palacio" },
{ "name": "Enzo Innocenzi" }
],

@@ -11,0 +10,0 @@ "license": "MIT",

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