@sparkvault/sdk-js 11.2.1 → 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 CHANGED
@@ -31,8 +31,9 @@ function isTransientHttpStatus(status) {
31
31
 
32
32
  /**
33
33
  * The upload publication contract between Forge and Core's activation, and
34
- * the facts of a transfer token both services spell: its shape, and Core's
35
- * revocation of an upload's token.
34
+ * the facts of a transfer token both services spell: its shape, the
35
+ * publication it is bound to (a content version, and the one an ingot row
36
+ * names), and Core's revocation of an upload's token.
36
37
  *
37
38
  * Forge stamps UPLOAD_PUBLICATION_PROTOCOL on every upload session it creates
38
39
  * and on the final state it hands Core's activation (POST
@@ -11424,10 +11425,15 @@ class ProductsModule {
11424
11425
  /** The prefix that marks a DVAK token apart from a Vault Master Key. */
11425
11426
  const DVAK_TOKEN_PREFIX = 'dvak_';
11426
11427
 
11427
- /** The shortest and longest Vault Master Key, in characters. */
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
+ */
11428
11434
  const VAULT_MASTER_KEY_LENGTH = Object.freeze({ min: 12, max: 32 });
11429
11435
 
11430
- /** A Vault Master Key: 12 to 32 ASCII letters and digits. */
11436
+ /** What a presented Vault Master Key must be: 12 to 32 ASCII letters and digits. */
11431
11437
  new RegExp(
11432
11438
  `^[A-Za-z0-9]{${VAULT_MASTER_KEY_LENGTH.min},${VAULT_MASTER_KEY_LENGTH.max}}$`
11433
11439
  );
@@ -17430,7 +17436,7 @@ class SparkVault {
17430
17436
  }
17431
17437
  /** Get the SDK version */
17432
17438
  static get version() {
17433
- return '11.2.1';
17439
+ return '11.2.3';
17434
17440
  }
17435
17441
  }
17436
17442
  if (typeof window !== 'undefined') {