Socket
Socket
Sign inDemoInstall

@bryopsida/eureka

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bryopsida/eureka - npm Package Compare versions

Comparing version 0.2.0 to 0.4.0

jsdoc.json

10

package.json
{
"name": "@bryopsida/eureka",
"version": "0.2.0",
"version": "0.4.0",
"description": "A library for securely discovering other processes in a multicast network",

@@ -13,3 +13,6 @@ "main": "lib.mjs",

"lint": "standard .",
"lint:fix": "standard --fix ."
"lint:fix": "standard --fix .",
"build:docs": "jsdoc --configure jsdoc.json --destination docs --readme README.md --recurse src",
"prebuild:typings": "rm -rf *.d.mts && rm -fr src/*.d.mts",
"build:typings": "tsc --allowJs --declaration --emitDeclarationOnly --outDir . --target ESNext --module ESNext --strict --esModuleInterop --skipLibCheck lib.mjs src/crypto.mjs src/eureka.mjs src/header.mjs src/message-type.mjs src/transport.mjs"
},

@@ -20,4 +23,5 @@ "author": "",

"jsdoc": "^4.0.2",
"standard": "^17.1.0"
"standard": "^17.1.0",
"typescript": "^5.5.4"
}
}

@@ -18,2 +18,6 @@ # Eureka

const id = randomUUID()
const algorithm = 'aes-256-gcm' // or 'chacha20-poly1305'
const kdfFunction = 'pbkdf2' // or 'scrypt'
const chunkSize = 1500 // amount of data passed to send at one time including header, decrease if you encounter EMSGSIZE errors
const chunkSpacing = 25 // milliseconds in between chunk send calls

@@ -24,3 +28,7 @@ const eureka = new Eureka({

salt,
password
password,
algorithm,
kdfFunction,
chunkSize,
chunkSpacing
},

@@ -57,1 +65,5 @@ messageData: {

To provide security the messages are encrypted with `ChaCha20-poly1305` using the `IP:PORT` of the sender as the additional authentication data.
# Hosted JSDoc page
You can find a hosted JSDoc page of the latest release [here](https://bryopsida.github.io/eureka/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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