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

@deephaven/jsapi-types

Package Overview
Dependencies
Maintainers
7
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/jsapi-types - npm Package Compare versions

Comparing version 0.53.1-layout-manager.4 to 0.54.0

25

dist/dh.types.d.ts

@@ -70,12 +70,2 @@ export default dh;

}
export interface JsWidget extends Evented {
getDataAsBase64: () => string;
getDataAsU8: () => Uint8Array;
getDataAsString: () => string;
exportedObjects: {
fetch: () => Promise<Table | Figure | TreeTable | JsWidget>;
}[];
sendMessage: (message: string | ArrayBuffer | ArrayBufferView, references?: unknown[]) => void;
close: () => void;
}
export interface LogItem {

@@ -161,6 +151,6 @@ micros: number;

export interface Evented {
addEventListener: (eventType: string, listener: EventListener) => RemoverFn;
addEventListener: <T>(eventType: string, listener: EventListener<T>) => RemoverFn;
nextEvent: (eventType: string, timeoutInMillis?: number) => Promise<CustomEvent>;
hasListeners: (eventType: string) => boolean;
removeEventListener: (eventType: string, listener: EventListener) => boolean;
removeEventListener: <T>(eventType: string, listener: EventListener<T>) => boolean;
}

@@ -185,4 +175,4 @@ export interface Plot {

}
export interface EventListener {
(event: CustomEvent): void;
export interface EventListener<T> {
(event: CustomEvent<T>): void;
}

@@ -276,2 +266,3 @@ export interface FigureDescriptor {

readonly charts: Chart[];
readonly errors: string[];
/**

@@ -293,10 +284,10 @@ * Subscribes to all series in this figure.

};
export interface Widget {
export interface Widget extends Evented {
readonly EVENT_MESSAGE: string;
addEventListener: (type: string, listener: (event: unknown) => void) => () => void;
getDataAsBase64: () => string;
getDataAsString: () => string;
getDataAsU8: () => Uint8Array;
sendMessage: (message: string, references?: never[]) => void;
sendMessage: (message: string | ArrayBuffer | ArrayBufferView, references?: never[]) => void;
exportedObjects: WidgetExportedObject[];
close: () => void;
}

@@ -303,0 +294,0 @@ export interface FigureDataUpdatedEvent {

{
"name": "@deephaven/jsapi-types",
"version": "0.53.1-layout-manager.4+35156012",
"version": "0.54.0",
"description": "Deephaven JSAPI Types",

@@ -30,3 +30,3 @@ "author": "Deephaven Data Labs LLC",

},
"gitHead": "35156012036ec087dbc366e5439b85ff6d1f71ff"
"gitHead": "724c84e40aa8a716f10f39c33019a5301bfd5dab"
}

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