Socket
Socket
Sign inDemoInstall

@keplr-wallet/types

Package Overview
Dependencies
Maintainers
1
Versions
555
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keplr-wallet/types - npm Package Compare versions

Comparing version 0.8.0 to 0.8.2

19

build/currency.d.ts

@@ -29,5 +29,22 @@ /**

/**
* IBCCurrency is the currency that is sent from the other chain via IBC.
* This will be handled as similar to the native currency.
* But, this has more information abounr IBC channel and paths.
*/
export interface IBCCurrency extends Currency {
readonly paths: {
portId: string;
channelId: string;
}[];
/**
* The chain id that the currency is from.
* If that chain is unknown, this will be undefined.
*/
readonly originChainId: string | undefined;
readonly originCurrency: Currency | undefined;
}
/**
* Any type of currency that Kepler applications can support.
*/
export declare type AppCurrency = Currency | CW20Currency | Secret20Currency;
export declare type AppCurrency = Currency | CW20Currency | Secret20Currency | IBCCurrency;
export interface FiatCurrency {

@@ -34,0 +51,0 @@ readonly currency: string;

4

package.json
{
"name": "@keplr-wallet/types",
"version": "0.8.0",
"version": "0.8.2",
"main": "build/index.js",

@@ -29,3 +29,3 @@ "author": "chainapsis",

},
"gitHead": "88359c7d49f32cc3a294575c7767c43b369ee218"
"gitHead": "2ef99c3ee03b7072189f61f81e11d0ccfe10e07f"
}

@@ -32,5 +32,27 @@ /**

/**
* IBCCurrency is the currency that is sent from the other chain via IBC.
* This will be handled as similar to the native currency.
* But, this has more information abounr IBC channel and paths.
*/
export interface IBCCurrency extends Currency {
readonly paths: {
portId: string;
channelId: string;
}[];
/**
* The chain id that the currency is from.
* If that chain is unknown, this will be undefined.
*/
readonly originChainId: string | undefined;
readonly originCurrency: Currency | undefined;
}
/**
* Any type of currency that Kepler applications can support.
*/
export type AppCurrency = Currency | CW20Currency | Secret20Currency;
export type AppCurrency =
| Currency
| CW20Currency
| Secret20Currency
| IBCCurrency;

@@ -37,0 +59,0 @@ export interface FiatCurrency {

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