@sparkvault/sdk 1.24.3 → 1.24.4
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/sparkvault.cjs.js
CHANGED
|
@@ -68,8 +68,11 @@ class PopupBlockedError extends SparkVaultError {
|
|
|
68
68
|
/**
|
|
69
69
|
* SparkVault SDK Configuration
|
|
70
70
|
*/
|
|
71
|
+
// Hosts that are allowed to serve backend-issued ingot download URLs.
|
|
72
|
+
// Keep in sync with the sdk-mobile default in packages/sdk-mobile/src/config.ts.
|
|
71
73
|
const DEFAULT_ALLOWED_DOWNLOAD_HOST_PATTERNS = [
|
|
72
|
-
|
|
74
|
+
/(^|\.)sparkvault\.com$/i,
|
|
75
|
+
/(^|\.)(x|files|file|send|spark|by|at|db|auth)\.sv$/i,
|
|
73
76
|
/\.amazonaws\.com$/i,
|
|
74
77
|
/\.cloudfront\.net$/i,
|
|
75
78
|
];
|