turbo-stream 0.0.5 → 0.0.6

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.
@@ -32,12 +32,6 @@ export async function decode(readable) {
32
32
  value: decoded.value,
33
33
  };
34
34
  }
35
- class SyntaxError extends Error {
36
- name = "SyntaxError";
37
- constructor(message) {
38
- super(message ?? `Invalid input`);
39
- }
40
- }
41
35
  async function decodeInitial(reader) {
42
36
  const read = await reader.read();
43
37
  if (!read.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbo-stream",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "A streaming data transport format that aims to support built-in features such as Promises, Dates, RegExps, Maps, Sets and more.",
5
5
  "type": "module",
6
6
  "files": [