@nightlylabs/dex-sdk 0.0.54 → 0.0.56
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 +12 -12
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1210,7 +1210,7 @@ var Client = class _Client {
|
|
|
1210
1210
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1211
1211
|
BigInt(sequenceNumber),
|
|
1212
1212
|
aptosPayload,
|
|
1213
|
-
BigInt(
|
|
1213
|
+
BigInt(1e5),
|
|
1214
1214
|
BigInt(100),
|
|
1215
1215
|
BigInt(Date.now() + 10 * 1e3),
|
|
1216
1216
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
@@ -1240,7 +1240,7 @@ var Client = class _Client {
|
|
|
1240
1240
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1241
1241
|
BigInt(sequenceNumber),
|
|
1242
1242
|
aptosPayload,
|
|
1243
|
-
BigInt(
|
|
1243
|
+
BigInt(1e5),
|
|
1244
1244
|
BigInt(100),
|
|
1245
1245
|
BigInt(Date.now() + 10 * 1e3),
|
|
1246
1246
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
@@ -1278,7 +1278,7 @@ var Client = class _Client {
|
|
|
1278
1278
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1279
1279
|
BigInt(sequenceNumber),
|
|
1280
1280
|
aptosPayload,
|
|
1281
|
-
BigInt(
|
|
1281
|
+
BigInt(1e5),
|
|
1282
1282
|
BigInt(100),
|
|
1283
1283
|
BigInt(Date.now() + 10 * 1e3),
|
|
1284
1284
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
@@ -1315,7 +1315,7 @@ var Client = class _Client {
|
|
|
1315
1315
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1316
1316
|
BigInt(sequenceNumber),
|
|
1317
1317
|
aptosPayload,
|
|
1318
|
-
BigInt(
|
|
1318
|
+
BigInt(1e5),
|
|
1319
1319
|
BigInt(100),
|
|
1320
1320
|
BigInt(Date.now() + 10 * 1e3),
|
|
1321
1321
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
@@ -1351,7 +1351,7 @@ var Client = class _Client {
|
|
|
1351
1351
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1352
1352
|
BigInt(sequenceNumber),
|
|
1353
1353
|
aptosPayload,
|
|
1354
|
-
BigInt(
|
|
1354
|
+
BigInt(1e5),
|
|
1355
1355
|
BigInt(100),
|
|
1356
1356
|
BigInt(Date.now() + 10 * 1e3),
|
|
1357
1357
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
@@ -1381,7 +1381,7 @@ var Client = class _Client {
|
|
|
1381
1381
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1382
1382
|
BigInt(sequenceNumber),
|
|
1383
1383
|
aptosPayload,
|
|
1384
|
-
BigInt(
|
|
1384
|
+
BigInt(1e5),
|
|
1385
1385
|
// maxGasAmount
|
|
1386
1386
|
BigInt(100),
|
|
1387
1387
|
// gasUnitPrice
|
|
@@ -1414,7 +1414,7 @@ var Client = class _Client {
|
|
|
1414
1414
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1415
1415
|
BigInt(sequenceNumber),
|
|
1416
1416
|
aptosPayload,
|
|
1417
|
-
BigInt(
|
|
1417
|
+
BigInt(1e5),
|
|
1418
1418
|
// maxGasAmount
|
|
1419
1419
|
BigInt(100),
|
|
1420
1420
|
// gasUnitPrice
|
|
@@ -1447,7 +1447,7 @@ var Client = class _Client {
|
|
|
1447
1447
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1448
1448
|
BigInt(sequenceNumber),
|
|
1449
1449
|
aptosPayload,
|
|
1450
|
-
BigInt(
|
|
1450
|
+
BigInt(1e5),
|
|
1451
1451
|
// maxGasAmount
|
|
1452
1452
|
BigInt(100),
|
|
1453
1453
|
// gasUnitPrice
|
|
@@ -1487,7 +1487,7 @@ var Client = class _Client {
|
|
|
1487
1487
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1488
1488
|
BigInt(sequenceNumber),
|
|
1489
1489
|
aptosPayload,
|
|
1490
|
-
BigInt(
|
|
1490
|
+
BigInt(1e5),
|
|
1491
1491
|
// maxGasAmount
|
|
1492
1492
|
BigInt(100),
|
|
1493
1493
|
// gasUnitPrice
|
|
@@ -1525,7 +1525,7 @@ var Client = class _Client {
|
|
|
1525
1525
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1526
1526
|
BigInt(sequenceNumber),
|
|
1527
1527
|
aptosPayload,
|
|
1528
|
-
BigInt(
|
|
1528
|
+
BigInt(1e5),
|
|
1529
1529
|
// maxGasAmount
|
|
1530
1530
|
BigInt(100),
|
|
1531
1531
|
// gasUnitPrice
|
|
@@ -1563,7 +1563,7 @@ var Client = class _Client {
|
|
|
1563
1563
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1564
1564
|
BigInt(sequenceNumber),
|
|
1565
1565
|
aptosPayload,
|
|
1566
|
-
BigInt(
|
|
1566
|
+
BigInt(1e5),
|
|
1567
1567
|
// maxGasAmount
|
|
1568
1568
|
BigInt(100),
|
|
1569
1569
|
// gasUnitPrice
|
|
@@ -1601,7 +1601,7 @@ var Client = class _Client {
|
|
|
1601
1601
|
import_ts_sdk2.AccountAddress.from(this._apiKey.accountAddress),
|
|
1602
1602
|
BigInt(sequenceNumber),
|
|
1603
1603
|
aptosPayload,
|
|
1604
|
-
BigInt(
|
|
1604
|
+
BigInt(1e5),
|
|
1605
1605
|
// maxGasAmount
|
|
1606
1606
|
BigInt(100),
|
|
1607
1607
|
// gasUnitPrice
|
package/dist/index.d.cts
CHANGED
|
@@ -951,7 +951,7 @@ type WsOracleUpdates = Extract<WsMessage, {
|
|
|
951
951
|
type: 'OracleUpdates';
|
|
952
952
|
}>;
|
|
953
953
|
type WsUserUpdates = Extract<WsMessage, {
|
|
954
|
-
type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'CanceledPerpOrders' | 'OrderFills' | '
|
|
954
|
+
type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'CanceledPerpOrders' | 'OrderFills' | 'SetAutoLend' | 'SetAlias' | 'AddApiKey' | 'RemoveApiKey';
|
|
955
955
|
}>;
|
|
956
956
|
type WsPerpMarketUpdates = Extract<WsMessage, {
|
|
957
957
|
type: 'OrderbookUpdate' | 'TradesUpdate';
|
package/dist/index.d.ts
CHANGED
|
@@ -951,7 +951,7 @@ type WsOracleUpdates = Extract<WsMessage, {
|
|
|
951
951
|
type: 'OracleUpdates';
|
|
952
952
|
}>;
|
|
953
953
|
type WsUserUpdates = Extract<WsMessage, {
|
|
954
|
-
type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'CanceledPerpOrders' | 'OrderFills' | '
|
|
954
|
+
type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'CanceledPerpOrders' | 'OrderFills' | 'SetAutoLend' | 'SetAlias' | 'AddApiKey' | 'RemoveApiKey';
|
|
955
955
|
}>;
|
|
956
956
|
type WsPerpMarketUpdates = Extract<WsMessage, {
|
|
957
957
|
type: 'OrderbookUpdate' | 'TradesUpdate';
|
package/dist/index.js
CHANGED
|
@@ -1159,7 +1159,7 @@ var Client = class _Client {
|
|
|
1159
1159
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1160
1160
|
BigInt(sequenceNumber),
|
|
1161
1161
|
aptosPayload,
|
|
1162
|
-
BigInt(
|
|
1162
|
+
BigInt(1e5),
|
|
1163
1163
|
BigInt(100),
|
|
1164
1164
|
BigInt(Date.now() + 10 * 1e3),
|
|
1165
1165
|
new ChainId(this._chainId)
|
|
@@ -1189,7 +1189,7 @@ var Client = class _Client {
|
|
|
1189
1189
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1190
1190
|
BigInt(sequenceNumber),
|
|
1191
1191
|
aptosPayload,
|
|
1192
|
-
BigInt(
|
|
1192
|
+
BigInt(1e5),
|
|
1193
1193
|
BigInt(100),
|
|
1194
1194
|
BigInt(Date.now() + 10 * 1e3),
|
|
1195
1195
|
new ChainId(this._chainId)
|
|
@@ -1227,7 +1227,7 @@ var Client = class _Client {
|
|
|
1227
1227
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1228
1228
|
BigInt(sequenceNumber),
|
|
1229
1229
|
aptosPayload,
|
|
1230
|
-
BigInt(
|
|
1230
|
+
BigInt(1e5),
|
|
1231
1231
|
BigInt(100),
|
|
1232
1232
|
BigInt(Date.now() + 10 * 1e3),
|
|
1233
1233
|
new ChainId(this._chainId)
|
|
@@ -1264,7 +1264,7 @@ var Client = class _Client {
|
|
|
1264
1264
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1265
1265
|
BigInt(sequenceNumber),
|
|
1266
1266
|
aptosPayload,
|
|
1267
|
-
BigInt(
|
|
1267
|
+
BigInt(1e5),
|
|
1268
1268
|
BigInt(100),
|
|
1269
1269
|
BigInt(Date.now() + 10 * 1e3),
|
|
1270
1270
|
new ChainId(this._chainId)
|
|
@@ -1300,7 +1300,7 @@ var Client = class _Client {
|
|
|
1300
1300
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1301
1301
|
BigInt(sequenceNumber),
|
|
1302
1302
|
aptosPayload,
|
|
1303
|
-
BigInt(
|
|
1303
|
+
BigInt(1e5),
|
|
1304
1304
|
BigInt(100),
|
|
1305
1305
|
BigInt(Date.now() + 10 * 1e3),
|
|
1306
1306
|
new ChainId(this._chainId)
|
|
@@ -1330,7 +1330,7 @@ var Client = class _Client {
|
|
|
1330
1330
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1331
1331
|
BigInt(sequenceNumber),
|
|
1332
1332
|
aptosPayload,
|
|
1333
|
-
BigInt(
|
|
1333
|
+
BigInt(1e5),
|
|
1334
1334
|
// maxGasAmount
|
|
1335
1335
|
BigInt(100),
|
|
1336
1336
|
// gasUnitPrice
|
|
@@ -1363,7 +1363,7 @@ var Client = class _Client {
|
|
|
1363
1363
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1364
1364
|
BigInt(sequenceNumber),
|
|
1365
1365
|
aptosPayload,
|
|
1366
|
-
BigInt(
|
|
1366
|
+
BigInt(1e5),
|
|
1367
1367
|
// maxGasAmount
|
|
1368
1368
|
BigInt(100),
|
|
1369
1369
|
// gasUnitPrice
|
|
@@ -1396,7 +1396,7 @@ var Client = class _Client {
|
|
|
1396
1396
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1397
1397
|
BigInt(sequenceNumber),
|
|
1398
1398
|
aptosPayload,
|
|
1399
|
-
BigInt(
|
|
1399
|
+
BigInt(1e5),
|
|
1400
1400
|
// maxGasAmount
|
|
1401
1401
|
BigInt(100),
|
|
1402
1402
|
// gasUnitPrice
|
|
@@ -1436,7 +1436,7 @@ var Client = class _Client {
|
|
|
1436
1436
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1437
1437
|
BigInt(sequenceNumber),
|
|
1438
1438
|
aptosPayload,
|
|
1439
|
-
BigInt(
|
|
1439
|
+
BigInt(1e5),
|
|
1440
1440
|
// maxGasAmount
|
|
1441
1441
|
BigInt(100),
|
|
1442
1442
|
// gasUnitPrice
|
|
@@ -1474,7 +1474,7 @@ var Client = class _Client {
|
|
|
1474
1474
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1475
1475
|
BigInt(sequenceNumber),
|
|
1476
1476
|
aptosPayload,
|
|
1477
|
-
BigInt(
|
|
1477
|
+
BigInt(1e5),
|
|
1478
1478
|
// maxGasAmount
|
|
1479
1479
|
BigInt(100),
|
|
1480
1480
|
// gasUnitPrice
|
|
@@ -1512,7 +1512,7 @@ var Client = class _Client {
|
|
|
1512
1512
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1513
1513
|
BigInt(sequenceNumber),
|
|
1514
1514
|
aptosPayload,
|
|
1515
|
-
BigInt(
|
|
1515
|
+
BigInt(1e5),
|
|
1516
1516
|
// maxGasAmount
|
|
1517
1517
|
BigInt(100),
|
|
1518
1518
|
// gasUnitPrice
|
|
@@ -1550,7 +1550,7 @@ var Client = class _Client {
|
|
|
1550
1550
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1551
1551
|
BigInt(sequenceNumber),
|
|
1552
1552
|
aptosPayload,
|
|
1553
|
-
BigInt(
|
|
1553
|
+
BigInt(1e5),
|
|
1554
1554
|
// maxGasAmount
|
|
1555
1555
|
BigInt(100),
|
|
1556
1556
|
// gasUnitPrice
|