@thi.ng/wasm-api
Advanced tools
Comparing version 2.2.7 to 2.3.0
@@ -1,2 +0,2 @@ | ||
import type { BigTypedArray, EVENT_ALL, Fn, IDeref, ILength, TypedArray, Values } from "@thi.ng/api"; | ||
import type { BigTypedArray, EVENT_ALL, Fn, IDeref, ILength, Keys, TypedArray, Values } from "@thi.ng/api"; | ||
import type { WasmBridge } from "./bridge.js"; | ||
@@ -20,2 +20,7 @@ export declare const EVENT_MEMORY_CHANGED = "memory-changed"; | ||
} | ||
/** | ||
* Helper type to extract field names of structs/unions based on | ||
* {@link WasmTypeBase} (e.g. those generated by thi.ng/wasm-api-bindgen). | ||
*/ | ||
export type WasmTypeKeys<T extends WasmTypeBase> = Keys<Omit<T, Keys<WasmTypeBase>>>; | ||
export interface WasmType<T> { | ||
@@ -22,0 +27,0 @@ /** |
# Change Log | ||
- **Last updated**: 2025-01-04T21:07:38Z | ||
- **Last updated**: 2025-01-10T10:06:26Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api@2.3.0) (2025-01-10) | ||
#### 🚀 Features | ||
- add WasmTypeKeys helper type ([7e293ce](https://github.com/thi-ng/umbrella/commit/7e293ce)) | ||
### [2.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api@2.2.1) (2024-11-10) | ||
@@ -14,0 +20,0 @@ |
{ | ||
"name": "@thi.ng/wasm-api", | ||
"version": "2.2.7", | ||
"version": "2.3.0", | ||
"description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects", | ||
@@ -131,3 +131,3 @@ "type": "module", | ||
}, | ||
"gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n" | ||
"gitHead": "d52592c42d33072925fb531e70e2879fd52b26e6\n" | ||
} |
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
166547
1718