@nightlylabs/dex-sdk 0.3.30 → 0.3.32
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 +5 -1
package/dist/index.cjs
CHANGED
|
@@ -24076,8 +24076,8 @@ var Client = class _Client {
|
|
|
24076
24076
|
this.getChartCandlesInRange = async ({
|
|
24077
24077
|
interval,
|
|
24078
24078
|
marketName,
|
|
24079
|
-
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()
|
|
24080
|
-
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime()
|
|
24079
|
+
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()),
|
|
24080
|
+
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() - 24 * 60 * 60 * 1e3),
|
|
24081
24081
|
// default 24 back
|
|
24082
24082
|
cursor
|
|
24083
24083
|
}) => {
|
package/dist/index.js
CHANGED
|
@@ -24034,8 +24034,8 @@ var Client = class _Client {
|
|
|
24034
24034
|
this.getChartCandlesInRange = async ({
|
|
24035
24035
|
interval,
|
|
24036
24036
|
marketName,
|
|
24037
|
-
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()
|
|
24038
|
-
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime()
|
|
24037
|
+
timestampStartMs = Math.round((/* @__PURE__ */ new Date()).getTime()),
|
|
24038
|
+
timestampEndMs = Math.round((/* @__PURE__ */ new Date()).getTime() - 24 * 60 * 60 * 1e3),
|
|
24039
24039
|
// default 24 back
|
|
24040
24040
|
cursor
|
|
24041
24041
|
}) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nightlylabs/dex-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"testnet:add-token-to-oracle": "bun scripts/testnet/testnet-addTokenToOracle.ts",
|
|
38
38
|
"testnet:add-token": "bun scripts/testnet/testnet-addToken.ts",
|
|
39
39
|
"testnet:add-perp-market": "bun scripts/testnet/testnet-addPerpMarket.ts",
|
|
40
|
+
"testnet:add-spot-market": "bun scripts/testnet/testnet-addSpotMarket.ts",
|
|
40
41
|
"testnet:test-indexer": "bun scripts/testnet/testnet-testIndexer.ts",
|
|
41
42
|
"testnet:update-oracle-prices": "bun scripts/testnet/testnet-updateOraclePrices.ts",
|
|
42
43
|
"testnet:settle-user": "bun scripts/testnet/testnet-settleUser.ts",
|
|
@@ -48,10 +49,12 @@
|
|
|
48
49
|
"mainnet:setup-exchange": "bun scripts/mainnet/mainnet-setupExchange.ts",
|
|
49
50
|
"mainnet:init-exchange": "bun scripts/mainnet/mainnet-initExchange.ts",
|
|
50
51
|
"mainnet:add-dev": "bun scripts/mainnet/mainnet-addDev.ts",
|
|
52
|
+
"mainnet:add-api-key": "bun scripts/mainnet/mainnet-addApiKey.ts",
|
|
51
53
|
"mainnet:remove-dev": "bun scripts/mainnet/mainnet-removeDev.ts",
|
|
52
54
|
"mainnet:add-token-to-oracle": "bun scripts/mainnet/mainnet-addTokenToOracle.ts",
|
|
53
55
|
"mainnet:add-token": "bun scripts/mainnet/mainnet-addToken.ts",
|
|
54
56
|
"mainnet:add-perp-market": "bun scripts/mainnet/mainnet-addPerpMarket.ts",
|
|
57
|
+
"mainnet:add-spot-market": "bun scripts/mainnet/mainnet-addSpotMarket.ts",
|
|
55
58
|
"mainnet:settle-user": "bun scripts/mainnet/mainnet-settleUser.ts",
|
|
56
59
|
"mainnet:settle-market": "bun scripts/mainnet/mainnet-settleMarket.ts",
|
|
57
60
|
"mainnet:set-fee-data": "bun scripts/mainnet/mainnet-setFeeData.ts",
|
|
@@ -76,6 +79,7 @@
|
|
|
76
79
|
},
|
|
77
80
|
"devDependencies": {
|
|
78
81
|
"@changesets/cli": "2.29.8",
|
|
82
|
+
"@infisical/sdk": "^4.0.6",
|
|
79
83
|
"@ledgerhq/hw-app-aptos": "6.35.0",
|
|
80
84
|
"@ledgerhq/hw-transport-node-hid": "6.30.0",
|
|
81
85
|
"@thalalabs/surf": "1.9.3",
|