Skip to content

Commit 4f93572

Browse files
authored
Merge pull request #1469 from relu91/fix-1282
Expose internal WoT implementation
2 parents 64ce285 + 0333b8a commit 4f93572

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/core/src/core.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ export { default as ProtocolHelpers } from "./protocol-helpers";
5050

5151
// Logger Functions
5252
export { createLoggers, createDebugLogger, createErrorLogger, createInfoLogger, createWarnLogger } from "./logger";
53+
54+
// WoT Runtime
55+
export type { default as WoT } from "./wot-impl";
56+
export type { ThingDiscoveryProcess } from "./wot-impl";

packages/core/src/wot-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { inspect } from "util";
2727

2828
const { debug } = createLoggers("core", "wot-impl");
2929

30-
class ThingDiscoveryProcess implements WoT.ThingDiscoveryProcess {
30+
export class ThingDiscoveryProcess implements WoT.ThingDiscoveryProcess {
3131
constructor(
3232
private directory: WoT.ConsumedThing,
3333
public filter?: WoT.ThingFilter

0 commit comments

Comments
 (0)