@okx_ai/okx-trade-cli 1.2.4-beta.6 → 1.2.4

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/index.js CHANGED
@@ -7553,7 +7553,7 @@ function readCliVersion() {
7553
7553
  return "0.0.0";
7554
7554
  }
7555
7555
  var CLI_VERSION = readCliVersion();
7556
- var GIT_HASH = true ? "d20347a" : "dev";
7556
+ var GIT_HASH = true ? "88fac29" : "dev";
7557
7557
  var Report = class {
7558
7558
  lines = [];
7559
7559
  add(key, value) {
@@ -9574,7 +9574,7 @@ async function cmdSwapAlgoTrailPlace(run, opts) {
9574
9574
  );
9575
9575
  }
9576
9576
  async function cmdSwapAlgoCancel(run, instId, algoId, json) {
9577
- const result = await run("swap_cancel_algo_orders", { instId, algoId });
9577
+ const result = await run("swap_cancel_algo_orders", { orders: [{ instId, algoId }] });
9578
9578
  const data = getData4(result);
9579
9579
  if (json) return printJson(data);
9580
9580
  const r = data?.[0];
@@ -11366,7 +11366,7 @@ async function cmdDcdQuoteAndBuy(run, opts) {
11366
11366
  // src/index.ts
11367
11367
  var _require2 = createRequire2(import.meta.url);
11368
11368
  var CLI_VERSION2 = _require2("../package.json").version;
11369
- var GIT_HASH2 = true ? "d20347a" : "dev";
11369
+ var GIT_HASH2 = true ? "88fac29" : "dev";
11370
11370
  function handleConfigCommand(action, rest, json, lang, force) {
11371
11371
  if (action === "init") return cmdConfigInit(lang === "zh" ? "zh" : "en");
11372
11372
  if (action === "show") return cmdConfigShow(json);