diff --git a/npmDepsHash b/npmDepsHash index 95df5eca..20b2bcd1 100644 --- a/npmDepsHash +++ b/npmDepsHash @@ -1 +1 @@ -sha256-q9enlUeek2s8pMmB9a14TB/YVUxn6WWVJyZlEU2wFHk= +sha256-9mL/sYej+5OQcZ4xDDoBYDclOoCLN2FfQDiAX5SDqOA= diff --git a/package-lock.json b/package-lock.json index 4ebb70a6..dc4850da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "polykey-cli", - "version": "0.17.1", + "version": "0.17.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "polykey-cli", - "version": "0.17.1", + "version": "0.17.2", "license": "GPL-3.0", "bin": { "pk": "dist/polykey.js", @@ -42,7 +42,7 @@ "nexpect": "^0.6.0", "node-gyp-build": "^4.4.0", "nodemon": "^3.0.1", - "polykey": "^1.21.0", + "polykey": "^1.21.3", "prettier": "^3.0.0", "shelljs": "^0.8.5", "shx": "^0.3.4", @@ -1574,9 +1574,9 @@ ] }, "node_modules/@matrixai/quic": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic/-/quic-1.3.2.tgz", - "integrity": "sha512-HpHqJJY0hVG0rvXN5VpWGh1hCbpz0Gg52olm8UneqLzRW+xFLlpV25JcIHZAh2AG4yILrFU/4JDAzx9Oxdzbww==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic/-/quic-1.3.12.tgz", + "integrity": "sha512-oA0xN+9f1CCJzhFjLToNV24xwBigJJB5bFjmLqBQtGlhTahr6g5z1RrAp2mZCpxVV1rUOLI4P8FkswA/xGX47Q==", "dev": true, "dependencies": { "@matrixai/async-cancellable": "^1.1.1", @@ -1591,17 +1591,17 @@ "ip-num": "^1.5.0" }, "optionalDependencies": { - "@matrixai/quic-darwin-arm64": "1.3.2", - "@matrixai/quic-darwin-universal": "1.3.2", - "@matrixai/quic-darwin-x64": "1.3.2", - "@matrixai/quic-linux-x64": "1.3.2", - "@matrixai/quic-win32-x64": "1.3.2" + "@matrixai/quic-darwin-arm64": "1.3.12", + "@matrixai/quic-darwin-universal": "1.3.12", + "@matrixai/quic-darwin-x64": "1.3.12", + "@matrixai/quic-linux-x64": "1.3.12", + "@matrixai/quic-win32-x64": "1.3.12" } }, "node_modules/@matrixai/quic-darwin-arm64": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-arm64/-/quic-darwin-arm64-1.3.2.tgz", - "integrity": "sha512-RJeGfyayUHEPNKSfDNhU6QSqrjNWUeD9h/NaLIzueNPnxeSfFCcJEMDf6HhKuF/iMPuOiQABFb1lL0qjbCoEnQ==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-arm64/-/quic-darwin-arm64-1.3.12.tgz", + "integrity": "sha512-GBLJWYHT4XXA7ZuToZGLHhTYqeKC2KvKfHjWFeO9Fz3aDcFKBTUdN+QiQZFA3N6YtDme6+xBb5qxGvrNPJgHng==", "cpu": [ "arm64" ], @@ -1612,9 +1612,9 @@ ] }, "node_modules/@matrixai/quic-darwin-universal": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-universal/-/quic-darwin-universal-1.3.2.tgz", - "integrity": "sha512-d/FWERj8fNudFC1OaHfe0iPSzTsHCsbaLCMvFAGinsvcEB1YAHSt7DPRKJ+j8AJvoLqjM30QTxu+dHe9LsIUGA==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-universal/-/quic-darwin-universal-1.3.12.tgz", + "integrity": "sha512-Tq2Tjp3Pkg293B0Ib7Owds2wzEfYcbkIr4VfrhZ3yCVVWXmC/DSQ23Bd+l9MIGo03/NYUQeZwJ0KuexthERqXA==", "cpu": [ "x64", "arm64" @@ -1625,9 +1625,9 @@ ] }, "node_modules/@matrixai/quic-darwin-x64": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-x64/-/quic-darwin-x64-1.3.2.tgz", - "integrity": "sha512-higH93CI+qSwUc/mHeWF93UFo6ALnLwT0rPQxQQFEza03vx3uuZjvXUj1q8+skEHH/qOPz1ypWLrZSyvLMoADQ==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic-darwin-x64/-/quic-darwin-x64-1.3.12.tgz", + "integrity": "sha512-uw/jesb4oJoVcsqBVewvu47XVLdffOUGnHPV+m1XNWHaClUKzYJXHRCtwsnlyf2DltzHPBf2Vu+jbkLZcuovnQ==", "cpu": [ "x64" ], @@ -1638,9 +1638,9 @@ ] }, "node_modules/@matrixai/quic-linux-x64": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic-linux-x64/-/quic-linux-x64-1.3.2.tgz", - "integrity": "sha512-gWP+ioIa3QG0z40K0G7g33oVev1UxTtpju8FQg7A6nHH5gBfYNKM7zc/XdVmOfXiiTpv3zel49E/8/2A9gKeuw==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic-linux-x64/-/quic-linux-x64-1.3.12.tgz", + "integrity": "sha512-u+qXouRfZ+h4iLksj/fD3DkWFGFyVl8lQbfKQs0W0mv0U0P9+gYIBNvMIqDn65da7Z8X8jGpFWcATgsBAbVLRQ==", "cpu": [ "x64" ], @@ -1650,9 +1650,9 @@ ] }, "node_modules/@matrixai/quic-win32-x64": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@matrixai/quic-win32-x64/-/quic-win32-x64-1.3.2.tgz", - "integrity": "sha512-hFYTtNEOOtttn5ytlXE4wsGSrj/mD9cz8gALgSMiEawaMQ2EeQ/G+hYZWreUuTyzhxITWe9mOPksIb1CvIBThQ==", + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@matrixai/quic-win32-x64/-/quic-win32-x64-1.3.12.tgz", + "integrity": "sha512-c+x0ZItcrZOUE1ZgGuhiN9AH5KWJCIsmGQbFfkVko6NVI0bDiTIwkqmUA6JbSBCH8JD4jQqnaggMRc4kZmlMsA==", "cpu": [ "x64" ], @@ -7602,9 +7602,9 @@ } }, "node_modules/polykey": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/polykey/-/polykey-1.21.0.tgz", - "integrity": "sha512-IoK/+IPWgVZFhHnoFz5OYKPClvABqZrcVBhIRla6Y4wYzO5+cBOnkxg5Oa9vvRraUOea8KxgTg4ZLAhx16cjGg==", + "version": "1.21.3", + "resolved": "https://registry.npmjs.org/polykey/-/polykey-1.21.3.tgz", + "integrity": "sha512-/6Kqo96aFMtIqqW9pCqAZBofV+Bf8K70rwL9xjzfAOG/yTiCJOdxV/4tioztYIP9ntjnvsN/htiJ0rzj46+dMw==", "dev": true, "dependencies": { "@matrixai/async-cancellable": "^1.1.1", @@ -7617,7 +7617,7 @@ "@matrixai/id": "^3.3.6", "@matrixai/logger": "^3.1.2", "@matrixai/mdns": "^1.2.6", - "@matrixai/quic": "^1.3.2", + "@matrixai/quic": "^1.3.12", "@matrixai/resources": "^1.1.5", "@matrixai/rpc": "^0.6.2", "@matrixai/timer": "^1.1.3", diff --git a/package.json b/package.json index 727d1f8f..837b7594 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polykey-cli", - "version": "0.17.1", + "version": "0.17.2", "homepage": "https://polykey.com", "author": "Roger Qiu", "contributors": [ @@ -153,7 +153,7 @@ "nexpect": "^0.6.0", "node-gyp-build": "^4.4.0", "nodemon": "^3.0.1", - "polykey": "^1.21.0", + "polykey": "^1.21.3", "prettier": "^3.0.0", "shelljs": "^0.8.5", "shx": "^0.3.4", diff --git a/src/agent/CommandStart.ts b/src/agent/CommandStart.ts index 88e64e96..ea833ef3 100644 --- a/src/agent/CommandStart.ts +++ b/src/agent/CommandStart.ts @@ -117,6 +117,7 @@ class CommandStart extends CommandPolykey { clientServicePort: options.clientPort, agentServiceHost: options.agentHost, agentServicePort: options.agentPort, + network: options.network, seedNodes: seedNodes_, workers: options.workers, keys: { diff --git a/src/nodes/CommandConnections.ts b/src/nodes/CommandConnections.ts index de8fc73d..5c3155f3 100644 --- a/src/nodes/CommandConnections.ts +++ b/src/nodes/CommandConnections.ts @@ -53,6 +53,7 @@ class CommandAdd extends CommandPolykey { port: connection.port, timeout: connection.timeout, usageCount: connection.usageCount, + authenticated: connection.authenticated, }); } return connectionEntries; @@ -77,6 +78,7 @@ class CommandAdd extends CommandPolykey { 'port', 'timeout', 'usageCount', + 'authenticated', ], includeHeaders: true, },