@moosty/lisk-connection-provider
Advanced tools
Comparing version 0.0.82 to 0.0.83
@@ -29,3 +29,3 @@ export declare type GetMethods = "get.accounts" | "get.votes_sent" | "get.votes_received" | "get.forgers" | "get.blocks" | "get.transactions" | "get.transactions.statistics" | "get.transactions.schemas" | "get.fees" | "get.peers" | "get.network.status" | "get.network.statistics" | "get.market.prices" | "gateway.spec" | "get.ready" | "get.spec"; | ||
max?: number; | ||
interval?: "day" | "month" | ""; | ||
interval?: "day" | "month"; | ||
moduleAssetId?: string; | ||
@@ -58,5 +58,5 @@ moduleAssetName?: string; | ||
export declare type DelegateStatusTypes = "active" | "standby" | "banned" | "punished" | "non-eligible"; | ||
export declare type DataType = Array<MarketPriceDataType> | Array<AccountDataType> | Array<BlockDataType> | Array<ForgersDataType> | Array<TransactionDataType> | NetworkStatusDataType | VotesReceivedDataType | VotesSentDataType; | ||
export declare type DataListType = Array<MarketPriceDataType> | Array<AccountDataType> | Array<BlockDataType> | Array<ForgersDataType> | Array<TransactionDataType>; | ||
export declare type SingleDataType = VotesReceivedDataType | VotesSentDataType | MarketPriceDataType | AccountDataType | BlockDataType | ForgersDataType | TransactionDataType | NetworkStatusDataType; | ||
export declare type DataType = Array<MarketPriceDataType> | Array<AccountDataType> | Array<BlockDataType> | Array<ForgersDataType> | Array<TransactionDataType> | Array<PeersDataType> | Array<TransactionSchemasDataType> | NetworkStatusDataType | VotesReceivedDataType | VotesSentDataType | NetworkStatisticsDataType | TransactionsStatisticsDataType; | ||
export declare type DataListType = Array<MarketPriceDataType> | Array<AccountDataType> | Array<BlockDataType> | Array<ForgersDataType> | Array<TransactionDataType> | Array<PeersDataType> | Array<TransactionSchemasDataType>; | ||
export declare type SingleDataType = VotesReceivedDataType | VotesSentDataType | MarketPriceDataType | AccountDataType | BlockDataType | ForgersDataType | TransactionDataType | NetworkStatusDataType | NetworkStatisticsDataType | PeersDataType | TransactionSchemasDataType | TransactionsStatisticsDataType; | ||
export interface Envelope { | ||
@@ -68,2 +68,5 @@ data?: DataType | FeeEstimateDataType | VotesSentDataType | VotesReceivedDataType; | ||
offset?: number; | ||
lastUpdate?: number; | ||
lastBlockHeight?: number; | ||
lastBlockId?: string; | ||
}; | ||
@@ -217,2 +220,3 @@ error?: object; | ||
fee: string; | ||
height: number; | ||
nonce: string; | ||
@@ -227,10 +231,62 @@ block: { | ||
publicKey: string; | ||
username: string; | ||
username?: string; | ||
}; | ||
signatures: Array<string>; | ||
confirmations: number; | ||
asset: any; | ||
relays: number; | ||
confirmations?: number; | ||
asset: object | TransferAssetType | VoteDelegateAssetType | RegisterMultiSignatureGroupAssetType | RegisterDelegateAssetType | ReportDelegateMisbehaviorAssetType | ReclaimLSKAssetType | UnlockTokenAssetType; | ||
relays?: number; | ||
isPending: boolean; | ||
} | ||
export interface TransferAssetType { | ||
amount: string; | ||
data?: string; | ||
recipient: { | ||
address: string; | ||
publicKey?: string; | ||
username?: string; | ||
}; | ||
} | ||
export interface VoteDelegateAssetType { | ||
votes: { | ||
delegateAddress: string; | ||
amount: string; | ||
}[]; | ||
} | ||
export interface RegisterDelegateAssetType { | ||
username: string; | ||
} | ||
export interface UnlockTokenAssetType { | ||
unlockObjects: { | ||
delegateAddress: string; | ||
amount: string; | ||
unvoteHeight: number; | ||
}; | ||
} | ||
export interface ReportDelegateMisbehaviorAssetType { | ||
header1: ReportDelegateHeaderType; | ||
header2: ReportDelegateHeaderType; | ||
} | ||
export interface ReportDelegateHeaderType { | ||
version: number; | ||
timestamp: number; | ||
height: number; | ||
previousBlockID: string; | ||
transactionRoot: string; | ||
generatorPublicKey: string; | ||
reward: string; | ||
asset: { | ||
maxHeightPreviouslyForged: number; | ||
maxHeightPrevoted: number; | ||
seedReveal: string; | ||
}; | ||
signature: string; | ||
} | ||
export interface RegisterMultiSignatureGroupAssetType { | ||
numberOfSignatures: number; | ||
mandatoryKeys: string[]; | ||
optionalKeys: string[]; | ||
} | ||
export interface ReclaimLSKAssetType { | ||
amount: string; | ||
} | ||
export interface VotesSentDataType { | ||
@@ -260,1 +316,43 @@ account: { | ||
} | ||
export interface NetworkStatisticsDataType { | ||
basic: { | ||
totalPeers: number; | ||
connectedPeers: number; | ||
disconnectedPeers: number; | ||
}; | ||
height: object; | ||
networkVersion: object; | ||
} | ||
export interface PeersDataType { | ||
ip?: string; | ||
port?: number; | ||
networkVersion?: string; | ||
state?: string; | ||
height?: number; | ||
networkIdentifier?: string; | ||
location?: { | ||
countryCode?: string; | ||
latitude?: string; | ||
longitude?: string; | ||
}; | ||
} | ||
export interface TransactionSchemasDataType { | ||
moduleAssetId: string; | ||
moduleAssetName: string; | ||
schema: { | ||
$id: string; | ||
type: string; | ||
required: string[]; | ||
properties: object; | ||
}; | ||
} | ||
export interface TransactionsStatisticsDataType { | ||
timeline: { | ||
timestamp: number; | ||
date: string; | ||
transactionCount: number; | ||
volume: number; | ||
}[]; | ||
distributionByType: object; | ||
distributionByAmount: object; | ||
} |
{ | ||
"name": "@moosty/lisk-connection-provider", | ||
"version": "0.0.82", | ||
"version": "0.0.83", | ||
"description": "Lisk connection provider component to connect react to Lisk endpoints", | ||
@@ -37,3 +37,3 @@ "author": "Moosty <info@moosty.com>", | ||
}, | ||
"gitHead": "a8600f92deb7f8a2ff1a9ec7bebeca5267c6c903" | ||
"gitHead": "5409b64648ac02d7403ba5a4ae3e87a493d5564e" | ||
} |
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
45227
690