@cesdk/node 1.67.0-nightly.20260106 → 1.67.0-nightly.20260107
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/assets/core/{cesdk-v1.67.0-nightly.20260106-JBTZZ22B.wasm → cesdk-v1.67.0-nightly.20260107-U2TL62KE.wasm} +0 -0
- package/index.d.ts +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.67.0-nightly.20260106-44YCFRT6.data → cesdk-v1.67.0-nightly.20260107-44YCFRT6.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -434,13 +434,13 @@ export declare class AssetAPI {
|
|
|
434
434
|
* ```javascript
|
|
435
435
|
* // Load all audio assets from IMG.LY's CDN
|
|
436
436
|
* const sourceId = await engine.asset.addLocalAssetSourceFromJSONURI(
|
|
437
|
-
* 'https://cdn.img.ly/assets/demo/
|
|
437
|
+
* 'https://cdn.img.ly/assets/demo/v3/ly.img.audio/content.json'
|
|
438
438
|
* );
|
|
439
439
|
* console.log('Loaded asset source:', sourceId); // "ly.img.audio"
|
|
440
440
|
*
|
|
441
441
|
* // Load only assets matching one of the patterns
|
|
442
442
|
* const sourceId2 = await engine.asset.addLocalAssetSourceFromJSONURI(
|
|
443
|
-
* 'https://cdn.img.ly/assets/demo/
|
|
443
|
+
* 'https://cdn.img.ly/assets/demo/v3/ly.img.image/content.json',
|
|
444
444
|
* { matcher: ['image-portrait-*', 'image-landscape-*'] }
|
|
445
445
|
* );
|
|
446
446
|
* ```
|
|
@@ -1674,7 +1674,7 @@ export declare class BlockAPI {
|
|
|
1674
1674
|
* const video = engine.block.create('graphic');
|
|
1675
1675
|
* engine.block.setShape(video, engine.block.createShape('rect'));
|
|
1676
1676
|
* const videoFill = engine.block.createFill('video');
|
|
1677
|
-
* engine.block.setString(videoFill, 'fill/video/fileURI', 'https://cdn.img.ly/assets/demo/
|
|
1677
|
+
* engine.block.setString(videoFill, 'fill/video/fileURI', 'https://cdn.img.ly/assets/demo/v3/ly.img.video/videos/pexels-drone-footage-of-a-surfer-barrelling-a-wave-12715991.mp4');
|
|
1678
1678
|
* engine.block.setFill(video, videoFill);
|
|
1679
1679
|
* engine.block.appendChild(page, video);
|
|
1680
1680
|
* ```
|