@sonarwatch/portfolio-plugins 0.12.39 → 0.12.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/CHANGELOG.md +1863 -1855
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/Cache.js +2 -7
  5. package/src/Cache.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/bonkrewards/constants.js +1 -1
  8. package/src/plugins/bonkrewards/constants.js.map +1 -1
  9. package/src/plugins/cropper/constants.js +1 -1
  10. package/src/plugins/cropper/constants.js.map +1 -1
  11. package/src/plugins/drift/constants.d.ts +1 -0
  12. package/src/plugins/drift/constants.js +2 -1
  13. package/src/plugins/drift/constants.js.map +1 -1
  14. package/src/plugins/drift/depositsFetcher.js +3 -10
  15. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  16. package/src/plugins/drift/perpHelpers/constants.d.ts +1 -0
  17. package/src/plugins/drift/perpHelpers/constants.js +95 -1
  18. package/src/plugins/drift/perpHelpers/constants.js.map +1 -1
  19. package/src/plugins/drift/perpHelpers/getMintFromOracle.d.ts +2 -0
  20. package/src/plugins/drift/perpHelpers/getMintFromOracle.js +40 -0
  21. package/src/plugins/drift/perpHelpers/getMintFromOracle.js.map +1 -0
  22. package/src/plugins/drift/spotMarketsJob.js +10 -0
  23. package/src/plugins/drift/spotMarketsJob.js.map +1 -1
  24. package/src/plugins/flowx/constants.js +1 -1
  25. package/src/plugins/flowx/constants.js.map +1 -1
  26. package/src/plugins/kriya/constants.js +1 -1
  27. package/src/plugins/kriya/constants.js.map +1 -1
  28. package/src/plugins/meteora/dlmmHelper.js +17 -31
  29. package/src/plugins/meteora/dlmmHelper.js.map +1 -1
  30. package/src/plugins/meteora/dlmmPositionsFetcher.js +27 -5
  31. package/src/plugins/meteora/dlmmPositionsFetcher.js.map +1 -1
  32. package/src/plugins/meteora/poolsJob.js +3 -5
  33. package/src/plugins/meteora/poolsJob.js.map +1 -1
  34. package/src/plugins/phoenix/helpers/deserializeMarketData.js +5 -11
  35. package/src/plugins/phoenix/helpers/deserializeMarketData.js.map +1 -1
  36. package/src/plugins/sushiswap/helpers.js +24 -24
  37. package/src/plugins/uniswap-v2/helpers.js +22 -22
  38. package/src/plugins/zeta/airdropFetcher.js +3 -2
  39. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  40. package/src/utils/misc/arrayToMap.js +2 -0
  41. package/src/utils/misc/arrayToMap.js.map +1 -1
  42. package/src/utils/misc/toBN.d.ts +3 -0
  43. package/src/utils/misc/toBN.js +22 -0
  44. package/src/utils/misc/toBN.js.map +1 -0
  45. package/src/utils/sei/constants.js +8 -8
  46. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
4
- exports.infoQueryMsg = JSON.parse(`{
5
- "info": {}
4
+ exports.infoQueryMsg = JSON.parse(`{
5
+ "info": {}
6
6
  }`);
7
- exports.tokenInfoQueryMsg = JSON.parse(`{
8
- "token_info": {}
7
+ exports.tokenInfoQueryMsg = JSON.parse(`{
8
+ "token_info": {}
9
9
  }`);
10
- exports.minterQueryMsg = JSON.parse(`{
11
- "minter": {}
10
+ exports.minterQueryMsg = JSON.parse(`{
11
+ "minter": {}
12
12
  }`);
13
- exports.poolQueryMsg = JSON.parse(`{
14
- "pool": {}
13
+ exports.poolQueryMsg = JSON.parse(`{
14
+ "pool": {}
15
15
  }`);
16
16
  //# sourceMappingURL=constants.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function getQueryBalanceByOwner(owner) {
4
- return JSON.parse(`{
5
- "balance": {
6
- "address": "${owner}"
7
- }
4
+ return JSON.parse(`{
5
+ "balance": {
6
+ "address": "${owner}"
7
+ }
8
8
  }`);
9
9
  }
10
10
  exports.default = getQueryBalanceByOwner;