From ba385b7da9eccd67a2b3f05fb305aab4898d33c2 Mon Sep 17 00:00:00 2001 From: Theo Date: Mon, 14 Aug 2023 14:34:15 -0700 Subject: [PATCH] Change repository field format in package.json to upload package on Gitea registry --- config.js | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 0925038..57e7260 100644 --- a/config.js +++ b/config.js @@ -1,4 +1,4 @@ -const etherToWei = (valueInEther) => valueInEther.toSTring() + "000000000000000000"; +const etherToWei = (valueInEther) => valueInEther.toString() + "000000000000000000"; module.exports = { torn: { diff --git a/package.json b/package.json index 24ebcc4..7837b8b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,10 @@ "name": "@tornado/tornado-config", "version": "1.0.8", "main": "config.js", - "repository": "https://git.tornado.ws/tornado-packages/tornado-config.git", + "repository": { + "type": "git", + "url": "https://git.tornado.ws/tornado-packages/tornado-config.git" + }, "author": "Tornado Cash Team", "license": "MIT", "keywords": [