@exodus/ethereum-api 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Ethereum Api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "Exodus Movement, Inc.",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"access": "restricted"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@exodus/ethereum-lib": "^1.0.
|
|
13
|
+
"@exodus/ethereum-lib": "^1.0.3",
|
|
14
14
|
"fetchival": "0.3.3",
|
|
15
15
|
"lodash": "^4.17.11",
|
|
16
16
|
"make-concurrent": "4.0.0",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"url-join": "4.0.0",
|
|
20
20
|
"ws": "6.1.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "4c5c8dd13119abc494f7536e08112926d6306c81"
|
|
23
23
|
}
|
|
@@ -102,6 +102,10 @@ export function create(defaultURL) {
|
|
|
102
102
|
return request('proxy', { method: 'eth_getBlockByNumber', number, isFullTransactions })
|
|
103
103
|
},
|
|
104
104
|
|
|
105
|
+
async getLogs(params) {
|
|
106
|
+
return request('proxy', { method: 'eth_getLogs', ...params })
|
|
107
|
+
},
|
|
108
|
+
|
|
105
109
|
async simulateRawTransaction(rawTransaction, applyPending = true) {
|
|
106
110
|
rawTransaction = rawTransaction.replace('0x', '')
|
|
107
111
|
return request('proxy', {
|