@helia/bitswap 2.0.2 → 2.0.3-6542cf2

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.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # @helia/bitswap
2
+
1
3
  [![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
2
4
  [![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
3
5
  [![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia)
@@ -48,8 +50,8 @@ Loading this module through a script tag will make its exports available as `Hel
48
50
 
49
51
  Licensed under either of
50
52
 
51
- - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
52
- - MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
53
+ - Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/helia/blob/main/packages/bitswap/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
54
+ - MIT ([LICENSE-MIT](https://github.com/ipfs/helia/blob/main/packages/bitswap/LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
53
55
 
54
56
  # Contribute
55
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/bitswap",
3
- "version": "2.0.2",
3
+ "version": "2.0.3-6542cf2",
4
4
  "description": "JavaScript implementation of the Bitswap data exchange protocol used by Helia",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/helia/tree/main/packages/bitswap#readme",
@@ -46,96 +46,10 @@
46
46
  "*.test-d.ts"
47
47
  ]
48
48
  },
49
- "release": {
50
- "branches": [
51
- "main"
52
- ],
53
- "plugins": [
54
- [
55
- "@semantic-release/commit-analyzer",
56
- {
57
- "preset": "conventionalcommits",
58
- "releaseRules": [
59
- {
60
- "breaking": true,
61
- "release": "major"
62
- },
63
- {
64
- "revert": true,
65
- "release": "patch"
66
- },
67
- {
68
- "type": "feat",
69
- "release": "minor"
70
- },
71
- {
72
- "type": "fix",
73
- "release": "patch"
74
- },
75
- {
76
- "type": "docs",
77
- "release": "patch"
78
- },
79
- {
80
- "type": "test",
81
- "release": "patch"
82
- },
83
- {
84
- "type": "deps",
85
- "release": "patch"
86
- },
87
- {
88
- "scope": "no-release",
89
- "release": false
90
- }
91
- ]
92
- }
93
- ],
94
- [
95
- "@semantic-release/release-notes-generator",
96
- {
97
- "preset": "conventionalcommits",
98
- "presetConfig": {
99
- "types": [
100
- {
101
- "type": "feat",
102
- "section": "Features"
103
- },
104
- {
105
- "type": "fix",
106
- "section": "Bug Fixes"
107
- },
108
- {
109
- "type": "chore",
110
- "section": "Trivial Changes"
111
- },
112
- {
113
- "type": "docs",
114
- "section": "Documentation"
115
- },
116
- {
117
- "type": "deps",
118
- "section": "Dependencies"
119
- },
120
- {
121
- "type": "test",
122
- "section": "Tests"
123
- }
124
- ]
125
- }
126
- }
127
- ],
128
- "@semantic-release/changelog",
129
- "@semantic-release/npm",
130
- "@semantic-release/github",
131
- "@semantic-release/git"
132
- ]
133
- },
134
49
  "scripts": {
135
50
  "clean": "aegir clean",
136
51
  "lint": "aegir lint",
137
52
  "build": "aegir build",
138
- "release": "aegir release",
139
53
  "test": "aegir test",
140
54
  "test:node": "aegir test -t node --cov",
141
55
  "test:chrome": "aegir test -t browser --cov",
@@ -148,46 +62,46 @@
148
62
  "docs": "aegir docs"
149
63
  },
150
64
  "dependencies": {
151
- "@helia/interface": "^5.1.0",
152
- "@helia/utils": "^1.1.0",
153
- "@libp2p/interface": "^2.0.0",
154
- "@libp2p/logger": "^5.0.0",
155
- "@libp2p/peer-collections": "^6.0.0",
156
- "@libp2p/utils": "^6.0.0",
157
- "@multiformats/multiaddr": "^12.1.14",
65
+ "@helia/interface": "5.2.0-6542cf2",
66
+ "@helia/utils": "1.2.0-6542cf2",
67
+ "@libp2p/interface": "^2.2.1",
68
+ "@libp2p/logger": "^5.1.4",
69
+ "@libp2p/peer-collections": "^6.0.12",
70
+ "@libp2p/utils": "^6.2.1",
71
+ "@multiformats/multiaddr": "^12.3.3",
158
72
  "any-signal": "^4.1.1",
159
- "interface-blockstore": "^5.2.9",
160
- "interface-store": "^6.0.0",
161
- "it-drain": "^3.0.5",
162
- "it-length-prefixed": "^9.0.0",
163
- "it-length-prefixed-stream": "^1.1.6",
164
- "it-map": "^3.0.5",
73
+ "interface-blockstore": "^5.3.1",
74
+ "interface-store": "^6.0.2",
75
+ "it-drain": "^3.0.7",
76
+ "it-length-prefixed": "^9.1.0",
77
+ "it-length-prefixed-stream": "^1.2.0",
78
+ "it-map": "^3.1.1",
165
79
  "it-pipe": "^3.0.1",
166
- "it-take": "^3.0.1",
167
- "multiformats": "^13.0.1",
168
- "p-defer": "^4.0.0",
169
- "progress-events": "^1.0.0",
170
- "protons-runtime": "^5.0.0",
171
- "race-event": "^1.2.0",
172
- "uint8-varint": "^2.0.3",
173
- "uint8arraylist": "^2.4.3",
174
- "uint8arrays": "^5.0.1"
80
+ "it-take": "^3.0.6",
81
+ "multiformats": "^13.3.1",
82
+ "p-defer": "^4.0.1",
83
+ "progress-events": "^1.0.1",
84
+ "protons-runtime": "^5.5.0",
85
+ "race-event": "^1.3.0",
86
+ "uint8-varint": "^2.0.4",
87
+ "uint8arraylist": "^2.4.8",
88
+ "uint8arrays": "^5.1.0"
175
89
  },
176
90
  "devDependencies": {
177
- "@libp2p/crypto": "^5.0.0",
178
- "@libp2p/interface-compliance-tests": "^6.0.0",
179
- "@libp2p/peer-id": "^5.0.0",
91
+ "@libp2p/crypto": "^5.0.7",
92
+ "@libp2p/interface-compliance-tests": "^6.1.11",
93
+ "@libp2p/peer-id": "^5.0.8",
180
94
  "@types/sinon": "^17.0.3",
181
- "aegir": "^45.0.1",
182
- "blockstore-core": "^5.0.0",
95
+ "aegir": "^45.0.6",
96
+ "blockstore-core": "^5.0.2",
183
97
  "delay": "^6.0.0",
184
- "it-all": "^3.0.4",
98
+ "it-all": "^3.0.6",
185
99
  "it-pair": "^2.0.6",
186
- "it-protobuf-stream": "^1.1.2",
187
- "p-event": "^6.0.0",
188
- "p-retry": "^6.2.0",
100
+ "it-protobuf-stream": "^1.1.5",
101
+ "p-event": "^6.0.1",
102
+ "p-retry": "^6.2.1",
189
103
  "p-wait-for": "^5.0.2",
190
- "protons": "^7.0.2",
104
+ "protons": "^7.6.0",
191
105
  "sinon": "^19.0.2",
192
106
  "sinon-ts": "^2.0.0"
193
107
  },
package/LICENSE DELETED
@@ -1,4 +0,0 @@
1
- This project is dual licensed under MIT and Apache-2.0.
2
-
3
- MIT: https://www.opensource.org/licenses/mit
4
- Apache-2.0: https://www.apache.org/licenses/license-2.0
@@ -1,25 +0,0 @@
1
- {
2
- "codec": "https://ipfs.github.io/helia/functions/_helia_bitswap.WantType.codec.html",
3
- "WantType": "https://ipfs.github.io/helia/enums/_helia_bitswap.WantType-1.html",
4
- "Bitswap": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.Bitswap.html",
5
- ".:Bitswap": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.Bitswap.html",
6
- "BitswapComponents": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.BitswapComponents.html",
7
- ".:BitswapComponents": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.BitswapComponents.html",
8
- "BitswapOptions": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.BitswapOptions.html",
9
- ".:BitswapOptions": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.BitswapOptions.html",
10
- "MultihashHasherLoader": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.MultihashHasherLoader.html",
11
- ".:MultihashHasherLoader": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.MultihashHasherLoader.html",
12
- "WantListEntry": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.WantListEntry.html",
13
- ".:WantListEntry": "https://ipfs.github.io/helia/interfaces/_helia_bitswap.WantListEntry.html",
14
- "BitswapNetworkNotifyProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapNetworkNotifyProgressEvents.html",
15
- "BitswapNetworkProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapNetworkProgressEvents.html",
16
- "BitswapNetworkWantProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapNetworkWantProgressEvents.html",
17
- "BitswapNotifyProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapNotifyProgressEvents.html",
18
- ".:BitswapNotifyProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapNotifyProgressEvents.html",
19
- "BitswapWantBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapWantBlockProgressEvents.html",
20
- ".:BitswapWantBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapWantBlockProgressEvents.html",
21
- "BitswapWantProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapWantProgressEvents.html",
22
- ".:BitswapWantProgressEvents": "https://ipfs.github.io/helia/types/_helia_bitswap.BitswapWantProgressEvents.html",
23
- "createBitswap": "https://ipfs.github.io/helia/functions/_helia_bitswap.createBitswap.html",
24
- ".:createBitswap": "https://ipfs.github.io/helia/functions/_helia_bitswap.createBitswap.html"
25
- }