Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atom/teletype-client

Package Overview
Dependencies
Maintainers
15
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom/teletype-client - npm Package Compare versions

Comparing version 0.37.0 to 0.37.1

20

lib/star-overlay-network.js

@@ -149,2 +149,22 @@ const assert = require('assert')

getMemberIdentity (peerId) {
if (!this.memberIdentitiesById.has(peerId)) {
const originalStackTrace = new Error().stack
const metadata = {
localPeerId: this.getPeerId(),
requestedPeerId: peerId,
isHub: this.isHub,
networkState: this.state,
connectedMemberIds: Array.from(this.connectedMemberIds),
memberIdsWithIdentity: Array.from(this.memberIdentitiesById.keys()),
}
process.nextTick(() => {
const error = new Error('Attempted to get identity for non-connected member')
error.metadata = metadata
error.privateMetadata = { originalStackTrace }
error.privateMetadataDescription = originalStackTrace
throw error
})
}
return this.memberIdentitiesById.get(peerId)

@@ -151,0 +171,0 @@ }

2

package.json
{
"name": "@atom/teletype-client",
"version": "0.37.0",
"version": "0.37.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc