@anywidget/deno
Advanced tools
Comparing version 0.1.1 to 0.1.2
# @anywidget/deno | ||
## 0.1.2 | ||
### Patch Changes | ||
- Prefer interface over type for WidgetOptions ([#498](https://github.com/manzt/anywidget/pull/498)) | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -32,3 +32,6 @@ { | ||
"zod": "npm:zod@3.9" | ||
}, | ||
"publish": { | ||
"exclude": ["npm.README.md"] | ||
} | ||
} |
{ | ||
"name": "@anywidget/deno", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A stub-package for making releases of the Deno anywidget mod.ts with changesets", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -8,2 +8,2 @@ # @anywidet/deno | ||
Please see [`jsr:@anywidget/deno`])(https://jsr.io/@anywidget/deno). | ||
Please see [`jsr:@anywidget/deno`](https://jsr.io/@anywidget/deno). |
@@ -225,4 +225,6 @@ /** | ||
type Awaitable<T> = T | Promise<T>; | ||
/** The options bag to pass to the {@link widget} method. */ | ||
export type WidgetOptions<State> = { | ||
export interface WidgetOptions<State> { | ||
/** The initial widget state. */ | ||
@@ -234,3 +236,3 @@ state: State; | ||
el: HTMLElement; | ||
}) => unknown; | ||
}) => Awaitable<(() => Awaitable<void>) | undefined>; | ||
/** The imports required for the front-end function. */ | ||
@@ -240,3 +242,3 @@ imports?: string; | ||
version?: string; | ||
}; | ||
} | ||
@@ -243,0 +245,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26022
652
0