@eventual-ai/mcap-viewer 0.0.0-stage → 0.1.0-alpha.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Eventual, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,71 @@
1
- # Temporary Holding Version
1
+ # @eventual-ai/mcap-viewer
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ A TypeScript browser SDK for playing native H.264/H.265 video from streamed MCAP
4
+ recordings. `/core` plays MCAP video topics; `/data-loader` handles the replay
5
+ service. The package root exports both.
6
+
7
+ ```sh
8
+ npm install @eventual-ai/mcap-viewer@alpha
9
+ ```
10
+
11
+ ```ts
12
+ import {
13
+ McapRecording,
14
+ ReplayPlayer,
15
+ ImageRenderer,
16
+ } from "@eventual-ai/mcap-viewer/core";
17
+
18
+ const recording = await McapRecording.open(url, { signal });
19
+ const player = new ReplayPlayer(recording);
20
+ const renderer = new ImageRenderer(canvas, { imageTopic: "head_left" });
21
+ player.subscribe(renderer);
22
+ await player.seek(recording.start);
23
+ await player.play();
24
+ ```
25
+
26
+ `open` reads files, URLs and custom streams progressively. Messages must be ordered
27
+ by `logTime`; unordered input fails. Do not await `recording.loaded` before playback.
28
+ Observe loading and late errors with `recording.subscribe`; call `player.close()`,
29
+ `recording.close()` and `renderer.destroy()` when unmounting.
30
+
31
+ The core plays `eventual.replay.v1.CompressedVideo`, the only schema the service
32
+ serves: native H.264/HEVC packets with their decode order, in ZSTD-compressed MCAP
33
+ with embedded Protobuf schemas. Times remain `bigint` nanoseconds.
34
+
35
+ ```ts
36
+ import { ReplayDataLoader } from "@eventual-ai/mcap-viewer/data-loader";
37
+
38
+ const loader = new ReplayDataLoader({
39
+ baseUrl: REPLAY_URL,
40
+ headers: { Authorization: `Bearer ${token}` },
41
+ });
42
+ const topics = await loader.discover(datasource);
43
+ const [span] = await loader.manifest({
44
+ datasource,
45
+ topics: ["head_left"],
46
+ spans: [{ id: episodeId, start: 10, end: 20 }],
47
+ });
48
+ const recording = await loader.openSpan(span, { signal });
49
+ ```
50
+
51
+ Each manifest supplies one streamed MCAP URL. Payload requests omit control
52
+ credentials. The loader applies the requested span bounds. `discover` maps topic
53
+ names to canonical schemas and actual wire encodings:
54
+
55
+ ```json
56
+ {
57
+ "head_left": {
58
+ "schema": "eventual.replay.v1.CompressedVideo",
59
+ "schema_encoding": "protobuf",
60
+ "message_encoding": "protobuf"
61
+ }
62
+ }
63
+ ```
64
+
65
+ `capabilities` lists canonical schemas with `status: "live"`.
66
+
67
+ Video requires WebCodecs over HTTPS or localhost; available codecs depend on the
68
+ browser and device. Unsupported codecs report an error through `renderer.onError`.
69
+
70
+ The package bundles its dependencies; their licenses are in
71
+ `dist/THIRD_PARTY_LICENSES.md`. MIT licensed.
@@ -0,0 +1,415 @@
1
+ # Licenses
2
+
3
+ The app bundles dependencies which contain the following licenses:
4
+
5
+ ## @foxglove/crc - 0.0.3 (MIT)
6
+
7
+ MIT License
8
+
9
+ Copyright (c) Foxglove Technologies Inc
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ ## @foxglove/wasm-zstd - 1.0.1 (MIT)
30
+
31
+ MIT License
32
+
33
+ Copyright (c) 2023 Foxglove
34
+
35
+ Permission is hereby granted, free of charge, to any person obtaining a copy
36
+ of this software and associated documentation files (the "Software"), to deal
37
+ in the Software without restriction, including without limitation the rights
38
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
39
+ copies of the Software, and to permit persons to whom the Software is
40
+ furnished to do so, subject to the following conditions:
41
+
42
+ The above copyright notice and this permission notice shall be included in all
43
+ copies or substantial portions of the Software.
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
47
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
49
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
51
+ SOFTWARE.
52
+
53
+ ## @mcap/core - 2.4.0 (MIT)
54
+
55
+ MIT License
56
+
57
+ Copyright (c) Foxglove Technologies Inc
58
+
59
+ Permission is hereby granted, free of charge, to any person obtaining a copy
60
+ of this software and associated documentation files (the "Software"), to deal
61
+ in the Software without restriction, including without limitation the rights
62
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
+ copies of the Software, and to permit persons to whom the Software is
64
+ furnished to do so, subject to the following conditions:
65
+
66
+ The above copyright notice and this permission notice shall be included in all
67
+ copies or substantial portions of the Software.
68
+
69
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
+ SOFTWARE.
76
+
77
+ ## base64-js - 1.5.1 (MIT)
78
+
79
+ The MIT License (MIT)
80
+
81
+ Copyright (c) 2014 Jameson Little
82
+
83
+ Permission is hereby granted, free of charge, to any person obtaining a copy
84
+ of this software and associated documentation files (the "Software"), to deal
85
+ in the Software without restriction, including without limitation the rights
86
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87
+ copies of the Software, and to permit persons to whom the Software is
88
+ furnished to do so, subject to the following conditions:
89
+
90
+ The above copyright notice and this permission notice shall be included in
91
+ all copies or substantial portions of the Software.
92
+
93
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99
+ THE SOFTWARE.
100
+
101
+ ## buffer - 6.0.3 (MIT)
102
+
103
+ The MIT License (MIT)
104
+
105
+ Copyright (c) Feross Aboukhadijeh, and other contributors.
106
+
107
+ Permission is hereby granted, free of charge, to any person obtaining a copy
108
+ of this software and associated documentation files (the "Software"), to deal
109
+ in the Software without restriction, including without limitation the rights
110
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
111
+ copies of the Software, and to permit persons to whom the Software is
112
+ furnished to do so, subject to the following conditions:
113
+
114
+ The above copyright notice and this permission notice shall be included in
115
+ all copies or substantial portions of the Software.
116
+
117
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
118
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
119
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
120
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
121
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
122
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
123
+ THE SOFTWARE.
124
+
125
+ ## heap-js - 2.7.1 (BSD-3-Clause)
126
+
127
+ BSD 3-Clause License
128
+
129
+ Copyright (c) 2017, Ignacio Lago
130
+ All rights reserved.
131
+
132
+ Redistribution and use in source and binary forms, with or without
133
+ modification, are permitted provided that the following conditions are met:
134
+
135
+ * Redistributions of source code must retain the above copyright notice, this
136
+ list of conditions and the following disclaimer.
137
+
138
+ * Redistributions in binary form must reproduce the above copyright notice,
139
+ this list of conditions and the following disclaimer in the documentation
140
+ and/or other materials provided with the distribution.
141
+
142
+ * Neither the name of the copyright holder nor the names of its
143
+ contributors may be used to endorse or promote products derived from
144
+ this software without specific prior written permission.
145
+
146
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
147
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
148
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
149
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
150
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
151
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
152
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
153
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
154
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
155
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
156
+
157
+ ## ieee754 - 1.2.1 (BSD-3-Clause)
158
+
159
+ Copyright 2008 Fair Oaks Labs, Inc.
160
+
161
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
162
+
163
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
164
+
165
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
166
+
167
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
168
+
169
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
170
+
171
+ ## long - 5.3.2 (Apache-2.0)
172
+
173
+ Apache License
174
+ Version 2.0, January 2004
175
+ http://www.apache.org/licenses/
176
+
177
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
178
+
179
+ 1. Definitions.
180
+
181
+ "License" shall mean the terms and conditions for use, reproduction,
182
+ and distribution as defined by Sections 1 through 9 of this document.
183
+
184
+ "Licensor" shall mean the copyright owner or entity authorized by
185
+ the copyright owner that is granting the License.
186
+
187
+ "Legal Entity" shall mean the union of the acting entity and all
188
+ other entities that control, are controlled by, or are under common
189
+ control with that entity. For the purposes of this definition,
190
+ "control" means (i) the power, direct or indirect, to cause the
191
+ direction or management of such entity, whether by contract or
192
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
193
+ outstanding shares, or (iii) beneficial ownership of such entity.
194
+
195
+ "You" (or "Your") shall mean an individual or Legal Entity
196
+ exercising permissions granted by this License.
197
+
198
+ "Source" form shall mean the preferred form for making modifications,
199
+ including but not limited to software source code, documentation
200
+ source, and configuration files.
201
+
202
+ "Object" form shall mean any form resulting from mechanical
203
+ transformation or translation of a Source form, including but
204
+ not limited to compiled object code, generated documentation,
205
+ and conversions to other media types.
206
+
207
+ "Work" shall mean the work of authorship, whether in Source or
208
+ Object form, made available under the License, as indicated by a
209
+ copyright notice that is included in or attached to the work
210
+ (an example is provided in the Appendix below).
211
+
212
+ "Derivative Works" shall mean any work, whether in Source or Object
213
+ form, that is based on (or derived from) the Work and for which the
214
+ editorial revisions, annotations, elaborations, or other modifications
215
+ represent, as a whole, an original work of authorship. For the purposes
216
+ of this License, Derivative Works shall not include works that remain
217
+ separable from, or merely link (or bind by name) to the interfaces of,
218
+ the Work and Derivative Works thereof.
219
+
220
+ "Contribution" shall mean any work of authorship, including
221
+ the original version of the Work and any modifications or additions
222
+ to that Work or Derivative Works thereof, that is intentionally
223
+ submitted to Licensor for inclusion in the Work by the copyright owner
224
+ or by an individual or Legal Entity authorized to submit on behalf of
225
+ the copyright owner. For the purposes of this definition, "submitted"
226
+ means any form of electronic, verbal, or written communication sent
227
+ to the Licensor or its representatives, including but not limited to
228
+ communication on electronic mailing lists, source code control systems,
229
+ and issue tracking systems that are managed by, or on behalf of, the
230
+ Licensor for the purpose of discussing and improving the Work, but
231
+ excluding communication that is conspicuously marked or otherwise
232
+ designated in writing by the copyright owner as "Not a Contribution."
233
+
234
+ "Contributor" shall mean Licensor and any individual or Legal Entity
235
+ on behalf of whom a Contribution has been received by Licensor and
236
+ subsequently incorporated within the Work.
237
+
238
+ 2. Grant of Copyright License. Subject to the terms and conditions of
239
+ this License, each Contributor hereby grants to You a perpetual,
240
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
241
+ copyright license to reproduce, prepare Derivative Works of,
242
+ publicly display, publicly perform, sublicense, and distribute the
243
+ Work and such Derivative Works in Source or Object form.
244
+
245
+ 3. Grant of Patent License. Subject to the terms and conditions of
246
+ this License, each Contributor hereby grants to You a perpetual,
247
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
248
+ (except as stated in this section) patent license to make, have made,
249
+ use, offer to sell, sell, import, and otherwise transfer the Work,
250
+ where such license applies only to those patent claims licensable
251
+ by such Contributor that are necessarily infringed by their
252
+ Contribution(s) alone or by combination of their Contribution(s)
253
+ with the Work to which such Contribution(s) was submitted. If You
254
+ institute patent litigation against any entity (including a
255
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
256
+ or a Contribution incorporated within the Work constitutes direct
257
+ or contributory patent infringement, then any patent licenses
258
+ granted to You under this License for that Work shall terminate
259
+ as of the date such litigation is filed.
260
+
261
+ 4. Redistribution. You may reproduce and distribute copies of the
262
+ Work or Derivative Works thereof in any medium, with or without
263
+ modifications, and in Source or Object form, provided that You
264
+ meet the following conditions:
265
+
266
+ (a) You must give any other recipients of the Work or
267
+ Derivative Works a copy of this License; and
268
+
269
+ (b) You must cause any modified files to carry prominent notices
270
+ stating that You changed the files; and
271
+
272
+ (c) You must retain, in the Source form of any Derivative Works
273
+ that You distribute, all copyright, patent, trademark, and
274
+ attribution notices from the Source form of the Work,
275
+ excluding those notices that do not pertain to any part of
276
+ the Derivative Works; and
277
+
278
+ (d) If the Work includes a "NOTICE" text file as part of its
279
+ distribution, then any Derivative Works that You distribute must
280
+ include a readable copy of the attribution notices contained
281
+ within such NOTICE file, excluding those notices that do not
282
+ pertain to any part of the Derivative Works, in at least one
283
+ of the following places: within a NOTICE text file distributed
284
+ as part of the Derivative Works; within the Source form or
285
+ documentation, if provided along with the Derivative Works; or,
286
+ within a display generated by the Derivative Works, if and
287
+ wherever such third-party notices normally appear. The contents
288
+ of the NOTICE file are for informational purposes only and
289
+ do not modify the License. You may add Your own attribution
290
+ notices within Derivative Works that You distribute, alongside
291
+ or as an addendum to the NOTICE text from the Work, provided
292
+ that such additional attribution notices cannot be construed
293
+ as modifying the License.
294
+
295
+ You may add Your own copyright statement to Your modifications and
296
+ may provide additional or different license terms and conditions
297
+ for use, reproduction, or distribution of Your modifications, or
298
+ for any such Derivative Works as a whole, provided Your use,
299
+ reproduction, and distribution of the Work otherwise complies with
300
+ the conditions stated in this License.
301
+
302
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
303
+ any Contribution intentionally submitted for inclusion in the Work
304
+ by You to the Licensor shall be under the terms and conditions of
305
+ this License, without any additional terms or conditions.
306
+ Notwithstanding the above, nothing herein shall supersede or modify
307
+ the terms of any separate license agreement you may have executed
308
+ with Licensor regarding such Contributions.
309
+
310
+ 6. Trademarks. This License does not grant permission to use the trade
311
+ names, trademarks, service marks, or product names of the Licensor,
312
+ except as required for reasonable and customary use in describing the
313
+ origin of the Work and reproducing the content of the NOTICE file.
314
+
315
+ 7. Disclaimer of Warranty. Unless required by applicable law or
316
+ agreed to in writing, Licensor provides the Work (and each
317
+ Contributor provides its Contributions) on an "AS IS" BASIS,
318
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
319
+ implied, including, without limitation, any warranties or conditions
320
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
321
+ PARTICULAR PURPOSE. You are solely responsible for determining the
322
+ appropriateness of using or redistributing the Work and assume any
323
+ risks associated with Your exercise of permissions under this License.
324
+
325
+ 8. Limitation of Liability. In no event and under no legal theory,
326
+ whether in tort (including negligence), contract, or otherwise,
327
+ unless required by applicable law (such as deliberate and grossly
328
+ negligent acts) or agreed to in writing, shall any Contributor be
329
+ liable to You for damages, including any direct, indirect, special,
330
+ incidental, or consequential damages of any character arising as a
331
+ result of this License or out of the use or inability to use the
332
+ Work (including but not limited to damages for loss of goodwill,
333
+ work stoppage, computer failure or malfunction, or any and all
334
+ other commercial damages or losses), even if such Contributor
335
+ has been advised of the possibility of such damages.
336
+
337
+ 9. Accepting Warranty or Additional Liability. While redistributing
338
+ the Work or Derivative Works thereof, You may choose to offer,
339
+ and charge a fee for, acceptance of support, warranty, indemnity,
340
+ or other liability obligations and/or rights consistent with this
341
+ License. However, in accepting such obligations, You may act only
342
+ on Your own behalf and on Your sole responsibility, not on behalf
343
+ of any other Contributor, and only if You agree to indemnify,
344
+ defend, and hold each Contributor harmless for any liability
345
+ incurred by, or claims asserted against, such Contributor by reason
346
+ of your accepting any such warranty or additional liability.
347
+
348
+ END OF TERMS AND CONDITIONS
349
+
350
+ APPENDIX: How to apply the Apache License to your work.
351
+
352
+ To apply the Apache License to your work, attach the following
353
+ boilerplate notice, with the fields enclosed by brackets "[]"
354
+ replaced with your own identifying information. (Don't include
355
+ the brackets!) The text should be enclosed in the appropriate
356
+ comment syntax for the file format. We also recommend that a
357
+ file or class name and description of purpose be included on the
358
+ same "printed page" as the copyright notice for easier
359
+ identification within third-party archives.
360
+
361
+ Copyright [yyyy] [name of copyright owner]
362
+
363
+ Licensed under the Apache License, Version 2.0 (the "License");
364
+ you may not use this file except in compliance with the License.
365
+ You may obtain a copy of the License at
366
+
367
+ http://www.apache.org/licenses/LICENSE-2.0
368
+
369
+ Unless required by applicable law or agreed to in writing, software
370
+ distributed under the License is distributed on an "AS IS" BASIS,
371
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
372
+ See the License for the specific language governing permissions and
373
+ limitations under the License.
374
+
375
+ ## protobufjs - 8.8.1 (BSD-3-Clause)
376
+
377
+ This license applies to all parts of protobuf.js except those files
378
+ either explicitly including or referencing a different license or
379
+ located in a directory containing a different LICENSE file.
380
+
381
+ ---
382
+
383
+ Copyright (c) 2016, Daniel Wirtz All rights reserved.
384
+
385
+ Redistribution and use in source and binary forms, with or without
386
+ modification, are permitted provided that the following conditions are
387
+ met:
388
+
389
+ * Redistributions of source code must retain the above copyright
390
+ notice, this list of conditions and the following disclaimer.
391
+ * Redistributions in binary form must reproduce the above copyright
392
+ notice, this list of conditions and the following disclaimer in the
393
+ documentation and/or other materials provided with the distribution.
394
+ * Neither the name of its author, nor the names of its contributors
395
+ may be used to endorse or promote products derived from this software
396
+ without specific prior written permission.
397
+
398
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
399
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
400
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
401
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
402
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
403
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
404
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
405
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
406
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
407
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
408
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
409
+
410
+ ---
411
+
412
+ Code generated by the command line utilities is owned by the owner
413
+ of the input file used when generating it. This code is not
414
+ standalone and requires a support library to be linked with it. This
415
+ support library is itself covered by the above license.