@tradejs/node 2.0.3 → 2.0.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/ai.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-IUZML4RK.mjs";
18
18
  import "./chunk-QVSMINLG.mjs";
19
19
  import "./chunk-WS5DYEVZ.mjs";
20
- import "./chunk-6DZX6EAA.mjs";
20
+ import "./chunk-UV2HVMKZ.mjs";
21
21
  export {
22
22
  DEFAULT_AI_MODEL,
23
23
  MAX_AI_SERIES_POINTS,
package/dist/backtest.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  getTradejsProjectCwd
19
19
  } from "./chunk-WS5DYEVZ.mjs";
20
- import "./chunk-6DZX6EAA.mjs";
20
+ import "./chunk-UV2HVMKZ.mjs";
21
21
 
22
22
  // src/backtest.ts
23
23
  export * from "@tradejs/core/backtest";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-6DZX6EAA.mjs";
3
+ } from "./chunk-UV2HVMKZ.mjs";
4
4
 
5
5
  // ../../node_modules/lodash/lodash.js
6
6
  var require_lodash = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./chunk-6DZX6EAA.mjs";
3
+ } from "./chunk-UV2HVMKZ.mjs";
4
4
 
5
5
  // src/pine.ts
6
6
  import fs from "fs";
@@ -11,7 +11,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
11
11
  throw Error('Dynamic require of "' + x + '" is not supported');
12
12
  });
13
13
  var __commonJS = (cb, mod) => function __require2() {
14
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
14
+ try {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ } catch (e) {
17
+ throw mod = 0, e;
18
+ }
15
19
  };
16
20
  var __copyProps = (to, from, except, desc) => {
17
21
  if (from && typeof from === "object" || typeof from === "function") {
package/dist/cli.js CHANGED
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
package/dist/cli.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-KMJQQ53K.mjs";
6
6
  import {
7
7
  require_lodash
8
- } from "./chunk-KZDHZ56N.mjs";
8
+ } from "./chunk-GPR56UYQ.mjs";
9
9
  import {
10
10
  askAI
11
11
  } from "./chunk-IUZML4RK.mjs";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-WS5DYEVZ.mjs";
17
17
  import {
18
18
  __toESM
19
- } from "./chunk-6DZX6EAA.mjs";
19
+ } from "./chunk-UV2HVMKZ.mjs";
20
20
 
21
21
  // src/cli.ts
22
22
  var import_lodash = __toESM(require_lodash());
@@ -12,7 +12,7 @@ import {
12
12
  resolveConnectorName
13
13
  } from "./chunk-V3YMKE4I.mjs";
14
14
  import "./chunk-WS5DYEVZ.mjs";
15
- import "./chunk-6DZX6EAA.mjs";
15
+ import "./chunk-UV2HVMKZ.mjs";
16
16
  export {
17
17
  BUILTIN_CONNECTOR_NAMES,
18
18
  DEFAULT_CONNECTOR_NAME,
@@ -4,7 +4,7 @@ import {
4
4
  SCREENSHOT_CONCURRENCY_LIMIT,
5
5
  TG_CONCURRENCY_LIMIT
6
6
  } from "./chunk-KMJQQ53K.mjs";
7
- import "./chunk-6DZX6EAA.mjs";
7
+ import "./chunk-UV2HVMKZ.mjs";
8
8
  export {
9
9
  AI_CONCURRENCY_LIMIT,
10
10
  KLINE_CONCURRENCY_LIMIT,
package/dist/pine.mjs CHANGED
@@ -10,8 +10,8 @@ import {
10
10
  runPineScript,
11
11
  toFiniteNumber,
12
12
  toPineBoolean
13
- } from "./chunk-H6LIYHU4.mjs";
14
- import "./chunk-6DZX6EAA.mjs";
13
+ } from "./chunk-IQKMII6L.mjs";
14
+ import "./chunk-UV2HVMKZ.mjs";
15
15
  export {
16
16
  createPineScriptLoader,
17
17
  getLatestPineBooleanPlotValue,
package/dist/registry.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  strategies
14
14
  } from "./chunk-QVSMINLG.mjs";
15
15
  import "./chunk-WS5DYEVZ.mjs";
16
- import "./chunk-6DZX6EAA.mjs";
16
+ import "./chunk-UV2HVMKZ.mjs";
17
17
  export {
18
18
  ensureIndicatorPluginsLoaded,
19
19
  ensureStrategyPluginsLoaded,
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-2DZCHRP6.mjs";
7
7
  import {
8
8
  require_lodash
9
- } from "./chunk-KZDHZ56N.mjs";
9
+ } from "./chunk-GPR56UYQ.mjs";
10
10
  import {
11
11
  DEFAULT_AI_MODEL,
12
12
  MAX_AI_SERIES_POINTS,
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-IUZML4RK.mjs";
28
28
  import {
29
29
  createPineScriptLoader
30
- } from "./chunk-H6LIYHU4.mjs";
30
+ } from "./chunk-IQKMII6L.mjs";
31
31
  import "./chunk-5YNMSWL3.mjs";
32
32
  import {
33
33
  ensureIndicatorPluginsLoaded,
@@ -48,7 +48,7 @@ import {
48
48
  } from "./chunk-WS5DYEVZ.mjs";
49
49
  import {
50
50
  __toESM
51
- } from "./chunk-6DZX6EAA.mjs";
51
+ } from "./chunk-UV2HVMKZ.mjs";
52
52
 
53
53
  // src/strategies.ts
54
54
  export * from "@tradejs/core/strategies";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/node",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Node-only runtime for the TradeJS TypeScript framework: strategies, backtests, Pine strategy loading, and plugin registries.",
5
5
  "keywords": [
6
6
  "tradejs",
@@ -67,9 +67,9 @@
67
67
  "dependencies": {
68
68
  "@langchain/core": "^1.1.42",
69
69
  "@langchain/openai": "^1.4.5",
70
- "@tradejs/core": "^2.0.3",
71
- "@tradejs/infra": "^2.0.3",
72
- "@tradejs/types": "^2.0.3",
70
+ "@tradejs/core": "^2.0.5",
71
+ "@tradejs/infra": "^2.0.5",
72
+ "@tradejs/types": "^2.0.5",
73
73
  "chalk": "4.1.2",
74
74
  "ioredis": "5.8.0",
75
75
  "pinets": "0.8.12",