Skip to content

Commit

Permalink
Updated dist files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 30, 2020
1 parent 41e66ab commit c29d20c
Show file tree
Hide file tree
Showing 41 changed files with 1,259 additions and 654 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ Changelog
=========

This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
During the v5-BETA, although attempts are made to minimize it, some of the APIs
may change. It is generally recommended that you remove your `node_modules/`,
`package-lock.json` (and similar files for yarn, etc.) and doing an `npm install`
after upgrading to a newer version of the v5-BETA.


ethers/v5.0.0-beta.189 (2020-05-29 21:25)
-----------------------------------------

- Simplify typing for properties module. ([41e66ab](https://github.com/ethers-io/ethers.js/commit/41e66ab834e9835807481658a7956207edfef3d7))
- Refactor Contract away from monolithic runMethod. ([e5a1b4d](https://github.com/ethers-io/ethers.js/commit/e5a1b4d5cbbaa0a8ce64c72e13d0d12fa2b856e3))
- Correctly set last emitted block for WebSocketProvider. ([#856](https://github.com/ethers-io/ethers.js/issues/856); [1b0ad5a](https://github.com/ethers-io/ethers.js/commit/1b0ad5aa69327f80c7814069142965914673dc06))
- Fixed delayed network detection attempting to overwrite read-only value. ([#854](https://github.com/ethers-io/ethers.js/issues/854); [8efd8d2](https://github.com/ethers-io/ethers.js/commit/8efd8d203158ebdef040ec759c3b423312a86e7c))
- Better WebSocket compatibilities with Parity. ([#849](https://github.com/ethers-io/ethers.js/issues/849); [180a1af](https://github.com/ethers-io/ethers.js/commit/180a1aff3adc5b4af3a1349b52666ca5942c92a2))

ethers/v5.0.0-beta.188 (2020-05-21 00:02)
-----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "contracts/5.0.0-beta.153";
export declare const version = "contracts/5.0.0-beta.154";
2 changes: 1 addition & 1 deletion packages/contracts/lib.esm/_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "contracts/5.0.0-beta.153";
export const version = "contracts/5.0.0-beta.154";
39 changes: 25 additions & 14 deletions packages/contracts/lib.esm/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export interface CallOverrides extends PayableOverrides {
blockTag?: BlockTag | Promise<BlockTag>;
from?: string | Promise<string>;
}
export declare type ContractFunction = (...params: Array<any>) => Promise<any>;
export declare type EventFilter = {
address?: string;
topics?: Array<string>;
topics?: Array<string | Array<string>>;
};
export declare type ContractFunction<T = any> = (...args: Array<any>) => Promise<T>;
export interface Event extends Log {
event?: string;
eventSignature?: string;
Expand All @@ -38,9 +38,6 @@ export interface ContractReceipt extends TransactionReceipt {
export interface ContractTransaction extends TransactionResponse {
wait(confirmations?: number): Promise<ContractReceipt>;
}
interface Bucket<T> {
[name: string]: T;
}
declare class RunningEvent {
readonly tag: string;
readonly filter: EventFilter;
Expand All @@ -61,17 +58,31 @@ export declare class Contract {
readonly interface: Interface;
readonly signer: Signer;
readonly provider: Provider;
readonly functions: Bucket<ContractFunction>;
readonly callStatic: Bucket<ContractFunction>;
readonly estimateGas: Bucket<(...params: Array<any>) => Promise<BigNumber>>;
readonly populateTransaction: Bucket<(...params: Array<any>) => Promise<UnsignedTransaction>>;
readonly filters: Bucket<(...params: Array<any>) => EventFilter>;
readonly [name: string]: ContractFunction | any;
readonly functions: {
[name: string]: ContractFunction;
};
readonly callStatic: {
[name: string]: ContractFunction;
};
readonly estimateGas: {
[name: string]: ContractFunction<BigNumber>;
};
readonly populateTransaction: {
[name: string]: ContractFunction<UnsignedTransaction>;
};
readonly filters: {
[name: string]: (...args: Array<any>) => EventFilter;
};
readonly [key: string]: ContractFunction | any;
readonly resolvedAddress: Promise<string>;
readonly deployTransaction: TransactionResponse;
private _deployedPromise;
private _runningEvents;
private _wrappedEmits;
_deployedPromise: Promise<Contract>;
_runningEvents: {
[eventTag: string]: RunningEvent;
};
_wrappedEmits: {
[eventTag: string]: (...args: Array<any>) => void;
};
constructor(addressOrName: string, contractInterface: ContractInterface, signerOrProvider: Signer | Provider);
static getContractAddress(transaction: {
from: string;
Expand Down
Loading

0 comments on commit c29d20c

Please sign in to comment.