teamplay 0.4.0-alpha.69 → 0.4.0-alpha.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/orm/Compat/SignalCompat.js +3 -11
- package/package.json +2 -2
|
@@ -65,11 +65,7 @@ class SignalCompat extends Signal {
|
|
|
65
65
|
? parseAtSegments(arguments, 'Signal.at()')
|
|
66
66
|
: parseAtSubpath(subpath, arguments.length, 'Signal.at()')
|
|
67
67
|
if (segments.length === 0) return this
|
|
68
|
-
|
|
69
|
-
for (const segment of segments) {
|
|
70
|
-
$cursor = $cursor[segment]
|
|
71
|
-
}
|
|
72
|
-
return $cursor
|
|
68
|
+
return resolveRelativePathTarget(this, segments)
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
getId () {
|
|
@@ -666,11 +662,7 @@ class SignalCompat extends Signal {
|
|
|
666
662
|
? parseAtSegments(arguments, 'Signal.scope()')
|
|
667
663
|
: parseAtSubpath(path, arguments.length, 'Signal.scope()')
|
|
668
664
|
if (segments.length === 0) return $root
|
|
669
|
-
|
|
670
|
-
for (const segment of segments) {
|
|
671
|
-
$cursor = $cursor[segment]
|
|
672
|
-
}
|
|
673
|
-
return $cursor
|
|
665
|
+
return resolveRelativePathTarget($root, segments)
|
|
674
666
|
}
|
|
675
667
|
}
|
|
676
668
|
|
|
@@ -965,7 +957,7 @@ function deepEqualCompat (left, right) {
|
|
|
965
957
|
}
|
|
966
958
|
|
|
967
959
|
function getSignalValueAt ($signal, segments) {
|
|
968
|
-
const $target =
|
|
960
|
+
const $target = resolveRelativePathTarget($signal, segments)
|
|
969
961
|
return $target.get()
|
|
970
962
|
}
|
|
971
963
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teamplay",
|
|
3
|
-
"version": "0.4.0-alpha.
|
|
3
|
+
"version": "0.4.0-alpha.70",
|
|
4
4
|
"description": "Full-stack signals ORM with multiplayer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
"license": "MIT",
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "161b9b608cc04c85f5f975b747dad149b3ef60be"
|
|
87
87
|
}
|