@ms-cloudpack/remote-cache 0.10.14 → 0.10.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/{AzureRemoteCacheClient-AY675HJK.js → AzureRemoteCacheClient-7MHTRZ6Y.js} +16 -13
- package/dist/{chunk-E464X2TG.js → chunk-J5MDMYM3.js} +282 -145
- package/dist/{chunk-EZBP4ZKN.js → chunk-RN46OLEJ.js} +199 -98
- package/dist/{getCredential-OSAAVWZC.js → getCredential-7S2VXY5L.js} +118 -93
- package/dist/index.js +11 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
require_commonjs as require_commonjs5,
|
|
9
9
|
require_commonjs2 as require_commonjs7,
|
|
10
10
|
require_dist
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RN46OLEJ.js";
|
|
12
12
|
import {
|
|
13
13
|
init_tslib_es6,
|
|
14
14
|
require_commonjs,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
require_commonjs5 as require_commonjs4,
|
|
18
18
|
require_commonjs6,
|
|
19
19
|
tslib_es6_exports
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J5MDMYM3.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__name,
|
|
@@ -4690,6 +4690,8 @@ __name(registerAzureLogger, "registerAzureLogger");
|
|
|
4690
4690
|
|
|
4691
4691
|
// src/decorators/InMemoryDecorator.ts
|
|
4692
4692
|
var _InMemoryDecorator = class _InMemoryDecorator {
|
|
4693
|
+
cacheClient;
|
|
4694
|
+
list;
|
|
4693
4695
|
constructor(options) {
|
|
4694
4696
|
this.cacheClient = options.cacheClient;
|
|
4695
4697
|
this.list = options.getList();
|
|
@@ -4716,6 +4718,8 @@ var InMemoryDecorator = _InMemoryDecorator;
|
|
|
4716
4718
|
|
|
4717
4719
|
// src/decorators/RetryDecorator.ts
|
|
4718
4720
|
var _RetryDecorator = class _RetryDecorator {
|
|
4721
|
+
cacheClient;
|
|
4722
|
+
retryManager;
|
|
4719
4723
|
constructor(options) {
|
|
4720
4724
|
this.cacheClient = options.cacheClient;
|
|
4721
4725
|
this.retryManager = options.retryManager;
|
|
@@ -4772,8 +4776,8 @@ async function createRemoteCacheClient(params) {
|
|
|
4772
4776
|
const azureLogEventHandler = registerAzureLogger();
|
|
4773
4777
|
const { context, options } = params;
|
|
4774
4778
|
const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
|
|
4775
|
-
const { getCredential } = await import("./getCredential-
|
|
4776
|
-
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-
|
|
4779
|
+
const { getCredential } = await import("./getCredential-7S2VXY5L.js");
|
|
4780
|
+
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-7MHTRZ6Y.js");
|
|
4777
4781
|
const { ReporterDecorator } = await import("./ReporterDecorator-VYNWC6CL.js");
|
|
4778
4782
|
const { getListOfBlobs } = await import("./getListOfBlobs-EY2E5AZT.js");
|
|
4779
4783
|
const credential = await getCredential(
|
|
@@ -4837,6 +4841,8 @@ var _AzureAppRegistryClient = class _AzureAppRegistryClient {
|
|
|
4837
4841
|
this.appsTableClient = new import_data_tables.TableClient(storageUrl, "apps", credential);
|
|
4838
4842
|
this.appVersionsTableClient = new import_data_tables.TableClient(storageUrl, "appVersions", credential);
|
|
4839
4843
|
}
|
|
4844
|
+
appsTableClient;
|
|
4845
|
+
appVersionsTableClient;
|
|
4840
4846
|
/**
|
|
4841
4847
|
* Registers an application and its version details in the table storage.
|
|
4842
4848
|
*/
|
|
@@ -4922,7 +4928,7 @@ async function createAppRegistryClient(params) {
|
|
|
4922
4928
|
const { context, options } = params;
|
|
4923
4929
|
const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
|
|
4924
4930
|
const azureLogEventHandler = registerAzureLogger();
|
|
4925
|
-
const { getCredential } = await import("./getCredential-
|
|
4931
|
+
const { getCredential } = await import("./getCredential-7S2VXY5L.js");
|
|
4926
4932
|
const credential = await getCredential(
|
|
4927
4933
|
{ loginMethod, cachePath, tenantId },
|
|
4928
4934
|
{ ...context, azureLogger: azureLogEventHandler }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/remote-cache",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.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,11 +27,11 @@
|
|
|
27
27
|
"lib/**/*.d.ts"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ms-cloudpack/common-types": "^0.24.
|
|
30
|
+
"@ms-cloudpack/common-types": "^0.24.10",
|
|
31
31
|
"@ms-cloudpack/environment": "^0.1.1",
|
|
32
32
|
"@ms-cloudpack/retry": "^0.1.3",
|
|
33
|
-
"@ms-cloudpack/task-reporter": "^0.
|
|
34
|
-
"@ms-cloudpack/telemetry": "^0.10.
|
|
33
|
+
"@ms-cloudpack/task-reporter": "^0.16.0",
|
|
34
|
+
"@ms-cloudpack/telemetry": "^0.10.19",
|
|
35
35
|
"@napi-rs/keyring": "^1.0.0",
|
|
36
36
|
"mime-types": "^2.0.0",
|
|
37
37
|
"node-dpapi-prebuilt": "^1.0.3"
|