Socket
Socket
Sign inDemoInstall

@thorswap-lib/types

Package Overview
Dependencies
0
Maintainers
3
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-development.101 to 1.0.0-development.102

7

dist/index.d.ts

@@ -66,6 +66,7 @@ /// <reference types="node" />

export declare enum ApiUrl {
Cosmos = "https://node-router.thorswap.net/cosmos/rest",
ThornodeMainnet = "https://thornode.thorswap.net",
ThornodeStagenet = "https://stagenet.thornode.thorswap.net",
ThorswapApi = "https://api.thorswap.finance",
ThorswapStatic = "https://static.thorswap.net",
ThornodeMainnet = "https://thornode.thorswap.net",
ThornodeStagenet = "https://stagenet.thornode.thorswap.net"
ThorswapStatic = "https://static.thorswap.net"
}

@@ -72,0 +73,0 @@

@@ -1,4 +0,4 @@

var O = Object.defineProperty;
var h = (e, n, a) => n in e ? O(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a;
var s = (e, n, a) => (h(e, typeof n != "symbol" ? n + "" : n, a), a);
var h = Object.defineProperty;
var O = (e, n, a) => n in e ? h(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a;
var s = (e, n, a) => (O(e, typeof n != "symbol" ? n + "" : n, a), a);
const X = [

@@ -588,3 +588,3 @@ { inputs: [], stateMutability: "nonpayable", type: "constructor" },

];
var u = /* @__PURE__ */ ((e) => (e.Arbitrum = "42161", e.ArbitrumHex = "0xa4b1", e.Avalanche = "43114", e.AvalancheHex = "0xa86a", e.Binance = "Binance-Chain-Tigris", e.BinanceHex = "", e.BinanceSmartChain = "56", e.BinanceSmartChainHex = "0x38", e.Bitcoin = "bitcoin", e.BitcoinHex = "", e.BitcoinCash = "bitcoincash", e.BitcoinCashHex = "", e.Cosmos = "cosmoshub-4", e.CosmosHex = "", e.Dogecoin = "dogecoin", e.DogecoinHex = "", e.Ethereum = "1", e.EthereumHex = "0x1", e.Litecoin = "litecoin", e.LitecoinHex = "", e.Optimism = "10", e.OptimismHex = "0xa", e.Polygon = "137", e.PolygonHex = "0x89", e.THORChain = "thorchain-mainnet-v1", e.THORChainHex = "", e.THORChainStagenet = "thorchain-stagenet-v2", e))(u || {}), I = /* @__PURE__ */ ((e) => (e.Arbitrum = "https://arb1.arbitrum.io/rpc", e.Avalanche = "https://node-router.thorswap.net/avalanche-c", e.Binance = "", e.BinanceSmartChain = "https://bsc-dataseed.binance.org", e.Bitcoin = "https://node-router.thorswap.net/bitcoin", e.BitcoinCash = "https://node-router.thorswap.net/bitcoin-cash", e.Cosmos = "https://node-router.thorswap.net/cosmos/rpc", e.Dogecoin = "https://node-router.thorswap.net/dogecoin", e.Ethereum = "https://node-router.thorswap.net/ethereum", e.Litecoin = "https://node-router.thorswap.net/litecoin", e.Optimism = "https://mainnet.optimism.io", e.Polygon = "https://polygon-rpc.com", e.THORChain = "https://rpc.thorswap.net", e.THORChainStagenet = "https://stagenet-rpc.ninerealms.com", e))(I || {}), v = /* @__PURE__ */ ((e) => (e.ThorswapApi = "https://api.thorswap.finance", e.ThorswapStatic = "https://static.thorswap.net", e.ThornodeMainnet = "https://thornode.thorswap.net", e.ThornodeStagenet = "https://stagenet.thornode.thorswap.net", e))(v || {});
var u = /* @__PURE__ */ ((e) => (e.Arbitrum = "42161", e.ArbitrumHex = "0xa4b1", e.Avalanche = "43114", e.AvalancheHex = "0xa86a", e.Binance = "Binance-Chain-Tigris", e.BinanceHex = "", e.BinanceSmartChain = "56", e.BinanceSmartChainHex = "0x38", e.Bitcoin = "bitcoin", e.BitcoinHex = "", e.BitcoinCash = "bitcoincash", e.BitcoinCashHex = "", e.Cosmos = "cosmoshub-4", e.CosmosHex = "", e.Dogecoin = "dogecoin", e.DogecoinHex = "", e.Ethereum = "1", e.EthereumHex = "0x1", e.Litecoin = "litecoin", e.LitecoinHex = "", e.Optimism = "10", e.OptimismHex = "0xa", e.Polygon = "137", e.PolygonHex = "0x89", e.THORChain = "thorchain-mainnet-v1", e.THORChainHex = "", e.THORChainStagenet = "thorchain-stagenet-v2", e))(u || {}), I = /* @__PURE__ */ ((e) => (e.Arbitrum = "https://arb1.arbitrum.io/rpc", e.Avalanche = "https://node-router.thorswap.net/avalanche-c", e.Binance = "", e.BinanceSmartChain = "https://bsc-dataseed.binance.org", e.Bitcoin = "https://node-router.thorswap.net/bitcoin", e.BitcoinCash = "https://node-router.thorswap.net/bitcoin-cash", e.Cosmos = "https://node-router.thorswap.net/cosmos/rpc", e.Dogecoin = "https://node-router.thorswap.net/dogecoin", e.Ethereum = "https://node-router.thorswap.net/ethereum", e.Litecoin = "https://node-router.thorswap.net/litecoin", e.Optimism = "https://mainnet.optimism.io", e.Polygon = "https://polygon-rpc.com", e.THORChain = "https://rpc.thorswap.net", e.THORChainStagenet = "https://stagenet-rpc.ninerealms.com", e))(I || {}), v = /* @__PURE__ */ ((e) => (e.Cosmos = "https://node-router.thorswap.net/cosmos/rest", e.ThornodeMainnet = "https://thornode.thorswap.net", e.ThornodeStagenet = "https://stagenet.thornode.thorswap.net", e.ThorswapApi = "https://api.thorswap.finance", e.ThorswapStatic = "https://static.thorswap.net", e))(v || {});
const p = Object.values(i), D = Object.keys(i), y = p.reduce(

@@ -591,0 +591,0 @@ (e, n) => {

@@ -8,3 +8,3 @@ {

"vite": "4.4.4",
"@internal/config": "0.0.1-development.1"
"@internal/config": "0.0.1-development.2"
},

@@ -37,3 +37,3 @@ "eslintConfig": {

"types": "./dist/index.d.ts",
"version": "1.0.0-development.101",
"version": "1.0.0-development.102",
"scripts": {

@@ -40,0 +40,0 @@ "build": "echo 'Build types 🛠'; vite build && echo 'Build succeeded types ✅'",

@@ -161,6 +161,7 @@ export enum Chain {

export enum ApiUrl {
Cosmos = 'https://node-router.thorswap.net/cosmos/rest',
ThornodeMainnet = 'https://thornode.thorswap.net',
ThornodeStagenet = 'https://stagenet.thornode.thorswap.net',
ThorswapApi = 'https://api.thorswap.finance',
ThorswapStatic = 'https://static.thorswap.net',
ThornodeMainnet = 'https://thornode.thorswap.net',
ThornodeStagenet = 'https://stagenet.thornode.thorswap.net',
}

@@ -167,0 +168,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc