@netless/app-slide 0.0.48 → 0.0.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/app-slide",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "main": "dist/main.cjs.js",
5
5
  "module": "dist/main.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "devDependencies": {
13
13
  "@netless/app-shared": "^0.1.1",
14
- "@netless/slide": "^0.1.51",
14
+ "@netless/slide": "^0.1.53",
15
15
  "@types/color-string": "^1.5.2",
16
16
  "color-string": "^1.9.0",
17
17
  "side-effect-manager": "^0.1.5",
@@ -181,10 +181,7 @@ export class SlideController {
181
181
  if (type === SLIDE_EVENTS.syncDispatch) {
182
182
  this.syncStateOnce();
183
183
  log("[Slide] receive", payload);
184
- // only emit the event if the slide state is sync-ed
185
- if (!this.syncStateOnceFlag) {
186
- this.slide.emit(SLIDE_EVENTS.syncReceive, payload);
187
- }
184
+ this.slide.emit(SLIDE_EVENTS.syncReceive, payload);
188
185
  }
189
186
  }
190
187
  };
package/src/index.ts CHANGED
@@ -22,7 +22,7 @@ export { SlidePreviewer, default as previewSlide } from "./SlidePreviewer";
22
22
 
23
23
  export type { Attributes, AddHooks, FreezableSlide };
24
24
 
25
- export const version = "0.0.48";
25
+ export const version = "0.0.49";
26
26
 
27
27
  export { DefaultUrl, apps, FreezerLength, addHooks };
28
28