@nightlylabs/dex-sdk 0.0.55 → 0.0.57
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 +24 -24
- package/dist/index.js +24 -24
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1210,9 +1210,9 @@ 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(1e6),
|
|
1214
1214
|
BigInt(100),
|
|
1215
|
-
BigInt(Date.now() + 10
|
|
1215
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1216
1216
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1217
1217
|
);
|
|
1218
1218
|
const tx = new import_ts_sdk2.SimpleTransaction(rawTx, import_ts_sdk2.AccountAddress.ZERO);
|
|
@@ -1240,9 +1240,9 @@ 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(1e6),
|
|
1244
1244
|
BigInt(100),
|
|
1245
|
-
BigInt(Date.now() + 10
|
|
1245
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1246
1246
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1247
1247
|
);
|
|
1248
1248
|
const tx = new import_ts_sdk2.SimpleTransaction(rawTx, import_ts_sdk2.AccountAddress.ZERO);
|
|
@@ -1278,9 +1278,9 @@ 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(1e6),
|
|
1282
1282
|
BigInt(100),
|
|
1283
|
-
BigInt(Date.now() + 10
|
|
1283
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1284
1284
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1285
1285
|
);
|
|
1286
1286
|
const tx = new import_ts_sdk2.SimpleTransaction(rawTx, import_ts_sdk2.AccountAddress.ZERO);
|
|
@@ -1315,9 +1315,9 @@ 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(1e6),
|
|
1319
1319
|
BigInt(100),
|
|
1320
|
-
BigInt(Date.now() + 10
|
|
1320
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1321
1321
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1322
1322
|
);
|
|
1323
1323
|
const tx = new import_ts_sdk2.SimpleTransaction(rawTx, import_ts_sdk2.AccountAddress.ZERO);
|
|
@@ -1351,9 +1351,9 @@ 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(1e6),
|
|
1355
1355
|
BigInt(100),
|
|
1356
|
-
BigInt(Date.now() + 10
|
|
1356
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1357
1357
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1358
1358
|
);
|
|
1359
1359
|
const tx = new import_ts_sdk2.SimpleTransaction(rawTx, import_ts_sdk2.AccountAddress.ZERO);
|
|
@@ -1381,11 +1381,11 @@ 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(1e6),
|
|
1385
1385
|
// maxGasAmount
|
|
1386
1386
|
BigInt(100),
|
|
1387
1387
|
// gasUnitPrice
|
|
1388
|
-
BigInt(Date.now() + 10
|
|
1388
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1389
1389
|
// expirationTimestampSecs
|
|
1390
1390
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1391
1391
|
);
|
|
@@ -1414,11 +1414,11 @@ 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(1e6),
|
|
1418
1418
|
// maxGasAmount
|
|
1419
1419
|
BigInt(100),
|
|
1420
1420
|
// gasUnitPrice
|
|
1421
|
-
BigInt(Date.now() + 10
|
|
1421
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1422
1422
|
// expirationTimestampSecs
|
|
1423
1423
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1424
1424
|
);
|
|
@@ -1447,11 +1447,11 @@ 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(1e6),
|
|
1451
1451
|
// maxGasAmount
|
|
1452
1452
|
BigInt(100),
|
|
1453
1453
|
// gasUnitPrice
|
|
1454
|
-
BigInt(Date.now() + 10
|
|
1454
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1455
1455
|
// expirationTimestampSecs
|
|
1456
1456
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1457
1457
|
);
|
|
@@ -1487,11 +1487,11 @@ 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(1e6),
|
|
1491
1491
|
// maxGasAmount
|
|
1492
1492
|
BigInt(100),
|
|
1493
1493
|
// gasUnitPrice
|
|
1494
|
-
BigInt(Date.now() + 10
|
|
1494
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1495
1495
|
// expirationTimestampSecs
|
|
1496
1496
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1497
1497
|
);
|
|
@@ -1525,11 +1525,11 @@ 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(1e6),
|
|
1529
1529
|
// maxGasAmount
|
|
1530
1530
|
BigInt(100),
|
|
1531
1531
|
// gasUnitPrice
|
|
1532
|
-
BigInt(Date.now() + 10
|
|
1532
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1533
1533
|
// expirationTimestampSecs
|
|
1534
1534
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1535
1535
|
);
|
|
@@ -1563,11 +1563,11 @@ 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(1e6),
|
|
1567
1567
|
// maxGasAmount
|
|
1568
1568
|
BigInt(100),
|
|
1569
1569
|
// gasUnitPrice
|
|
1570
|
-
BigInt(Date.now() + 10
|
|
1570
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1571
1571
|
// expirationTimestampSecs
|
|
1572
1572
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1573
1573
|
);
|
|
@@ -1601,11 +1601,11 @@ 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(1e6),
|
|
1605
1605
|
// maxGasAmount
|
|
1606
1606
|
BigInt(100),
|
|
1607
1607
|
// gasUnitPrice
|
|
1608
|
-
BigInt(Date.now() + 10
|
|
1608
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1609
1609
|
// expirationTimestampSecs
|
|
1610
1610
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1611
1611
|
);
|
package/dist/index.js
CHANGED
|
@@ -1159,9 +1159,9 @@ var Client = class _Client {
|
|
|
1159
1159
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1160
1160
|
BigInt(sequenceNumber),
|
|
1161
1161
|
aptosPayload,
|
|
1162
|
-
BigInt(
|
|
1162
|
+
BigInt(1e6),
|
|
1163
1163
|
BigInt(100),
|
|
1164
|
-
BigInt(Date.now() + 10
|
|
1164
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1165
1165
|
new ChainId(this._chainId)
|
|
1166
1166
|
);
|
|
1167
1167
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1189,9 +1189,9 @@ var Client = class _Client {
|
|
|
1189
1189
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1190
1190
|
BigInt(sequenceNumber),
|
|
1191
1191
|
aptosPayload,
|
|
1192
|
-
BigInt(
|
|
1192
|
+
BigInt(1e6),
|
|
1193
1193
|
BigInt(100),
|
|
1194
|
-
BigInt(Date.now() + 10
|
|
1194
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1195
1195
|
new ChainId(this._chainId)
|
|
1196
1196
|
);
|
|
1197
1197
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1227,9 +1227,9 @@ var Client = class _Client {
|
|
|
1227
1227
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1228
1228
|
BigInt(sequenceNumber),
|
|
1229
1229
|
aptosPayload,
|
|
1230
|
-
BigInt(
|
|
1230
|
+
BigInt(1e6),
|
|
1231
1231
|
BigInt(100),
|
|
1232
|
-
BigInt(Date.now() + 10
|
|
1232
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1233
1233
|
new ChainId(this._chainId)
|
|
1234
1234
|
);
|
|
1235
1235
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1264,9 +1264,9 @@ var Client = class _Client {
|
|
|
1264
1264
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1265
1265
|
BigInt(sequenceNumber),
|
|
1266
1266
|
aptosPayload,
|
|
1267
|
-
BigInt(
|
|
1267
|
+
BigInt(1e6),
|
|
1268
1268
|
BigInt(100),
|
|
1269
|
-
BigInt(Date.now() + 10
|
|
1269
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1270
1270
|
new ChainId(this._chainId)
|
|
1271
1271
|
);
|
|
1272
1272
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1300,9 +1300,9 @@ var Client = class _Client {
|
|
|
1300
1300
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1301
1301
|
BigInt(sequenceNumber),
|
|
1302
1302
|
aptosPayload,
|
|
1303
|
-
BigInt(
|
|
1303
|
+
BigInt(1e6),
|
|
1304
1304
|
BigInt(100),
|
|
1305
|
-
BigInt(Date.now() + 10
|
|
1305
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1306
1306
|
new ChainId(this._chainId)
|
|
1307
1307
|
);
|
|
1308
1308
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1330,11 +1330,11 @@ var Client = class _Client {
|
|
|
1330
1330
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1331
1331
|
BigInt(sequenceNumber),
|
|
1332
1332
|
aptosPayload,
|
|
1333
|
-
BigInt(
|
|
1333
|
+
BigInt(1e6),
|
|
1334
1334
|
// maxGasAmount
|
|
1335
1335
|
BigInt(100),
|
|
1336
1336
|
// gasUnitPrice
|
|
1337
|
-
BigInt(Date.now() + 10
|
|
1337
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1338
1338
|
// expirationTimestampSecs
|
|
1339
1339
|
new ChainId(this._chainId)
|
|
1340
1340
|
);
|
|
@@ -1363,11 +1363,11 @@ var Client = class _Client {
|
|
|
1363
1363
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1364
1364
|
BigInt(sequenceNumber),
|
|
1365
1365
|
aptosPayload,
|
|
1366
|
-
BigInt(
|
|
1366
|
+
BigInt(1e6),
|
|
1367
1367
|
// maxGasAmount
|
|
1368
1368
|
BigInt(100),
|
|
1369
1369
|
// gasUnitPrice
|
|
1370
|
-
BigInt(Date.now() + 10
|
|
1370
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1371
1371
|
// expirationTimestampSecs
|
|
1372
1372
|
new ChainId(this._chainId)
|
|
1373
1373
|
);
|
|
@@ -1396,11 +1396,11 @@ var Client = class _Client {
|
|
|
1396
1396
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1397
1397
|
BigInt(sequenceNumber),
|
|
1398
1398
|
aptosPayload,
|
|
1399
|
-
BigInt(
|
|
1399
|
+
BigInt(1e6),
|
|
1400
1400
|
// maxGasAmount
|
|
1401
1401
|
BigInt(100),
|
|
1402
1402
|
// gasUnitPrice
|
|
1403
|
-
BigInt(Date.now() + 10
|
|
1403
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1404
1404
|
// expirationTimestampSecs
|
|
1405
1405
|
new ChainId(this._chainId)
|
|
1406
1406
|
);
|
|
@@ -1436,11 +1436,11 @@ var Client = class _Client {
|
|
|
1436
1436
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1437
1437
|
BigInt(sequenceNumber),
|
|
1438
1438
|
aptosPayload,
|
|
1439
|
-
BigInt(
|
|
1439
|
+
BigInt(1e6),
|
|
1440
1440
|
// maxGasAmount
|
|
1441
1441
|
BigInt(100),
|
|
1442
1442
|
// gasUnitPrice
|
|
1443
|
-
BigInt(Date.now() + 10
|
|
1443
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1444
1444
|
// expirationTimestampSecs
|
|
1445
1445
|
new ChainId(this._chainId)
|
|
1446
1446
|
);
|
|
@@ -1474,11 +1474,11 @@ var Client = class _Client {
|
|
|
1474
1474
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1475
1475
|
BigInt(sequenceNumber),
|
|
1476
1476
|
aptosPayload,
|
|
1477
|
-
BigInt(
|
|
1477
|
+
BigInt(1e6),
|
|
1478
1478
|
// maxGasAmount
|
|
1479
1479
|
BigInt(100),
|
|
1480
1480
|
// gasUnitPrice
|
|
1481
|
-
BigInt(Date.now() + 10
|
|
1481
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1482
1482
|
// expirationTimestampSecs
|
|
1483
1483
|
new ChainId(this._chainId)
|
|
1484
1484
|
);
|
|
@@ -1512,11 +1512,11 @@ var Client = class _Client {
|
|
|
1512
1512
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1513
1513
|
BigInt(sequenceNumber),
|
|
1514
1514
|
aptosPayload,
|
|
1515
|
-
BigInt(
|
|
1515
|
+
BigInt(1e6),
|
|
1516
1516
|
// maxGasAmount
|
|
1517
1517
|
BigInt(100),
|
|
1518
1518
|
// gasUnitPrice
|
|
1519
|
-
BigInt(Date.now() + 10
|
|
1519
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1520
1520
|
// expirationTimestampSecs
|
|
1521
1521
|
new ChainId(this._chainId)
|
|
1522
1522
|
);
|
|
@@ -1550,11 +1550,11 @@ var Client = class _Client {
|
|
|
1550
1550
|
AccountAddress.from(this._apiKey.accountAddress),
|
|
1551
1551
|
BigInt(sequenceNumber),
|
|
1552
1552
|
aptosPayload,
|
|
1553
|
-
BigInt(
|
|
1553
|
+
BigInt(1e6),
|
|
1554
1554
|
// maxGasAmount
|
|
1555
1555
|
BigInt(100),
|
|
1556
1556
|
// gasUnitPrice
|
|
1557
|
-
BigInt(Date.now() + 10
|
|
1557
|
+
BigInt(Date.now() / 1e3 + 10),
|
|
1558
1558
|
// expirationTimestampSecs
|
|
1559
1559
|
new ChainId(this._chainId)
|
|
1560
1560
|
);
|