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
1
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.1.1 to 1.2.0-rc.2

1

dist/components/note-dialog.js

@@ -156,2 +156,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

if (createdNote) {
window.heap.track("Create Note", createdNote);
const event = new CustomEvent('note-created', { detail: createdNote });

@@ -158,0 +159,0 @@ this.dispatchEvent(event);

@@ -45,2 +45,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

redirectToDetails() {
window.heap.track("View Note Details", this.note);
window.location.href = this.notesUri + "/account/" + this.accountId + "/note/" + this.note.noteId;

@@ -47,0 +48,0 @@ }

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

private openAddNoteDialog;
private trackEvent;
private addCreatedNoteToList;

@@ -25,0 +26,0 @@ }

@@ -42,2 +42,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

};
this.trackEvent = () => {
window.heap.track("View All Notes", {});
};
this.addCreatedNoteToList = (event) => {

@@ -116,3 +119,4 @@ this._loadNotesTask = new Task(this, () => {

type="secondary"
>
@click=${this.trackEvent}
>
<a href=${`${this.notesUri}/account/${this.accountId}`}></a>

@@ -119,0 +123,0 @@ View all notes

declare global {
interface Window {
zywave: any;
heap: any;
}

@@ -5,0 +6,0 @@ }

2

package.json
{
"name": "@zywave/notes-widget",
"version": "1.1.1",
"version": "1.2.0-rc.2",
"description": "A custom web component for notes functionality through a widget",

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

@@ -189,2 +189,3 @@ import { LitElement, html, css, nothing } from 'lit';

if(createdNote) {
window.heap.track("Create Note", createdNote);
const event = new CustomEvent('note-created', {detail: createdNote});

@@ -191,0 +192,0 @@ this.dispatchEvent(event);

@@ -109,2 +109,3 @@ import { LitElement, html, css, nothing } from 'lit';

private redirectToDetails() {
window.heap.track("View Note Details", this.note)
window.location.href = this.notesUri + "/account/" + this.accountId + "/note/" + this.note.noteId;

@@ -111,0 +112,0 @@ }

@@ -154,3 +154,4 @@ import { LitElement, html, css } from 'lit';

type="secondary"
>
@click=${this.trackEvent}
>
<a href=${`${this.notesUri}/account/${this.accountId}`}></a>

@@ -198,2 +199,6 @@ View all notes

private trackEvent = (): void => {
window.heap.track("View All Notes", {});
}
private addCreatedNoteToList = (event: NoteCreatedEvent): void =>{

@@ -200,0 +205,0 @@ this._loadNotesTask = new Task(

declare global {
interface Window {
zywave: any;
heap: any;
}

@@ -5,0 +6,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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