From 8cacc3f4f0b76b9bd82c3bd85fb410b3437c50bb Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Mon, 7 Oct 2024 10:26:24 -0400 Subject: [PATCH 1/2] chore: update sdk --- package-lock.json | 8 ++++---- package.json | 2 +- src/tasks/sync_stores.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f7e554..f9701df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.28", - "@dignetwork/dig-sdk": "^0.0.1-alpha.155", + "@dignetwork/dig-sdk": "^0.0.1-alpha.156", "async-mutex": "^0.5.0", "busboy": "^1.6.0", "express": "^4.19.2", @@ -252,9 +252,9 @@ } }, "node_modules/@dignetwork/dig-sdk": { - "version": "0.0.1-alpha.155", - "resolved": "https://registry.npmjs.org/@dignetwork/dig-sdk/-/dig-sdk-0.0.1-alpha.155.tgz", - "integrity": "sha512-QhV3yqpGICRwmqkTuunnuMnGkZU5IX/E0Cg5W7eoCZmL4YmdCxcaqcXAxG1uM4/pazF06urq9Qi1H5ryxkzpKw==", + "version": "0.0.1-alpha.156", + "resolved": "https://registry.npmjs.org/@dignetwork/dig-sdk/-/dig-sdk-0.0.1-alpha.156.tgz", + "integrity": "sha512-JBVTMumtlz9/xZWBpVvBnTg1/Kn5aU6md/uTE5KvpPPTN+3z3Luc6U+2M7GGSRGpcVHsbFNyWl8O/pX0isb60Q==", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.29", "@dignetwork/dig-sdk": "^0.0.1-alpha.124", diff --git a/package.json b/package.json index c2b4f13..efd7c94 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ ], "dependencies": { "@dignetwork/datalayer-driver": "^0.1.28", - "@dignetwork/dig-sdk": "^0.0.1-alpha.155", + "@dignetwork/dig-sdk": "^0.0.1-alpha.156", "async-mutex": "^0.5.0", "busboy": "^1.6.0", "express": "^4.19.2", diff --git a/src/tasks/sync_stores.ts b/src/tasks/sync_stores.ts index 42192d4..695eb28 100644 --- a/src/tasks/sync_stores.ts +++ b/src/tasks/sync_stores.ts @@ -40,7 +40,7 @@ const processPeer = async (peerIp: string, storeId: string, rootHash: string, ch checkedPeers.add(peerIp); // Mark as checked only if peer has the rootHash } else { console.log(`Dig Peer ${peerIp} does not have rootHash ${rootHash}. Pinging update.`); - await withTimeout( digPeer.propagationServer.pingUpdate(rootHash), 15000, "Dig Peer: ${peerIp} took to long to respond to ping request`"); + await withTimeout( digPeer.propagationServer.pingUpdate(rootHash), 15000, `Dig Peer: ${peerIp} took to long to respond to ping request`); // Do NOT mark as checked if peer lacks the rootHash } } catch (error: any) { From 0449ca9f0cc8eeb4f90cdb39bb1c63dacec8205d Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Mon, 7 Oct 2024 10:27:20 -0400 Subject: [PATCH 2/2] chore(release): 0.0.1-alpha.123 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d54bdf..4b1b67d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.1-alpha.123](https://github.com/DIG-Network/dig-propagation-server/compare/v0.0.1-alpha.122...v0.0.1-alpha.123) (2024-10-07) + ### [0.0.1-alpha.122](https://github.com/DIG-Network/dig-propagation-server/compare/v0.0.1-alpha.121...v0.0.1-alpha.122) (2024-10-06) diff --git a/package-lock.json b/package-lock.json index f9701df..589b2d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dig-propagation-server", - "version": "0.0.1-alpha.122", + "version": "0.0.1-alpha.123", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dig-propagation-server", - "version": "0.0.1-alpha.122", + "version": "0.0.1-alpha.123", "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.28", diff --git a/package.json b/package.json index efd7c94..75c634c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dig-propagation-server", - "version": "0.0.1-alpha.122", + "version": "0.0.1-alpha.123", "description": "", "type": "commonjs", "main": "./dist/index.js",