@colony/colony-js-adapter
Advanced tools
Comparing version 1.12.0 to 1.14.0-beta.2
@@ -18,3 +18,3 @@ /* @flow */ | ||
export type { Signature } from './interface/Signature'; | ||
export type { Transaction } from './interface/Transaction'; | ||
export type { Transaction, TransactionRequest } from './interface/Transaction'; | ||
export type { TransactionReceipt } from './interface/TransactionReceipt'; | ||
@@ -21,0 +21,0 @@ export type { TransactionOptions } from './interface/TransactionOptions'; |
@@ -8,3 +8,3 @@ /* @flow */ | ||
import type { Signature } from './Signature'; | ||
import type { Transaction } from './Transaction'; | ||
import type { Transaction, TransactionRequest } from './Transaction'; | ||
import type { TransactionReceipt } from './TransactionReceipt'; | ||
@@ -19,2 +19,3 @@ import type { Wallet } from './Wallet'; | ||
getContract(query: Query): Promise<Contract>; | ||
callTransaction(transaction: TransactionRequest): Promise<string>; | ||
getContractDeployTransaction( | ||
@@ -21,0 +22,0 @@ query: Query, |
@@ -33,3 +33,3 @@ /* @flow */ | ||
callEstimate(functionName: string, args: Array<any>): Promise<BigNumber>; | ||
callTransaction( | ||
sendTransaction( | ||
functionName: string, | ||
@@ -36,0 +36,0 @@ args: Array<any>, |
@@ -21,2 +21,3 @@ /* @flow */ | ||
chainId: string; | ||
call(transaction: $Shape<Transaction>): Promise<string>; | ||
estimateGas(transaction: Transaction): Promise<number>; | ||
@@ -23,0 +24,0 @@ getAddress(): string | Promise<string>; |
@@ -29,2 +29,11 @@ /* @flow */ | ||
export type TransactionRequest = { | ||
data?: $PropertyType<Transaction, 'data'>, | ||
from?: $PropertyType<Transaction, 'from'>, | ||
gasLimit?: $PropertyType<Transaction, 'gasLimit'>, | ||
gasPrice?: $PropertyType<Transaction, 'gasPrice'>, | ||
to?: $PropertyType<Transaction, 'to'>, | ||
value?: $PropertyType<Transaction, 'value'>, | ||
} | ||
export type SignedTransaction = Transaction & { | ||
@@ -31,0 +40,0 @@ r: string, |
@@ -14,2 +14,3 @@ /* @flow */ | ||
logsBloom: string, | ||
reason?: string, | ||
root: string, | ||
@@ -16,0 +17,0 @@ status: number, // 0 => failure, 1 => success |
{ | ||
"name": "@colony/colony-js-adapter", | ||
"version": "1.12.0", | ||
"version": "1.14.0-beta.2", | ||
"description": "ColonyContract adapter interfaces", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "3e2fd620a0daed21a7c00ff072289efaeeb3edc8" | ||
"gitHead": "de2c7f45bd32621c1ab13fc41176b9a38443bc31" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
13101
312
0
1