@near-eth/utils
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -53,2 +53,5 @@ "use strict"; | ||
const block = await provider.send('eth_getBlockByNumber', [ethers_1.ethers.utils.hexValue(receipt.blockNumber), true]); | ||
if (process.env.tempGoerliGethFix === '1') { | ||
block.miner = '0x0000000000000000000000000000000000000000'; | ||
} | ||
const tree = await buildTree(provider, block); | ||
@@ -55,0 +58,0 @@ const proof = await extractProof(block, tree, receipt.transactionIndex); |
export * as urlParams from './url-params'; | ||
export * as erc20 from './erc20'; | ||
export * as nep141 from './nep141'; | ||
export * as aurora from './aurora'; | ||
export { borshifyOutcomeProof } from './borshify-proof'; | ||
@@ -4,0 +6,0 @@ export { ethOnNearSyncHeight } from './ethOnNearClient'; |
@@ -22,5 +22,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildIndexerTxQuery = exports.findNearProof = exports.findEthProof = exports.nearOnEthSyncHeight = exports.ethOnNearSyncHeight = exports.borshifyOutcomeProof = exports.erc20 = exports.urlParams = void 0; | ||
exports.buildIndexerTxQuery = exports.findNearProof = exports.findEthProof = exports.nearOnEthSyncHeight = exports.ethOnNearSyncHeight = exports.borshifyOutcomeProof = exports.aurora = exports.nep141 = exports.erc20 = exports.urlParams = void 0; | ||
exports.urlParams = __importStar(require("./url-params")); | ||
exports.erc20 = __importStar(require("./erc20")); | ||
exports.nep141 = __importStar(require("./nep141")); | ||
exports.aurora = __importStar(require("./aurora")); | ||
var borshify_proof_1 = require("./borshify-proof"); | ||
@@ -27,0 +29,0 @@ Object.defineProperty(exports, "borshifyOutcomeProof", { enumerable: true, get: function () { return borshify_proof_1.borshifyOutcomeProof; } }); |
{ | ||
"name": "@near-eth/utils", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"license": "(MIT AND Apache-2.0)", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
"lite-merkle-patricia-tree": "1.0.0", | ||
"near-api-js": "https://github.com/aurora-is-near/near-api-js#b31f9975b29c69e65c6db2feca2183fac400109e", | ||
"near-api-js": "https://github.com/aurora-is-near/near-api-js#2a63db0016a59d031b58033f3ee50942dab4f5f7", | ||
"web3-utils": "^1.3.4" | ||
@@ -31,0 +31,0 @@ }, |
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
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
48122
43
538
1