🚀 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
4
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.7.0-NEXT-SNAPSHOT.2

12

index.d.ts

@@ -200,2 +200,9 @@ import { Observable } from 'rxjs/Observable';

events: { [key: string]: ThingEvent };
// next API
// XXX add additional 'options' field to allow for uriVariables et cetera
readProperty(propertyName: string): Promise<any>;
readAllProperties(): Promise<object>;
readMultipleProperties(propertyNames: [string]): Promise<object>;
// XXX add more
}

@@ -232,7 +239,2 @@

export interface ConsumedThing extends ThingInstance {
// TODO add additional 'options' field to allow for uriVariables et cetera
readProperty(propertyName: string): Promise<any>;
readAllProperties(): Promise<object>;
readMultipleProperties(propertyNames: [string]): Promise<object>;
// XXX add more
}

@@ -239,0 +241,0 @@

{
"name": "wot-typescript-definitions",
"version": "0.7.0-NEXT-SNAPSHOT.1",
"version": "0.7.0-NEXT-SNAPSHOT.2",
"description": "TypeScript definitions for the W3C WoT Scripting API",

@@ -5,0 +5,0 @@ "author": "W3C Web of Things Working Group",