6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
15 lines
621 B
JavaScript
15 lines
621 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.uniformIntDistribution = uniformIntDistribution;
|
|
var UnsafeUniformIntDistribution_1 = require("./UnsafeUniformIntDistribution");
|
|
function uniformIntDistribution(from, to, rng) {
|
|
if (rng != null) {
|
|
var nextRng = rng.clone();
|
|
return [(0, UnsafeUniformIntDistribution_1.unsafeUniformIntDistribution)(from, to, nextRng), nextRng];
|
|
}
|
|
return function (rng) {
|
|
var nextRng = rng.clone();
|
|
return [(0, UnsafeUniformIntDistribution_1.unsafeUniformIntDistribution)(from, to, nextRng), nextRng];
|
|
};
|
|
}
|