From 075818d5515e37458ccc3c628bf5c72f385a5629 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 12 May 2023 15:25:58 -0700 Subject: [PATCH 1/3] Adding test coverage reporting for just unit tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 408b050..91a62d8 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "node index.js", "test": "npm run test:all", "test:all": "export SVC_ENV=test && c8 --reporter=text mocha --exit --timeout 15000 --recursive test/unit test/e2e/automated/", - "test:unit": "export SVC_ENV=test && mocha --exit --timeout 15000 --recursive test/unit/", + "test:unit": "export SVC_ENV=test && c8 --reporter=text mocha --exit --timeout 15000 --recursive test/unit/", "test:e2e:auto": "export SVC_ENV=test && mocha --exit --timeout 15000 test/e2e/automated/", "test:temp": "export SVC_ENV=test && mocha --exit --timeout 15000 -g '#rate-limit' test/unit/json-rpc/", "lint": "standard --env mocha --fix", From 286f079679b0fa547a2dc14f0776b941173b5c89 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 13 May 2023 06:59:25 -0700 Subject: [PATCH 2/3] fix(ipfs-coord-esm): Updating to v9.1.9 --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8454c55..9e80909 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "axios": "0.27.2", "bcryptjs": "2.4.3", "glob": "7.1.6", - "ipfs-coord-esm": "9.1.6", + "ipfs-coord-esm": "9.1.9", "ipfs-http-client": "58.0.0", "jsonrpc-lite": "2.2.0", "jsonwebtoken": "8.5.1", @@ -6092,9 +6092,9 @@ } }, "node_modules/ipfs-coord-esm": { - "version": "9.1.6", - "resolved": "http://94.130.170.209:4873/ipfs-coord-esm/-/ipfs-coord-esm-9.1.6.tgz", - "integrity": "sha512-1atZZvWUSaZAHwKBe+/WPyXVW1E9JRnryIo5fXQtuJHwpUSPWgg9+FhOTTvY6WkjoAJNQgnsNn2CUVHI1A5XrA==", + "version": "9.1.9", + "resolved": "http://94.130.170.209:4873/ipfs-coord-esm/-/ipfs-coord-esm-9.1.9.tgz", + "integrity": "sha512-sVZRyi19B5YyilAYV90pgbyEizW01kAnZYEGCLmbyTaZWVey6W08HHjnOfoCW0k23FqE35pg9eYNlOopCLuPrQ==", "license": "MIT", "dependencies": { "bch-encrypt-lib": "2.0.0", @@ -19569,9 +19569,9 @@ "integrity": "sha512-fOCG6lhoKKakwv+C6KdsOnGvgXnmgfmp0myi3bcNwj3qfwPAxRKWEuFhvEFF7ceYIz6+1jRZ+yguLFAmUNPEfw==" }, "ipfs-coord-esm": { - "version": "9.1.6", - "resolved": "http://94.130.170.209:4873/ipfs-coord-esm/-/ipfs-coord-esm-9.1.6.tgz", - "integrity": "sha512-1atZZvWUSaZAHwKBe+/WPyXVW1E9JRnryIo5fXQtuJHwpUSPWgg9+FhOTTvY6WkjoAJNQgnsNn2CUVHI1A5XrA==", + "version": "9.1.9", + "resolved": "http://94.130.170.209:4873/ipfs-coord-esm/-/ipfs-coord-esm-9.1.9.tgz", + "integrity": "sha512-sVZRyi19B5YyilAYV90pgbyEizW01kAnZYEGCLmbyTaZWVey6W08HHjnOfoCW0k23FqE35pg9eYNlOopCLuPrQ==", "requires": { "bch-encrypt-lib": "2.0.0", "uuid": "9.0.0" diff --git a/package.json b/package.json index 91a62d8..15d1b08 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "axios": "0.27.2", "bcryptjs": "2.4.3", "glob": "7.1.6", - "ipfs-coord-esm": "9.1.6", + "ipfs-coord-esm": "9.1.9", "ipfs-http-client": "58.0.0", "jsonrpc-lite": "2.2.0", "jsonwebtoken": "8.5.1", From 64855372071104ab590c8cd82133eeb10cb9be72 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 13 May 2023 07:03:49 -0700 Subject: [PATCH 3/3] Turning down debug logs --- shell-scripts/local-external-ipfs-node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-scripts/local-external-ipfs-node.sh b/shell-scripts/local-external-ipfs-node.sh index 5cd0171..f40c630 100755 --- a/shell-scripts/local-external-ipfs-node.sh +++ b/shell-scripts/local-external-ipfs-node.sh @@ -13,7 +13,7 @@ export COORD_NAME=ipfs-service-provider-generic export MNEMONIC="churn aisle shield silver ladder swear hunt slim pen demand spoil veteran" # 0 = less verbose. 3 = most verbose -export DEBUG_LEVEL=2 +export DEBUG_LEVEL=0 # Production settings that use external IPFS node. # https://github.com/christroutner/docker-ipfs