New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chainsafe/libp2p-noise

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainsafe/libp2p-noise - npm Package Compare versions

Comparing version 7.0.2 to 7.0.3

2

dist/src/crypto/streaming.d.ts

@@ -5,3 +5,3 @@ import type { Transform } from 'it-stream-types';

export declare function encryptStream(handshake: IHandshake): Transform<Uint8Array>;
export declare function decryptStream(handshake: IHandshake): Transform<Uint8Array | Uint8ArrayList>;
export declare function decryptStream(handshake: IHandshake): Transform<Uint8ArrayList, Uint8Array>;
//# sourceMappingURL=streaming.d.ts.map
{
"name": "@chainsafe/libp2p-noise",
"version": "7.0.2",
"version": "7.0.3",
"author": "ChainSafe <info@chainsafe.io>",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -24,3 +24,3 @@ import type { Transform } from 'it-stream-types'

// Decrypt received payload to the user
export function decryptStream (handshake: IHandshake): Transform<Uint8Array|Uint8ArrayList> {
export function decryptStream (handshake: IHandshake): Transform<Uint8ArrayList, Uint8Array> {
return async function * (source) {

@@ -27,0 +27,0 @@ for await (const chunk of source) {

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