Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colony/colony-js-adapter

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colony/colony-js-adapter - npm Package Compare versions

Comparing version 1.12.0 to 1.14.0-beta.2

2

index.js

@@ -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"
}
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