@evmos/provider
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -11,9 +11,29 @@ import { Coin } from './coin'; | ||
export declare function generateEndpointProposals(): string; | ||
export interface BaseProposalContent<T = string> { | ||
'@type': T; | ||
title: string; | ||
description: string; | ||
} | ||
export interface SoftwareUpgradeProposalPlan { | ||
name: string; | ||
time: string; | ||
upgraded_client_state: string; | ||
info: string; | ||
height: string; | ||
} | ||
export interface SoftwareUpgradeProposalContent extends BaseProposalContent<'/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal'> { | ||
plan: SoftwareUpgradeProposalPlan; | ||
} | ||
export interface ParameterChangeProposalParam { | ||
subspace: string; | ||
key: string; | ||
value: string; | ||
} | ||
export interface ParameterChangeProposalContent extends BaseProposalContent<'/cosmos.params.v1beta1.ParameterChangeProposal'> { | ||
changes: ParameterChangeProposalParam[]; | ||
} | ||
export declare type ProposalContent = BaseProposalContent | SoftwareUpgradeProposalContent | ParameterChangeProposalContent; | ||
export interface Proposal { | ||
proposal_id: string; | ||
content: { | ||
'@type': string; | ||
title: string; | ||
description: string; | ||
}; | ||
content: ProposalContent; | ||
status: string; | ||
@@ -20,0 +40,0 @@ final_tally_result: { |
{ | ||
"name": "@evmos/provider", | ||
"description": "Simple provider to query the EVMOS rest api.", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
}, | ||
"dependencies": { | ||
"devDependencies": { | ||
"@types/node": "^17.0.21", | ||
@@ -34,3 +34,3 @@ "link-module-alias": "^1.2.0", | ||
}, | ||
"gitHead": "09da9669022672e0f306b36f383e684dea88dabe", | ||
"gitHead": "163daa731db9dbc5a0e0ec99d791fb982341f986", | ||
"publishConfig": { | ||
@@ -37,0 +37,0 @@ "access": "public" |
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
33897
0
352
3
- Removed@types/node@^17.0.21
- Removedlink-module-alias@^1.2.0
- Removedshx@^0.3.4
- Removed@types/node@17.0.45(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinterpret@1.4.0(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedlink-module-alias@1.2.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedrechoir@0.6.2(transitive)
- Removedresolve@1.22.8(transitive)
- Removedshelljs@0.8.5(transitive)
- Removedshx@0.3.4(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedwrappy@1.0.2(transitive)