Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
version .19 now working with apk&jar v0.98.14..
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnemr committed Apr 27, 2021
2 parents 275fb1e + 6add963 commit a94d14c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minima",
"version": "0.96.16",
"version": "0.96.19",
"description": "Access the Minima blockchain",
"main": "dist/minima.js",
"scripts": {
Expand Down
21 changes: 15 additions & 6 deletions src/minima.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface Token {
sendable: string;
unconfirmed: string;
confirmed: string;
decimals: string;
mempool: string;
coinid?: string;
totalamount?: string;
Expand Down Expand Up @@ -39,8 +40,8 @@ export interface NetworkStatus {
lasttime: string;
cascade: string;
difficulty: string;
coindb: number;
txpowdb: number;
ram: string;
mempooltxn: number;
mempoolcoins: number;
chainspeed: number;
Expand All @@ -63,7 +64,7 @@ export interface Coin {
amount: string;
tokenid: string;
floating: boolean;
remainder: boolean;
storestate: boolean
}
export interface MMRProof {
blocktime: string;
Expand Down Expand Up @@ -103,7 +104,6 @@ interface Proof {
interface Witness {
signatures: SignatureWitness[];
mmrproofs: MMRProof[];
proof: Proof;
tokens: [];
scripts: Script[];
}
Expand Down Expand Up @@ -132,6 +132,10 @@ interface TransactionInput {
amount: string;
tokenid: string;
floating: boolean;
<<<<<<< HEAD
=======
storestate: boolean;
>>>>>>> development
}
interface TransactionOutput {
coinid: string;
Expand All @@ -140,6 +144,10 @@ interface TransactionOutput {
amount: string;
tokenid: string;
floating: boolean;
<<<<<<< HEAD
=======
storestate: boolean;
>>>>>>> development
}
interface Transaction {
inputs: TransactionInput[];
Expand Down Expand Up @@ -171,8 +179,9 @@ interface TransactionHeader {
parentchainid: string;
mmr: string;
total: string;
mmrpeaks: string;
nonce: string;
timesecs: number;
timemilli: string;
date: string;
}
interface Txpow {
Expand All @@ -197,11 +206,11 @@ interface TokenGenerator {
icon: string;
proof: string;
total: string;
decimals: string;
script: string;
coinid: string;
totalamount: string;
scale: string;
scalefactor: string;
}
export interface CompleteTransaction {
txpow: Txpow;
Expand Down Expand Up @@ -918,4 +927,4 @@ function MinimaCreateNotification(text: string, bgcolor: string = "#bbbbbb"): vo
}
}

export { Minima }
export { Minima }

0 comments on commit a94d14c

Please sign in to comment.