@0xsquid/sdk
Advanced tools
Comparing version 1.1.0-beta.7 to 1.1.0-beta.8
@@ -116,4 +116,4 @@ "use strict"; | ||
const response = await this.axiosInstance.get("/v1/sdk-info"); | ||
this.tokens = response.data.data.tokens; | ||
this.chains = response.data.data.chains; | ||
this.tokens = response.data.tokens; | ||
this.chains = response.data.chains; | ||
this.initialized = true; | ||
@@ -245,3 +245,3 @@ } | ||
const response = await this.axiosInstance.get("/v1/status", { params }); | ||
return response.data.data; | ||
return response.data; | ||
} | ||
@@ -248,0 +248,0 @@ async getTokenPrice({ tokenAddress, chainId }) { |
import { ethers } from "ethers"; | ||
export declare enum ChainName { | ||
ETHEREUM = "Ethereum", | ||
ETHEREUM2 = "Ethereum-2", | ||
OSMOSIS = "osmosis", | ||
@@ -5,0 +6,0 @@ OSMOSIS4 = "osmosis-4", |
@@ -7,2 +7,3 @@ "use strict"; | ||
ChainName["ETHEREUM"] = "Ethereum"; | ||
ChainName["ETHEREUM2"] = "Ethereum-2"; | ||
ChainName["OSMOSIS"] = "osmosis"; | ||
@@ -9,0 +10,0 @@ ChainName["OSMOSIS4"] = "osmosis-4"; |
{ | ||
"name": "@0xsquid/sdk", | ||
"version": "1.1.0-beta.7", | ||
"version": "1.1.0-beta.8", | ||
"description": "🛠 An SDK for building applications on top of 0xsquid", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39231
785