@casual-simulation/aux-common 3.2.1-alpha.5646793078 → 3.2.1-alpha.5649086091

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": "@casual-simulation/aux-common",
3
- "version": "3.2.1-alpha.5646793078",
3
+ "version": "3.2.1-alpha.5649086091",
4
4
  "description": "Common library for AUX projects",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -32,9 +32,9 @@
32
32
  "access": "public"
33
33
  },
34
34
  "dependencies": {
35
- "@casual-simulation/aux-records": "^3.2.1-alpha.5646793078",
36
- "@casual-simulation/causal-trees": "^3.2.1-alpha.5646793078",
37
- "@casual-simulation/crypto": "^3.2.1-alpha.5646793078",
35
+ "@casual-simulation/aux-records": "^3.2.1-alpha.5649086091",
36
+ "@casual-simulation/causal-trees": "^3.2.1-alpha.5649086091",
37
+ "@casual-simulation/crypto": "^3.2.1-alpha.5649086091",
38
38
  "@casual-simulation/engine262": "0.0.1-4de2170374e22761996e46eb1362f4496ee57f8f",
39
39
  "@casual-simulation/error-stack-parser": "^2.0.7",
40
40
  "@casual-simulation/expect": "^3.1.28",
@@ -75,5 +75,5 @@
75
75
  "**/*.d.ts",
76
76
  "**/*.def"
77
77
  ],
78
- "gitHead": "1b6717fd60fb0457e1bd5d0337b8902162136ac1"
78
+ "gitHead": "9c380207dbd2f9ffee5b41166c68079744ec90a3"
79
79
  }
@@ -905,17 +905,12 @@ export interface OpenPhotoCameraOptions {
905
905
  */
906
906
  cameraType?: CameraType;
907
907
 
908
- /**
909
- * Whether to not allow switching the camera.
910
- */
911
- disallowSwitchingCameras?: boolean;
912
-
913
908
  /**
914
909
  * The image format that should be used.
915
910
  *
916
911
  * Defaults to "png".
917
912
  */
918
- imageFormat?: 'png' | 'jpef';
913
+ imageFormat?: 'png' | 'jpeg';
919
914
 
920
915
  /**
921
916
  * A number between 0 and 1 indicating the image quality to be used.
@@ -923,6 +918,22 @@ export interface OpenPhotoCameraOptions {
923
918
  * If not specified, then the browser will use its own default.
924
919
  */
925
920
  imageQuality?: number;
921
+
922
+ /**
923
+ * Whether to skip allowing the user to confirm their photo.
924
+ *
925
+ * Defaults to false.
926
+ */
927
+ skipConfirm?: boolean;
928
+
929
+ /**
930
+ * Whether to automatically take a photo after a number of seconds.
931
+ *
932
+ * If null, then there is no timer and the user is allowed to take the photo manually.
933
+ * If positive, then the timer will start counting down from the given number of seconds.
934
+ * The user can always cancel the operation manually.
935
+ */
936
+ takePhotoAfterSeconds?: number;
926
937
  }
927
938
 
928
939
  /**