aftermath-ts-sdk 1.0.4 → 1.0.5

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.
@@ -56,9 +56,9 @@ class IndexerCaller {
56
56
  if (network === "MAINNET")
57
57
  return "http://15.204.90.115:8083";
58
58
  if (network === "TESTNET")
59
- return "http://15.204.90.115:8083";
59
+ return "http://15.204.90.115:8086";
60
60
  if (network === "DEVNET")
61
- return "http://15.204.90.115:8083";
61
+ return "http://15.204.90.115:9986";
62
62
  if (network === "LOCAL")
63
63
  return "http://localhost:8080";
64
64
  const safeUrl = network.slice(-1) === "/" ? network.slice(0, -1) : network;
@@ -418,7 +418,7 @@ TurbosApi.otherCoinInPool = (inputs) => {
418
418
  // Casting
419
419
  // =========================================================================
420
420
  TurbosApi.partialPoolFromSuiObjectResponse = (data) => {
421
- const fields = utils_1.Helpers.getObjectFields(data).fields.value.fields;
421
+ const fields = utils_1.Helpers.getObjectFields(data).value.fields;
422
422
  return {
423
423
  id: fields.pool_id,
424
424
  coinTypeA: utils_1.Helpers.addLeadingZeroesToType("0x" + fields.coin_type_a.fields.name),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aftermath-ts-sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Aftermath TypeScript SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",