@sparkvault/sdk-js 11.2.2 → 11.2.3
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.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/vaults/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11425,10 +11425,15 @@ class ProductsModule {
|
|
|
11425
11425
|
/** The prefix that marks a DVAK token apart from a Vault Master Key. */
|
|
11426
11426
|
const DVAK_TOKEN_PREFIX = 'dvak_';
|
|
11427
11427
|
|
|
11428
|
-
/**
|
|
11428
|
+
/**
|
|
11429
|
+
* The shortest and longest string, in characters, accepted as a Vault Master
|
|
11430
|
+
* Key. Every VMK is one Core minted, the Base62 of 18 random bytes (Core's
|
|
11431
|
+
* vault create, apps/api/src/vaults/create.js): 144 bits in at most 25
|
|
11432
|
+
* characters.
|
|
11433
|
+
*/
|
|
11429
11434
|
const VAULT_MASTER_KEY_LENGTH = Object.freeze({ min: 12, max: 32 });
|
|
11430
11435
|
|
|
11431
|
-
/**
|
|
11436
|
+
/** What a presented Vault Master Key must be: 12 to 32 ASCII letters and digits. */
|
|
11432
11437
|
new RegExp(
|
|
11433
11438
|
`^[A-Za-z0-9]{${VAULT_MASTER_KEY_LENGTH.min},${VAULT_MASTER_KEY_LENGTH.max}}$`
|
|
11434
11439
|
);
|
|
@@ -17431,7 +17436,7 @@ class SparkVault {
|
|
|
17431
17436
|
}
|
|
17432
17437
|
/** Get the SDK version */
|
|
17433
17438
|
static get version() {
|
|
17434
|
-
return '11.2.
|
|
17439
|
+
return '11.2.3';
|
|
17435
17440
|
}
|
|
17436
17441
|
}
|
|
17437
17442
|
if (typeof window !== 'undefined') {
|