🚀 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.6

10

index.d.ts

@@ -210,5 +210,15 @@ import { Observable } from 'rxjs/Observable';

invokeAction(actionName: string, parameter?: any): Promise<any>;
observeProperty(name: string, listener: WotListener): Promise<void>;
unobserveProperty(name: string): Promise<void>;
subscribeEvent(name: string, listener: WotListener): Promise<void>;
unsubscribeEvent(name: string): Promise<void>;
// XXX add more
// e.g., readonly attribute ThingInstance instance;
}
export declare type WotListener = (data: any) => void;
/**

@@ -215,0 +225,0 @@ * The Interaction interface is an abstract class to represent Thing interactions: Properties, Actions and Events.

2

package.json
{
"name": "wot-typescript-definitions",
"version": "0.7.0-NEXT-SNAPSHOT.5",
"version": "0.7.0-NEXT-SNAPSHOT.6",
"description": "TypeScript definitions for the W3C WoT Scripting API",

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