@ethersproject/providers
Advanced tools
Comparing version 5.6.6 to 5.6.7
@@ -1,2 +0,2 @@ | ||
export declare const version = "providers/5.6.6"; | ||
export declare const version = "providers/5.6.7"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "providers/5.6.6"; | ||
export const version = "providers/5.6.7"; | ||
//# sourceMappingURL=_version.js.map |
@@ -35,6 +35,8 @@ "use strict"; | ||
if (match) { | ||
switch (match[1]) { | ||
switch (match[1].toLowerCase()) { | ||
case "http": | ||
case "https": | ||
return new JsonRpcProvider(network); | ||
case "ws": | ||
case "wss": | ||
return new WebSocketProvider(network); | ||
@@ -41,0 +43,0 @@ default: |
@@ -13,3 +13,3 @@ "use strict"; | ||
import { BigNumber } from "@ethersproject/bignumber"; | ||
import { hexlify, hexValue, isHexString } from "@ethersproject/bytes"; | ||
import { hexlify, hexValue, hexZeroPad, isHexString } from "@ethersproject/bytes"; | ||
import { _TypedDataEncoder } from "@ethersproject/hash"; | ||
@@ -474,3 +474,3 @@ import { checkProperties, deepCopy, defineReadOnly, getStatic, resolveProperties, shallowCopy } from "@ethersproject/properties"; | ||
case "getStorageAt": | ||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]]; | ||
return ["eth_getStorageAt", [getLowerCase(params.address), hexZeroPad(params.position, 32), params.blockTag]]; | ||
case "sendTransaction": | ||
@@ -477,0 +477,0 @@ return ["eth_sendRawTransaction", [params.signedTransaction]]; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "providers/5.6.6"; | ||
export declare const version = "providers/5.6.7"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "providers/5.6.6"; | ||
exports.version = "providers/5.6.7"; | ||
//# sourceMappingURL=_version.js.map |
@@ -63,6 +63,8 @@ "use strict"; | ||
if (match) { | ||
switch (match[1]) { | ||
switch (match[1].toLowerCase()) { | ||
case "http": | ||
case "https": | ||
return new json_rpc_provider_1.JsonRpcProvider(network); | ||
case "ws": | ||
case "wss": | ||
return new websocket_provider_1.WebSocketProvider(network); | ||
@@ -69,0 +71,0 @@ default: |
@@ -638,3 +638,3 @@ "use strict"; | ||
case "getStorageAt": | ||
return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]]; | ||
return ["eth_getStorageAt", [getLowerCase(params.address), (0, bytes_1.hexZeroPad)(params.position, 32), params.blockTag]]; | ||
case "sendTransaction": | ||
@@ -641,0 +641,0 @@ return ["eth_sendRawTransaction", [params.signedTransaction]]; |
@@ -20,2 +20,3 @@ { | ||
"@ethersproject/address": "^5.6.0", | ||
"@ethersproject/base64": "^5.6.0", | ||
"@ethersproject/basex": "^5.6.0", | ||
@@ -50,3 +51,3 @@ "@ethersproject/bignumber": "^5.6.0", | ||
], | ||
"gitHead": "01aea705ce60b1c42d2f465b162cb339a0e94392", | ||
"gitHead": "cf7d9da290639b2b6553df9ad027951c78272198", | ||
"keywords": [ | ||
@@ -72,5 +73,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x01fefbdfa8f078c70c374802bb403588311eb19b5e6faed77d34f3e3b8607237", | ||
"tarballHash": "0x84fa43f9864f8f35bb8fcad4d2c28e819a6cd84bd497af185a38349d06e8fddc", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.6.6" | ||
"version": "5.6.7" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "providers/5.6.6"; | ||
export const version = "providers/5.6.7"; |
@@ -57,6 +57,6 @@ "use strict"; | ||
if (match) { | ||
switch (match[1]) { | ||
case "http": | ||
switch (match[1].toLowerCase()) { | ||
case "http": case "https": | ||
return new JsonRpcProvider(network); | ||
case "ws": | ||
case "ws": case "wss": | ||
return new WebSocketProvider(network); | ||
@@ -63,0 +63,0 @@ default: |
@@ -8,3 +8,3 @@ "use strict"; | ||
import { BigNumber } from "@ethersproject/bignumber"; | ||
import { Bytes, hexlify, hexValue, isHexString } from "@ethersproject/bytes"; | ||
import { Bytes, hexlify, hexValue, hexZeroPad, isHexString } from "@ethersproject/bytes"; | ||
import { _TypedDataEncoder } from "@ethersproject/hash"; | ||
@@ -535,3 +535,3 @@ import { Network, Networkish } from "@ethersproject/networks"; | ||
case "getStorageAt": | ||
return [ "eth_getStorageAt", [ getLowerCase(params.address), params.position, params.blockTag ] ]; | ||
return [ "eth_getStorageAt", [ getLowerCase(params.address), hexZeroPad(params.position, 32), params.blockTag ] ]; | ||
@@ -538,0 +538,0 @@ case "sendTransaction": |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1202278
17883
20
+ Added@ethersproject/base64@^5.6.0