bobe 0.0.64 → 0.0.66

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/dist/index.d.ts CHANGED
@@ -334,7 +334,7 @@ type ComponentNode$1 = LogicNode & {
334
334
  /** 渲染模版片段前的 快照,渲染完成后用于恢复 */
335
335
  resumeSnapshot?: ReturnType<Tokenizer['snapshot']>;
336
336
  };
337
- type Dep = Signal | Computed | (() => any) | string;
337
+ type Dep = (() => any) | string;
338
338
 
339
339
  declare class Tokenizer {
340
340
  private hook;
package/dist/index.umd.js CHANGED
@@ -2770,7 +2770,10 @@
2770
2770
  newDeps.push(dep);
2771
2771
  }
2772
2772
  }
2773
- return aoye.effect(callback, newDeps, option);
2773
+ if (isArray) {
2774
+ return aoye.effect(callback, newDeps, option);
2775
+ }
2776
+ return aoye.effect(callback, option);
2774
2777
  };
2775
2778
 
2776
2779
  Object.defineProperty(exports, "Store", {