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

@thi.ng/wasm-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/wasm-api - npm Package Compare versions

Comparing version 1.4.43 to 1.4.44

@@ -181,9 +181,6 @@ /// <reference types="node" />

getElementById(addr: number, len?: number): HTMLElement;
/** {@inheritDoc @thi.ng/api#INotify.addListener} */
addListener(id: BridgeEventType, fn: Listener<BridgeEventType>, scope?: any): boolean;
/** {@inheritDoc @thi.ng/api#INotify.removeListener} */
removeListener(id: BridgeEventType, fn: Listener<BridgeEventType>, scope?: any): boolean;
/** {@inheritDoc @thi.ng/api#INotify.notify} */
notify(event: Event<BridgeEventType>): boolean;
}
//# sourceMappingURL=bridge.d.ts.map

@@ -424,3 +424,2 @@ var __defProp = Object.defineProperty;

}
/** {@inheritDoc @thi.ng/api#INotify.addListener} */
// @ts-ignore: mixin

@@ -430,3 +429,2 @@ // prettier-ignore

}
/** {@inheritDoc @thi.ng/api#INotify.removeListener} */
// @ts-ignore: mixin

@@ -436,3 +434,2 @@ // prettier-ignore

}
/** {@inheritDoc @thi.ng/api#INotify.notify} */
// @ts-ignore: mixin

@@ -439,0 +436,0 @@ notify(event) {

# Change Log
- **Last updated**: 2024-01-23T15:58:27Z
- **Last updated**: 2024-01-26T18:03:04Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

{
"name": "@thi.ng/wasm-api",
"version": "1.4.43",
"version": "1.4.44",
"description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",

@@ -39,8 +39,8 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.9.17",
"@thi.ng/arrays": "^2.7.14",
"@thi.ng/checks": "^3.4.17",
"@thi.ng/api": "^8.9.18",
"@thi.ng/arrays": "^2.7.15",
"@thi.ng/checks": "^3.4.18",
"@thi.ng/errors": "^2.4.11",
"@thi.ng/hex": "^2.3.29",
"@thi.ng/idgen": "^2.2.20",
"@thi.ng/hex": "^2.3.30",
"@thi.ng/idgen": "^2.2.21",
"@thi.ng/logger": "^2.1.4"

@@ -119,3 +119,3 @@ },

},
"gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
}

@@ -24,10 +24,11 @@ import type { Fn, IDeref } from "@thi.ng/api";

/**
* Generic pointer facility for {@link WASM64} target, which on
* {@link Pointer64.deref()} calls wrapper function (provided as ctor arg) to
* realise the pointer's target value. The pointer's target address can be
* accessed via {@link Pointer.addr} (read/write).
* Generic pointer facility for
* [`WASM64`](https://docs.thi.ng/umbrella/wasm-api-bindgen/variables/WASM64.html)
* target, which on {@link Pointer64.deref()} calls wrapper function (provided
* as ctor arg) to realize the pointer's target value. The pointer's target
* address can be accessed via {@link Pointer.addr} (read/write).
*
* @remarks
* The pointer always behaves like `volatile`, i.e. memoization of target values
* is purposfully avoided and the wrapper function is executed anew _each_ time
* is purposefully avoided and the wrapper function is executed anew _each_ time
* the pointer is deref'd.

@@ -34,0 +35,0 @@ */