swarm-pubsub 0.1.1 → 0.1.3
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 +4 -1
- package/dist/THIRD_PARTY_LICENSES.node.md +493 -0
- package/dist/index.js +5 -5
- package/dist/node.js +57680 -0
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -372,9 +372,12 @@ npm run typecheck
|
|
|
372
372
|
npm test
|
|
373
373
|
npm run test:live # protocol and game example against a real broker
|
|
374
374
|
npm run build
|
|
375
|
+
npm run test:e2e # after build: a browser and a Node.js client message each other through the broker
|
|
375
376
|
```
|
|
376
377
|
|
|
377
|
-
`
|
|
378
|
+
`npm publish` runs typecheck, tests, build and `test:e2e`, in that order, and stops at the first failure. `test:e2e` installs Playwright's headless Chromium if it is missing.
|
|
379
|
+
|
|
380
|
+
The package ships two bundles, `dist/index.js` for browsers and `dist/node.js` for Node.js, picked automatically through `exports`. Both include libp2p, with the patches in `patches/`, so users of the package need nothing extra.
|
|
378
381
|
|
|
379
382
|
## License
|
|
380
383
|
|
|
@@ -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
|
@@ -1954,9 +1954,7 @@ function Lr(e, t) {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
function Rr(e, t) {
|
|
1956
1956
|
let n = new Uint8Array(wr);
|
|
1957
|
-
n[0] = e[64] - 27, n.set(e.subarray(0, 64), 1);
|
|
1958
|
-
let r = Un.recoverPublicKey(n, Ir(t), { prehash: !1 });
|
|
1959
|
-
return dr(Un.Point.fromBytes(r).toBytes(!1).subarray(1)).slice(-20);
|
|
1957
|
+
return n[0] = e[64] - 27, n.set(e.subarray(0, 64), 1), dr(Un.Signature.fromBytes(n, "recovered").recoverPublicKey(Ir(t)).toBytes(!1).subarray(1)).slice(-20);
|
|
1960
1958
|
}
|
|
1961
1959
|
function zr(e) {
|
|
1962
1960
|
Ar.fill(0, 0, Math.min(kr, e.length + Dr)), Ar.set(e);
|
|
@@ -19291,8 +19289,10 @@ async function fA(e, t) {
|
|
|
19291
19289
|
});
|
|
19292
19290
|
await r.handle(Hk, (e) => dA(e));
|
|
19293
19291
|
try {
|
|
19294
|
-
let
|
|
19295
|
-
|
|
19292
|
+
let i = await r.dial(n).catch((t) => {
|
|
19293
|
+
throw Error(`could not reach the broker at ${e}`, { cause: t });
|
|
19294
|
+
});
|
|
19295
|
+
return await Bk(i, n, t.networkId ?? Wk), new uA(r, i);
|
|
19296
19296
|
} catch (e) {
|
|
19297
19297
|
throw await r.stop(), e;
|
|
19298
19298
|
}
|