@ms-cloudpack/remote-cache 0.11.23 → 0.11.24

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.
@@ -20254,7 +20254,7 @@ async function persistanceFactory(options = {}) {
20254
20254
  const persistence = await NapiRsKeyRingPersistence.create(persistencePath, `${service}.${name3}`, account);
20255
20255
  await persistence.load();
20256
20256
  return persistence;
20257
- } catch (e) {
20257
+ } catch {
20258
20258
  if (!unsafeAllowUnencryptedStorage) {
20259
20259
  throw new Error("Unable to read from the NAPI keyring.");
20260
20260
  }
package/dist/index.js CHANGED
@@ -132,7 +132,7 @@ async function createRemoteCacheClient(params) {
132
132
  const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
133
133
  const { telemetryClient } = context3;
134
134
  return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
135
- const { getCredential } = await import("./getCredential-N6SIY6D6.js");
135
+ const { getCredential } = await import("./getCredential-DX7FYRED.js");
136
136
  const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-A3NN4LO4.js");
137
137
  const { ReporterDecorator } = await import("./ReporterDecorator-VYNWC6CL.js");
138
138
  const { getListOfBlobs } = await import("./getListOfBlobs-BGP2V7PV.js");
@@ -10421,7 +10421,7 @@ var TableClient = _TableClient;
10421
10421
  function safeEncodeURIComponent(value) {
10422
10422
  try {
10423
10423
  return decodeURIComponent(value) !== value ? value : encodeURIComponent(value);
10424
- } catch (e) {
10424
+ } catch {
10425
10425
  return encodeURIComponent(value);
10426
10426
  }
10427
10427
  }
@@ -10431,7 +10431,7 @@ __name(safeEncodeURIComponent, "safeEncodeURIComponent");
10431
10431
  function safeDecodeURIComponent(value) {
10432
10432
  try {
10433
10433
  return encodeURIComponent(decodeURIComponent(value)) === value ? decodeURIComponent(value) : value;
10434
- } catch (e) {
10434
+ } catch {
10435
10435
  return value;
10436
10436
  }
10437
10437
  }
@@ -10541,7 +10541,7 @@ async function createAppRegistryClient(params) {
10541
10541
  const { context: context3, options } = params;
10542
10542
  const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
10543
10543
  const azureLogEventHandler = registerAzureLogger();
10544
- const { getCredential } = await import("./getCredential-N6SIY6D6.js");
10544
+ const { getCredential } = await import("./getCredential-DX7FYRED.js");
10545
10545
  const credential = await getCredential(
10546
10546
  { loginMethod, cachePath, tenantId },
10547
10547
  { ...context3, azureLogger: azureLogEventHandler }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.11.23",
3
+ "version": "0.11.24",
4
4
  "description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,11 +27,11 @@
27
27
  "lib/**/*.d.ts"
28
28
  ],
29
29
  "dependencies": {
30
- "@ms-cloudpack/common-types": "^0.25.0",
30
+ "@ms-cloudpack/common-types": "^0.25.1",
31
31
  "@ms-cloudpack/environment": "^0.1.1",
32
32
  "@ms-cloudpack/retry": "^0.1.3",
33
- "@ms-cloudpack/task-reporter": "^0.17.1",
34
- "@ms-cloudpack/telemetry": "^0.11.25",
33
+ "@ms-cloudpack/task-reporter": "^0.17.2",
34
+ "@ms-cloudpack/telemetry": "^0.11.26",
35
35
  "@napi-rs/keyring": "1.1.6",
36
36
  "mime-types": "^3.0.0",
37
37
  "node-dpapi-prebuilt": "^1.0.3"