@nightlylabs/dex-sdk 0.0.57 → 0.0.58
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.js +12 -12
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1212,7 +1212,7 @@ var Client = class _Client {
|
|
|
1212
1212
|
aptosPayload,
|
|
1213
1213
|
BigInt(1e6),
|
|
1214
1214
|
BigInt(100),
|
|
1215
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1215
|
+
BigInt(Math.floor(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);
|
|
@@ -1242,7 +1242,7 @@ var Client = class _Client {
|
|
|
1242
1242
|
aptosPayload,
|
|
1243
1243
|
BigInt(1e6),
|
|
1244
1244
|
BigInt(100),
|
|
1245
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1245
|
+
BigInt(Math.floor(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);
|
|
@@ -1280,7 +1280,7 @@ var Client = class _Client {
|
|
|
1280
1280
|
aptosPayload,
|
|
1281
1281
|
BigInt(1e6),
|
|
1282
1282
|
BigInt(100),
|
|
1283
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1283
|
+
BigInt(Math.floor(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);
|
|
@@ -1317,7 +1317,7 @@ var Client = class _Client {
|
|
|
1317
1317
|
aptosPayload,
|
|
1318
1318
|
BigInt(1e6),
|
|
1319
1319
|
BigInt(100),
|
|
1320
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1320
|
+
BigInt(Math.floor(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);
|
|
@@ -1353,7 +1353,7 @@ var Client = class _Client {
|
|
|
1353
1353
|
aptosPayload,
|
|
1354
1354
|
BigInt(1e6),
|
|
1355
1355
|
BigInt(100),
|
|
1356
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1356
|
+
BigInt(Math.floor(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);
|
|
@@ -1385,7 +1385,7 @@ var Client = class _Client {
|
|
|
1385
1385
|
// maxGasAmount
|
|
1386
1386
|
BigInt(100),
|
|
1387
1387
|
// gasUnitPrice
|
|
1388
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1388
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1389
1389
|
// expirationTimestampSecs
|
|
1390
1390
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1391
1391
|
);
|
|
@@ -1418,7 +1418,7 @@ var Client = class _Client {
|
|
|
1418
1418
|
// maxGasAmount
|
|
1419
1419
|
BigInt(100),
|
|
1420
1420
|
// gasUnitPrice
|
|
1421
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1421
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1422
1422
|
// expirationTimestampSecs
|
|
1423
1423
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1424
1424
|
);
|
|
@@ -1451,7 +1451,7 @@ var Client = class _Client {
|
|
|
1451
1451
|
// maxGasAmount
|
|
1452
1452
|
BigInt(100),
|
|
1453
1453
|
// gasUnitPrice
|
|
1454
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1454
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1455
1455
|
// expirationTimestampSecs
|
|
1456
1456
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1457
1457
|
);
|
|
@@ -1491,7 +1491,7 @@ var Client = class _Client {
|
|
|
1491
1491
|
// maxGasAmount
|
|
1492
1492
|
BigInt(100),
|
|
1493
1493
|
// gasUnitPrice
|
|
1494
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1494
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1495
1495
|
// expirationTimestampSecs
|
|
1496
1496
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1497
1497
|
);
|
|
@@ -1529,7 +1529,7 @@ var Client = class _Client {
|
|
|
1529
1529
|
// maxGasAmount
|
|
1530
1530
|
BigInt(100),
|
|
1531
1531
|
// gasUnitPrice
|
|
1532
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1532
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1533
1533
|
// expirationTimestampSecs
|
|
1534
1534
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1535
1535
|
);
|
|
@@ -1567,7 +1567,7 @@ var Client = class _Client {
|
|
|
1567
1567
|
// maxGasAmount
|
|
1568
1568
|
BigInt(100),
|
|
1569
1569
|
// gasUnitPrice
|
|
1570
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1570
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1571
1571
|
// expirationTimestampSecs
|
|
1572
1572
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1573
1573
|
);
|
|
@@ -1605,7 +1605,7 @@ var Client = class _Client {
|
|
|
1605
1605
|
// maxGasAmount
|
|
1606
1606
|
BigInt(100),
|
|
1607
1607
|
// gasUnitPrice
|
|
1608
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1608
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1609
1609
|
// expirationTimestampSecs
|
|
1610
1610
|
new import_ts_sdk2.ChainId(this._chainId)
|
|
1611
1611
|
);
|
package/dist/index.js
CHANGED
|
@@ -1161,7 +1161,7 @@ var Client = class _Client {
|
|
|
1161
1161
|
aptosPayload,
|
|
1162
1162
|
BigInt(1e6),
|
|
1163
1163
|
BigInt(100),
|
|
1164
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1164
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1165
1165
|
new ChainId(this._chainId)
|
|
1166
1166
|
);
|
|
1167
1167
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1191,7 +1191,7 @@ var Client = class _Client {
|
|
|
1191
1191
|
aptosPayload,
|
|
1192
1192
|
BigInt(1e6),
|
|
1193
1193
|
BigInt(100),
|
|
1194
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1194
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1195
1195
|
new ChainId(this._chainId)
|
|
1196
1196
|
);
|
|
1197
1197
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1229,7 +1229,7 @@ var Client = class _Client {
|
|
|
1229
1229
|
aptosPayload,
|
|
1230
1230
|
BigInt(1e6),
|
|
1231
1231
|
BigInt(100),
|
|
1232
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1232
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1233
1233
|
new ChainId(this._chainId)
|
|
1234
1234
|
);
|
|
1235
1235
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1266,7 +1266,7 @@ var Client = class _Client {
|
|
|
1266
1266
|
aptosPayload,
|
|
1267
1267
|
BigInt(1e6),
|
|
1268
1268
|
BigInt(100),
|
|
1269
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1269
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1270
1270
|
new ChainId(this._chainId)
|
|
1271
1271
|
);
|
|
1272
1272
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1302,7 +1302,7 @@ var Client = class _Client {
|
|
|
1302
1302
|
aptosPayload,
|
|
1303
1303
|
BigInt(1e6),
|
|
1304
1304
|
BigInt(100),
|
|
1305
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1305
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1306
1306
|
new ChainId(this._chainId)
|
|
1307
1307
|
);
|
|
1308
1308
|
const tx = new SimpleTransaction(rawTx, AccountAddress.ZERO);
|
|
@@ -1334,7 +1334,7 @@ var Client = class _Client {
|
|
|
1334
1334
|
// maxGasAmount
|
|
1335
1335
|
BigInt(100),
|
|
1336
1336
|
// gasUnitPrice
|
|
1337
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1337
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1338
1338
|
// expirationTimestampSecs
|
|
1339
1339
|
new ChainId(this._chainId)
|
|
1340
1340
|
);
|
|
@@ -1367,7 +1367,7 @@ var Client = class _Client {
|
|
|
1367
1367
|
// maxGasAmount
|
|
1368
1368
|
BigInt(100),
|
|
1369
1369
|
// gasUnitPrice
|
|
1370
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1370
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1371
1371
|
// expirationTimestampSecs
|
|
1372
1372
|
new ChainId(this._chainId)
|
|
1373
1373
|
);
|
|
@@ -1400,7 +1400,7 @@ var Client = class _Client {
|
|
|
1400
1400
|
// maxGasAmount
|
|
1401
1401
|
BigInt(100),
|
|
1402
1402
|
// gasUnitPrice
|
|
1403
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1403
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1404
1404
|
// expirationTimestampSecs
|
|
1405
1405
|
new ChainId(this._chainId)
|
|
1406
1406
|
);
|
|
@@ -1440,7 +1440,7 @@ var Client = class _Client {
|
|
|
1440
1440
|
// maxGasAmount
|
|
1441
1441
|
BigInt(100),
|
|
1442
1442
|
// gasUnitPrice
|
|
1443
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1443
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1444
1444
|
// expirationTimestampSecs
|
|
1445
1445
|
new ChainId(this._chainId)
|
|
1446
1446
|
);
|
|
@@ -1478,7 +1478,7 @@ var Client = class _Client {
|
|
|
1478
1478
|
// maxGasAmount
|
|
1479
1479
|
BigInt(100),
|
|
1480
1480
|
// gasUnitPrice
|
|
1481
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1481
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1482
1482
|
// expirationTimestampSecs
|
|
1483
1483
|
new ChainId(this._chainId)
|
|
1484
1484
|
);
|
|
@@ -1516,7 +1516,7 @@ var Client = class _Client {
|
|
|
1516
1516
|
// maxGasAmount
|
|
1517
1517
|
BigInt(100),
|
|
1518
1518
|
// gasUnitPrice
|
|
1519
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1519
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1520
1520
|
// expirationTimestampSecs
|
|
1521
1521
|
new ChainId(this._chainId)
|
|
1522
1522
|
);
|
|
@@ -1554,7 +1554,7 @@ var Client = class _Client {
|
|
|
1554
1554
|
// maxGasAmount
|
|
1555
1555
|
BigInt(100),
|
|
1556
1556
|
// gasUnitPrice
|
|
1557
|
-
BigInt(Date.now() / 1e3 + 10),
|
|
1557
|
+
BigInt(Math.floor(Date.now() / 1e3) + 10),
|
|
1558
1558
|
// expirationTimestampSecs
|
|
1559
1559
|
new ChainId(this._chainId)
|
|
1560
1560
|
);
|