New:Socket for Asana Is Now Available.Learn more
Get Started

@braccato/core

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braccato/core - npm Package Compare versions

Comparing version
1.2.1
to
1.3.0
+5
-3
dist/inject.d.ts

@@ -6,3 +6,3 @@ import type { Lyric, LyricPart, LyricSyncType } from "./types.js";

export declare function deriveSyncType(lyrics: Lyric[]): LyricSyncType;
export interface PartData {
export interface AnimationData {
/**

@@ -18,4 +18,6 @@ * Time of this part in seconds

animations: Animation[];
highlightElement?: HTMLElement;
}
export interface PartData extends AnimationData {
highlightElement: HTMLElement;
}
export type LineData = {

@@ -31,3 +33,3 @@ parts: PartData[];

position: number;
} & PartData;
} & AnimationData;
export declare function newLineData(lyricElement: HTMLElement, startTimeMs: number, durationMs: number): LineData;

@@ -34,0 +36,0 @@ export declare function applyDirection(element: HTMLElement, text: string): void;

{
"name": "@braccato/core",
"version": "1.2.1",
"version": "1.3.0",
"description": "Synchronized lyrics renderer with word-by-word animations",

@@ -5,0 +5,0 @@ "type": "module",

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