Skip to content

Commit

Permalink
refacor: use updated thing-model package which exports Resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Jul 29, 2024
1 parent 81f82fa commit 9e1f6f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@petamoriken/float16": "^3.1.1",
"@thingweb/thing-model": "^1.0.1",
"@thingweb/thing-model": "^1.0.3",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"cbor": "^8.1.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import * as os from "os";

// imports for fetchTD
import Servient from "./servient";
import { ThingModelHelpers } from "@thingweb/thing-model";
import { ThingModelHelpers, Resolver } from "@thingweb/thing-model";
import { Form, Thing, ThingInteraction } from "./thing-description";
import * as TDT from "wot-thing-description-types";
import { ContentSerdes } from "./content-serdes";
Expand All @@ -38,7 +38,6 @@ import addFormats from "ajv-formats";
import TDSchema from "wot-thing-description-types/schema/td-json-schema-validation.json";
import { DataSchemaValue, ExposedThingInit } from "wot-typescript-definitions";
import { SomeJSONSchema } from "ajv/dist/types/json-schema";
import { Resolver } from "@node-wot/td-tools/src/resolver-interface";
import { PropertyElement, DataSchema } from "wot-thing-description-types";
import { createLoggers } from "./logger";

Expand Down

0 comments on commit 9e1f6f0

Please sign in to comment.