@editframe/api 0.12.0-beta.18 → 0.12.0-beta.19

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.
@@ -8,7 +8,7 @@ export type StreamEventSourceEventMap = {
8
8
  id: string | undefined;
9
9
  data: string;
10
10
  };
11
- end: [];
11
+ end: Array<unknown>;
12
12
  error: Error;
13
13
  };
14
14
  export type ProgressEvent = {
@@ -105,7 +105,6 @@ class StreamEventSource {
105
105
  }
106
106
  this.parser.feed(chunk);
107
107
  }
108
- this.activeReader.releaseLock();
109
108
  this.activeReader = null;
110
109
  this.emit("end", []);
111
110
  } catch (error) {
@@ -119,7 +118,6 @@ class StreamEventSource {
119
118
  }
120
119
  close() {
121
120
  if (this.activeReader) {
122
- this.activeReader.releaseLock();
123
121
  this.activeReader = null;
124
122
  }
125
123
  this.parser.reset();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/api",
3
- "version": "0.12.0-beta.18",
3
+ "version": "0.12.0-beta.19",
4
4
  "description": "API functions for EditFrame",
5
5
  "exports": {
6
6
  ".": {
@@ -35,7 +35,7 @@
35
35
  "vite-tsconfig-paths": "^4.3.2"
36
36
  },
37
37
  "dependencies": {
38
- "@editframe/assets": "0.12.0-beta.18",
38
+ "@editframe/assets": "0.12.0-beta.19",
39
39
  "debug": "^4.3.5",
40
40
  "eventsource-parser": "^3.0.0",
41
41
  "jsonwebtoken": "^9.0.2",