Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

chore(desktop): drop unused webauthn helper exports

Hampusccb3a130bafb
diff --git a/fluxer_desktop/native/webauthn/index.js b/fluxer_desktop/native/webauthn/index.js
index 0e149f5e8..cad28c2b1 100644
--- a/fluxer_desktop/native/webauthn/index.js
+++ b/fluxer_desktop/native/webauthn/index.js
@@ -4,14 +4,7 @@ const {existsSync} = require('node:fs');
const {createHash} = require('node:crypto');
const {join, sep} = require('node:path');
const {createNativeLoadError, loadNativeBinding} = require('./loader-diagnostics.cjs');
-const {
- base64Url,
- clientDataJSON,
- nativeFileName,
- normalizeCreateOptions,
- normalizeGetOptions,
- transportBits,
-} = require('./pure.cjs');
+const {base64Url, nativeFileName, normalizeCreateOptions, normalizeGetOptions} = require('./pure.cjs');
const MODULE_NAME = '@fluxer/webauthn';
const SKIP_NATIVE_PROBE_ENV = 'FLUXER_WEBAUTHN_SKIP_NATIVE_PROBE';
@@ -158,13 +151,4 @@ module.exports = {
getBackendInfo,
isSupported,
loadError,
- _private: {
- base64Url,
- clientDataJSON,
- nativeFileName,
- normalizeCreateOptions,
- normalizeGetOptions,
- resolveNativeRoot,
- transportBits,
- },
};
diff --git a/fluxer_desktop/native/webauthn/pure.cjs b/fluxer_desktop/native/webauthn/pure.cjs
index 0a0655b8c..e716d979f 100644
--- a/fluxer_desktop/native/webauthn/pure.cjs
+++ b/fluxer_desktop/native/webauthn/pure.cjs
@@ -163,9 +163,7 @@ function normalizeGetOptions(options) {
module.exports = {
base64Url,
- clientDataJSON,
nativeFileName,
normalizeCreateOptions,
normalizeGetOptions,
- transportBits,
};