wenay-common 1.0.61 → 1.0.62

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.
Files changed (40) hide show
  1. package/lib/Common/BaseTypes.js +0 -1
  2. package/lib/Common/ByteStream.js +0 -1
  3. package/lib/Common/Color.js +0 -1
  4. package/lib/Common/Common.js +0 -1
  5. package/lib/Common/List.js +0 -1
  6. package/lib/Common/ListNodeAnd.js +0 -1
  7. package/lib/Common/Math.js +0 -1
  8. package/lib/Common/Time.js +0 -1
  9. package/lib/Common/commonsServer.js +0 -1
  10. package/lib/Common/event.js +0 -1
  11. package/lib/Common/funcTimeWait.js +0 -1
  12. package/lib/Common/math/other.js +0 -1
  13. package/lib/Common/math/scoreLana.js +0 -1
  14. package/lib/Common/node_console.js +0 -1
  15. package/lib/Common/objectPath.js +0 -1
  16. package/lib/Common/waitRun.js +0 -1
  17. package/lib/Exchange/Bars.js +0 -1
  18. package/lib/Exchange/ConnectData/Binance/BinanceLib/base.js +0 -1
  19. package/lib/Exchange/ConnectData/Binance/BinanceLib/erors.js +0 -1
  20. package/lib/Exchange/ConnectData/Binance/BinanceLib/spot.js +0 -1
  21. package/lib/Exchange/ConnectData/Binance/BinanceLib/type.js +0 -1
  22. package/lib/Exchange/ConnectData/Binance/commonOrder.js +0 -1
  23. package/lib/Exchange/ConnectData/Binance/interfaces.js +0 -1
  24. package/lib/Exchange/ConnectData/Binance/marketD.js +0 -1
  25. package/lib/Exchange/ConnectData/Binance/marketData.js +0 -1
  26. package/lib/Exchange/ConnectData/Binance/order.js +0 -1
  27. package/lib/Exchange/ConnectData/Binance/signatureCoder.js +0 -1
  28. package/lib/Exchange/ConnectData/Binance/use.js +0 -1
  29. package/lib/Exchange/ConnectData/Binance.js +0 -1
  30. package/lib/Exchange/ConnectData/test.js +0 -1
  31. package/lib/Exchange/ConnectData/type.js +0 -1
  32. package/lib/Exchange/IHistoryBase.js +0 -1
  33. package/lib/Exchange/LoadBase.js +0 -1
  34. package/lib/Exchange/MarketData.js +0 -1
  35. package/lib/Exchange/mini.js +0 -1
  36. package/lib/client.js +0 -1
  37. package/lib/index.js +0 -1
  38. package/lib/minitest.js +0 -1
  39. package/lib/server.js +0 -1
  40. package/package.json +2 -1
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=BaseTypes.js.map
@@ -424,4 +424,3 @@ class X {
424
424
  fff(arg) { }
425
425
  }
426
426
  let x = new X;
427
- //# sourceMappingURL=ByteStream.js.map
@@ -49,4 +49,3 @@ function isSimilarColors(color1, color2, maxDelta = 32) {
49
49
  return delta <= maxDelta;
50
50
  }
51
51
  exports.isSimilarColors = isSimilarColors;
52
- //# sourceMappingURL=Color.js.map
@@ -612,4 +612,3 @@ function isObjectCastableTo(object, members) {
612
612
  return true;
613
613
  }
614
614
  exports.isObjectCastableTo = isObjectCastableTo;
615
- //# sourceMappingURL=Common.js.map
@@ -191,4 +191,3 @@ function test() {
191
191
  print(...list.values());
192
192
  print("count:", list.count);
193
193
  }
194
- //# sourceMappingURL=List.js.map
@@ -87,4 +87,3 @@ class CListNodeAnd extends CBaseList {
87
87
  DeleteLink() { this._prev._next = this._next; this._next._prev = this._prev; this._prev = this._next = this; this._stop = true; this._home?.countRef(); CListNodeAnd._valueG2--; this._home = undefined; }
88
88
  }
89
89
  exports.CListNodeAnd = CListNodeAnd;
90
- //# sourceMappingURL=ListNodeAnd.js.map
@@ -68,4 +68,3 @@ function CorrelationFunc(d1, d2, setting) {
68
68
  return { corr: result, buffer: buf };
69
69
  }
70
70
  exports.CorrelationFunc = CorrelationFunc;
71
- //# sourceMappingURL=Math.js.map
@@ -353,4 +353,3 @@ function MaxTime(time1, time2) {
353
353
  return time1 && time2 && time1.valueOf() >= time2.valueOf() ? time1 : time2 ?? time1;
354
354
  }
355
355
  exports.MaxTime = MaxTime;
356
- //# sourceMappingURL=Time.js.map
@@ -264,4 +264,3 @@ class CTestWeb {
264
264
  }
265
265
  }
266
266
  exports.CTestWeb = CTestWeb;
267
- //# sourceMappingURL=commonsServer.js.map
@@ -76,4 +76,3 @@ class CObjectEventsList {
76
76
  get length() { return this.count(); }
77
77
  }
78
78
  exports.CObjectEventsList = CObjectEventsList;
79
- //# sourceMappingURL=event.js.map
@@ -62,4 +62,3 @@ function funcTimeW() {
62
62
  }
63
63
  exports.funcTimeW = funcTimeW;
64
64
  exports.FuncTimeWait = funcTimeW();
65
- //# sourceMappingURL=funcTimeWait.js.map
@@ -68,4 +68,3 @@ function strategyStepOfStep({ t1, t2, minK: _minK, percentM: _percentM, onlyBuy:
68
68
  }
69
69
  return k1 * k2 * flag;
70
70
  }
71
- //# sourceMappingURL=other.js.map
@@ -62,4 +62,3 @@ function strategyStepOfStepL({ t1, t2, minK: _minK, percentM: _percentM, onlyBuy
62
62
  const k2 = day.profit / ((day.profit + day.loss) || 1);
63
63
  return k1 * k2;
64
64
  }
65
- //# sourceMappingURL=scoreLana.js.map
@@ -40,4 +40,3 @@ if (1)
40
40
  });
41
41
  }
42
42
  }
43
- //# sourceMappingURL=node_console.js.map
@@ -58,4 +58,3 @@ function* iterateDeepObjectEntries(obj, filter, currentPath = []) {
58
58
  }
59
59
  }
60
60
  exports.iterateDeepObjectEntries = iterateDeepObjectEntries;
61
- //# sourceMappingURL=objectPath.js.map
@@ -36,4 +36,3 @@ function waitRun() {
36
36
  };
37
37
  }
38
38
  exports.waitRun = waitRun;
39
- //# sourceMappingURL=waitRun.js.map
@@ -451,4 +451,3 @@ function findBarsShallow(srcBars, barsToFind) {
451
451
  return _findBars(srcBars, barsToFind, "shallow");
452
452
  }
453
453
  exports.findBarsShallow = findBarsShallow;
454
- //# sourceMappingURL=Bars.js.map
@@ -6,4 +6,3 @@ exports.binanceHeader = binanceHeader;
6
6
  class aBinanceDataFunc {
7
7
  }
8
8
  exports.aBinanceDataFunc = aBinanceDataFunc;
9
- //# sourceMappingURL=base.js.map
@@ -1,2 +1 @@
1
1
  "use strict";
2
- //# sourceMappingURL=erors.js.map
@@ -1,2 +1 @@
1
1
  "use strict";
2
- //# sourceMappingURL=spot.js.map
@@ -105,4 +105,3 @@ const eRatelimitIntervals = {
105
105
  MINUTE: 3600,
106
106
  DAY: 86400
107
107
  };
108
- //# sourceMappingURL=type.js.map
@@ -6,4 +6,3 @@ function NormalizeLot(lot, minQty, stepSize) {
6
6
  return x < minQty ? minQty : x;
7
7
  }
8
8
  exports.NormalizeLot = NormalizeLot;
9
- //# sourceMappingURL=commonOrder.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=interfaces.js.map
@@ -18,4 +18,3 @@ class CBinanceMarketDataMini {
18
18
  };
19
19
  }
20
20
  exports.CBinanceMarketDataMini = CBinanceMarketDataMini;
21
- //# sourceMappingURL=marketD.js.map
@@ -114,4 +114,3 @@ function MexcSymbolsAllObjNewMarginIsolated(data) {
114
114
  };
115
115
  }
116
116
  exports.MexcSymbolsAllObjNewMarginIsolated = MexcSymbolsAllObjNewMarginIsolated;
117
- //# sourceMappingURL=marketData.js.map
@@ -413,4 +413,3 @@ var spaceBinance;
413
413
  spaceBinance.BinanceDataFunc = BinanceDataFunc;
414
414
  spaceBinance.binanceFunc = new BinanceDataFunc;
415
415
  })(spaceBinance = exports.spaceBinance || (exports.spaceBinance = {}));
416
- //# sourceMappingURL=order.js.map
@@ -21,4 +21,3 @@ function getSignatureFuncF(data) {
21
21
  };
22
22
  }
23
23
  exports.getSignatureFuncF = getSignatureFuncF;
24
- //# sourceMappingURL=signatureCoder.js.map
@@ -73,4 +73,3 @@ function BinanceAcc2F(data) {
73
73
  };
74
74
  }
75
75
  exports.BinanceAcc2F = BinanceAcc2F;
76
- //# sourceMappingURL=use.js.map
@@ -511,4 +511,3 @@ var Test;
511
511
  Test.Test1 = Test1;
512
512
  function Test2() { }
513
513
  })(Test = exports.Test || (exports.Test = {}));
514
- //# sourceMappingURL=Binance.js.map
@@ -12,4 +12,3 @@ function Test() {
12
12
  }
13
13
  exports.Test = Test;
14
14
  Test();
15
- //# sourceMappingURL=test.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=type.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IHistoryBase.js.map
@@ -86,4 +86,3 @@ function LoadQuoteBase(setting, data) {
86
86
  };
87
87
  }
88
88
  exports.LoadQuoteBase = LoadQuoteBase;
89
- //# sourceMappingURL=LoadBase.js.map
@@ -355,4 +355,3 @@ class CQuotesHistoryMutable2 extends CQuotesHistory {
355
355
  exports.CQuotesHistoryMutable2 = CQuotesHistoryMutable2;
356
356
  var Common_2 = require("../Common/Common");
357
357
  Object.defineProperty(exports, "deepEqual", { enumerable: true, get: function () { return Common_2.deepEqual; } });
358
- //# sourceMappingURL=MarketData.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=mini.js.map
package/lib/client.js CHANGED
@@ -36,4 +36,3 @@ function test() {
36
36
  console.log("lalalal client");
37
37
  }
38
38
  exports.test = test;
39
- //# sourceMappingURL=client.js.map
package/lib/index.js CHANGED
@@ -47,4 +47,3 @@ function test() {
47
47
  console.log("lalalal");
48
48
  }
49
49
  exports.test = test;
50
- //# sourceMappingURL=index.js.map
package/lib/minitest.js CHANGED
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
2
  function f() {
3
3
  }
4
- //# sourceMappingURL=minitest.js.map
package/lib/server.js CHANGED
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./index"), exports);
18
18
  __exportStar(require("./Exchange/ConnectData/Binance/signatureCoder"), exports);
19
- //# sourceMappingURL=server.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenay-common",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "math math math",
5
5
  "strict": true,
6
6
  "main": "lib/index.js",
@@ -25,6 +25,7 @@
25
25
  "url": "https://github.com/wenayr/math.git"
26
26
  },
27
27
  "dependencies": {
28
+ "@pdf-lib/fontkit": "^1.1.1",
28
29
  "axios": "^1.4.0",
29
30
  "create-hmac": "^1.1.7",
30
31
  "node-fetch": "^3.3.1",