@nightlylabs/dex-sdk 0.3.33 → 0.3.34
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24093,8 +24093,8 @@ var Client = class _Client {
|
|
|
24093
24093
|
this.getChartCandlesInRange = async ({
|
|
24094
24094
|
interval,
|
|
24095
24095
|
marketName,
|
|
24096
|
-
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()),
|
|
24097
|
-
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() - 24 * 60 * 60 * 1e3),
|
|
24096
|
+
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime() / 1e3),
|
|
24097
|
+
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() / 1e3 - 24 * 60 * 60 * 1e3),
|
|
24098
24098
|
// default 24 back
|
|
24099
24099
|
cursor
|
|
24100
24100
|
}) => {
|
package/dist/index.js
CHANGED
|
@@ -24051,8 +24051,8 @@ var Client = class _Client {
|
|
|
24051
24051
|
this.getChartCandlesInRange = async ({
|
|
24052
24052
|
interval,
|
|
24053
24053
|
marketName,
|
|
24054
|
-
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()),
|
|
24055
|
-
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() - 24 * 60 * 60 * 1e3),
|
|
24054
|
+
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime() / 1e3),
|
|
24055
|
+
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() / 1e3 - 24 * 60 * 60 * 1e3),
|
|
24056
24056
|
// default 24 back
|
|
24057
24057
|
cursor
|
|
24058
24058
|
}) => {
|