@web3-react/url
Advanced tools
Comparing version 8.0.1-beta.0 to 8.0.2-beta.0
@@ -34,2 +34,6 @@ "use strict"; | ||
class Url extends types_1.Connector { | ||
/** | ||
* @param url - An RPC url. | ||
* @param connectEagerly - A flag indicating whether connection should be initiated when the class is constructed. | ||
*/ | ||
constructor(actions, url, connectEagerly = true) { | ||
@@ -65,2 +69,3 @@ super(actions); | ||
} | ||
/** {@inheritdoc Connector.activate} */ | ||
activate() { | ||
@@ -67,0 +72,0 @@ return __awaiter(this, void 0, void 0, function* () { |
@@ -7,8 +7,14 @@ import type { Eip1193Bridge } from '@ethersproject/experimental'; | ||
export declare class Url extends Connector { | ||
/** {@inheritdoc Connector.provider} */ | ||
provider: Eip1193Bridge | undefined; | ||
private url; | ||
/** | ||
* @param url - An RPC url. | ||
* @param connectEagerly - A flag indicating whether connection should be initiated when the class is constructed. | ||
*/ | ||
constructor(actions: Actions, url: url, connectEagerly?: boolean); | ||
private initialize; | ||
/** {@inheritdoc Connector.activate} */ | ||
activate(): Promise<void>; | ||
} | ||
export {}; |
@@ -12,2 +12,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
export class Url extends Connector { | ||
/** | ||
* @param url - An RPC url. | ||
* @param connectEagerly - A flag indicating whether connection should be initiated when the class is constructed. | ||
*/ | ||
constructor(actions, url, connectEagerly = true) { | ||
@@ -43,2 +47,3 @@ super(actions); | ||
} | ||
/** {@inheritdoc Connector.activate} */ | ||
activate() { | ||
@@ -45,0 +50,0 @@ return __awaiter(this, void 0, void 0, function* () { |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "8.0.1-beta.0", | ||
"version": "8.0.2-beta.0", | ||
"type": "module", | ||
@@ -34,8 +34,8 @@ "files": [ | ||
"@ethersproject/providers": "^5.5.1", | ||
"@web3-react/types": "^8.0.1-beta.0" | ||
"@web3-react/types": "^8.0.2-beta.0" | ||
}, | ||
"devDependencies": { | ||
"@web3-react/store": "^8.0.1-beta.0" | ||
"@web3-react/store": "^8.0.2-beta.0" | ||
}, | ||
"gitHead": "cbe15d77b9b9a237562733d7d217ec7ef0ef2e39" | ||
"gitHead": "1bb87f2036a4f70b11aaf9b3c9c165f12811d8de" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42627
146