@casual-simulation/aux-common 3.2.1-alpha.5648736161 → 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.5648736161",
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.5648736161",
36
- "@casual-simulation/causal-trees": "^3.2.1-alpha.5648736161",
37
- "@casual-simulation/crypto": "^3.2.1-alpha.5648736161",
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": "193ef79692ffb696e9591cf6c5c065693edad46c"
78
+ "gitHead": "9c380207dbd2f9ffee5b41166c68079744ec90a3"
79
79
  }
@@ -918,6 +918,22 @@ export interface OpenPhotoCameraOptions {
918
918
  * If not specified, then the browser will use its own default.
919
919
  */
920
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;
921
937
  }
922
938
 
923
939
  /**