@ikonai/sdk-react-ui-standard 1.0.50 → 1.0.51

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1159,7 +1159,7 @@ async function Zg(e, t) {
1159
1159
  const n = Kg(t);
1160
1160
  if (!n?.mediaCapture?.image)
1161
1161
  return { ActionType: "CaptureImage", Success: !1, Width: 0, Height: 0 };
1162
- const o = e?.mode ?? "native", a = o === "native" && !mg() ? "headless" : o, r = e?.mime;
1162
+ const o = e?.mode ?? "headless", a = o === "native" && !mg() ? "headless" : o, r = e?.mime;
1163
1163
  try {
1164
1164
  const i = a === "headless" ? await n.mediaCapture.image.captureFromCamera({
1165
1165
  userGesture: !0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonai/sdk-react-ui-standard",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",