@kokimoki/app 0.0.8 → 0.0.9

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.
@@ -131,12 +131,7 @@ export class KokimokiClient extends EventEmitter {
131
131
  if (!this._stream) {
132
132
  return;
133
133
  }
134
- // @ts-ignore
135
- this.emit("media-stream", {
136
- error: null,
137
- facingMode: this._facingMode,
138
- stream: null,
139
- });
134
+ this.emit("media-stream", null, this._facingMode, null);
140
135
  this._stream.getTracks().forEach((track) => track.stop());
141
136
  this._stream = null;
142
137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kokimoki/app",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "description": "Kokimoki app",
6
6
  "main": "dist/index.js",