@alwaysmeticulous/downloading-helpers 2.41.0 → 2.42.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.
@@ -34,8 +34,8 @@ const getOrFetchReplayArchive = async (client, replayId) => {
34
34
  const releaseLock = await (0, local_data_utils_1.waitToAcquireLockOnDirectory)(replayDir);
35
35
  try {
36
36
  const replayArchiveFile = (0, path_1.join)(replayDir, `${replayId}.zip`);
37
- const paramsFile = (0, path_1.join)(replayDir, "replayEventsParams.json");
38
- // Check if "replayEventsParams.json" exists. If yes, we assume the replay
37
+ const paramsFile = (0, path_1.join)(replayDir, "metadata.json");
38
+ // Check if "metadata.json" exists. If yes, we assume the replay
39
39
  // zip archive has been downloaded and extracted.
40
40
  if (await (0, local_data_utils_1.fileExists)(paramsFile)) {
41
41
  logger.debug(`Replay archive already downloaded at ${replayDir}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/downloading-helpers",
3
- "version": "2.41.0",
3
+ "version": "2.42.0",
4
4
  "description": "Helper utilities for downloading files & scripts required to execute replays",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -19,9 +19,9 @@
19
19
  "depcheck": "depcheck --ignore-patterns=dist"
20
20
  },
21
21
  "dependencies": {
22
- "@alwaysmeticulous/api": "^2.41.0",
23
- "@alwaysmeticulous/client": "^2.41.0",
24
- "@alwaysmeticulous/common": "^2.41.0",
22
+ "@alwaysmeticulous/api": "^2.42.0",
23
+ "@alwaysmeticulous/client": "^2.42.0",
24
+ "@alwaysmeticulous/common": "^2.42.0",
25
25
  "adm-zip": "^0.5.9",
26
26
  "axios": "^1.2.6",
27
27
  "loglevel": "^1.8.0",
@@ -50,5 +50,5 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
52
52
  },
53
- "gitHead": "778895a7cd6a010538e338f9b2da225e71c53f48"
53
+ "gitHead": "65e2410a784642674ea6c8203d5b9f8a303c33ea"
54
54
  }