conflux-web-providers
Advanced tools
Comparing version 0.1.0-alpha.1 to 0.1.0-alpha.2
{ | ||
"name": "conflux-web-providers", | ||
"version": "0.1.0-alpha.1", | ||
"version": "0.1.0-alpha.2", | ||
"description": "ConfluxWeb module to handle requests to external providers.", | ||
@@ -27,6 +27,6 @@ "repository": "https://github.com/Conflux-Chain/ConfluxWeb/tree/master/packages/conflux-web-providers", | ||
"devDependencies": { | ||
"conflux-web-core": "0.1.0-alpha.1", | ||
"conflux-web-core-helpers": "0.1.0-alpha.1", | ||
"conflux-web-core-method": "0.1.0-alpha.1", | ||
"conflux-web-utils": "0.1.0-alpha.1", | ||
"conflux-web-core": "0.1.0-alpha.2", | ||
"conflux-web-core-helpers": "0.1.0-alpha.2", | ||
"conflux-web-core-method": "0.1.0-alpha.2", | ||
"conflux-web-utils": "0.1.0-alpha.2", | ||
"definitelytyped-header-parser": "^1.0.1", | ||
@@ -39,3 +39,3 @@ "dtslint": "0.4.2" | ||
], | ||
"gitHead": "57701da6365fb81980ddfc957f46966f722c3ebf" | ||
"gitHead": "6b924aff954dbd18a68ebcc266f9d3c471bd53eb" | ||
} |
@@ -24,7 +24,7 @@ /* | ||
import * as net from 'net'; | ||
import {AbstractWeb3Module} from 'conflux-web-core'; | ||
import {AbstractConfluxWebModule} from 'conflux-web-core'; | ||
import {AbstractMethod} from 'conflux-web-core-method'; | ||
export class BatchRequest { | ||
constructor(moduleInstance: AbstractWeb3Module); | ||
constructor(moduleInstance: AbstractConfluxWebModule); | ||
@@ -41,3 +41,3 @@ add(method: AbstractMethod): void; | ||
export class ProvidersModuleFactory { | ||
createBatchRequest(moduleInstance: AbstractWeb3Module): BatchRequest; | ||
createBatchRequest(moduleInstance: AbstractConfluxWebModule): BatchRequest; | ||
@@ -65,3 +65,3 @@ createProviderResolver(): ProviderResolver; | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractWeb3Module): Promise<any[]>; | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractConfluxWebModule): Promise<any[]>; | ||
@@ -80,3 +80,3 @@ disconnect(): boolean; | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractWeb3Module): Promise<any[]>; | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractConfluxWebModule): Promise<any[]>; | ||
} | ||
@@ -96,3 +96,3 @@ | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractWeb3Module): Promise<any[]>; | ||
sendBatch(methods: AbstractMethod[], moduleInstance: AbstractConfluxWebModule): Promise<any[]>; | ||
@@ -99,0 +99,0 @@ subscribe(subscribeMethod: string, subscriptionMethod: string, parameters: any[]): Promise<string>; |
140198