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

announcekit-react

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

announcekit-react - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

25

dist/index.js

@@ -75,25 +75,24 @@ "use strict";

var ann = window["announcekit"];
ann.on("widget-init", function (widget) {
if (widget === _widget && onWidgetInit) {
onWidgetInit(_widget);
}
});
ann.on("widget-open", function (widget) {
ann.on("widget-open", function (_a) {
var widget = _a.widget;
if (widget === _widget && onWidgetOpen) {
onWidgetOpen(_widget);
onWidgetOpen({ widget: widget });
}
});
ann.on("widget-close", function (widget) {
ann.on("widget-close", function (_a) {
var widget = _a.widget;
if (widget === _widget && onWidgetClose) {
onWidgetClose(_widget);
onWidgetClose({ widget: widget });
}
});
ann.on("widget-resize", function (widget) {
ann.on("widget-resize", function (_a) {
var widget = _a.widget, size = _a.size;
if (widget === _widget && onWidgetResize) {
onWidgetResize(_widget);
onWidgetResize({ widget: widget, size: size });
}
});
ann.on("widget-unread", function (widget) {
ann.on("widget-unread", function (_a) {
var widget = _a.widget, unread = _a.unread;
if (widget === _widget && onWidgetUnread) {
onWidgetUnread(_widget);
onWidgetUnread({ widget: widget, unread: unread });
}

@@ -100,0 +99,0 @@ });

{
"name": "announcekit-react",
"version": "1.0.3",
"version": "1.0.4",
"description": "Use AnnounceKit widgets in your React App",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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