@ms-cloudpack/remote-cache 0.9.14 → 0.9.16

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/index.js CHANGED
@@ -98,7 +98,7 @@ async function createRemoteCacheClient(params) {
98
98
  const azureLogEventHandler = registerAzureLogger();
99
99
  const { context, options } = params;
100
100
  const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
101
- const { getCredential } = await import("./getCredential-4DBWPMN2.js");
101
+ const { getCredential } = await import("./getCredential-KVHUWSLC.js");
102
102
  const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-CJD7OP6W.js");
103
103
  const { ReporterDecorator } = await import("./ReporterDecorator-FZKB4MWN.js");
104
104
  const { getListOfBlobs } = await import("./getListOfBlobs-DNKXQNGR.js");
@@ -1,11 +1,19 @@
1
1
  /**
2
2
  * @returns The file path of the authentication lock file.
3
3
  * Expected responses:
4
- * - Darwin: '/Users/user/.IdentityService/cloudpack.lockfile'
5
- * - Windows 8+: 'C:\Users\user\AppData\Local\.IdentityService\cloudpack.lockfile'
6
- * - Linux: '/home/user/.IdentityService/cloudpack.lockfile'
4
+ * - Darwin: `/Users/user/.IdentityService/cloudpack.lockfile`
5
+ * - Windows 8+: `C:\Users\user\AppData\Local\.IdentityService\cloudpack.lockfile`
6
+ * - Linux: `/home/user/.IdentityService/cloudpack.lockfile`
7
7
  *
8
8
  * The lock file is generated by the @azure/identity and msal-node-extensions packages. Unfortunately, these packages do not provide an API to retrieve the lock file path directly. Therefore, we've implemented a function to obtain their lock file path, albeit without a formal contract.
9
9
  */
10
10
  export declare function getAuthenticationLockFilePath(): string;
11
+ /**
12
+ * Local application data folder
13
+ * Expected values:
14
+ * - Darwin: `/Users/user/`
15
+ * - Windows 8+: `C:\Users\user\AppData\Local`
16
+ * - Linux: `/home/user/.local/share`
17
+ */
18
+ export declare function getIdentityServiceCachePath(): string;
11
19
  //# sourceMappingURL=getAuthenticationLockFilePath.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
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,10 +27,11 @@
27
27
  "lib/**/*.d.ts"
28
28
  ],
29
29
  "dependencies": {
30
- "@ms-cloudpack/common-types": "^0.23.6",
31
- "@ms-cloudpack/retry": "^0.1.2",
32
- "@ms-cloudpack/task-reporter": "^0.14.6",
33
- "@ms-cloudpack/telemetry": "^0.10.1",
30
+ "@ms-cloudpack/common-types": "^0.23.7",
31
+ "@ms-cloudpack/environment": "^0.1.1",
32
+ "@ms-cloudpack/retry": "^0.1.3",
33
+ "@ms-cloudpack/task-reporter": "^0.14.7",
34
+ "@ms-cloudpack/telemetry": "^0.10.3",
34
35
  "@napi-rs/keyring": "^1.0.0",
35
36
  "mime-types": "^2.0.0",
36
37
  "node-dpapi-prebuilt": "^1.0.3"