New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zywave/notes-widget

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zywave/notes-widget - npm Package Compare versions

Comparing version 1.2.0-PW-896-Fix-Client.11 to 1.2.0-PW-896-Fix-Client.12

1

dist/notes-widget.d.ts

@@ -13,3 +13,2 @@ import { LitElement } from 'lit';

private _addNoteDialog;
private _shell;
private _loadNotesTask;

@@ -16,0 +15,0 @@ private _notes;

7

dist/notes-widget.js

@@ -35,4 +35,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

this.showNotification = (type, header, message) => {
var _a;
(_a = this._shell) === null || _a === void 0 ? void 0 : _a.notify(type, header, message, { duration: 3000 });
const shell = document.querySelector('zywave-shell');
shell === null || shell === void 0 ? void 0 : shell.notify(type, header, message, { duration: 3000 });
};

@@ -207,5 +207,2 @@ this.openAddNoteDialog = () => {

__decorate([
query('zui-shell')
], NotesWidget.prototype, "_shell", void 0);
__decorate([
state()

@@ -212,0 +209,0 @@ ], NotesWidget.prototype, "_loadNotesTask", void 0);

{
"name": "@zywave/notes-widget",
"version": "1.2.0-PW-896-Fix-Client.11",
"version": "1.2.0-PW-896-Fix-Client.12",
"description": "A custom web component for notes functionality through a widget",

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

@@ -71,5 +71,2 @@ import { LitElement, html, css } from 'lit';

@query('zui-shell')
private _shell: any;
@state()

@@ -194,3 +191,4 @@ private _loadNotesTask = new Task(

private showNotification = (type: 'success' | 'error', header: string, message: string): void => {
this._shell?.notify(type, header, message, {duration: 3000});
const shell: any = document.querySelector('zywave-shell');
shell?.notify(type, header, message, {duration: 3000});
}

@@ -197,0 +195,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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