@onlineapps/content-resolver 1.1.8 → 1.1.10
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.
|
Binary file
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -11,8 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
const StorageConnector = require('@onlineapps/conn-base-storage');
|
|
13
13
|
const crypto = require('crypto');
|
|
14
|
+
const DEFAULTS = require('./defaults');
|
|
14
15
|
const runtimeCfg = require('./config');
|
|
15
16
|
|
|
17
|
+
// Backward-compatible constant export (module-owned default, not ENV override)
|
|
18
|
+
const DEFAULT_THRESHOLD = DEFAULTS.threshold;
|
|
19
|
+
|
|
16
20
|
// Reference patterns
|
|
17
21
|
const MINIO_REF_PATTERN = /^minio:\/\/([^/]+)\/(.+)$/;
|
|
18
22
|
const INTERNAL_REF_PATTERN = /^internal:\/\/storage\/(.+)$/;
|