@h-ai/reldb 0.1.0-alpha.19 → 0.1.0-alpha.21
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.
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2491,9 +2491,6 @@ function createSqliteProvider() {
|
|
|
2491
2491
|
|
|
2492
2492
|
// src/reldb-main.ts
|
|
2493
2493
|
var logger5 = core.logger.child({ module: "reldb", scope: "main" });
|
|
2494
|
-
function sanitizeReldbConfig(config) {
|
|
2495
|
-
return core.sanitize.sanitizeSensitiveFields(config);
|
|
2496
|
-
}
|
|
2497
2494
|
var currentProvider = null;
|
|
2498
2495
|
var currentConfig = null;
|
|
2499
2496
|
var currentJsonOps = null;
|
|
@@ -2599,7 +2596,7 @@ var reldb = {
|
|
|
2599
2596
|
},
|
|
2600
2597
|
/** 获取当前脱敏后的配置快照(未初始化时为 null) */
|
|
2601
2598
|
get config() {
|
|
2602
|
-
return currentConfig ?
|
|
2599
|
+
return currentConfig ? core.sanitize.sanitizeSensitiveFields(currentConfig) : null;
|
|
2603
2600
|
},
|
|
2604
2601
|
/** 检查是否已初始化 */
|
|
2605
2602
|
get isInitialized() {
|