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 24, 2019
1 parent 54247d5 commit 5a797bb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.130";
export declare const version = "5.0.0-beta.131";
2 changes: 1 addition & 1 deletion _version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.130";
exports.version = "5.0.0-beta.131";
1 change: 1 addition & 0 deletions json-rpc-provider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ declare class UncheckedJsonRpcSigner extends JsonRpcSigner {
export declare class JsonRpcProvider extends BaseProvider {
readonly connection: ConnectionInfo;
_pendingFilter: Promise<number>;
_nextId: number;
constructor(url?: ConnectionInfo | string, network?: Networkish);
getSigner(addressOrIndex?: string | number): JsonRpcSigner;
getUncheckedSigner(addressOrIndex?: string | number): UncheckedJsonRpcSigner;
Expand Down
3 changes: 2 additions & 1 deletion json-rpc-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ var JsonRpcProvider = /** @class */ (function (_super) {
else {
_this.connection = url;
}
_this._nextId = 42;
return _this;
}
JsonRpcProvider.prototype.getSigner = function (addressOrIndex) {
Expand All @@ -282,7 +283,7 @@ var JsonRpcProvider = /** @class */ (function (_super) {
var request = {
method: method,
params: params,
id: 42,
id: (this._nextId++),
jsonrpc: "2.0"
};
return web_1.fetchJson(this.connection, JSON.stringify(request), getResult).then(function (result) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/providers",
"version": "5.0.0-beta.130",
"version": "5.0.0-beta.131",
"description": "Error utility functions for ethers.",
"main": "index.js",
"browser": {
Expand Down Expand Up @@ -39,5 +39,5 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x387a07d46e78db49a81027c6679e3472b3de0461731033c947431629d5226328"
"tarballHash": "0x8e823bbbab86f42a2bd94936fafc2aeb493d8eee8fcde3cbbc20b9589cd6078d"
}
2 changes: 1 addition & 1 deletion src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.130";
export const version = "5.0.0-beta.131";

0 comments on commit 5a797bb

Please sign in to comment.