@shimotsuki/core 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -116,9 +116,9 @@ declare class AudioManager extends BaseManager {
116
116
  /**reaction销毁 */
117
117
  private reactionDisposers;
118
118
  /**添加自动收集 */
119
- protected addAutorun(cb: (() => void) | (() => void)[]): this;
119
+ addAutorun(cb: (() => void) | (() => void)[]): this;
120
120
  /**添加自动收集 */
121
- protected addReaction<T, FireImmediately extends boolean = false>(expression: (r: IReactionPublic) => T, effect: (arg: T, prev: FireImmediately extends true ? T | undefined : T, r: IReactionPublic) => void, opts?: IReactionOptions<T, FireImmediately>): this;
121
+ addReaction<T, FireImmediately extends boolean = false>(expression: (r: IReactionPublic) => T, effect: (arg: T, prev: FireImmediately extends true ? T | undefined : T, r: IReactionPublic) => void, opts?: IReactionOptions<T, FireImmediately>): this;
122
122
  removeAutorun(): void;
123
123
  removeReaction(): void;
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",