@sparkvault/sdk-js 15.11.5 → 15.11.7

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.
@@ -46,7 +46,9 @@ export declare class VaultsModule {
46
46
  *
47
47
  * @example
48
48
  * const vault = await sv.vaults.create({ name: 'My Vault' });
49
- * console.log('Save this VMK:', vault.vmk);
49
+ * // Returned once and never again: hand the VMK to the person who keeps it,
50
+ * // or to your own secret store. Never log it.
51
+ * await yourSecretStore.put(`vmk/${vault.id}`, vault.vmk);
50
52
  */
51
53
  create(options: CreateVaultOptions): Promise<Vault>;
52
54
  /**
@@ -59,7 +61,9 @@ export declare class VaultsModule {
59
61
  * @example
60
62
  * const unsealed = await sv.vaults.unseal('vlt_abc', vmk);
61
63
  * const delegated = await sv.vaults.unseal('vlt_abc', 'dvak_...');
62
- * console.log('Token:', unsealed.vatToken);
64
+ * // The unsealed vault carries its VAT: hand it to the ingot and folder
65
+ * // calls, never to a log.
66
+ * const page = await sv.ingots.list(unsealed);
63
67
  */
64
68
  unseal(vaultId: string, key: string, options?: UnsealVaultOptions): Promise<UnsealedVault>;
65
69
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkvault/sdk-js",
3
- "version": "15.11.5",
3
+ "version": "15.11.7",
4
4
  "description": "SparkVault JavaScript SDK - Identity, Secure Help Desk, Notifications and Encrypted Vaults",
5
5
  "type": "module",
6
6
  "exports": {