wenay-common 1.0.79 → 1.0.80

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.
@@ -96,7 +96,7 @@ function LoadQuoteBase(setting, data) {
96
96
  waitLimit
97
97
  };
98
98
  await waitLimit();
99
- const res = await setting.funcLoad(data);
99
+ let res = await setting.funcLoad(data);
100
100
  if (res.length && res[0].time && (other?.reverseControl !== false)) {
101
101
  let t1, t2;
102
102
  if (typeof res[0].time == "object")
@@ -104,7 +104,7 @@ function LoadQuoteBase(setting, data) {
104
104
  else
105
105
  [t1, t2] = [res[0].time, res.at(-1).time];
106
106
  if (t1 > t2)
107
- res.reverse();
107
+ res = res.reverse();
108
108
  }
109
109
  return res;
110
110
  })());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenay-common",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "math math math",
5
5
  "strict": true,
6
6
  "main": "lib/index.js",