@typus/typus-perp-sdk 1.0.71 → 1.0.72

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.
@@ -291,7 +291,7 @@ function getAccumulatedUser() {
291
291
  requestData = {
292
292
  timeRange: {
293
293
  start: "now-1h",
294
- end: now(),
294
+ end: "now",
295
295
  step: 3600,
296
296
  timezone: "Asia/Taipei",
297
297
  },
@@ -400,7 +400,7 @@ function getTlpPriceFromSentio(fromTimestamp, toTimestamp) {
400
400
  });
401
401
  }
402
402
  // getVolumeFromSentio();
403
- // getAccumulatedUser();
403
+ // getAccumulatedUser().then((x) => console.log(x));
404
404
  // getTradingVolumeFromSentio(1747008000, 1, 1747011600);
405
405
  // getTlpPriceFromSentio(now() - 3600 * 24 * 30).then((x) => console.dir(x, { depth: null }));
406
406
  // getTotalVolumeFromSentio(now() - 3600 * 24 * 30).then((x) => console.log(x));
package/dist/src/index.js CHANGED
@@ -36,7 +36,7 @@ transactions_1.Transaction.registerGlobalSerializationPlugin("namedPackagesPlugi
36
36
  exports.PERP_PACKAGE_ID = exports.NETWORK == "MAINNET"
37
37
  ? "0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5"
38
38
  : "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9";
39
- exports.PERP_PUBLISHED_AT = exports.NETWORK == "MAINNET" ? "0xaf238f806cef5e86018f9b7243f46b960af84d32a90edb551cb81437b00c1927" : "@typus/perp";
39
+ exports.PERP_PUBLISHED_AT = exports.NETWORK == "MAINNET" ? "0xceddbccc7c674aba60f97104bbe218c59c84f6099d5692a35ec390c5c2dd1131" : "@typus/perp";
40
40
  exports.PERP_PKG_V1 = exports.NETWORK == "MAINNET"
41
41
  ? "0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5"
42
42
  : "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9";
@@ -44,7 +44,7 @@ exports.STAKE_PACKAGE_ID = exports.NETWORK == "MAINNET"
44
44
  ? "0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966"
45
45
  : "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6";
46
46
  exports.STAKE_PUBLISHED_AT = exports.NETWORK == "MAINNET"
47
- ? "0xf980a07d67e379e8d2fa4cfcb24a765df0fc2c09b70be12ff681dcfd6b2b56ac"
47
+ ? "0x7677c52794bdf0f8c6c6e7c38d584e675a04575f5f551e880c36d317fdc5653f"
48
48
  : "0xf8fa4a303118328de2fb53f49a043fa5bf58b84f372db0d1e7cf7b1f1a47d10e";
49
49
  exports.STAKE_PKG_V1 = exports.NETWORK == "MAINNET"
50
50
  ? "0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typus/typus-perp-sdk",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
5
5
  "author": "Typus",
6
6
  "description": "typus perp sdk",