feat(core): update session, security system and QR exchange

- Removed session creation and Lightning payment logic
- Refactored security system:
  * no more restrictions
  * all systems enabled on session creation
- Improved QR code exchange for mobile devices
This commit is contained in:
lockbitchat
2025-09-23 20:01:02 -04:00
parent 804b384271
commit 34094956b7
396 changed files with 126516 additions and 11881 deletions

30
node_modules/html5-qrcode/es2015/utils.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
export class VideoConstraintsUtil {
static isMediaStreamConstraintsValid(videoConstraints, logger) {
if (typeof videoConstraints !== "object") {
const typeofVideoConstraints = typeof videoConstraints;
logger.logError("videoConstraints should be of type object, the "
+ `object passed is of type ${typeofVideoConstraints}.`, true);
return false;
}
const bannedKeys = [
"autoGainControl",
"channelCount",
"echoCancellation",
"latency",
"noiseSuppression",
"sampleRate",
"sampleSize",
"volume"
];
const bannedkeysSet = new Set(bannedKeys);
const keysInVideoConstraints = Object.keys(videoConstraints);
for (const key of keysInVideoConstraints) {
if (bannedkeysSet.has(key)) {
logger.logError(`${key} is not supported videoConstaints.`, true);
return false;
}
}
return true;
}
}
//# sourceMappingURL=utils.js.map