@dchighs/dc-assets 0.0.1 → 0.0.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.
@@ -17,7 +17,7 @@ class IslandPackageDownloader extends static_file_downloader_1.StaticFileDownloa
17
17
  if (islandType === dc_core_1.IslandType.GridIslands && !fileName.endsWith("_optim.zip")) {
18
18
  fileName = fileName.replace(".zip", "_optim.zip");
19
19
  }
20
- this.url = `https://www.socialpointgames.com/static/dragoncity/mobile/ui/${islandType === dc_core_1.IslandType.HeroicRaces ? "heroicraces_islands" : "islands"}/HD/dxt5/${fileName}`;
20
+ this.url = `https://www.socialpointgames.com/static/dragoncity/mobile/ui/${islandType === dc_core_1.IslandType.HeroicRaces ? "heroicraces_islands" : islandType}/HD/dxt5/${fileName}`;
21
21
  }
22
22
  async download(filePath) {
23
23
  return await super.download(this.url, filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-assets",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Library focused on downloading static files from the Dragon City server.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",