@yiin/reactive-proxy-state 1.0.17 → 1.0.18

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.
@@ -5,12 +5,12 @@ export interface ComputedRef<T = any> extends Omit<Ref<T>, 'value'> {
5
5
  readonly value: T;
6
6
  readonly [isComputedSymbol]: true;
7
7
  readonly [isRefSymbol]: true;
8
- readonly effect: WatchEffectStopHandle<T>;
8
+ readonly stop: WatchEffectStopHandle<T>;
9
9
  }
10
10
  export interface WritableComputedRef<T> extends Ref<T> {
11
11
  readonly [isComputedSymbol]: true;
12
12
  readonly [isRefSymbol]: true;
13
- readonly effect: WatchEffectStopHandle<T>;
13
+ readonly stop: WatchEffectStopHandle<T>;
14
14
  }
15
15
  type ComputedGetter<T> = () => T;
16
16
  type ComputedSetter<T> = (v: T) => void;
package/dist/index.js CHANGED
@@ -1449,7 +1449,7 @@ function computed(getterOrOptions) {
1449
1449
  console.warn("computed value is read-only");
1450
1450
  }
1451
1451
  },
1452
- effect: stopHandle
1452
+ stop: stopHandle
1453
1453
  };
1454
1454
  return computedRef;
1455
1455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yiin/reactive-proxy-state",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "author": "Yiin <stanislovas@yiin.lt>",
5
5
  "repository": {
6
6
  "type": "git",