@kaspacom/swap-sdk 1.1.16 → 1.1.18

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 CHANGED
@@ -1562,7 +1562,6 @@ var SwapService = class {
1562
1562
  amountOut = String((0, import_ethers2.parseUnits)(targetAmount, buyToken.decimals));
1563
1563
  } else {
1564
1564
  amountOut = String(await this.getAmountsOut(sellAmountWei, pathAddresses));
1565
- console.log("getAmountsOut", amountOut);
1566
1565
  amountIn = String((0, import_ethers2.parseUnits)(targetAmount, sellToken.decimals));
1567
1566
  }
1568
1567
  let amounts = {
@@ -2097,7 +2096,7 @@ var NETWORKS = {
2097
2096
  routerAddress: "0x81Cc4e7DbC652ec9168Bc2F4435C02d7F315148e",
2098
2097
  factoryAddress: "0x89d5842017ceA7dd18D10EE6c679cE199d2aD99E",
2099
2098
  proxyAddress: "0x5B7e7830851816f8ad968B0e0c336bd50b4860Ad",
2100
- graphEndpoint: "https://dev-graph-kasplex.kaspa.com/subgraphs/name/kasplex-testnet-new-v2-core",
2099
+ graphEndpoint: "https://dev-graph-kasplex.kaspa.com/subgraphs/name/kasplex-testnet-kas-new-v2-core",
2101
2100
  blockExplorerUrl: "https://explorer.testnet.kasplextest.xyz",
2102
2101
  additionalJsonRpcApiProviderOptionsOptions: {
2103
2102
  batchMaxCount: 1,
@@ -2115,7 +2114,8 @@ var NETWORKS = {
2115
2114
  decimals: 18,
2116
2115
  name: "Kasplex Kaspa",
2117
2116
  symbol: "KAS"
2118
- }
2117
+ },
2118
+ isTestnet: true
2119
2119
  },
2120
2120
  "kasplex": {
2121
2121
  name: "Kasplex",
@@ -2124,7 +2124,7 @@ var NETWORKS = {
2124
2124
  routerAddress: "0x3a1f0bD164fe9D8fa18Da5abAB352dC634CA5F10",
2125
2125
  factoryAddress: "0xa9CBa43A407c9Eb30933EA21f7b9D74A128D613c",
2126
2126
  proxyAddress: "0x4c5BEaAE83577E3a117ce2F477fC42a1EA39A8a3",
2127
- graphEndpoint: "https://graph-kasplex.kaspa.com/subgraphs/name/kasplex-v2-core",
2127
+ graphEndpoint: "https://graph-kasplex.kaspa.com/subgraphs/name/kasplex-kas-v2-core",
2128
2128
  blockExplorerUrl: "https://explorer.kasplex.org",
2129
2129
  additionalJsonRpcApiProviderOptionsOptions: {
2130
2130
  batchMaxCount: 1,