admin: update dist files
This commit is contained in:
parent
2a3a2e1fed
commit
8745800cbc
@ -4,6 +4,11 @@ Changelog
|
|||||||
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
|
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
|
||||||
|
|
||||||
|
|
||||||
|
ethers/v5.7.2 (2022-10-18 20:35)
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
- Update testnets for third-party providers. ([#3320](https://github.com/ethers-io/ethers.js/issues/3320), [#3323](https://github.com/ethers-io/ethers.js/issues/3323), [#3340](https://github.com/ethers-io/ethers.js/issues/3340), [#3358](https://github.com/ethers-io/ethers.js/issues/3358), [#3423](https://github.com/ethers-io/ethers.js/issues/3423); [2a3a2e1](https://github.com/ethers-io/ethers.js/commit/2a3a2e1feda7b18c8e234c84e4de32d4246f18ed))
|
||||||
|
|
||||||
ethers/v5.7.1 (2022-09-13 21:28)
|
ethers/v5.7.1 (2022-09-13 21:28)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
@ -560,4 +565,4 @@ ethers/v5.0.0 (2020-06-12 19:58)
|
|||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
- Preserve config canary string. ([7157816](https://github.com/ethers-io/ethers.js/commit/7157816fa53f660d750811b293e3b1d5a2f70bd4))
|
- Preserve config canary string. ([7157816](https://github.com/ethers-io/ethers.js/commit/7157816fa53f660d750811b293e3b1d5a2f70bd4))
|
||||||
- Updated docs. ([9e4c7e6](https://github.com/ethers-io/ethers.js/commit/9e4c7e609d9eeb5f2a11d6a90bfa9d32ee696431))
|
- Updated docs. ([9e4c7e6](https://github.com/ethers-io/ethers.js/commit/9e4c7e609d9eeb5f2a11d6a90bfa9d32ee696431))
|
778
package-lock.json
generated
778
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
56
packages/ethers/dist/ethers.esm.js
vendored
56
packages/ethers/dist/ethers.esm.js
vendored
@ -18804,7 +18804,7 @@ var bech32 = {
|
|||||||
fromWords: fromWords
|
fromWords: fromWords
|
||||||
};
|
};
|
||||||
|
|
||||||
const version$m = "providers/5.7.1";
|
const version$m = "providers/5.7.2";
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
const logger$s = new Logger(version$m);
|
const logger$s = new Logger(version$m);
|
||||||
@ -22336,17 +22336,8 @@ class AlchemyProvider extends UrlJsonRpcProvider {
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "eth-mainnet.alchemyapi.io/v2/";
|
host = "eth-mainnet.alchemyapi.io/v2/";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "eth-ropsten.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "eth-rinkeby.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "eth-goerli.alchemyapi.io/v2/";
|
host = "eth-goerli.g.alchemyapi.io/v2/";
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "eth-kovan.alchemyapi.io/v2/";
|
|
||||||
break;
|
break;
|
||||||
case "matic":
|
case "matic":
|
||||||
host = "polygon-mainnet.g.alchemy.com/v2/";
|
host = "polygon-mainnet.g.alchemy.com/v2/";
|
||||||
@ -22357,18 +22348,12 @@ class AlchemyProvider extends UrlJsonRpcProvider {
|
|||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arb-mainnet.g.alchemy.com/v2/";
|
host = "arb-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
|
||||||
host = "arb-rinkeby.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "arbitrum-goerli":
|
case "arbitrum-goerli":
|
||||||
host = "arb-goerli.g.alchemy.com/v2/";
|
host = "arb-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism":
|
case "optimism":
|
||||||
host = "opt-mainnet.g.alchemy.com/v2/";
|
host = "opt-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
|
||||||
host = "opt-kovan.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "optimism-goerli":
|
case "optimism-goerli":
|
||||||
host = "opt-goerli.g.alchemy.com/v2/";
|
host = "opt-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
@ -22646,20 +22631,22 @@ class EtherscanProvider extends BaseProvider {
|
|||||||
switch (this.network ? this.network.name : "invalid") {
|
switch (this.network ? this.network.name : "invalid") {
|
||||||
case "homestead":
|
case "homestead":
|
||||||
return "https:/\/api.etherscan.io";
|
return "https:/\/api.etherscan.io";
|
||||||
case "ropsten":
|
|
||||||
return "https:/\/api-ropsten.etherscan.io";
|
|
||||||
case "rinkeby":
|
|
||||||
return "https:/\/api-rinkeby.etherscan.io";
|
|
||||||
case "kovan":
|
|
||||||
return "https:/\/api-kovan.etherscan.io";
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
return "https:/\/api-goerli.etherscan.io";
|
return "https:/\/api-goerli.etherscan.io";
|
||||||
case "sepolia":
|
case "sepolia":
|
||||||
return "https:/\/api-sepolia.etherscan.io";
|
return "https:/\/api-sepolia.etherscan.io";
|
||||||
|
case "matic":
|
||||||
|
return "https:/\/api.polygonscan.com";
|
||||||
|
case "maticmum":
|
||||||
|
return "https:/\/api-testnet.polygonscan.com";
|
||||||
|
case "arbitrum":
|
||||||
|
return "https:/\/api.arbiscan.io";
|
||||||
|
case "arbitrum-goerli":
|
||||||
|
return "https:/\/api-goerli.arbiscan.io";
|
||||||
case "optimism":
|
case "optimism":
|
||||||
return "https:/\/api-optimistic.etherscan.io";
|
return "https:/\/api-optimistic.etherscan.io";
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
return "https:/\/api-kovan-optimistic.etherscan.io";
|
return "https:/\/api-goerli-optimistic.etherscan.io";
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return logger$A.throwArgumentError("unsupported network", "network", this.network.name);
|
return logger$A.throwArgumentError("unsupported network", "network", this.network.name);
|
||||||
@ -23535,15 +23522,6 @@ class InfuraProvider extends UrlJsonRpcProvider {
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "mainnet.infura.io";
|
host = "mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "ropsten.infura.io";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "rinkeby.infura.io";
|
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "kovan.infura.io";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "goerli.infura.io";
|
host = "goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
@ -23559,14 +23537,14 @@ class InfuraProvider extends UrlJsonRpcProvider {
|
|||||||
case "optimism":
|
case "optimism":
|
||||||
host = "optimism-mainnet.infura.io";
|
host = "optimism-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
host = "optimism-kovan.infura.io";
|
host = "optimism-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arbitrum-mainnet.infura.io";
|
host = "arbitrum-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
case "arbitrum-goerli":
|
||||||
host = "arbitrum-rinkeby.infura.io";
|
host = "arbitrum-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger$C.throwError("unsupported network", Logger.errors.INVALID_ARGUMENT, {
|
logger$C.throwError("unsupported network", Logger.errors.INVALID_ARGUMENT, {
|
||||||
@ -24256,7 +24234,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
|
|||||||
Indexed: Indexed
|
Indexed: Indexed
|
||||||
});
|
});
|
||||||
|
|
||||||
const version$p = "ethers/5.7.1";
|
const version$p = "ethers/5.7.2";
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
const logger$J = new Logger(version$p);
|
const logger$J = new Logger(version$p);
|
||||||
|
2
packages/ethers/dist/ethers.esm.js.map
vendored
2
packages/ethers/dist/ethers.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js
vendored
2
packages/ethers/dist/ethers.esm.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
File diff suppressed because one or more lines are too long
56
packages/ethers/dist/ethers.umd.js
vendored
56
packages/ethers/dist/ethers.umd.js
vendored
@ -24422,7 +24422,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.version = void 0;
|
exports.version = void 0;
|
||||||
exports.version = "providers/5.7.1";
|
exports.version = "providers/5.7.2";
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -28984,17 +28984,8 @@
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "eth-mainnet.alchemyapi.io/v2/";
|
host = "eth-mainnet.alchemyapi.io/v2/";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "eth-ropsten.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "eth-rinkeby.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "eth-goerli.alchemyapi.io/v2/";
|
host = "eth-goerli.g.alchemyapi.io/v2/";
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "eth-kovan.alchemyapi.io/v2/";
|
|
||||||
break;
|
break;
|
||||||
case "matic":
|
case "matic":
|
||||||
host = "polygon-mainnet.g.alchemy.com/v2/";
|
host = "polygon-mainnet.g.alchemy.com/v2/";
|
||||||
@ -29005,18 +28996,12 @@
|
|||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arb-mainnet.g.alchemy.com/v2/";
|
host = "arb-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
|
||||||
host = "arb-rinkeby.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "arbitrum-goerli":
|
case "arbitrum-goerli":
|
||||||
host = "arb-goerli.g.alchemy.com/v2/";
|
host = "arb-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism":
|
case "optimism":
|
||||||
host = "opt-mainnet.g.alchemy.com/v2/";
|
host = "opt-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
|
||||||
host = "opt-kovan.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "optimism-goerli":
|
case "optimism-goerli":
|
||||||
host = "opt-goerli.g.alchemy.com/v2/";
|
host = "opt-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
@ -29457,20 +29442,22 @@
|
|||||||
switch (this.network ? this.network.name : "invalid") {
|
switch (this.network ? this.network.name : "invalid") {
|
||||||
case "homestead":
|
case "homestead":
|
||||||
return "https:/\/api.etherscan.io";
|
return "https:/\/api.etherscan.io";
|
||||||
case "ropsten":
|
|
||||||
return "https:/\/api-ropsten.etherscan.io";
|
|
||||||
case "rinkeby":
|
|
||||||
return "https:/\/api-rinkeby.etherscan.io";
|
|
||||||
case "kovan":
|
|
||||||
return "https:/\/api-kovan.etherscan.io";
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
return "https:/\/api-goerli.etherscan.io";
|
return "https:/\/api-goerli.etherscan.io";
|
||||||
case "sepolia":
|
case "sepolia":
|
||||||
return "https:/\/api-sepolia.etherscan.io";
|
return "https:/\/api-sepolia.etherscan.io";
|
||||||
|
case "matic":
|
||||||
|
return "https:/\/api.polygonscan.com";
|
||||||
|
case "maticmum":
|
||||||
|
return "https:/\/api-testnet.polygonscan.com";
|
||||||
|
case "arbitrum":
|
||||||
|
return "https:/\/api.arbiscan.io";
|
||||||
|
case "arbitrum-goerli":
|
||||||
|
return "https:/\/api-goerli.arbiscan.io";
|
||||||
case "optimism":
|
case "optimism":
|
||||||
return "https:/\/api-optimistic.etherscan.io";
|
return "https:/\/api-optimistic.etherscan.io";
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
return "https:/\/api-kovan-optimistic.etherscan.io";
|
return "https:/\/api-goerli-optimistic.etherscan.io";
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
||||||
@ -30569,15 +30556,6 @@
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "mainnet.infura.io";
|
host = "mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "ropsten.infura.io";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "rinkeby.infura.io";
|
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "kovan.infura.io";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "goerli.infura.io";
|
host = "goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
@ -30593,14 +30571,14 @@
|
|||||||
case "optimism":
|
case "optimism":
|
||||||
host = "optimism-mainnet.infura.io";
|
host = "optimism-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
host = "optimism-kovan.infura.io";
|
host = "optimism-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arbitrum-mainnet.infura.io";
|
host = "arbitrum-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
case "arbitrum-goerli":
|
||||||
host = "arbitrum-rinkeby.infura.io";
|
host = "arbitrum-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.throwError("unsupported network", lib.Logger.errors.INVALID_ARGUMENT, {
|
logger.throwError("unsupported network", lib.Logger.errors.INVALID_ARGUMENT, {
|
||||||
@ -31547,7 +31525,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.version = void 0;
|
exports.version = void 0;
|
||||||
exports.version = "ethers/5.7.1";
|
exports.version = "ethers/5.7.2";
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
2
packages/ethers/dist/ethers.umd.js.map
vendored
2
packages/ethers/dist/ethers.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js
vendored
2
packages/ethers/dist/ethers.umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/lib.esm/_version.d.ts
vendored
2
packages/ethers/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
|||||||
export declare const version = "ethers/5.7.1";
|
export declare const version = "ethers/5.7.2";
|
||||||
//# sourceMappingURL=_version.d.ts.map
|
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
|||||||
export const version = "ethers/5.7.1";
|
export const version = "ethers/5.7.2";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
2
packages/ethers/lib/_version.d.ts
vendored
2
packages/ethers/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
|||||||
export declare const version = "ethers/5.7.1";
|
export declare const version = "ethers/5.7.2";
|
||||||
//# sourceMappingURL=_version.d.ts.map
|
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.version = void 0;
|
exports.version = void 0;
|
||||||
exports.version = "ethers/5.7.1";
|
exports.version = "ethers/5.7.2";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
@ -20,7 +20,7 @@
|
|||||||
"@ethersproject/networks": "5.7.1",
|
"@ethersproject/networks": "5.7.1",
|
||||||
"@ethersproject/pbkdf2": "5.7.0",
|
"@ethersproject/pbkdf2": "5.7.0",
|
||||||
"@ethersproject/properties": "5.7.0",
|
"@ethersproject/properties": "5.7.0",
|
||||||
"@ethersproject/providers": "5.7.1",
|
"@ethersproject/providers": "5.7.2",
|
||||||
"@ethersproject/random": "5.7.0",
|
"@ethersproject/random": "5.7.0",
|
||||||
"@ethersproject/rlp": "5.7.0",
|
"@ethersproject/rlp": "5.7.0",
|
||||||
"@ethersproject/sha2": "5.7.0",
|
"@ethersproject/sha2": "5.7.0",
|
||||||
@ -62,7 +62,7 @@
|
|||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"tarballHash": "0x62b2d99db58f8f90ea2af5039f7146d72c016cfcf097734ccfe7642d96b167fc",
|
"tarballHash": "0xc390b08476ef9c6def0bc9e44d41f77d2b23e7dfc6b2cf77b36d393c9de9c350",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
"version": "5.7.1"
|
"version": "5.7.2"
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
export const version = "ethers/5.7.1";
|
export const version = "ethers/5.7.2";
|
||||||
|
2
packages/providers/lib.esm/_version.d.ts
vendored
2
packages/providers/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
|||||||
export declare const version = "providers/5.7.1";
|
export declare const version = "providers/5.7.2";
|
||||||
//# sourceMappingURL=_version.d.ts.map
|
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
|||||||
export const version = "providers/5.7.1";
|
export const version = "providers/5.7.2";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"alchemy-provider.d.ts","sourceRoot":"","sources":["../src.ts/alchemy-provider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAuB,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAS7D,qBAAa,wBAAyB,SAAQ,iBAAkB,YAAW,oBAAoB;IAC3F,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG;IAU9C,mBAAmB,IAAI,OAAO;CAGjC;AAED,qBAAa,eAAgB,SAAQ,kBAAkB;IAEnD,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,wBAAwB;IAIzF,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAQlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc;IA0D/D,mBAAmB,IAAI,OAAO;CAGjC"}
|
{"version":3,"file":"alchemy-provider.d.ts","sourceRoot":"","sources":["../src.ts/alchemy-provider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAuB,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAS7D,qBAAa,wBAAyB,SAAQ,iBAAkB,YAAW,oBAAoB;IAC3F,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG;IAU9C,mBAAmB,IAAI,OAAO;CAGjC;AAED,qBAAa,eAAgB,SAAQ,kBAAkB;IAEnD,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,wBAAwB;IAIzF,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAQlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc;IA2C/D,mBAAmB,IAAI,OAAO;CAGjC"}
|
@ -42,17 +42,8 @@ export class AlchemyProvider extends UrlJsonRpcProvider {
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "eth-mainnet.alchemyapi.io/v2/";
|
host = "eth-mainnet.alchemyapi.io/v2/";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "eth-ropsten.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "eth-rinkeby.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "eth-goerli.alchemyapi.io/v2/";
|
host = "eth-goerli.g.alchemyapi.io/v2/";
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "eth-kovan.alchemyapi.io/v2/";
|
|
||||||
break;
|
break;
|
||||||
case "matic":
|
case "matic":
|
||||||
host = "polygon-mainnet.g.alchemy.com/v2/";
|
host = "polygon-mainnet.g.alchemy.com/v2/";
|
||||||
@ -63,18 +54,12 @@ export class AlchemyProvider extends UrlJsonRpcProvider {
|
|||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arb-mainnet.g.alchemy.com/v2/";
|
host = "arb-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
|
||||||
host = "arb-rinkeby.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "arbitrum-goerli":
|
case "arbitrum-goerli":
|
||||||
host = "arb-goerli.g.alchemy.com/v2/";
|
host = "arb-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism":
|
case "optimism":
|
||||||
host = "opt-mainnet.g.alchemy.com/v2/";
|
host = "opt-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
|
||||||
host = "opt-kovan.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "optimism-goerli":
|
case "optimism-goerli":
|
||||||
host = "opt-goerli.g.alchemy.com/v2/";
|
host = "opt-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"alchemy-provider.js","sourceRoot":"","sources":["../src.ts/alchemy-provider.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAGb,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAwB,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC;AAEnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;A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MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC;IA0ChF,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAIjC,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAmKlD,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAwB1I,mBAAmB,IAAI,OAAO;CAGjC"}
|
@ -165,20 +165,22 @@ export class EtherscanProvider extends BaseProvider {
|
|||||||
switch (this.network ? this.network.name : "invalid") {
|
switch (this.network ? this.network.name : "invalid") {
|
||||||
case "homestead":
|
case "homestead":
|
||||||
return "https:/\/api.etherscan.io";
|
return "https:/\/api.etherscan.io";
|
||||||
case "ropsten":
|
|
||||||
return "https:/\/api-ropsten.etherscan.io";
|
|
||||||
case "rinkeby":
|
|
||||||
return "https:/\/api-rinkeby.etherscan.io";
|
|
||||||
case "kovan":
|
|
||||||
return "https:/\/api-kovan.etherscan.io";
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
return "https:/\/api-goerli.etherscan.io";
|
return "https:/\/api-goerli.etherscan.io";
|
||||||
case "sepolia":
|
case "sepolia":
|
||||||
return "https:/\/api-sepolia.etherscan.io";
|
return "https:/\/api-sepolia.etherscan.io";
|
||||||
|
case "matic":
|
||||||
|
return "https:/\/api.polygonscan.com";
|
||||||
|
case "maticmum":
|
||||||
|
return "https:/\/api-testnet.polygonscan.com";
|
||||||
|
case "arbitrum":
|
||||||
|
return "https:/\/api.arbiscan.io";
|
||||||
|
case "arbitrum-goerli":
|
||||||
|
return "https:/\/api-goerli.arbiscan.io";
|
||||||
case "optimism":
|
case "optimism":
|
||||||
return "https:/\/api-optimistic.etherscan.io";
|
return "https:/\/api-optimistic.etherscan.io";
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
return "https:/\/api-kovan-optimistic.etherscan.io";
|
return "https:/\/api-goerli-optimistic.etherscan.io";
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"infura-provider.d.ts","sourceRoot":"","sources":["../src.ts/infura-provider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAuB,MAAM,aAAa,CAAC;AAMxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAK7D,qBAAa,uBAAwB,SAAQ,iBAAkB,YAAW,oBAAoB;IAC1F,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;gBAEnB,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG;IAiB9C,mBAAmB,IAAI,OAAO;CAGjC;AAED,qBAAa,cAAe,SAAQ,kBAAkB;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,uBAAuB;IAIxF,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG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||||
case "homestead":
|
case "homestead":
|
||||||
host = "mainnet.infura.io";
|
host = "mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "ropsten.infura.io";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "rinkeby.infura.io";
|
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "kovan.infura.io";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "goerli.infura.io";
|
host = "goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
@ -84,14 +75,14 @@ export class InfuraProvider extends UrlJsonRpcProvider {
|
|||||||
case "optimism":
|
case "optimism":
|
||||||
host = "optimism-mainnet.infura.io";
|
host = "optimism-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
host = "optimism-kovan.infura.io";
|
host = "optimism-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arbitrum-mainnet.infura.io";
|
host = "arbitrum-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
case "arbitrum-goerli":
|
||||||
host = "arbitrum-rinkeby.infura.io";
|
host = "arbitrum-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.throwError("unsupported network", Logger.errors.INVALID_ARGUMENT, {
|
logger.throwError("unsupported network", Logger.errors.INVALID_ARGUMENT, {
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"infura-provider.js","sourceRoot":"","sources":["../src.ts/infura-provider.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAGb,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAwB,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,MAA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nB,KAAK,EAAE,OAAO;iBACjB,CAAC,CAAC;SACV;QAED,MAAM,UAAU,GAAmB;YAC/B,SAAS,EAAE,IAAI;YACf,GAAG,EAAE,CAAC,SAAS,GAAG,GAAG,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC;YACzD,gBAAgB,EAAE,CAAC,OAAe,EAAE,GAAW,EAAE,EAAE;gBAC/C,IAAI,MAAM,CAAC,SAAS,KAAK,gBAAgB,EAAE;oBACvC,mBAAmB,EAAE,CAAC;iBACzB;gBACD,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;SACJ,CAAC;QAEF,IAAI,MAAM,CAAC,aAAa,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,IAAI,GAAG,EAAE,CAAC;YACrB,UAAU,CAAC,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAA;SAC7C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAED,mBAAmB;QACf,OAAO,CAAC,IAAI,CAAC,SAAS,KAAK,gBAAgB,CAAC,CAAC;IACjD,CAAC;CACJ"}
|
2
packages/providers/lib/_version.d.ts
vendored
2
packages/providers/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
|||||||
export declare const version = "providers/5.7.1";
|
export declare const version = "providers/5.7.2";
|
||||||
//# sourceMappingURL=_version.d.ts.map
|
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.version = void 0;
|
exports.version = void 0;
|
||||||
exports.version = "providers/5.7.1";
|
exports.version = "providers/5.7.2";
|
||||||
//# sourceMappingURL=_version.js.map
|
//# sourceMappingURL=_version.js.map
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"alchemy-provider.d.ts","sourceRoot":"","sources":["../src.ts/alchemy-provider.ts"],"names":[],"mappings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E,MAAM,CAAC;gBAEZ,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG;IAU9C,mBAAmB,IAAI,OAAO;CAGjC;AAED,qBAAa,eAAgB,SAAQ,kBAAkB;IAEnD,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,wBAAwB;IAIzF,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAQlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc;IA2C/D,mBAAmB,IAAI,OAAO;CAGjC"}
|
@ -68,17 +68,8 @@ var AlchemyProvider = /** @class */ (function (_super) {
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "eth-mainnet.alchemyapi.io/v2/";
|
host = "eth-mainnet.alchemyapi.io/v2/";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "eth-ropsten.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "eth-rinkeby.alchemyapi.io/v2/";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "eth-goerli.alchemyapi.io/v2/";
|
host = "eth-goerli.g.alchemyapi.io/v2/";
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "eth-kovan.alchemyapi.io/v2/";
|
|
||||||
break;
|
break;
|
||||||
case "matic":
|
case "matic":
|
||||||
host = "polygon-mainnet.g.alchemy.com/v2/";
|
host = "polygon-mainnet.g.alchemy.com/v2/";
|
||||||
@ -89,18 +80,12 @@ var AlchemyProvider = /** @class */ (function (_super) {
|
|||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arb-mainnet.g.alchemy.com/v2/";
|
host = "arb-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
|
||||||
host = "arb-rinkeby.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "arbitrum-goerli":
|
case "arbitrum-goerli":
|
||||||
host = "arb-goerli.g.alchemy.com/v2/";
|
host = "arb-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism":
|
case "optimism":
|
||||||
host = "opt-mainnet.g.alchemy.com/v2/";
|
host = "opt-mainnet.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
|
||||||
host = "opt-kovan.g.alchemy.com/v2/";
|
|
||||||
break;
|
|
||||||
case "optimism-goerli":
|
case "optimism-goerli":
|
||||||
host = "opt-goerli.g.alchemy.com/v2/";
|
host = "opt-goerli.g.alchemy.com/v2/";
|
||||||
break;
|
break;
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"alchemy-provider.js","sourceRoot":"","sources":["../src.ts/alchemy-provider.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;AAGb,wDAA2D;AAG3D,yCAAwE;AACxE,2DAAyD;AAEzD,gDAA+C;AAC/C,uCAAqC;AACrC,IAAM,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAO,CAAC,CAAC;AAEnC,iEAA6D;AAE7D,kEAAkE;AAClE,4DAA4D;AAC5D,iEAAiE;AACjE,oCAAoC;AAEpC,IAAM,aAAa,GAAG,kCAAkC,CAAA;AAExD;IAA8C,4CAAiB;IAG3D,kCAAY,OAAoB,EAAE,MAAY;QAA9C,iBAQC;QAPG,IAAM,QAAQ,GAAG,IAAI,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAEtD,IAAM,GAAG,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC;aACvB,OAAO,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;QAE/E,QAAA,kBAAM,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,SAA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,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAwB1I,mBAAmB,IAAI,OAAO;CAGjC"}
|
@ -220,20 +220,22 @@ var EtherscanProvider = /** @class */ (function (_super) {
|
|||||||
switch (this.network ? this.network.name : "invalid") {
|
switch (this.network ? this.network.name : "invalid") {
|
||||||
case "homestead":
|
case "homestead":
|
||||||
return "https:/\/api.etherscan.io";
|
return "https:/\/api.etherscan.io";
|
||||||
case "ropsten":
|
|
||||||
return "https:/\/api-ropsten.etherscan.io";
|
|
||||||
case "rinkeby":
|
|
||||||
return "https:/\/api-rinkeby.etherscan.io";
|
|
||||||
case "kovan":
|
|
||||||
return "https:/\/api-kovan.etherscan.io";
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
return "https:/\/api-goerli.etherscan.io";
|
return "https:/\/api-goerli.etherscan.io";
|
||||||
case "sepolia":
|
case "sepolia":
|
||||||
return "https:/\/api-sepolia.etherscan.io";
|
return "https:/\/api-sepolia.etherscan.io";
|
||||||
|
case "matic":
|
||||||
|
return "https:/\/api.polygonscan.com";
|
||||||
|
case "maticmum":
|
||||||
|
return "https:/\/api-testnet.polygonscan.com";
|
||||||
|
case "arbitrum":
|
||||||
|
return "https:/\/api.arbiscan.io";
|
||||||
|
case "arbitrum-goerli":
|
||||||
|
return "https:/\/api-goerli.arbiscan.io";
|
||||||
case "optimism":
|
case "optimism":
|
||||||
return "https:/\/api-optimistic.etherscan.io";
|
return "https:/\/api-optimistic.etherscan.io";
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
return "https:/\/api-kovan-optimistic.etherscan.io";
|
return "https:/\/api-goerli-optimistic.etherscan.io";
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
return logger.throwArgumentError("unsupported network", "network", this.network.name);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"infura-provider.d.ts","sourceRoot":"","sources":["../src.ts/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CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAuB,MAAM,aAAa,CAAC;AAMxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAK7D,qBAAa,uBAAwB,SAAQ,iBAAkB,YAAW,oBAAoB;IAC1F,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;gBAEnB,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG;IAiB9C,mBAAmB,IAAI,OAAO;CAGjC;AAED,qBAAa,cAAe,SAAQ,kBAAkB;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,uBAAuB;IAIxF,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IA8BlC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,GAAG,cAAc;IAwD5D,mBAAmB,IAAI,OAAO;CAGjC"}
|
@ -86,15 +86,6 @@ var InfuraProvider = /** @class */ (function (_super) {
|
|||||||
case "homestead":
|
case "homestead":
|
||||||
host = "mainnet.infura.io";
|
host = "mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "ropsten":
|
|
||||||
host = "ropsten.infura.io";
|
|
||||||
break;
|
|
||||||
case "rinkeby":
|
|
||||||
host = "rinkeby.infura.io";
|
|
||||||
break;
|
|
||||||
case "kovan":
|
|
||||||
host = "kovan.infura.io";
|
|
||||||
break;
|
|
||||||
case "goerli":
|
case "goerli":
|
||||||
host = "goerli.infura.io";
|
host = "goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
@ -110,14 +101,14 @@ var InfuraProvider = /** @class */ (function (_super) {
|
|||||||
case "optimism":
|
case "optimism":
|
||||||
host = "optimism-mainnet.infura.io";
|
host = "optimism-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "optimism-kovan":
|
case "optimism-goerli":
|
||||||
host = "optimism-kovan.infura.io";
|
host = "optimism-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum":
|
case "arbitrum":
|
||||||
host = "arbitrum-mainnet.infura.io";
|
host = "arbitrum-mainnet.infura.io";
|
||||||
break;
|
break;
|
||||||
case "arbitrum-rinkeby":
|
case "arbitrum-goerli":
|
||||||
host = "arbitrum-rinkeby.infura.io";
|
host = "arbitrum-goerli.infura.io";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.throwError("unsupported network", logger_1.Logger.errors.INVALID_ARGUMENT, {
|
logger.throwError("unsupported network", logger_1.Logger.errors.INVALID_ARGUMENT, {
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"infura-provider.js","sourceRoot":"","sources":["../src.ts/infura-provider.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;AAGb,wDAA2D;AAG3D,2DAAyD;AACzD,yCAAwE;AAExE,gDAA+C;AAC/C,uCAAqC;AACrC,IAAM,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAO,CAAC,CAAC;AAEnC,iEAA6D;AAG7D,IAAM,gBAAgB,GAAG,kCAAkC,CAAA;AAE3D;IAA6C,2CAAiB;IAK1D,iCAAY,OAAoB,EAAE,MAAY;QAA9C,iBAeC;QAdG,IAAM,QAAQ,GAAG,IAAI,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QACrD,IAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;QACvC,IAAI,UAAU,CAAC,QAAQ,EAAE;YACrB,MAAM,CAAC,UAAU,CAAC,8CAA8C,EAAE,eAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE;gBACnG,SAAS,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AAQ,GAAG,MAAM,CAAC,aAAa,CAAA;SAC7C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAED,4CAAmB,GAAnB;QACI,OAAO,CAAC,IAAI,CAAC,SAAS,KAAK,gBAAgB,CAAC,CAAC;IACjD,CAAC;IACL,qBAAC;AAAD,CAAC,AAjGD,CAAoC,0CAAkB,GAiGrD;AAjGY,wCAAc"}
|
@ -67,7 +67,7 @@
|
|||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"tarballHash": "0xcfeb26bef573f86310ea7384b475796769baa01e30e4f46bbff2bd96616f2ccc",
|
"tarballHash": "0x9abb236fa3ecc404996ea17a7f908fc6daab7b797cdc9de1dd8572b125b04806",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
"version": "5.7.1"
|
"version": "5.7.2"
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
export const version = "providers/5.7.1";
|
export const version = "providers/5.7.2";
|
||||||
|
Loading…
Reference in New Issue
Block a user