From 0bf31264379aec6547c2c491e713e7cac5eaeb04 Mon Sep 17 00:00:00 2001 From: nathanieliov Date: Mon, 27 May 2024 16:09:56 -0400 Subject: [PATCH] Set an alias to rsk-precompiled-abis dependency --- index.js | 2 +- package-lock.json | 5 +++-- package.json | 2 +- tool/live-monitor/live-monitor.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 4b5c94d..bb726c2 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -const Bridge = require('@rsksmart/rsk-precompiled-abis').bridge; +const Bridge = require('@rsksmart/rsk-precompiled-abis-lovell700').bridge; const BridgeTx = require("./BridgeTx"); const BridgeMethod = require("./BridgeMethod"); const BridgeEvent = require("./BridgeEvent"); diff --git a/package-lock.json b/package-lock.json index 8dcd8db..f9063b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.1.2", "license": "MIT", "dependencies": { - "@rsksmart/rsk-precompiled-abis": "git+https://github.com/rsksmart/precompiled-abis#master" + "@rsksmart/rsk-precompiled-abis-lovell700": "git+https://github.com/rsksmart/precompiled-abis#master" }, "devDependencies": { "chai": "^4.3.4", @@ -1114,7 +1114,8 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, - "node_modules/@rsksmart/rsk-precompiled-abis": { + "node_modules/@rsksmart/rsk-precompiled-abis-lovell700": { + "name": "@rsksmart/rsk-precompiled-abis", "version": "7.0.0-LOVELL", "resolved": "git+ssh://git@github.com/rsksmart/precompiled-abis.git#c9cddf4f20a9152046ae5823798b7401a31fd4cb", "license": "ISC" diff --git a/package.json b/package.json index 531a5a8..1f5a177 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "homepage": "https://github.com/rsksmart/bridge-transaction-parser#readme", "dependencies": { - "@rsksmart/rsk-precompiled-abis": "git+https://github.com/rsksmart/precompiled-abis#master" + "@rsksmart/rsk-precompiled-abis-lovell700": "git+https://github.com/rsksmart/precompiled-abis#master" }, "author": "", "license": "MIT", diff --git a/tool/live-monitor/live-monitor.js b/tool/live-monitor/live-monitor.js index c873697..b380861 100644 --- a/tool/live-monitor/live-monitor.js +++ b/tool/live-monitor/live-monitor.js @@ -1,5 +1,5 @@ const BridgeTransactionParser = require('../../index'); -const Bridge = require('@rsksmart/rsk-precompiled-abis').bridge; +const Bridge = require('@rsksmart/rsk-precompiled-abis-lovell700').bridge; const EventEmitter = require('node:events'); const { MONITOR_EVENTS, defaultParamsValues } = require('./live-monitor-utils'); const Web3 = require('web3');