@stream-io/video-filters-web 0.1.3 → 0.1.5
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/CHANGELOG.md +14 -0
- package/dist/index.cjs.js +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -3
- package/src/helpers/webglHelper.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream-io/video-filters-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"packageManager": "yarn@3.5.0",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/GetStream/stream-video-js.git",
|
|
17
17
|
"directory": "packages/video-filters-web"
|
|
18
18
|
},
|
|
19
|
+
"sideEffects": false,
|
|
19
20
|
"files": [
|
|
20
21
|
"dist",
|
|
21
22
|
"tf",
|
|
@@ -30,11 +31,11 @@
|
|
|
30
31
|
"wasm-feature-detect": "^1.6.1"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@rollup/plugin-replace": "^5.0.
|
|
34
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
34
35
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
35
36
|
"@types/emscripten": "^1.39.10",
|
|
36
37
|
"rimraf": "^5.0.7",
|
|
37
|
-
"rollup": "^
|
|
38
|
+
"rollup": "^4.22.0",
|
|
38
39
|
"typescript": "^5.5.2"
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -111,8 +111,10 @@ async function getBufferSubDataAsync(
|
|
|
111
111
|
dstOffset?: number,
|
|
112
112
|
length?: number,
|
|
113
113
|
) {
|
|
114
|
-
const sync = gl.fenceSync(gl.SYNC_GPU_COMMANDS_COMPLETE, 0)
|
|
114
|
+
const sync = gl.fenceSync(gl.SYNC_GPU_COMMANDS_COMPLETE, 0);
|
|
115
115
|
gl.flush();
|
|
116
|
+
if (!sync) return;
|
|
117
|
+
|
|
116
118
|
const res = await clientWaitAsync(gl, sync);
|
|
117
119
|
gl.deleteSync(sync);
|
|
118
120
|
|