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

wot-typescript-definitions

Package Overview
Dependencies
Maintainers
3
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.4.0-SNAPSHOT.5

10

index.d.ts

@@ -145,2 +145,4 @@ export as namespace WoT;

semanticTypes?: [SemanticType];
/** metadata fields in Property root (same level as 'name') */
metadata?: SemanticMetadata[];
/** On read callback */

@@ -157,5 +159,5 @@ onRead?(oldValue: any): Promise<any>;

/** The inputTypes attribute provides the description of the input arguments. */
inputTypes?: ValueType[];
inputType: ValueType;
/** The outputType attribute provides the description of the returned data. */
outputType?: ValueType;
outputType: ValueType;
/** The action attribute provides a function that defines the Action. */

@@ -165,2 +167,4 @@ action: Function;

semanticTypes?: [SemanticType];
/** metadata fields in Action root (same level as 'name') */
metadata?: SemanticMetadata[];
}

@@ -175,2 +179,4 @@

semanticTypes?: [SemanticType];
/** metadata fields in Event root (same level as 'name') */
metadata?: SemanticMetadata[];
}

@@ -177,0 +183,0 @@

2

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

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