Comparing version 4.0.0-beta.10 to 4.0.0-beta.11
@@ -1,1 +0,1 @@ | ||
export declare const version = "4.0.0-beta.10"; | ||
export declare const version = "4.0.0-beta.11"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "4.0.0-beta.10"; | ||
exports.version = "4.0.0-beta.11"; |
@@ -141,3 +141,3 @@ // Generated by dts-bundle v0.7.3 | ||
declare module 'ethers/_version' { | ||
export const version = "4.0.0-beta.10"; | ||
export const version = "4.0.0-beta.11"; | ||
} | ||
@@ -496,3 +496,3 @@ | ||
sendTransaction(transaction: TransactionRequest): Promise<TransactionResponse>; | ||
encrypt(password: Arrayish | string, options: any, progressCallback: ProgressCallback): Promise<string>; | ||
encrypt(password: Arrayish | string, options?: any, progressCallback?: ProgressCallback): Promise<string>; | ||
/** | ||
@@ -499,0 +499,0 @@ * Static methods to create Wallet instances. |
{ | ||
"name": "ethers", | ||
"version": "4.0.0-beta.10", | ||
"version": "4.0.0-beta.11", | ||
"description": "Ethereum wallet library.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -723,3 +723,5 @@ 'use strict'; | ||
from: transaction.from, | ||
data: transaction.data | ||
data: transaction.data, | ||
gasPrice: transaction.gasPrice, | ||
value: transaction.value | ||
}; | ||
@@ -726,0 +728,0 @@ return this.ready.then(function () { |
@@ -808,2 +808,3 @@ 'use strict'; | ||
function splitNesting(value) { | ||
value = value.trim(); | ||
var result = []; | ||
@@ -831,3 +832,5 @@ var accum = ''; | ||
} | ||
result.push(accum); | ||
if (accum) { | ||
result.push(accum); | ||
} | ||
return result; | ||
@@ -834,0 +837,0 @@ } |
@@ -28,3 +28,3 @@ import { HDNode } from './hdnode'; | ||
sendTransaction(transaction: TransactionRequest): Promise<TransactionResponse>; | ||
encrypt(password: Arrayish | string, options: any, progressCallback: ProgressCallback): Promise<string>; | ||
encrypt(password: Arrayish | string, options?: any, progressCallback?: ProgressCallback): Promise<string>; | ||
/** | ||
@@ -31,0 +31,0 @@ * Static methods to create Wallet instances. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2328717
132
25023