@sparkvault/sdk-js 19.1.1 → 19.1.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/npm/identity.cjs +1 -1
- package/dist/npm/identity.mjs +1 -1
- package/dist/npm/index.cjs +6 -4
- package/dist/npm/index.cjs.map +1 -1
- package/dist/npm/index.mjs +6 -4
- package/dist/npm/index.mjs.map +1 -1
- package/dist/sparkvault-identity.js +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/types/index.d.ts +6 -4
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -598,7 +598,7 @@ interface VaultSharingOptions {
|
|
|
598
598
|
interface AccessLogRetention {
|
|
599
599
|
/** Vault ID */
|
|
600
600
|
vaultId: string;
|
|
601
|
-
/**
|
|
601
|
+
/** Seconds for new ingot audit entries. Zero turns logging off. The default is seven days. */
|
|
602
602
|
retentionSeconds: number;
|
|
603
603
|
}
|
|
604
604
|
/** Vault upload-channel configuration. */
|
|
@@ -4553,17 +4553,19 @@ declare class VaultsModule {
|
|
|
4553
4553
|
*/
|
|
4554
4554
|
updateSharingConfig(vaultId: string, config: VaultSharingOptions, vault?: UnsealedVault): Promise<VaultSharingConfig>;
|
|
4555
4555
|
/**
|
|
4556
|
-
* Get
|
|
4556
|
+
* Get the effective window for new ingot audit entries, including private
|
|
4557
|
+
* Structured Ingot reads. An unset window defaults to seven days.
|
|
4557
4558
|
*
|
|
4558
4559
|
* @example
|
|
4559
4560
|
* const { retentionSeconds } = await sv.vaults.getAccessLogRetention('vlt_abc');
|
|
4560
4561
|
*/
|
|
4561
4562
|
getAccessLogRetention(vaultId: string): Promise<AccessLogRetention>;
|
|
4562
4563
|
/**
|
|
4563
|
-
*
|
|
4564
|
+
* Set retention for new ingot audit entries to Off (0), 1, 7, 30, 60 or 90 days,
|
|
4565
|
+
* supplied in seconds. Existing entries keep their expiry, with a 90-day lookback.
|
|
4564
4566
|
*
|
|
4565
4567
|
* @example
|
|
4566
|
-
* await sv.vaults.updateAccessLogRetention('vlt_abc',
|
|
4568
|
+
* await sv.vaults.updateAccessLogRetention('vlt_abc', 7 * 86400);
|
|
4567
4569
|
*/
|
|
4568
4570
|
updateAccessLogRetention(vaultId: string, seconds: number): Promise<AccessLogRetention>;
|
|
4569
4571
|
/**
|