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

torrent-properties

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torrent-properties - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

19

index.js

@@ -121,5 +121,5 @@ const sodium = require('sodium-universal')

propertyData = this.getProperty(address, true)
if(propertyData){
return callback(new Error('address key is already managed'))
}
// if(propertyData){
// return callback(new Error('address key is already managed'))
// }
}

@@ -136,3 +136,8 @@

if(manage){
this.check.push({ address, infoHash, sequence, own: false })
if(propertyData){
propertyData.infoHash = infoHash
propertyData.sequence = sequence
} else {
this.check.push({ address, infoHash, sequence, own: false })
}
}

@@ -142,3 +147,7 @@

} else if(!res){
return callback(new Error('Could not resolve address'))
if(manage && propertyData){
return callback(null, propertyData)
} else {
return callback(new Error('Could not resolve address'))
}
}

@@ -145,0 +154,0 @@ })

{
"name": "torrent-properties",
"version": "1.1.1",
"version": "1.1.2",
"description": "BEP 46",

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

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