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
323
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-beta.4 to 0.53.1-beta.5

24

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;
}

@@ -292,10 +282,10 @@ export interface FigureDescriptor {

};
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;
}

@@ -302,0 +292,0 @@ export interface FigureDataUpdatedEvent {

{
"name": "@deephaven/jsapi-types",
"version": "0.53.1-beta.4+d5b3b485",
"version": "0.53.1-beta.5+0a6965a4",
"description": "Deephaven JSAPI Types",

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

},
"gitHead": "d5b3b485dfc95248bdd1d664152c6c1ab288720a"
"gitHead": "0a6965a41953470cb032ef44d93497fa438783e4"
}

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