Skip to content

Commit

Permalink
chore(core): change old thing-model dependency to new one
Browse files Browse the repository at this point in the history
Signed-off-by: Hasan Eroglu <[email protected]>
  • Loading branch information
hasanheroglu committed Jul 5, 2024
1 parent 92aea00 commit 1bf1bb4
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 118 deletions.
211 changes: 95 additions & 116 deletions packages/core/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 @@ -20,7 +20,7 @@
"prepare": "npm run bundle"
},
"dependencies": {
"@node-wot/td-tools": "~0.8.5",
"@thingweb/thing-model": "^1.0.1",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"ajv-formats-draft2019": "^1.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ async function fetchLinkedTm(td) {
// But it can relate to other tms as well
// Recursively resolve all other tms using node-wot td-tools

const ThingModelHelpers = new (require("@node-wot/td-tools").ThingModelHelpers)();
const ThingModelHelpers = new (require("@thingweb/thing-model").ThingModelHelpers)();

// The tm resolver expects values for placeholders
// However, we don't know (and don't need) them at this moment
Expand Down

0 comments on commit 1bf1bb4

Please sign in to comment.