Skip to content

Commit 1bf1bb4

Browse files
committed
chore(core): change old thing-model dependency to new one
Signed-off-by: Hasan Eroglu <[email protected]>
1 parent 92aea00 commit 1bf1bb4

File tree

3 files changed

+97
-118
lines changed

3 files changed

+97
-118
lines changed

packages/core/package-lock.json

+95-116
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepare": "npm run bundle"
2121
},
2222
"dependencies": {
23-
"@node-wot/td-tools": "~0.8.5",
23+
"@thingweb/thing-model": "^1.0.1",
2424
"ajv": "^8.11.0",
2525
"ajv-formats": "^2.1.1",
2626
"ajv-formats-draft2019": "^1.6.1",

packages/core/shared.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ async function fetchLinkedTm(td) {
10601060
// But it can relate to other tms as well
10611061
// Recursively resolve all other tms using node-wot td-tools
10621062

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

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

0 commit comments

Comments
 (0)