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

@anywidget/types

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anywidget/types - npm Package Compare versions

Comparing version

to
0.1.1

6

CHANGELOG.md
# @anywidget/types
## 0.1.1
### Patch Changes
- fix: re-expose model.send for custom messages ([#146](https://github.com/manzt/anywidget/pull/146))
## 0.1.0

@@ -4,0 +10,0 @@

7

index.d.ts

@@ -16,8 +16,9 @@ type MaybePromise<T> = T | Promise<T>;

set<K extends keyof T>(key: K, value: T[K]): void;
off(eventName?: string | null, callback?: EventHandler | null): void;
on(eventName: string, callback: EventHandler): void;
save_changes(): void;
on(eventName: string, callback: EventHandler): void;
off(eventName?: string | null, callback?: EventHandler | null): void;
send(content: any, callbacks?: any, buffers?: ArrayBuffer[] | ArrayBufferView[]): void;
}
export interface RenderContext<Model> {
export interface RenderContext<Model extends AnyModel> {
model: Model;

@@ -24,0 +25,0 @@ el: HTMLElement;

{
"name": "@anywidget/types",
"type": "module",
"version": "0.1.0",
"version": "0.1.1",
"description": "utility types for anywidget",

@@ -6,0 +6,0 @@ "main": "index.js",