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

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
6
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-internal - npm Package Compare versions

Comparing version

to
0.1.10-551622a96

2

dist/index.min.js
(function (root, factory) {(typeof module === 'object' && module.exports) ? module.exports = factory() : root.Libp2PInterfaceInternal = factory()}(typeof self !== 'undefined' ? self : this, function () {
"use strict";var Libp2PInterfaceInternal=(()=>{var t=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(o,e,x,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of b(e))!c.call(o,p)&&p!==x&&t(o,p,{get:()=>e[p],enumerable:!(r=a(e,p))||r.enumerable});return o};var f=o=>d(t({},"__esModule",{value:!0}),o);var g={};return f(g);})();
"use strict";var Libp2PInterfaceInternal=(()=>{var t=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var b=(r,o,x,p)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of m(o))!a.call(r,e)&&e!==x&&t(r,e,{get:()=>o[e],enumerable:!(p=f(o,e))||p.enumerable});return r};var c=r=>b(t({},"__esModule",{value:!0}),r);var d={};return c(d);})();
return Libp2PInterfaceInternal}));

@@ -1,4 +0,2 @@

import type { AbortOptions, PendingDial } from '@libp2p/interface';
import type { Connection, MultiaddrConnection } from '@libp2p/interface/connection';
import type { PeerId } from '@libp2p/interface/peer-id';
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId } from '@libp2p/interface';
import type { PeerMap } from '@libp2p/peer-collections';

@@ -5,0 +3,0 @@ import type { Multiaddr } from '@multiformats/multiaddr';

@@ -1,2 +0,6 @@

export {};
export * from './address-manager/index.js';
export * from './connection-manager/index.js';
export * from './record/index.js';
export * from './registrar/index.js';
export * from './transport-manager/index.js';
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,6 @@

export {};
export * from './address-manager/index.js';
export * from './connection-manager/index.js';
export * from './record/index.js';
export * from './registrar/index.js';
export * from './transport-manager/index.js';
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import type { PeerId } from '@libp2p/interface/peer-id';
import type { PeerId } from '@libp2p/interface';
import type { Uint8ArrayList } from 'uint8arraylist';

@@ -3,0 +3,0 @@ /**

@@ -1,3 +0,2 @@

import type { Connection, Stream } from '@libp2p/interface/connection';
import type { Topology } from '@libp2p/interface/topology';
import type { Connection, Stream, Topology } from '@libp2p/interface';
export interface IncomingStreamData {

@@ -4,0 +3,0 @@ stream: Stream;

@@ -1,3 +0,2 @@

import type { Connection } from '@libp2p/interface/connection';
import type { Listener, Transport } from '@libp2p/interface/transport';
import type { Connection, Listener, Transport } from '@libp2p/interface';
import type { Multiaddr } from '@multiformats/multiaddr';

@@ -4,0 +3,0 @@ export interface TransportManager {

{
"name": "@libp2p/interface-internal",
"version": "0.1.9",
"version": "0.1.10-551622a96",
"description": "Interfaces implemented by internal libp2p components",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface-internal#readme",
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface-internal#readme",
"repository": {

@@ -14,2 +14,6 @@ "type": "git",

},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [

@@ -47,22 +51,2 @@ "interface",

"import": "./dist/src/index.js"
},
"./address-manager": {
"types": "./dist/src/address-manager/index.d.ts",
"import": "./dist/src/address-manager/index.js"
},
"./connection-manager": {
"types": "./dist/src/connection-manager/index.d.ts",
"import": "./dist/src/connection-manager/index.js"
},
"./record": {
"types": "./dist/src/record/index.d.ts",
"import": "./dist/src/record/index.js"
},
"./registrar": {
"types": "./dist/src/registrar/index.d.ts",
"import": "./dist/src/registrar/index.js"
},
"./transport-manager": {
"types": "./dist/src/transport-manager/index.d.ts",
"import": "./dist/src/transport-manager/index.js"
}

@@ -84,5 +68,5 @@ },

"dependencies": {
"@libp2p/interface": "^0.1.6",
"@libp2p/peer-collections": "^4.0.8",
"@multiformats/multiaddr": "^12.1.5",
"@libp2p/interface": "1.0.0-551622a96",
"@libp2p/peer-collections": "4.0.9-551622a96",
"@multiformats/multiaddr": "^12.1.10",
"uint8arraylist": "^2.4.3"

@@ -89,0 +73,0 @@ },

[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=main\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amain)

@@ -6,0 +6,0 @@ > Interfaces implemented by internal libp2p components

@@ -1,4 +0,2 @@

import type { AbortOptions, PendingDial } from '@libp2p/interface'
import type { Connection, MultiaddrConnection } from '@libp2p/interface/connection'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId } from '@libp2p/interface'
import type { PeerMap } from '@libp2p/peer-collections'

@@ -5,0 +3,0 @@ import type { Multiaddr } from '@multiformats/multiaddr'

@@ -1,1 +0,5 @@

export {}
export * from './address-manager/index.js'
export * from './connection-manager/index.js'
export * from './record/index.js'
export * from './registrar/index.js'
export * from './transport-manager/index.js'

@@ -1,2 +0,2 @@

import type { PeerId } from '@libp2p/interface/peer-id'
import type { PeerId } from '@libp2p/interface'
import type { Uint8ArrayList } from 'uint8arraylist'

@@ -3,0 +3,0 @@

@@ -1,3 +0,2 @@

import type { Connection, Stream } from '@libp2p/interface/connection'
import type { Topology } from '@libp2p/interface/topology'
import type { Connection, Stream, Topology } from '@libp2p/interface'

@@ -4,0 +3,0 @@ export interface IncomingStreamData {

@@ -1,3 +0,2 @@

import type { Connection } from '@libp2p/interface/connection'
import type { Listener, Transport } from '@libp2p/interface/transport'
import type { Connection, Listener, Transport } from '@libp2p/interface'
import type { Multiaddr } from '@multiformats/multiaddr'

@@ -4,0 +3,0 @@

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet