🚀 Socket Launch Week 🚀 Day 3: Socket Acquires Coana.Learn More

announcekit-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

announcekit-react - npm Package Compare versions

Comparing version

to
1.2.1

@@ -11,2 +11,6 @@ import * as React from "react";

onWidgetUnread?: Function;
userData?: {
user_id: string;
[key: string]: any;
};
}

@@ -13,0 +17,0 @@ export default class AnnounceKit extends React.Component<Props, {}> {

"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {

@@ -15,12 +12,9 @@ extendStatics(d, b);

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};

@@ -112,3 +106,3 @@ var __importStar = (this && this.__importStar) || function (mod) {

});
} }));
}, data: this.props.userData }));
};

@@ -115,0 +109,0 @@ AnnounceKit.prototype.render = function () {

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

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