@stream-io/video-filters-web 0.1.6 → 0.1.7

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.6...@stream-io/video-filters-web-0.1.7) (2025-02-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * support static token and token provider at the same time ([#1685](https://github.com/GetStream/stream-video-js/issues/1685)) ([4365a3d](https://github.com/GetStream/stream-video-js/commit/4365a3dd0a14c98041982bde8be21258b8cfd571))
11
+
5
12
  ## [0.1.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.5...@stream-io/video-filters-web-0.1.6) (2024-11-12)
6
13
 
7
14
 
package/dist/index.cjs.js CHANGED
@@ -698,7 +698,7 @@ function buildWebGL2Pipeline(videoSource, backgroundImage, blurLevel, background
698
698
  gl.bindVertexArray(vertexArray);
699
699
  const positionBuffer = gl.createBuffer();
700
700
  gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
701
- gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0]), gl.STATIC_DRAW);
701
+ gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1, -1, 1.0, -1, -1, 1.0, 1.0, 1.0]), gl.STATIC_DRAW);
702
702
  const texCoordBuffer = gl.createBuffer();
703
703
  gl.bindBuffer(gl.ARRAY_BUFFER, texCoordBuffer);
704
704
  gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0]), gl.STATIC_DRAW);
@@ -862,7 +862,7 @@ const createTFLiteSIMDModule = (__Module) => {
862
862
  if (Module['quit']) quit_ = Module['quit'];
863
863
  var wasmBinary;
864
864
  if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];
865
- var noExitRuntime = Module['noExitRuntime'] || true;
865
+ Module['noExitRuntime'] || true;
866
866
  if (typeof WebAssembly != 'object') {
867
867
  abort('no native wasm support detected');
868
868
  }
@@ -927,10 +927,6 @@ const createTFLiteSIMDModule = (__Module) => {
927
927
  var __ATINIT__ = [];
928
928
  var __ATPOSTRUN__ = [];
929
929
 
930
- function keepRuntimeAlive() {
931
- return noExitRuntime;
932
- }
933
-
934
930
  function preRun() {
935
931
  if (Module['preRun']) {
936
932
  if (typeof Module['preRun'] == 'function')
@@ -1288,10 +1284,6 @@ const createTFLiteSIMDModule = (__Module) => {
1288
1284
  }
1289
1285
 
1290
1286
  function _proc_exit(code) {
1291
- if (!keepRuntimeAlive()) {
1292
- if (Module['onExit']) Module['onExit'](code);
1293
- ABORT = true;
1294
- }
1295
1287
  quit_(code, new ExitStatus(code));
1296
1288
  }
1297
1289
 
@@ -1541,7 +1533,7 @@ const createTFLiteSIMDModule = (__Module) => {
1541
1533
  return __Module.ready;
1542
1534
  };
1543
1535
 
1544
- const version = "0.1.6";
1536
+ const version = "0.1.7";
1545
1537
  const packageName = "@stream-io/video-filters-web";
1546
1538
 
1547
1539
  // @ts-expect-error - module is not declared