dukascopy-node-plus 1.1.4 → 1.1.5

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/cli/index.js CHANGED
@@ -40,7 +40,7 @@ var progressBar = new import_cli_progress.Bar({
40
40
  });
41
41
 
42
42
  // src/cli/cli.ts
43
- var import_fs2 = require("fs");
43
+ var import_fs3 = require("fs");
44
44
  var import_fs_extra2 = require("fs-extra");
45
45
 
46
46
  // src/cli/config.ts
@@ -1321,6 +1321,11 @@ var Instrument = /* @__PURE__ */ ((Instrument2) => {
1321
1321
  return Instrument2;
1322
1322
  })(Instrument || {});
1323
1323
 
1324
+ // src/utils/instrument-meta-data/generate-group-data.ts
1325
+ var import_fs = __toESM(require("fs"));
1326
+ var import_util = require("util");
1327
+ var saveFile = (0, import_util.promisify)(import_fs.default.writeFile);
1328
+
1324
1329
  // src/config/timeframes.ts
1325
1330
  var Timeframe = /* @__PURE__ */ ((Timeframe2) => {
1326
1331
  Timeframe2["tick"] = "tick";
@@ -13913,10 +13918,10 @@ var import_utc = __toESM(require("dayjs/plugin/utc"));
13913
13918
  var import_timezone = __toESM(require("dayjs/plugin/timezone"));
13914
13919
 
13915
13920
  // package.json
13916
- var version = "1.1.4";
13921
+ var version = "1.1.5";
13917
13922
 
13918
13923
  // src/stream-writer/index.ts
13919
- var import_fs = __toESM(require("fs"));
13924
+ var import_fs2 = __toESM(require("fs"));
13920
13925
  var BatchStreamWriter = class {
13921
13926
  fileWriteStream;
13922
13927
  timeframe;
@@ -14125,7 +14130,7 @@ async function run(argv) {
14125
14130
  progressBar.start(urls.length, step);
14126
14131
  }
14127
14132
  await (0, import_fs_extra2.ensureDir)(folderPath);
14128
- const fileWriteStream = (0, import_fs2.createWriteStream)(filePath, { flags: "w+" });
14133
+ const fileWriteStream = (0, import_fs3.createWriteStream)(filePath, { flags: "w+" });
14129
14134
  fileWriteStream.on("finish", async () => {
14130
14135
  const downloadEndTs = Date.now();
14131
14136
  if (!isDebugActive) {
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "1.1.4";
2
+ var version = "1.1.5";
3
3
 
4
4
  export {
5
5
  version
@@ -10,7 +10,7 @@ import {
10
10
  normaliseDates,
11
11
  processData,
12
12
  validateConfigNode
13
- } from "./chunk-Z4O2KLFU.js";
13
+ } from "./chunk-TZSWXPP4.js";
14
14
 
15
15
  // src/getHistoricalRatesToStream.ts
16
16
  import debug from "debug";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./chunk-VHVSB2KI.js";
3
+ } from "./chunk-BGHB2UHH.js";
4
4
  import {
5
5
  formatOutput
6
6
  } from "./chunk-476J4KQE.js";
@@ -12,7 +12,7 @@ import {
12
12
  normaliseDates,
13
13
  processData,
14
14
  validateConfigNode
15
- } from "./chunk-Z4O2KLFU.js";
15
+ } from "./chunk-TZSWXPP4.js";
16
16
 
17
17
  // src/getHistoricalRates.ts
18
18
  import debug from "debug";