@sparkvault/sdk-js 19.1.0 → 19.1.2

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.
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./chunks/index-BnP-2w0t.cjs');
3
+ var index = require('./chunks/index-D_p_8VO7.cjs');
4
4
 
5
5
  /** Initialize Identity with the SDK's shared configuration and validation. */
6
6
  function init(config) {
7
7
  index.validateConfig(config);
8
8
  return new index.IdentityModule(index.resolveConfig(config));
9
9
  }
10
- const version = '19.1.0';
10
+ const version = '19.1.2';
11
11
 
12
12
  exports.IdentityModule = index.IdentityModule;
13
13
  exports.IdentityProviderError = index.IdentityProviderError;
@@ -1,12 +1,12 @@
1
- import { a8 as validateConfig, I as IdentityModule, a3 as resolveConfig } from './chunks/index-CgR08uMG.mjs';
2
- export { b as IdentityProviderError, d as PopupBlockedError, e as PopupSeveredError, k as SparkVaultError, l as TimeoutError, q as UserCancelledError, s as ValidationError, X as isRecoveryPending } from './chunks/index-CgR08uMG.mjs';
1
+ import { a8 as validateConfig, I as IdentityModule, a3 as resolveConfig } from './chunks/index-C97091lF.mjs';
2
+ export { b as IdentityProviderError, d as PopupBlockedError, e as PopupSeveredError, k as SparkVaultError, l as TimeoutError, q as UserCancelledError, s as ValidationError, X as isRecoveryPending } from './chunks/index-C97091lF.mjs';
3
3
 
4
4
  /** Initialize Identity with the SDK's shared configuration and validation. */
5
5
  function init(config) {
6
6
  validateConfig(config);
7
7
  return new IdentityModule(resolveConfig(config));
8
8
  }
9
- const version = '19.1.0';
9
+ const version = '19.1.2';
10
10
 
11
11
  export { IdentityModule, init, version };
12
12
  //# sourceMappingURL=identity.mjs.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./chunks/index-BnP-2w0t.cjs');
5
+ var index = require('./chunks/index-D_p_8VO7.cjs');
6
6
 
7
7
  /** Vault settings for resealing, and the server's timing of a held session. */
8
8
  const VAULT_RESEAL_LIMITS = Object.freeze({ minSeconds: 60, maxSeconds: 86400 });
@@ -7273,10 +7273,9 @@ function acceptedKindsCopy(kinds) {
7273
7273
  /**
7274
7274
  * The files a ticket accepts, in the one phrase every surface names them by,
7275
7275
  * built from the policy's own list (ACCEPTED_ATTACHMENT_KINDS): the help desk
7276
- * composer's refusal dialog reads it, and so do the API reference
7277
- * (apps/api/openapi/overlay.mjs) and the help desk's page on the site
7278
- * (apps/www/_data/helpDeskAttachments.js). A refused file's sentence names
7279
- * only that its type can't be attached.
7276
+ * composer's refusal dialog reads it, and so does the API reference
7277
+ * (apps/api/openapi/overlay.mjs). A refused file's sentence names only that
7278
+ * its type can't be attached.
7280
7279
  */
7281
7280
  const ACCEPTED_ATTACHMENTS_COPY = acceptedKindsCopy(ACCEPTED_ATTACHMENT_KINDS);
7282
7281
 
@@ -19147,7 +19146,8 @@ class VaultsModule {
19147
19146
  return mapSharingConfig(response.data);
19148
19147
  }
19149
19148
  /**
19150
- * Get a vault's access-log retention window.
19149
+ * Get the effective window for new ingot audit entries, including private
19150
+ * Structured Ingot reads. An unset window defaults to seven days.
19151
19151
  *
19152
19152
  * @example
19153
19153
  * const { retentionSeconds } = await sv.vaults.getAccessLogRetention('vlt_abc');
@@ -19161,10 +19161,11 @@ class VaultsModule {
19161
19161
  };
19162
19162
  }
19163
19163
  /**
19164
- * Update a vault's access-log retention window.
19164
+ * Set retention for new ingot audit entries to Off (0), 1, 7, 30, 60 or 90 days,
19165
+ * supplied in seconds. Existing entries keep their expiry, with a 90-day lookback.
19165
19166
  *
19166
19167
  * @example
19167
- * await sv.vaults.updateAccessLogRetention('vlt_abc', 7776000);
19168
+ * await sv.vaults.updateAccessLogRetention('vlt_abc', 7 * 86400);
19168
19169
  */
19169
19170
  async updateAccessLogRetention(vaultId, seconds) {
19170
19171
  const id = index.requireResourceId(vaultId, 'vaultId');
@@ -20073,7 +20074,7 @@ class SparkVault {
20073
20074
  }
20074
20075
  /** Get the SDK version */
20075
20076
  static get version() {
20076
- return '19.1.0';
20077
+ return '19.1.2';
20077
20078
  }
20078
20079
  }
20079
20080
  if (typeof window !== 'undefined') {