@ms-cloudpack/remote-cache 0.6.4 → 0.7.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -91,12 +91,13 @@ async function createRemoteCacheClient(params) {
91
91
  container,
92
92
  credential
93
93
  };
94
+ const listOfBlobs = await getListOfBlobs(remoteCacheClientOptions);
94
95
  const client = new ReporterDecorator(
95
96
  new RetryDecorator({
96
97
  retryManager: new RetryManager([blockListIsInvalidRetryPolicy]),
97
98
  cacheClient: new InMemoryDecorator({
98
99
  cacheClient: new AzureRemoteCacheClient(remoteCacheClientOptions),
99
- getList: () => getListOfBlobs(remoteCacheClientOptions)
100
+ getList: () => Promise.resolve(listOfBlobs)
100
101
  })
101
102
  }),
102
103
  context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
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/retry": "^0.1.1",
32
- "@ms-cloudpack/task-reporter": "^0.13.0",
32
+ "@ms-cloudpack/task-reporter": "^0.13.1",
33
33
  "@ms-cloudpack/telemetry": "^0.5.1"
34
34
  },
35
35
  "devDependencies": {