diff --git a/package-lock.json b/package-lock.json index 75fa6e6..c349830 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1-alpha.57", "license": "ISC", "dependencies": { - "@dignetwork/dig-sdk": "^0.0.1-alpha.161", + "@dignetwork/dig-sdk": "^0.0.1-alpha.165", "async-mutex": "^0.5.0", "datalayer-driver": "^0.1.21", "express": "^4.19.2", @@ -241,9 +241,9 @@ } }, "node_modules/@dignetwork/dig-sdk": { - "version": "0.0.1-alpha.161", - "resolved": "https://registry.npmjs.org/@dignetwork/dig-sdk/-/dig-sdk-0.0.1-alpha.161.tgz", - "integrity": "sha512-npX1yAAYBqD5bSMWERbtM65bEv1O8tMAPc2Mt7WCt+JK4I72DP8f9ORYpoD4brKffwpvfjgOu+XAPW/RO6VCNQ==", + "version": "0.0.1-alpha.165", + "resolved": "https://registry.npmjs.org/@dignetwork/dig-sdk/-/dig-sdk-0.0.1-alpha.165.tgz", + "integrity": "sha512-mILuM0eVmuBU8QTw9L6xlRFVx+SMJUqdo30xExGxHyMmy6Yu0zJGkXla2mxZe8d3glEfsabjEZkwv2rHgl8TUQ==", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.29", "@dignetwork/dig-sdk": "^0.0.1-alpha.158", @@ -267,6 +267,7 @@ "nanospinner": "^1.1.0", "nconf": "^0.12.1", "node-cache": "^5.1.2", + "node-stun": "^0.1.2", "progress-stream": "^2.0.0", "proper-lockfile": "^4.1.2", "superagent": "^10.0.0", @@ -1567,6 +1568,11 @@ "node": ">= 0.8" } }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, "node_modules/compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", @@ -3259,8 +3265,7 @@ "node_modules/ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/inquirer": { "version": "10.2.2", @@ -4025,6 +4030,39 @@ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" }, + "node_modules/node-stun": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/node-stun/-/node-stun-0.1.2.tgz", + "integrity": "sha512-yoYj/QnnrVGu1gaeoQHUiMV3F01M9UEkTwuDO/FyvGN55pWzZVf16mfodo3eql46A20rGm/fY//+vf6geEe0Eg==", + "dependencies": { + "commander": "^2.9.0", + "debug": "^2.2.0", + "ini": "^1.3.4", + "lodash": "^3.10.1" + }, + "bin": { + "node-stun-client": "bin/client.js", + "node-stun-server": "bin/server.js" + } + }, + "node_modules/node-stun/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/node-stun/node_modules/lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha512-9mDDwqVIma6OZX79ZlDACZl8sBm0TEnkf99zV3iMA4GzkIT/9hiqP5mY0HoT1iNLCrKc/R1HByV+yJfRWVJryQ==" + }, + "node_modules/node-stun/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, "node_modules/noms": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", diff --git a/package.json b/package.json index 7ef2118..f91946a 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "LICENSE" ], "dependencies": { - "@dignetwork/dig-sdk": "^0.0.1-alpha.161", + "@dignetwork/dig-sdk": "^0.0.1-alpha.165", "async-mutex": "^0.5.0", "datalayer-driver": "^0.1.21", "express": "^4.19.2", diff --git a/src/tasks/payouts.ts b/src/tasks/payouts.ts index b22672c..a14feac 100644 --- a/src/tasks/payouts.ts +++ b/src/tasks/payouts.ts @@ -269,7 +269,7 @@ const runIncentiveProgram = async ( }, (result) => { // The callback processes the result - console.log(`Callback for peer ${peerIp}, result: ${result}`); + // console.log(`Callback for peer ${peerIp}, result: ${result}`); } ); })