@libp2p/tls 3.0.17-fd68eecf7 → 3.1.0

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.
@@ -0,0 +1,18 @@
1
+ {
2
+ "TLSComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_tls.index.TLSComponents.html",
3
+ ".:TLSComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_tls.index.TLSComponents.html",
4
+ "PROTOCOL": "https://libp2p.github.io/js-libp2p/variables/_libp2p_tls.index.PROTOCOL.html",
5
+ ".:PROTOCOL": "https://libp2p.github.io/js-libp2p/variables/_libp2p_tls.index.PROTOCOL.html",
6
+ "tls": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.index.tls.html",
7
+ ".:tls": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.index.tls.html",
8
+ "encodeSignatureData": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.encodeSignatureData.html",
9
+ "./utils:encodeSignatureData": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.encodeSignatureData.html",
10
+ "generateCertificate": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.generateCertificate.html",
11
+ "./utils:generateCertificate": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.generateCertificate.html",
12
+ "toMessageStream": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.toMessageStream.html",
13
+ "./utils:toMessageStream": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.toMessageStream.html",
14
+ "toNodeDuplex": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.toNodeDuplex.html",
15
+ "./utils:toNodeDuplex": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.toNodeDuplex.html",
16
+ "verifyPeerCertificate": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.verifyPeerCertificate.html",
17
+ "./utils:verifyPeerCertificate": "https://libp2p.github.io/js-libp2p/functions/_libp2p_tls.utils.verifyPeerCertificate.html"
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/tls",
3
- "version": "3.0.17-fd68eecf7",
3
+ "version": "3.1.0",
4
4
  "description": "A connection encrypter that uses TLS 1.3",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/connection-encrypter-tls#readme",
@@ -17,6 +17,22 @@
17
17
  },
18
18
  "type": "module",
19
19
  "types": "./dist/src/index.d.ts",
20
+ "typesVersions": {
21
+ "*": {
22
+ "*": [
23
+ "*",
24
+ "dist/*",
25
+ "dist/src/*",
26
+ "dist/src/*/index"
27
+ ],
28
+ "src/*": [
29
+ "*",
30
+ "dist/*",
31
+ "dist/src/*",
32
+ "dist/src/*/index"
33
+ ]
34
+ }
35
+ },
20
36
  "files": [
21
37
  "src",
22
38
  "dist",
@@ -28,6 +44,11 @@
28
44
  "types": "./dist/src/index.d.ts",
29
45
  "import": "./dist/src/index.js",
30
46
  "module-sync": "./dist/src/index.js"
47
+ },
48
+ "./utils": {
49
+ "types": "./dist/src/utils.d.ts",
50
+ "import": "./dist/src/utils.js",
51
+ "module-sync": "./dist/src/utils.js"
31
52
  }
32
53
  },
33
54
  "scripts": {
@@ -42,10 +63,10 @@
42
63
  "doc-check": "aegir doc-check"
43
64
  },
44
65
  "dependencies": {
45
- "@libp2p/crypto": "5.1.17-fd68eecf7",
46
- "@libp2p/interface": "3.2.2-fd68eecf7",
47
- "@libp2p/peer-id": "6.0.8-fd68eecf7",
48
- "@libp2p/utils": "7.0.17-fd68eecf7",
66
+ "@libp2p/crypto": "^5.1.17",
67
+ "@libp2p/interface": "^3.2.2",
68
+ "@libp2p/peer-id": "^6.0.8",
69
+ "@libp2p/utils": "^7.1.0",
49
70
  "@peculiar/asn1-schema": "^2.4.0",
50
71
  "@peculiar/asn1-x509": "^2.4.0",
51
72
  "@peculiar/webcrypto": "^1.5.0",
@@ -58,7 +79,7 @@
58
79
  "uint8arrays": "^5.1.0"
59
80
  },
60
81
  "devDependencies": {
61
- "@libp2p/logger": "6.2.6-fd68eecf7",
82
+ "@libp2p/logger": "^6.2.6",
62
83
  "aegir": "^47.0.22",
63
84
  "protons": "^8.1.1",
64
85
  "sinon": "^21.0.0",