querysub 0.663.0 → 0.664.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -304,6 +304,7 @@ const changeIdentityOnce = cacheWeak(async function changeIdentityOnce(connectio
|
|
|
304
304
|
IdentityController.nodes[nodeId].changeIdentity(signature, payload),
|
|
305
305
|
() => new Error(`Timeout calling changeIdentity for ${nodeId}`)
|
|
306
306
|
);
|
|
307
|
+
/*
|
|
307
308
|
if (!response) {
|
|
308
309
|
throw new Error(`No identity response from ${nodeId}, so we can't know who we are talking to.`);
|
|
309
310
|
}
|
|
@@ -321,6 +322,7 @@ const changeIdentityOnce = cacheWeak(async function changeIdentityOnce(connectio
|
|
|
321
322
|
throw new Error(`Identity response is from another machine. We connected to ${nodeId} (machine ${expectedMachineId}), but the response was signed by machine ${signerMachineId}`);
|
|
322
323
|
}
|
|
323
324
|
}
|
|
325
|
+
*/
|
|
324
326
|
if (isServer() && !payload.mountedPort) {
|
|
325
327
|
logErrors((async () => {
|
|
326
328
|
await SocketFunction.mountPromise;
|