@ms-cloudpack/remote-cache 0.5.1-beta.0 → 0.5.1-beta.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,15 +1,17 @@
1
1
  import {
2
2
  createBlobStorageUrl
3
- } from "./chunk-XKOU5VXX.js";
3
+ } from "./chunk-YE3TMZ3A.js";
4
4
  import {
5
5
  require_dist
6
- } from "./chunk-G3ME7OWS.js";
7
- import "./chunk-KKZU5JW4.js";
6
+ } from "./chunk-7DWZ2KJB.js";
7
+ import "./chunk-X5NZ4TUB.js";
8
8
  import {
9
- __toESM
10
- } from "./chunk-GFT2G5UO.js";
9
+ __toESM,
10
+ init_esbuildCjsShims
11
+ } from "./chunk-N2VHZU53.js";
11
12
 
12
13
  // src/getListOfBlobs.ts
14
+ init_esbuildCjsShims();
13
15
  var import_storage_blob = __toESM(require_dist(), 1);
14
16
  async function getListOfBlobs({ container, storageAccount, credential }) {
15
17
  const blobStorageClient = new import_storage_blob.BlobServiceClient(createBlobStorageUrl(storageAccount), credential);
@@ -23,4 +25,3 @@ async function getListOfBlobs({ container, storageAccount, credential }) {
23
25
  export {
24
26
  getListOfBlobs
25
27
  };
26
- //# sourceMappingURL=getListOfBlobs-LKU62UR5.js.map
package/dist/index.js CHANGED
@@ -1,6 +1,15 @@
1
- import "./chunk-GFT2G5UO.js";
1
+ import {
2
+ init_esbuildCjsShims
3
+ } from "./chunk-N2VHZU53.js";
4
+
5
+ // src/index.ts
6
+ init_esbuildCjsShims();
7
+
8
+ // src/createRemoteCacheClient.ts
9
+ init_esbuildCjsShims();
2
10
 
3
11
  // src/decorators/InMemoryDecorator.ts
12
+ init_esbuildCjsShims();
4
13
  var InMemoryDecorator = class {
5
14
  constructor(options) {
6
15
  this.cacheClient = options.cacheClient;
@@ -25,6 +34,7 @@ var InMemoryDecorator = class {
25
34
  };
26
35
 
27
36
  // src/decorators/RetryDecorator.ts
37
+ init_esbuildCjsShims();
28
38
  var RetryDecorator = class {
29
39
  constructor(options) {
30
40
  this.cacheClient = options.cacheClient;
@@ -52,6 +62,7 @@ var RetryDecorator = class {
52
62
  };
53
63
 
54
64
  // src/retry/blockListIsInvalidRetryPolicy.ts
65
+ init_esbuildCjsShims();
55
66
  var blockListIsInvalidRetryPolicy = {
56
67
  maxRetries: 1,
57
68
  handle: (error) => {
@@ -65,10 +76,10 @@ import { RetryManager } from "@ms-cloudpack/retry";
65
76
  async function createRemoteCacheClient(params) {
66
77
  const { context, options } = params;
67
78
  const { container, loginMethod, storageAccount, cachePath } = options;
68
- const { getCredential } = await import("./getCredential-MJEIGDVB.js");
69
- const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-2PRAPCJH.js");
70
- const { ReporterDecorator } = await import("./ReporterDecorator-BYNXV72I.js");
71
- const { getListOfBlobs } = await import("./getListOfBlobs-LKU62UR5.js");
79
+ const { getCredential } = await import("./getCredential-63JEO57N.js");
80
+ const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-AE2VSZ7M.js");
81
+ const { ReporterDecorator } = await import("./ReporterDecorator-IPB43LAC.js");
82
+ const { getListOfBlobs } = await import("./getListOfBlobs-BZCK6WJA.js");
72
83
  const credential = await getCredential(loginMethod, cachePath);
73
84
  const remoteCacheClientOptions = {
74
85
  storageAccount,
@@ -90,4 +101,3 @@ async function createRemoteCacheClient(params) {
90
101
  export {
91
102
  createRemoteCacheClient
92
103
  };
93
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.5.1-beta.0",
3
+ "version": "0.5.1-beta.2",
4
4
  "description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@azure/msal-node-extensions": "^1.0.10",
31
31
  "@ms-cloudpack/task-reporter": "^0.11.1",
32
- "@ms-cloudpack/telemetry": "^0.4.7-beta.0",
32
+ "@ms-cloudpack/telemetry": "^0.4.7-beta.2",
33
33
  "@ms-cloudpack/retry": "^0.1.1"
34
34
  },
35
35
  "devDependencies": {