@libp2p/mdns 11.0.2 → 11.0.3-c258b35af

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,5 +77,6 @@
77
77
  */
78
78
  import type { MulticastDNSInit, MulticastDNSComponents } from './mdns.js';
79
79
  import type { PeerDiscovery } from '@libp2p/interface';
80
+ export type { MulticastDNSInit, MulticastDNSComponents };
80
81
  export declare function mdns(init?: MulticastDNSInit): (components: MulticastDNSComponents) => PeerDiscovery;
81
82
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,wBAAgB,IAAI,CAAE,IAAI,GAAE,gBAAqB,GAAG,CAAC,UAAU,EAAE,sBAAsB,KAAK,aAAa,CAExG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,YAAY,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;AAExD,wBAAgB,IAAI,CAAE,IAAI,GAAE,gBAAqB,GAAG,CAAC,UAAU,EAAE,sBAAsB,KAAK,aAAa,CAExG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAIxC,MAAM,UAAU,IAAI,CAAE,OAAyB,EAAE;IAC/C,OAAO,CAAC,UAAkC,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;AACnF,CAAC;AAED;;;;;;;;;;;;;;;EAeE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAMxC,MAAM,UAAU,IAAI,CAAE,OAAyB,EAAE;IAC/C,OAAO,CAAC,UAAkC,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;AACnF,CAAC;AAED;;;;;;;;;;;;;;;EAeE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/mdns",
3
- "version": "11.0.2",
3
+ "version": "11.0.3-c258b35af",
4
4
  "description": "Node.js libp2p mDNS discovery implementation for peer discovery",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-discovery-mdns#readme",
@@ -50,19 +50,19 @@
50
50
  "test:electron-main": "aegir test -t electron-main"
51
51
  },
52
52
  "dependencies": {
53
- "@libp2p/interface": "^2.1.0",
54
- "@libp2p/interface-internal": "^2.0.2",
55
- "@libp2p/peer-id": "^5.0.2",
56
- "@libp2p/utils": "^6.0.2",
53
+ "@libp2p/interface": "2.1.1-c258b35af",
54
+ "@libp2p/interface-internal": "2.0.3-c258b35af",
55
+ "@libp2p/peer-id": "5.0.3-c258b35af",
56
+ "@libp2p/utils": "6.0.3-c258b35af",
57
57
  "@multiformats/multiaddr": "^12.2.3",
58
58
  "@types/multicast-dns": "^7.2.4",
59
59
  "dns-packet": "^5.6.1",
60
60
  "multicast-dns": "^7.2.5"
61
61
  },
62
62
  "devDependencies": {
63
- "@libp2p/crypto": "^5.0.2",
64
- "@libp2p/interface-compliance-tests": "^6.1.0",
65
- "@libp2p/logger": "^5.0.2",
63
+ "@libp2p/crypto": "5.0.3-c258b35af",
64
+ "@libp2p/interface-compliance-tests": "6.1.1-c258b35af",
65
+ "@libp2p/logger": "5.0.3-c258b35af",
66
66
  "aegir": "^44.0.1",
67
67
  "p-wait-for": "^5.0.2",
68
68
  "sinon-ts": "^2.0.0"
package/src/index.ts CHANGED
@@ -80,6 +80,8 @@ import { MulticastDNS } from './mdns.js'
80
80
  import type { MulticastDNSInit, MulticastDNSComponents } from './mdns.js'
81
81
  import type { PeerDiscovery } from '@libp2p/interface'
82
82
 
83
+ export type { MulticastDNSInit, MulticastDNSComponents }
84
+
83
85
  export function mdns (init: MulticastDNSInit = {}): (components: MulticastDNSComponents) => PeerDiscovery {
84
86
  return (components: MulticastDNSComponents) => new MulticastDNS(components, init)
85
87
  }
@@ -1,4 +0,0 @@
1
- {
2
- "mdns": "https://libp2p.github.io/js-libp2p/functions/_libp2p_mdns.mdns.html",
3
- ".:mdns": "https://libp2p.github.io/js-libp2p/functions/_libp2p_mdns.mdns.html"
4
- }