@shapeshiftoss/unchained-client 9.1.0 → 9.1.1
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/dist/evm/parser/index.js +2 -2
- package/package.json +1 -1
package/dist/evm/parser/index.js
CHANGED
|
@@ -39,8 +39,8 @@ class BaseTransactionParser {
|
|
|
39
39
|
constructor(args) {
|
|
40
40
|
this.parsers = [];
|
|
41
41
|
this.chainId = args.chainId;
|
|
42
|
-
|
|
43
|
-
this.registerParser(new erc20.Parser({ chainId: this.chainId, provider }));
|
|
42
|
+
this.provider = new ethers_1.ethers.providers.JsonRpcProvider(args.rpcUrl);
|
|
43
|
+
this.registerParser(new erc20.Parser({ chainId: this.chainId, provider: this.provider }));
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Register custom transaction sub parser to extract contract specific data
|