torrent-properties
Advanced tools
Comparing version 1.0.7 to 1.0.8
const sodium = require('sodium-universal') | ||
const sha1 = require('simple-sha1') | ||
const fs = require('fs') | ||
const { json } = require('stream/consumers') | ||
@@ -181,3 +180,3 @@ const BTPK_PREFIX = 'urn:btpk:' | ||
dht.put({k: buffAddKey, v: {ih: Buffer.from(infoHash, 'hex')}, sign: (buf) => {return sign(buf, buffAddKey, buffSecKey)}, sequence}, (putErr, hash) => { | ||
this.dht.put({k: buffAddKey, v: {ih: Buffer.from(infoHash, 'hex')}, sign: (buf) => {return sign(buf, buffAddKey, buffSecKey)}, sequence}, (putErr, hash) => { | ||
if(putErr){ | ||
@@ -184,0 +183,0 @@ return callback(putErr) |
{ | ||
"name": "torrent-properties", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "BEP 46", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9106
232