narraleaf-react 0.31.0 → 0.31.1

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.
@@ -27,5 +27,15 @@ export type VignetteOptions = {
27
27
  easing?: TransformDefinitions.EasingDefinition;
28
28
  };
29
29
  export declare function effectLayer(scene: Scene, options?: EffectLayerOptions): Layer;
30
+ /**
31
+ * @deprecated Superseded by the camera lens in 0.31.0. This draws into a scene-level layer,
32
+ * which sits inside the camera transform, so it scales and rotates with the camera; it is also
33
+ * tied to a scene while the camera is tied to the story. Use `Camera.shutter()` instead.
34
+ */
30
35
  export declare function blink(scene: Scene, options?: BlinkOptions): ReturnType<typeof Control.do>;
36
+ /**
37
+ * @deprecated Superseded by the camera lens in 0.31.0. This draws into a scene-level layer,
38
+ * which sits inside the camera transform, so it scales and rotates with the camera; it is also
39
+ * tied to a scene while the camera is tied to the story. Use `Camera.vignette()` instead.
40
+ */
31
41
  export declare function vignette(scene: Scene, options?: VignetteOptions): ReturnType<typeof Control.do>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narraleaf-react",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "A React visual novel player framework",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",