@leatcom/portal-sessions 0.0.80 → 0.0.82
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.
|
@@ -5126,7 +5126,7 @@ function nA(e) {
|
|
|
5126
5126
|
shop_uuid: e.shopUuid,
|
|
5127
5127
|
contact_uuid: e.contactUuid
|
|
5128
5128
|
};
|
|
5129
|
-
return e.cameraService && (a.camera_service = e.cameraService), e.cameraFacingMode && (a.
|
|
5129
|
+
return e.cameraService && (a.camera_service = e.cameraService), e.cameraFacingMode && (a.facing_mode = e.cameraFacingMode), e.amountInCents && (a.amount_in_cents = e.amountInCents), e.allowMultipleGiftcards && (a.allow_multiple_giftcards = e.allowMultipleGiftcards), e.enableRegistration && (a.enable_registration = e.enableRegistration), e.enableEmailIdentification && (a.enable_email_identification = e.enableEmailIdentification), e.enableOnScreenKeyboard && (a.enable_on_screen_keyboard = e.enableOnScreenKeyboard), e.primaryIdentificationMethod && (a.primary_identification_method = e.primaryIdentificationMethod), a;
|
|
5130
5130
|
}, s = () => {
|
|
5131
5131
|
o.post("/", i(), {
|
|
5132
5132
|
baseURL: `${e.host}/api/v1/portal-sessions`,
|
|
@@ -37191,7 +37191,7 @@ Rh.displayName = "QrReader", Rh.defaultProps = { constraints: { facingMode: "use
|
|
|
37191
37191
|
function mL({ onScan: e }) {
|
|
37192
37192
|
const { cameraFacingMode: t } = Sn(), [n, r] = we(t ?? vr.USER);
|
|
37193
37193
|
return /* @__PURE__ */ w.jsxs("div", { className: "relative w-full", children: [
|
|
37194
|
-
/* @__PURE__ */ w.jsx(
|
|
37194
|
+
/* @__PURE__ */ w.jsx(
|
|
37195
37195
|
Rh,
|
|
37196
37196
|
{
|
|
37197
37197
|
onResult: (o) => {
|
|
@@ -37206,7 +37206,7 @@ function mL({ onScan: e }) {
|
|
|
37206
37206
|
},
|
|
37207
37207
|
videoContainerStyle: { maxHeight: "calc(100vh-381px)", minHeight: 267, borderRadius: "0.25rem" }
|
|
37208
37208
|
}
|
|
37209
|
-
)
|
|
37209
|
+
),
|
|
37210
37210
|
/* @__PURE__ */ w.jsx(
|
|
37211
37211
|
"div",
|
|
37212
37212
|
{
|