@viji-dev/core 0.15.0 → 0.16.0
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/dist/artist-dts-p5.js +1 -1
- package/dist/artist-dts.js +1 -1
- package/dist/artist-global-p5.d.ts +7 -2
- package/dist/artist-global.d.ts +7 -2
- package/dist/assets/{viji.worker-A8uAea-6.js → viji.worker-Dm3yyu15.js} +20 -16
- package/dist/docs-api.js +10 -5
- package/dist/{essentia-wasm.web-BE_39Nld.js → essentia-wasm.web-0ZL6uVXZ.js} +1 -1
- package/dist/{index-CuQT5y06.js → index-dImdtnwN.js} +7 -4
- package/dist/index.d.ts +13 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -229,7 +229,12 @@ declare global {
|
|
|
229
229
|
interface CaptureFrameOptions {
|
|
230
230
|
/** Output format: `'blob'` for an encoded image, `'bitmap'` for a GPU-friendly `ImageBitmap`. Default: `'blob'`. */
|
|
231
231
|
format?: 'blob' | 'bitmap';
|
|
232
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* MIME type for `'blob'` output (ignored for `'bitmap'`). Examples:
|
|
234
|
+
* `'image/png'`, `'image/jpeg'`, `'image/webp'`. Default: `'image/png'`
|
|
235
|
+
* (lossless, preserves alpha). Pass a lossy type for smaller files when
|
|
236
|
+
* transparency does not matter.
|
|
237
|
+
*/
|
|
233
238
|
type?: string;
|
|
234
239
|
/**
|
|
235
240
|
* Encoding quality for lossy `'blob'` formats (`'image/jpeg'`, `'image/webp'`),
|
|
@@ -1345,7 +1350,7 @@ declare global {
|
|
|
1345
1350
|
isEnding: boolean;
|
|
1346
1351
|
}
|
|
1347
1352
|
|
|
1348
|
-
const VERSION = "0.
|
|
1353
|
+
const VERSION = "0.16.0";
|
|
1349
1354
|
|
|
1350
1355
|
/**
|
|
1351
1356
|
* Real-time video API: drawable frame, dimensions, and the source-side
|
package/dist/artist-global.d.ts
CHANGED
|
@@ -229,7 +229,12 @@ declare global {
|
|
|
229
229
|
interface CaptureFrameOptions {
|
|
230
230
|
/** Output format: `'blob'` for an encoded image, `'bitmap'` for a GPU-friendly `ImageBitmap`. Default: `'blob'`. */
|
|
231
231
|
format?: 'blob' | 'bitmap';
|
|
232
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* MIME type for `'blob'` output (ignored for `'bitmap'`). Examples:
|
|
234
|
+
* `'image/png'`, `'image/jpeg'`, `'image/webp'`. Default: `'image/png'`
|
|
235
|
+
* (lossless, preserves alpha). Pass a lossy type for smaller files when
|
|
236
|
+
* transparency does not matter.
|
|
237
|
+
*/
|
|
233
238
|
type?: string;
|
|
234
239
|
/**
|
|
235
240
|
* Encoding quality for lossy `'blob'` formats (`'image/jpeg'`, `'image/webp'`),
|
|
@@ -1334,7 +1339,7 @@ declare global {
|
|
|
1334
1339
|
isEnding: boolean;
|
|
1335
1340
|
}
|
|
1336
1341
|
|
|
1337
|
-
const VERSION = "0.
|
|
1342
|
+
const VERSION = "0.16.0";
|
|
1338
1343
|
|
|
1339
1344
|
/**
|
|
1340
1345
|
* Real-time video API: drawable frame, dimensions, and the source-side
|