@matter/general
Advanced tools
Comparing version 0.12.0-alpha.0-20241220-c66941cd7 to 0.12.0-alpha.0-20241225-902d76201
@@ -65,2 +65,3 @@ /** | ||
get name(): string; | ||
get root(): Environment; | ||
/** | ||
@@ -67,0 +68,0 @@ * Emits on service add. |
@@ -135,2 +135,5 @@ "use strict"; | ||
} | ||
get root() { | ||
return this.#parent?.root ?? this; | ||
} | ||
/** | ||
@@ -137,0 +140,0 @@ * Emits on service add. |
@@ -65,2 +65,3 @@ /** | ||
get name(): string; | ||
get root(): Environment; | ||
/** | ||
@@ -67,0 +68,0 @@ * Emits on service add. |
@@ -112,2 +112,5 @@ /** | ||
} | ||
get root() { | ||
return this.#parent?.root ?? this; | ||
} | ||
/** | ||
@@ -114,0 +117,0 @@ * Emits on service add. |
{ | ||
"name": "@matter/general", | ||
"version": "0.12.0-alpha.0-20241220-c66941cd7", | ||
"version": "0.12.0-alpha.0-20241225-902d76201", | ||
"description": "Non-Matter support for Matter.js", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@matter/testing": "0.12.0-alpha.0-20241220-c66941cd7" | ||
"@matter/testing": "0.12.0-alpha.0-20241225-902d76201" | ||
}, | ||
@@ -42,0 +42,0 @@ "files": [ |
@@ -148,2 +148,6 @@ /** | ||
get root(): Environment { | ||
return this.#parent?.root ?? this; | ||
} | ||
/** | ||
@@ -150,0 +154,0 @@ * Emits on service add. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1603797
32434