@watsonserve/stock-base 0.0.8 → 0.0.9

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 (2) hide show
  1. package/dao.js +1 -1
  2. package/package.json +1 -1
package/dao.js CHANGED
@@ -132,7 +132,7 @@ export class InfluxDAO {
132
132
  next: (row, tableMeta) => {
133
133
  const item = tableMeta.toObject(row);
134
134
  const { _time, nc, currency, _field, _value } = item;
135
- list.push({ time: new Date(_time), nc, currency, [_field]: _value });
135
+ list.unshift({ time: new Date(_time), nc, currency, [_field]: _value });
136
136
  },
137
137
  error: reject,
138
138
  complete: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@watsonserve/stock-base",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "keywords": [],