swarm-pubsub 0.1.0 → 0.1.2
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 +250 -11
- package/dist/THIRD_PARTY_LICENSES.node.md +493 -0
- package/dist/index.js +29 -20
- package/dist/node.js +57682 -0
- package/package.json +14 -8
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
# Licenses
|
|
2
|
+
|
|
3
|
+
The app bundles dependencies which contain the following licenses:
|
|
4
|
+
|
|
5
|
+
## @chainsafe/as-chacha20poly1305 - 0.1.0 (Apache-2.0)
|
|
6
|
+
|
|
7
|
+
Copyright 2019 ChainSafe Systems
|
|
8
|
+
|
|
9
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
you may not use this file except in compliance with the License.
|
|
11
|
+
You may obtain a copy of the License at
|
|
12
|
+
|
|
13
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
|
|
15
|
+
Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
See the License for the specific language governing permissions and
|
|
19
|
+
limitations under the License.
|
|
20
|
+
|
|
21
|
+
## @chainsafe/as-sha256 - 1.2.5 (Apache-2.0)
|
|
22
|
+
|
|
23
|
+
Copyright 2019 ChainSafe Systems
|
|
24
|
+
|
|
25
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
26
|
+
you may not use this file except in compliance with the License.
|
|
27
|
+
You may obtain a copy of the License at
|
|
28
|
+
|
|
29
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
30
|
+
|
|
31
|
+
Unless required by applicable law or agreed to in writing, software
|
|
32
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
33
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
34
|
+
See the License for the specific language governing permissions and
|
|
35
|
+
limitations under the License.
|
|
36
|
+
|
|
37
|
+
## @chainsafe/is-ip - 2.1.0 (MIT)
|
|
38
|
+
|
|
39
|
+
Copyright © 2022 ChainSafe Systems
|
|
40
|
+
|
|
41
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
42
|
+
|
|
43
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
44
|
+
|
|
45
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
46
|
+
|
|
47
|
+
## @chainsafe/libp2p-noise - 17.0.0 (Apache-2.0 OR MIT)
|
|
48
|
+
|
|
49
|
+
## @chainsafe/libp2p-yamux - 8.0.1 (Apache-2.0 OR MIT)
|
|
50
|
+
|
|
51
|
+
## @chainsafe/netmask - 2.0.0 (MIT)
|
|
52
|
+
|
|
53
|
+
Copyright (c) 2023 Chainsafe Systems Inc.
|
|
54
|
+
|
|
55
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
56
|
+
a copy of this software and associated documentation files (the
|
|
57
|
+
"Software"), to deal in the Software without restriction, including
|
|
58
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
59
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
60
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
61
|
+
the following conditions:
|
|
62
|
+
|
|
63
|
+
The above copyright notice and this permission notice shall be
|
|
64
|
+
included in all copies or substantial portions of the Software.
|
|
65
|
+
|
|
66
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
67
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
68
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
69
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
70
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
71
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
72
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
73
|
+
|
|
74
|
+
## @libp2p/crypto - 5.2.0 (Apache-2.0 OR MIT)
|
|
75
|
+
|
|
76
|
+
## @libp2p/identify - 4.1.18 (Apache-2.0 OR MIT)
|
|
77
|
+
|
|
78
|
+
## @libp2p/interface - 3.4.0 (Apache-2.0 OR MIT)
|
|
79
|
+
|
|
80
|
+
## @libp2p/logger - 6.2.16 (Apache-2.0 OR MIT)
|
|
81
|
+
|
|
82
|
+
## @libp2p/multistream-select - 7.0.32 (Apache-2.0 OR MIT)
|
|
83
|
+
|
|
84
|
+
## @libp2p/peer-collections - 7.0.32 (Apache-2.0 OR MIT)
|
|
85
|
+
|
|
86
|
+
## @libp2p/peer-id - 6.0.18 (Apache-2.0 OR MIT)
|
|
87
|
+
|
|
88
|
+
## @libp2p/peer-record - 9.0.19 (Apache-2.0 OR MIT)
|
|
89
|
+
|
|
90
|
+
## @libp2p/peer-store - 12.0.32 (Apache-2.0 OR MIT)
|
|
91
|
+
|
|
92
|
+
## @libp2p/utils - 7.4.5 (Apache-2.0 OR MIT)
|
|
93
|
+
|
|
94
|
+
## @libp2p/websockets - 10.1.25 (Apache-2.0 OR MIT)
|
|
95
|
+
|
|
96
|
+
## @multiformats/dns - 1.0.15 (Apache-2.0 OR MIT)
|
|
97
|
+
|
|
98
|
+
## @multiformats/multiaddr-matcher - 3.0.2 (Apache-2.0 OR MIT)
|
|
99
|
+
|
|
100
|
+
## @multiformats/multiaddr-to-uri - 12.0.0 (Apache-2.0 OR MIT)
|
|
101
|
+
|
|
102
|
+
## @multiformats/multiaddr - 13.0.3 (Apache-2.0 OR MIT)
|
|
103
|
+
|
|
104
|
+
## @noble/ciphers - 2.4.0 (MIT)
|
|
105
|
+
|
|
106
|
+
The MIT License (MIT)
|
|
107
|
+
|
|
108
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
109
|
+
Copyright (c) 2016 Thomas Pornin <pornin@bolet.org>
|
|
110
|
+
|
|
111
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
112
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
113
|
+
in the Software without restriction, including without limitation the rights
|
|
114
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
115
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
116
|
+
furnished to do so, subject to the following conditions:
|
|
117
|
+
|
|
118
|
+
The above copyright notice and this permission notice shall be included in
|
|
119
|
+
all copies or substantial portions of the Software.
|
|
120
|
+
|
|
121
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
122
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
123
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
124
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
125
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
126
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
127
|
+
THE SOFTWARE.
|
|
128
|
+
|
|
129
|
+
## @noble/curves - 2.4.0 (MIT)
|
|
130
|
+
|
|
131
|
+
The MIT License (MIT)
|
|
132
|
+
|
|
133
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
134
|
+
|
|
135
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
136
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
137
|
+
in the Software without restriction, including without limitation the rights
|
|
138
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
139
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
140
|
+
furnished to do so, subject to the following conditions:
|
|
141
|
+
|
|
142
|
+
The above copyright notice and this permission notice shall be included in
|
|
143
|
+
all copies or substantial portions of the Software.
|
|
144
|
+
|
|
145
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
146
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
147
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
148
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
149
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
150
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
151
|
+
THE SOFTWARE.
|
|
152
|
+
|
|
153
|
+
## @noble/hashes - 2.4.0 (MIT)
|
|
154
|
+
|
|
155
|
+
The MIT License (MIT)
|
|
156
|
+
|
|
157
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
158
|
+
|
|
159
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
160
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
161
|
+
in the Software without restriction, including without limitation the rights
|
|
162
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
163
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
164
|
+
furnished to do so, subject to the following conditions:
|
|
165
|
+
|
|
166
|
+
The above copyright notice and this permission notice shall be included in
|
|
167
|
+
all copies or substantial portions of the Software.
|
|
168
|
+
|
|
169
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
170
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
171
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
172
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
173
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
174
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
175
|
+
THE SOFTWARE.
|
|
176
|
+
|
|
177
|
+
## @sindresorhus/fnv1a - 3.1.0 (MIT)
|
|
178
|
+
|
|
179
|
+
MIT License
|
|
180
|
+
|
|
181
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
182
|
+
|
|
183
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
184
|
+
|
|
185
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
186
|
+
|
|
187
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
188
|
+
|
|
189
|
+
## abort-error - 1.0.2 (Apache-2.0 OR MIT)
|
|
190
|
+
|
|
191
|
+
## any-signal - 4.2.0 (Apache-2.0 OR MIT)
|
|
192
|
+
|
|
193
|
+
## datastore-core - 12.0.1 (Apache-2.0 OR MIT)
|
|
194
|
+
|
|
195
|
+
## hashlru - 2.3.0 (MIT)
|
|
196
|
+
|
|
197
|
+
Copyright (c) 2016 'Dominic Tarr'
|
|
198
|
+
|
|
199
|
+
Permission is hereby granted, free of charge,
|
|
200
|
+
to any person obtaining a copy of this software and
|
|
201
|
+
associated documentation files (the "Software"), to
|
|
202
|
+
deal in the Software without restriction, including
|
|
203
|
+
without limitation the rights to use, copy, modify,
|
|
204
|
+
merge, publish, distribute, sublicense, and/or sell
|
|
205
|
+
copies of the Software, and to permit persons to whom
|
|
206
|
+
the Software is furnished to do so,
|
|
207
|
+
subject to the following conditions:
|
|
208
|
+
|
|
209
|
+
The above copyright notice and this permission notice
|
|
210
|
+
shall be included in all copies or substantial portions of the Software.
|
|
211
|
+
|
|
212
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
213
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
214
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
215
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
|
216
|
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
217
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
218
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
219
|
+
|
|
220
|
+
## interface-datastore - 10.0.1 (Apache-2.0 OR MIT)
|
|
221
|
+
|
|
222
|
+
## interface-store - 8.0.0 (Apache-2.0 OR MIT)
|
|
223
|
+
|
|
224
|
+
## is-electron - 2.2.2 (MIT)
|
|
225
|
+
|
|
226
|
+
The MIT License (MIT)
|
|
227
|
+
|
|
228
|
+
Copyright (c) 2016-2018 Cheton Wu
|
|
229
|
+
|
|
230
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
231
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
232
|
+
in the Software without restriction, including without limitation the rights
|
|
233
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
234
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
235
|
+
furnished to do so, subject to the following conditions:
|
|
236
|
+
|
|
237
|
+
The above copyright notice and this permission notice shall be included in all
|
|
238
|
+
copies or substantial portions of the Software.
|
|
239
|
+
|
|
240
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
241
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
242
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
243
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
244
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
245
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
246
|
+
SOFTWARE.
|
|
247
|
+
|
|
248
|
+
## is-loopback-addr - 2.1.0 (MIT)
|
|
249
|
+
|
|
250
|
+
MIT License
|
|
251
|
+
|
|
252
|
+
Copyright (c) 2020 Vasco Santos
|
|
253
|
+
|
|
254
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
255
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
256
|
+
in the Software without restriction, including without limitation the rights
|
|
257
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
258
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
259
|
+
furnished to do so, subject to the following conditions:
|
|
260
|
+
|
|
261
|
+
The above copyright notice and this permission notice shall be included in all
|
|
262
|
+
copies or substantial portions of the Software.
|
|
263
|
+
|
|
264
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
265
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
266
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
267
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
268
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
269
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
270
|
+
SOFTWARE.
|
|
271
|
+
|
|
272
|
+
## is-network-error - 1.3.2 (MIT)
|
|
273
|
+
|
|
274
|
+
MIT License
|
|
275
|
+
|
|
276
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
277
|
+
|
|
278
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
279
|
+
|
|
280
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
281
|
+
|
|
282
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
283
|
+
|
|
284
|
+
## it-all - 3.0.11 (Apache-2.0 OR MIT)
|
|
285
|
+
|
|
286
|
+
## it-drain - 3.0.12 (Apache-2.0 OR MIT)
|
|
287
|
+
|
|
288
|
+
## it-filter - 3.1.6 (Apache-2.0 OR MIT)
|
|
289
|
+
|
|
290
|
+
## it-length-prefixed - 11.0.1 (Apache-2.0 OR MIT)
|
|
291
|
+
|
|
292
|
+
## it-merge - 3.0.15 (Apache-2.0 OR MIT)
|
|
293
|
+
|
|
294
|
+
## it-parallel - 3.0.16 (Apache-2.0 OR MIT)
|
|
295
|
+
|
|
296
|
+
## it-peekable - 3.0.10 (Apache-2.0 OR MIT)
|
|
297
|
+
|
|
298
|
+
## it-pushable - 3.2.4 (Apache-2.0 OR MIT)
|
|
299
|
+
|
|
300
|
+
## it-queue - 1.1.4 (Apache-2.0 OR MIT)
|
|
301
|
+
|
|
302
|
+
## it-queueless-pushable - 2.0.5 (Apache-2.0 OR MIT)
|
|
303
|
+
|
|
304
|
+
## it-sort - 3.0.11 (Apache-2.0 OR MIT)
|
|
305
|
+
|
|
306
|
+
## it-take - 3.0.11 (Apache-2.0 OR MIT)
|
|
307
|
+
|
|
308
|
+
## libp2p - 3.5.1 (Apache-2.0 OR MIT)
|
|
309
|
+
|
|
310
|
+
## main-event - 1.0.5 (Apache-2.0 OR MIT)
|
|
311
|
+
|
|
312
|
+
## mortice - 3.3.1 (Apache-2.0 OR MIT)
|
|
313
|
+
|
|
314
|
+
## ms - 4.0.0-nightly.202508271359 (MIT)
|
|
315
|
+
|
|
316
|
+
The MIT License (MIT)
|
|
317
|
+
|
|
318
|
+
Copyright (c) 2025 Vercel, Inc.
|
|
319
|
+
|
|
320
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
321
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
322
|
+
in the Software without restriction, including without limitation the rights
|
|
323
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
324
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
325
|
+
furnished to do so, subject to the following conditions:
|
|
326
|
+
|
|
327
|
+
The above copyright notice and this permission notice shall be included in all
|
|
328
|
+
copies or substantial portions of the Software.
|
|
329
|
+
|
|
330
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
331
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
332
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
333
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
334
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
335
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
336
|
+
SOFTWARE.
|
|
337
|
+
|
|
338
|
+
## multiformats - 13.4.2 (Apache-2.0 OR MIT)
|
|
339
|
+
|
|
340
|
+
This project is dual licensed under MIT and Apache-2.0.
|
|
341
|
+
|
|
342
|
+
MIT: https://www.opensource.org/licenses/mit
|
|
343
|
+
Apache-2.0: https://www.apache.org/licenses/license-2.0
|
|
344
|
+
|
|
345
|
+
## multiformats - 14.0.5 (Apache-2.0 OR MIT)
|
|
346
|
+
|
|
347
|
+
This project is dual licensed under MIT and Apache-2.0.
|
|
348
|
+
|
|
349
|
+
MIT: https://www.opensource.org/licenses/mit
|
|
350
|
+
Apache-2.0: https://www.apache.org/licenses/license-2.0
|
|
351
|
+
|
|
352
|
+
## netmask - 2.1.1 (MIT)
|
|
353
|
+
|
|
354
|
+
MIT License
|
|
355
|
+
|
|
356
|
+
Copyright (c) 2011 Olivier Poitrey rs@rhapsodyk.net
|
|
357
|
+
|
|
358
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
359
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
360
|
+
in the Software without restriction, including without limitation the rights
|
|
361
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
362
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
363
|
+
furnished to do so, subject to the following conditions:
|
|
364
|
+
|
|
365
|
+
The above copyright notice and this permission notice shall be included in all
|
|
366
|
+
copies or substantial portions of the Software.
|
|
367
|
+
|
|
368
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
369
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
370
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
371
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
372
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
373
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
374
|
+
SOFTWARE.
|
|
375
|
+
|
|
376
|
+
## p-defer - 4.0.1 (MIT)
|
|
377
|
+
|
|
378
|
+
MIT License
|
|
379
|
+
|
|
380
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
381
|
+
|
|
382
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
383
|
+
|
|
384
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
385
|
+
|
|
386
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
387
|
+
|
|
388
|
+
## p-event - 8.0.1 (MIT)
|
|
389
|
+
|
|
390
|
+
MIT License
|
|
391
|
+
|
|
392
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
393
|
+
|
|
394
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
395
|
+
|
|
396
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
397
|
+
|
|
398
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
399
|
+
|
|
400
|
+
## p-retry - 8.0.1 (MIT)
|
|
401
|
+
|
|
402
|
+
MIT License
|
|
403
|
+
|
|
404
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
405
|
+
|
|
406
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
407
|
+
|
|
408
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
409
|
+
|
|
410
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
411
|
+
|
|
412
|
+
## p-timeout - 7.0.2 (MIT)
|
|
413
|
+
|
|
414
|
+
MIT License
|
|
415
|
+
|
|
416
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
417
|
+
|
|
418
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
419
|
+
|
|
420
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
421
|
+
|
|
422
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
423
|
+
|
|
424
|
+
## progress-events - 1.1.0 (Apache-2.0 OR MIT)
|
|
425
|
+
|
|
426
|
+
## protons-runtime - 5.6.0 (Apache-2.0 OR MIT)
|
|
427
|
+
|
|
428
|
+
This project is dual licensed under MIT and Apache-2.0.
|
|
429
|
+
|
|
430
|
+
MIT: https://www.opensource.org/licenses/mit
|
|
431
|
+
Apache-2.0: https://www.apache.org/licenses/license-2.0
|
|
432
|
+
|
|
433
|
+
## protons-runtime - 7.1.2 (Apache-2.0 OR MIT)
|
|
434
|
+
|
|
435
|
+
## race-event - 1.6.1 (Apache-2.0 OR MIT)
|
|
436
|
+
|
|
437
|
+
## race-signal - 2.0.2 (Apache-2.0 OR MIT)
|
|
438
|
+
|
|
439
|
+
## supports-color - 10.2.2 (MIT)
|
|
440
|
+
|
|
441
|
+
MIT License
|
|
442
|
+
|
|
443
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
444
|
+
|
|
445
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
446
|
+
|
|
447
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
448
|
+
|
|
449
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
450
|
+
|
|
451
|
+
## uint8-varint - 2.0.5 (Apache-2.0 OR MIT)
|
|
452
|
+
|
|
453
|
+
## uint8-varint - 3.0.0 (Apache-2.0 OR MIT)
|
|
454
|
+
|
|
455
|
+
## uint8arraylist - 2.4.9 (Apache-2.0 OR MIT)
|
|
456
|
+
|
|
457
|
+
## uint8arraylist - 3.0.2 (Apache-2.0 OR MIT)
|
|
458
|
+
|
|
459
|
+
## uint8arrays - 5.1.1 (Apache-2.0 OR MIT)
|
|
460
|
+
|
|
461
|
+
## uint8arrays - 6.1.1 (Apache-2.0 OR MIT)
|
|
462
|
+
|
|
463
|
+
## weald - 1.1.3 (Apache-2.0 OR MIT)
|
|
464
|
+
|
|
465
|
+
## wherearewe - 2.0.1 (Apache-2.0 OR MIT)
|
|
466
|
+
|
|
467
|
+
This project is dual licensed under MIT and Apache-2.0.
|
|
468
|
+
|
|
469
|
+
MIT: https://www.opensource.org/licenses/mit
|
|
470
|
+
Apache-2.0: https://www.apache.org/licenses/license-2.0
|
|
471
|
+
|
|
472
|
+
## ws - 8.22.1 (MIT)
|
|
473
|
+
|
|
474
|
+
Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
475
|
+
Copyright (c) 2013 Arnout Kazemier and contributors
|
|
476
|
+
Copyright (c) 2016 Luigi Pinca and contributors
|
|
477
|
+
|
|
478
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
479
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
480
|
+
the Software without restriction, including without limitation the rights to
|
|
481
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
482
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
483
|
+
subject to the following conditions:
|
|
484
|
+
|
|
485
|
+
The above copyright notice and this permission notice shall be included in all
|
|
486
|
+
copies or substantial portions of the Software.
|
|
487
|
+
|
|
488
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
489
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
490
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
491
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
492
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
493
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -19086,7 +19086,14 @@ function iA(e) {
|
|
|
19086
19086
|
}
|
|
19087
19087
|
return t;
|
|
19088
19088
|
}
|
|
19089
|
-
function aA(e, t
|
|
19089
|
+
function aA(e, t) {
|
|
19090
|
+
try {
|
|
19091
|
+
e?.(t);
|
|
19092
|
+
} catch (e) {
|
|
19093
|
+
console.error("swarm-pubsub: a handler threw", e);
|
|
19094
|
+
}
|
|
19095
|
+
}
|
|
19096
|
+
function oA(e, t, n, r) {
|
|
19090
19097
|
return _r([
|
|
19091
19098
|
t,
|
|
19092
19099
|
e,
|
|
@@ -19094,7 +19101,7 @@ function aA(e, t, n, r) {
|
|
|
19094
19101
|
r
|
|
19095
19102
|
]);
|
|
19096
19103
|
}
|
|
19097
|
-
var
|
|
19104
|
+
var sA = class {
|
|
19098
19105
|
position;
|
|
19099
19106
|
topic;
|
|
19100
19107
|
challenge;
|
|
@@ -19169,7 +19176,7 @@ var oA = class {
|
|
|
19169
19176
|
if (t < (this.position.cursors.get(e) ?? 0n)) return;
|
|
19170
19177
|
this.position.cursors.set(e, t + 1n);
|
|
19171
19178
|
let r = Gr(n);
|
|
19172
|
-
this.handlers.onMessage
|
|
19179
|
+
aA(this.handlers.onMessage, {
|
|
19173
19180
|
publisher: e,
|
|
19174
19181
|
index: t,
|
|
19175
19182
|
payload: r,
|
|
@@ -19184,9 +19191,9 @@ var oA = class {
|
|
|
19184
19191
|
this.position.rosterCursor = e + 1n, this.position.roster = n, this.roster.clear();
|
|
19185
19192
|
for (let e of n) this.roster.add(e);
|
|
19186
19193
|
}
|
|
19187
|
-
this.roster.has(this.identity) && n.includes(this.identity) && (this.granted = !0, this.grant?.()), r && this.handlers.onRoster
|
|
19194
|
+
this.roster.has(this.identity) && n.includes(this.identity) && (this.granted = !0, this.grant?.()), r && aA(this.handlers.onRoster, n);
|
|
19188
19195
|
}
|
|
19189
|
-
},
|
|
19196
|
+
}, cA = class extends sA {}, lA = class extends sA {
|
|
19190
19197
|
address;
|
|
19191
19198
|
privateKey;
|
|
19192
19199
|
nextIndex;
|
|
@@ -19222,9 +19229,9 @@ var oA = class {
|
|
|
19222
19229
|
if (this.address !== this.owner) throw Error(`only the channel owner can ${e}`);
|
|
19223
19230
|
}
|
|
19224
19231
|
frame(e, t, n) {
|
|
19225
|
-
return
|
|
19232
|
+
return oA(e, Ur(e, this.topic, this.challenge, t, this.privateKey, n), this.challenge, t);
|
|
19226
19233
|
}
|
|
19227
|
-
},
|
|
19234
|
+
}, uA = class {
|
|
19228
19235
|
node;
|
|
19229
19236
|
connection;
|
|
19230
19237
|
constructor(e, t) {
|
|
@@ -19232,10 +19239,10 @@ var oA = class {
|
|
|
19232
19239
|
}
|
|
19233
19240
|
async subscribe(e, t, n = {}) {
|
|
19234
19241
|
let r = nA(e), i = tA(t), a = Mr(Jk), { stream: o, reader: s, challenge: c } = await this.join(i, r, a);
|
|
19235
|
-
return new
|
|
19242
|
+
return new cA(o, s, c, i, r, Pr(a), n, n.position);
|
|
19236
19243
|
}
|
|
19237
19244
|
async publish(e, t, n = {}) {
|
|
19238
|
-
let r = Nr(t, 32), i = Fr(r), a = n.owner ? nA(n.owner) : Pr(i), o = tA(e), { stream: s, reader: c, challenge: l } = await this.join(o, a, i), u = new
|
|
19245
|
+
let r = Nr(t, 32), i = Fr(r), a = n.owner ? nA(n.owner) : Pr(i), o = tA(e), { stream: s, reader: c, challenge: l } = await this.join(o, a, i), u = new lA(s, c, l, o, a, r, n);
|
|
19239
19246
|
return await u.authenticate(n), u;
|
|
19240
19247
|
}
|
|
19241
19248
|
async close() {
|
|
@@ -19265,7 +19272,7 @@ var oA = class {
|
|
|
19265
19272
|
}
|
|
19266
19273
|
}
|
|
19267
19274
|
};
|
|
19268
|
-
async function
|
|
19275
|
+
async function dA(e) {
|
|
19269
19276
|
let t = new Ak(e);
|
|
19270
19277
|
try {
|
|
19271
19278
|
await Nk(e, t), await t.next(), await e.close();
|
|
@@ -19273,7 +19280,7 @@ async function uA(e) {
|
|
|
19273
19280
|
e.abort(t);
|
|
19274
19281
|
}
|
|
19275
19282
|
}
|
|
19276
|
-
async function
|
|
19283
|
+
async function fA(e, t) {
|
|
19277
19284
|
let n = q(e), r = await Dk({
|
|
19278
19285
|
transports: t.transports ?? [ew()],
|
|
19279
19286
|
connectionEncrypters: [Nb()],
|
|
@@ -19282,23 +19289,25 @@ async function dA(e, t) {
|
|
|
19282
19289
|
connectionGater: { denyDialMultiaddr: () => !1 },
|
|
19283
19290
|
services: { identify: AC() }
|
|
19284
19291
|
});
|
|
19285
|
-
await r.handle(Hk, (e) =>
|
|
19292
|
+
await r.handle(Hk, (e) => dA(e));
|
|
19286
19293
|
try {
|
|
19287
|
-
let
|
|
19288
|
-
|
|
19294
|
+
let i = await r.dial(n).catch((t) => {
|
|
19295
|
+
throw Error(`could not reach the broker at ${e}`, { cause: t });
|
|
19296
|
+
});
|
|
19297
|
+
return await Bk(i, n, t.networkId ?? Wk), new uA(r, i);
|
|
19289
19298
|
} catch (e) {
|
|
19290
19299
|
throw await r.stop(), e;
|
|
19291
19300
|
}
|
|
19292
19301
|
}
|
|
19293
19302
|
// src/index.ts
|
|
19294
|
-
var
|
|
19295
|
-
function
|
|
19296
|
-
return
|
|
19303
|
+
var pA = kr;
|
|
19304
|
+
function mA(e, t = {}) {
|
|
19305
|
+
return fA(e, t);
|
|
19297
19306
|
}
|
|
19298
|
-
function
|
|
19307
|
+
function hA() {
|
|
19299
19308
|
return $k();
|
|
19300
19309
|
}
|
|
19301
|
-
function
|
|
19310
|
+
function gA(e) {
|
|
19302
19311
|
return eA(e);
|
|
19303
19312
|
}
|
|
19304
|
-
export {
|
|
19313
|
+
export { pA as MAX_PAYLOAD_SIZE, gA as addressFromPrivateKey, mA as connect, hA as generatePrivateKey };
|