🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

wot-typescript-definitions

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wot-typescript-definitions - npm Package Compare versions

Comparing version

to
0.3.0-SNAPSHOT.5

6

index.d.ts

@@ -196,3 +196,7 @@ export as namespace WoT;

/** A function called with an Event object when an event is emitted. */
export declare type RequestHandler = (request: Request) => any;
// export declare type RequestHandler = (request: Request) => any;
export interface RequestHandler {
request: Request;
callback: (param?: any) => any;
}

@@ -199,0 +203,0 @@ /** Represents an incoming request the ExposedThing is supposed to handle, for instance retrieving and updating properties, invoking Actions and observing Events (WoT interactions). */

2

package.json
{
"name": "wot-typescript-definitions",
"version": "0.3.0-SNAPSHOT.4",
"version": "0.3.0-SNAPSHOT.5",
"description": "Typescript definitions for the WoT scripting API",

@@ -5,0 +5,0 @@ "main": "index.d.ts",