publ-echo-test 0.0.120 → 0.0.121

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.
@@ -221,8 +221,8 @@ var findPath = function (block, id, path) {
221
221
  if (child.blockId === id) {
222
222
  return currentPath;
223
223
  }
224
- if ('children' in block && block.children) {
225
- var result = findPath(block, id, currentPath);
224
+ if ('children' in child && child.children) {
225
+ var result = findPath(child, id, currentPath); // Pass the correct child block here
226
226
  if (result) {
227
227
  return result;
228
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.120",
3
+ "version": "0.0.121",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",