Socket
Socket
Sign inDemoInstall

@chain-registry/types

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chain-registry/types - npm Package Compare versions

Comparing version 0.8.0 to 0.10.0

main/registry.js

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [0.10.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.9.0...@chain-registry/types@0.10.0) (2022-09-19)
**Note:** Version bump only for package @chain-registry/types
# [0.9.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.8.0...@chain-registry/types@0.9.0) (2022-09-16)
**Note:** Version bump only for package @chain-registry/types
# [0.8.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.7.1...@chain-registry/types@0.8.0) (2022-09-14)

@@ -8,0 +24,0 @@

@@ -44,2 +44,15 @@ "use strict";

});
});
var _registry = require("./registry");
Object.keys(_registry).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _registry[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _registry[key];
}
});
});

54

package.json
{
"name": "@chain-registry/types",
"version": "0.8.0",
"version": "0.10.0",
"description": "Chain Registry types",

@@ -9,3 +9,2 @@ "author": "Dan Lynch <pyramation@gmail.com>",

"main": "main/index.js",
"module": "module/index.js",
"typings": "types/index.d.ts",

@@ -18,9 +17,6 @@ "directories": {

"types",
"main",
"module"
"main"
],
"scripts": {
"build:main": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"",
"build:module": "cross-env MODULE=true babel src --out-dir module --delete-dir-on-start --extensions \".tsx,.ts,.js\"",
"build": "npm run build:module && npm run build:main",
"build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"",
"build:ts": "tsc --project ./tsconfig.json",

@@ -50,37 +46,37 @@ "buidl": "npm run build && npm run build:ts",

"devDependencies": {
"@babel/cli": "7.17.10",
"@babel/core": "7.18.5",
"@babel/eslint-parser": "^7.18.2",
"@babel/node": "^7.18.5",
"@babel/plugin-proposal-class-properties": "7.17.12",
"@babel/plugin-proposal-export-default-from": "7.17.12",
"@babel/plugin-proposal-object-rest-spread": "7.18.0",
"@babel/plugin-transform-runtime": "7.18.5",
"@babel/preset-env": "7.18.2",
"@babel/cli": "7.18.10",
"@babel/core": "7.19.1",
"@babel/eslint-parser": "^7.19.1",
"@babel/node": "^7.19.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@babel/plugin-proposal-object-rest-spread": "7.18.9",
"@babel/plugin-transform-runtime": "7.19.1",
"@babel/preset-env": "7.19.1",
"@babel/preset-typescript": "^7.17.12",
"@types/jest": "^28.1.1",
"@typescript-eslint/eslint-plugin": "5.31.0",
"@typescript-eslint/parser": "5.31.0",
"@types/jest": "^29.0.2",
"@typescript-eslint/eslint-plugin": "5.37.0",
"@typescript-eslint/parser": "5.37.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "28.1.1",
"babel-jest": "29.0.3",
"babel-watch": "^7.0.0",
"cross-env": "^7.0.2",
"eslint": "8.20.0",
"eslint": "8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-simple-import-sort": "8.0.0",
"eslint-plugin-unused-imports": "2.0.0",
"jest": "^28.1.1",
"jest": "^29.0.3",
"long": "^5.2.0",
"prettier": "^2.7.0",
"regenerator-runtime": "^0.13.7",
"ts-jest": "^28.0.5",
"typescript": "^4.7.3"
"ts-jest": "^29.0.1",
"typescript": "^4.8.3"
},
"dependencies": {
"@babel/runtime": "^7.18.3",
"@keplr-wallet/cosmos": "^0.10.3",
"@keplr-wallet/crypto": "^0.10.11"
"@babel/runtime": "^7.19.0",
"@keplr-wallet/cosmos": "^0.10.24",
"@keplr-wallet/crypto": "^0.10.24"
},
"gitHead": "575412fbde449162dde31367a463890193ce7efe"
"gitHead": "85c4d099a79b176a95e488af82b4b6b365c03732"
}

@@ -6,2 +6,34 @@ export interface AssetDenomUnit {

}
export interface LiquidStakeTrace {
type: 'liquid-stake';
asset: {
platform?: string;
base_denom: string;
};
provider: string;
}
export interface SyntheicTrace {
type: 'synthetic';
asset: {
platform?: string;
base_denom: string;
};
provider: string;
}
export interface BridgeTrace {
type: 'bridge';
asset: {
platform?: string;
base_denom: string;
};
provider: string;
}
export interface WrapTrace {
type: 'wrapping';
asset: {
platform?: string;
base_denom: string;
};
provider: string;
}
export interface IBCTrace {

@@ -20,2 +52,16 @@ type: 'ibc';

}
export interface IBCCw20Trace {
type: 'ibc-cw20';
counterparty: {
port: string;
channel: string;
denom: string;
chain_name: string;
};
chain: {
port: string;
channel: string;
};
}
export declare type AssetTrace = IBCCw20Trace | IBCTrace | SyntheicTrace | LiquidStakeTrace | BridgeTrace;
export interface Asset {

@@ -36,3 +82,3 @@ description?: string;

keywords?: string[];
traces?: IBCTrace[];
traces?: AssetTrace[];
ibc?: {

@@ -39,0 +85,0 @@ source_channel?: string;

@@ -6,3 +6,3 @@ export interface Chain {

network_type: string;
updatelink?: string;
update_link?: string;
pretty_name: string;

@@ -22,2 +22,3 @@ chain_id: string;

svg?: string;
jpeg?: string;
};

@@ -39,11 +40,12 @@ fees?: {

explorers?: {
kind: string;
url: string;
tx_page: string;
name?: string;
kind?: string;
url?: string;
tx_page?: string;
account_page?: string;
}[];
codebase?: {
git_repo: string;
recommended_version: string;
compatible_versions: string[];
git_repo?: string;
recommended_version?: string;
compatible_versions?: string[];
binaries?: Record<string, string>;

@@ -54,6 +56,17 @@ cosmos_sdk_version?: string;

cosmwasm_enabled?: boolean;
genesis?: {
tag?: string;
name?: string;
genesis_url?: string;
};
versions?: {
name?: string;
tag?: string;
height?: number;
next_version_name?: string;
}[];
};
peers?: {
seeds: any[];
persistent_peers: {
seeds?: any[];
persistent_peers?: {
id: string;

@@ -65,16 +78,33 @@ address: string;

apis?: {
rpc: {
rpc?: {
address: string;
provider?: string;
archive?: boolean;
}[];
rest: {
rest?: {
address: string;
provider?: string;
}[];
grpc: {
grpc?: {
address: string;
provider?: string;
}[];
'evm-http-jsonrpc'?: {
address: string;
provider?: string;
}[];
'grpc-web'?: {
address: string;
provider?: string;
}[];
sidechains_rpc?: {
address: string;
provider?: string;
}[];
[key: string]: {
address: string;
provider?: string;
}[];
};
}
export declare type Chains = Chain[];
export * from './assets';
export * from './chains';
export * from './ibc';
export * from './registry';
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