From 37bf7c7278b190318aeccf51fc00d2c03daf2af5 Mon Sep 17 00:00:00 2001 From: Francisco Tobar Date: Thu, 1 Aug 2024 20:05:57 -0600 Subject: [PATCH] feat: boltz verifier claim amount --- package-lock.json | 99 +++++++++++++++++++++++++++++++---------------- package.json | 6 +-- 2 files changed, 69 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca3ead0..33a5c2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@rsksmart/rif-relay-server", - "version": "2.3.0-beta-boltz.4", + "version": "2.3.0-beta-boltz.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rsksmart/rif-relay-server", - "version": "2.3.0-beta-boltz.4", + "version": "2.3.0-beta-boltz.5", "license": "MIT", "dependencies": { - "@rsksmart/rif-relay-client": "^2.2.3", - "@rsksmart/rif-relay-contracts": "^2.1.0-beta.0", + "@rsksmart/rif-relay-client": "github:rsksmart/rif-relay-client#boltz-verifier-claim-amount", + "@rsksmart/rif-relay-contracts": "github:rsksmart/rif-relay-contracts#boltz-verifier-claim-amount", "async-mutex": "^0.4.0", "async-retry": "^1.3.3", "bignumber.js": "^9.1.1", @@ -121,11 +121,19 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-string-parser": { + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-validator-identifier": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -226,10 +234,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.0.tgz", - "integrity": "sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", "license": "MIT", + "dependencies": { + "@babel/types": "^7.25.2" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -237,6 +248,20 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/types": { + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -2128,9 +2153,9 @@ "license": "MIT" }, "node_modules/@rsksmart/rif-relay-client": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@rsksmart/rif-relay-client/-/rif-relay-client-2.2.3.tgz", - "integrity": "sha512-rDSvcY6xQPWTqoSxnxKBgc//w9cv+FxEViejC7UYZxun/FVV4pwkoGFvIQ/611i/BKrDSXcs7+wH0HuVrSwO9Q==", + "version": "2.2.4", + "resolved": "git+ssh://git@github.com/rsksmart/rif-relay-client.git#1a163551f89a32fdb51bd6ada473f5b5a20a35b8", + "license": "MIT", "dependencies": { "bignumber.js": "^9.1.1", "loglevel": "~1.8.0", @@ -2138,7 +2163,7 @@ "superagent": "^8.0.9" }, "peerDependencies": { - "@rsksmart/rif-relay-contracts": "^2.1.0-beta.0", + "@rsksmart/rif-relay-contracts": "github:rsksmart/rif-relay-contracts#boltz-verifier-claim-amount", "ethers": "^5.7.0" } }, @@ -2156,9 +2181,8 @@ } }, "node_modules/@rsksmart/rif-relay-contracts": { - "version": "2.1.0-beta.0", - "resolved": "https://registry.npmjs.org/@rsksmart/rif-relay-contracts/-/rif-relay-contracts-2.1.0-beta.0.tgz", - "integrity": "sha512-c528EwEnE7HaAMSfXSnnm9ohcW6lEH9tix0I7C70CihyQ5PHa4fAj2XfkELv1WHTqtiIbLxxJh3YRzCcDrbGdQ==", + "version": "2.1.0-beta.1", + "resolved": "git+ssh://git@github.com/rsksmart/rif-relay-contracts.git#e857112f64cfcde7497496e531fb83e0175ae520", "license": "MIT", "dependencies": { "@metamask/eth-sig-util": "^4.0.1", @@ -2640,9 +2664,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.16", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.16.tgz", - "integrity": "sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==", + "version": "4.3.17", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.17.tgz", + "integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==", "license": "MIT" }, "node_modules/@types/chai-as-promised": { @@ -3743,9 +3767,9 @@ } }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.3.tgz", + "integrity": "sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==", "license": "MIT", "peer": true, "dependencies": { @@ -3947,9 +3971,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", - "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "funding": [ { "type": "opencollective", @@ -3966,9 +3990,9 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", "update-browserslist-db": "^1.1.0" }, "bin": { @@ -4105,9 +4129,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001644", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001644.tgz", - "integrity": "sha512-YGvlOZB4QhZuiis+ETS0VXR+MExbFf4fZYYeMTEE0aTQd/RdIjkTyZjLrbYVKnHzppDvnOhritRVv+i7Go6mHw==", + "version": "1.0.30001646", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001646.tgz", + "integrity": "sha512-dRg00gudiBDDTmUhClSdv3hqRfpbOnU28IpI1T6PBTLWa+kOj0681C8uML3PifYfREuBrVjDGhL3adYpBT6spw==", "funding": [ { "type": "opencollective", @@ -5256,9 +5280,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.3.tgz", - "integrity": "sha512-QNdYSS5i8D9axWp/6XIezRObRHqaav/ur9z1VzCDUCH1XIFOr9WQk5xmgunhsTpjjgDy3oLxO/WMOVZlpUQrlA==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz", + "integrity": "sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==", "license": "ISC" }, "node_modules/elliptic": { @@ -11992,6 +12016,15 @@ "node": ">=0.6.0" } }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", diff --git a/package.json b/package.json index ab1030f..ea146c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rsksmart/rif-relay-server", - "version": "2.3.0-beta-boltz.4", + "version": "2.3.0-beta-boltz.5", "private": false, "description": "This project contains all the server code for the rif relay system.", "license": "MIT", @@ -75,8 +75,8 @@ "package.json": "npx sort-package-json" }, "dependencies": { - "@rsksmart/rif-relay-client": "^2.2.3", - "@rsksmart/rif-relay-contracts": "^2.1.0-beta.0", + "@rsksmart/rif-relay-client": "github:rsksmart/rif-relay-client#boltz-verifier-claim-amount", + "@rsksmart/rif-relay-contracts": "github:rsksmart/rif-relay-contracts#boltz-verifier-claim-amount", "async-mutex": "^0.4.0", "async-retry": "^1.3.3", "bignumber.js": "^9.1.1",