publ-echo-test 0.0.132 → 0.0.133

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.
@@ -235,6 +235,9 @@ var findPath = function (block, id, path) {
235
235
  for (var _i = 0, _a = block.children; _i < _a.length; _i++) {
236
236
  var child = _a[_i];
237
237
  var currentPath = __spreadArray(__spreadArray([], path, true), [child.blockId], false);
238
+ if (child.type === 'COMPONENT_BLOCK') {
239
+ return currentPath;
240
+ }
238
241
  if (child.blockId === id) {
239
242
  return currentPath;
240
243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.132",
3
+ "version": "0.0.133",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",