@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/npm/index.mjs
CHANGED
|
@@ -19143,7 +19143,8 @@ class VaultsModule {
|
|
|
19143
19143
|
return mapSharingConfig(response.data);
|
|
19144
19144
|
}
|
|
19145
19145
|
/**
|
|
19146
|
-
* Get
|
|
19146
|
+
* Get the effective window for new ingot audit entries, including private
|
|
19147
|
+
* Structured Ingot reads. An unset window defaults to seven days.
|
|
19147
19148
|
*
|
|
19148
19149
|
* @example
|
|
19149
19150
|
* const { retentionSeconds } = await sv.vaults.getAccessLogRetention('vlt_abc');
|
|
@@ -19157,10 +19158,11 @@ class VaultsModule {
|
|
|
19157
19158
|
};
|
|
19158
19159
|
}
|
|
19159
19160
|
/**
|
|
19160
|
-
*
|
|
19161
|
+
* Set retention for new ingot audit entries to Off (0), 1, 7, 30, 60 or 90 days,
|
|
19162
|
+
* supplied in seconds. Existing entries keep their expiry, with a 90-day lookback.
|
|
19161
19163
|
*
|
|
19162
19164
|
* @example
|
|
19163
|
-
* await sv.vaults.updateAccessLogRetention('vlt_abc',
|
|
19165
|
+
* await sv.vaults.updateAccessLogRetention('vlt_abc', 7 * 86400);
|
|
19164
19166
|
*/
|
|
19165
19167
|
async updateAccessLogRetention(vaultId, seconds) {
|
|
19166
19168
|
const id = requireResourceId(vaultId, 'vaultId');
|
|
@@ -20069,7 +20071,7 @@ class SparkVault {
|
|
|
20069
20071
|
}
|
|
20070
20072
|
/** Get the SDK version */
|
|
20071
20073
|
static get version() {
|
|
20072
|
-
return '19.1.
|
|
20074
|
+
return '19.1.3';
|
|
20073
20075
|
}
|
|
20074
20076
|
}
|
|
20075
20077
|
if (typeof window !== 'undefined') {
|