Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swapkit/types

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swapkit/types - npm Package Compare versions

Comparing version 0.0.0-nightly-20240319084137 to 0.0.0-nightly-20240404074240

dist/index.js

30

package.json
{
"author": "swapkit-oss",
"description": "SwapKit Lib types",
"description": "SwapKit - Types",
"devDependencies": {
"vite": "5.1.6"
"bun-types": "1.1.0"
},
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": [

@@ -20,4 +13,3 @@ "src/",

"license": "Apache-2.0",
"main": "./dist/index.cjs",
"module": "./dist/index.es.js",
"main": "./dist/index.js",
"name": "@swapkit/types",

@@ -29,11 +21,11 @@ "react-native": "./src/index.ts",

},
"type": "module",
"types": "./dist/index.d.ts",
"version": "0.0.0-nightly-20240319084137",
"scripts": {
"build": "vite build",
"clean": "rm -rf dist vite.config.ts.* node_modules",
"build": "bun run ./build.ts",
"clean": "rm -rf .turbo dist node_modules tsconfig.tsbuildinfo",
"lint": "biome check --apply ./src",
"test": "echo 'No tests yet'"
}
}
"type-check": "tsc --noEmit"
},
"type": "module",
"types": "./src/index.ts",
"version": "0.0.0-nightly-20240404074240"
}

@@ -53,3 +53,3 @@ export enum Chain {

export type DerivationPathArray = [number, number, number, number, number];
export type DerivationPathArray = [number, number, number, number, number?];

@@ -237,13 +237,2 @@ export const NetworkDerivationPath: Record<Chain, DerivationPathArray> = {

export enum ApiUrl {
Cosmos = "https://node-router.thorswap.net/cosmos/rest",
Kujira = "https://lcd-kujira.synergynodes.com/",
MayanodeMainnet = "https://mayanode.mayachain.info",
MayanodeStagenet = "https://stagenet.mayanode.mayachain.info",
ThornodeMainnet = "https://thornode.thorswap.net",
ThornodeStagenet = "https://stagenet-thornode.ninerealms.com",
ThorswapApi = "https://api.thorswap.net",
ThorswapStatic = "https://static.thorswap.net",
}
const chains = Object.values(Chain) as Chain[];

@@ -250,0 +239,0 @@ const chainNames = Object.keys(Chain) as ChainNameType[];

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc