@imgly/plugin-background-removal-web 0.1.0-rc.0 → 0.1.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/index.mjs +5 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -294,7 +294,7 @@ async function processBackgroundRemoval(cesdk, blockId, configuration) {
|
|
|
294
294
|
const metadata = getBGRemovalMetadata(cesdk, blockId);
|
|
295
295
|
setBGRemovalMetadata(cesdk, blockId, {
|
|
296
296
|
...metadata,
|
|
297
|
-
version: "0.1.0
|
|
297
|
+
version: "0.1.0",
|
|
298
298
|
initialSourceSet,
|
|
299
299
|
initialImageFileURI,
|
|
300
300
|
blockId,
|
|
@@ -331,7 +331,7 @@ async function processBackgroundRemoval(cesdk, blockId, configuration) {
|
|
|
331
331
|
};
|
|
332
332
|
});
|
|
333
333
|
setBGRemovalMetadata(cesdk, blockId, {
|
|
334
|
-
version: "0.1.0
|
|
334
|
+
version: "0.1.0",
|
|
335
335
|
initialSourceSet,
|
|
336
336
|
initialImageFileURI,
|
|
337
337
|
blockId,
|
|
@@ -355,7 +355,7 @@ async function processBackgroundRemoval(cesdk, blockId, configuration) {
|
|
|
355
355
|
throw new Error("Could not upload BG removed image");
|
|
356
356
|
}
|
|
357
357
|
setBGRemovalMetadata(cesdk, blockId, {
|
|
358
|
-
version: "0.1.0
|
|
358
|
+
version: "0.1.0",
|
|
359
359
|
initialSourceSet,
|
|
360
360
|
initialImageFileURI,
|
|
361
361
|
blockId,
|
|
@@ -369,7 +369,7 @@ async function processBackgroundRemoval(cesdk, blockId, configuration) {
|
|
|
369
369
|
} catch (error) {
|
|
370
370
|
if (cesdk.engine.block.isValid(blockId)) {
|
|
371
371
|
setBGRemovalMetadata(cesdk, blockId, {
|
|
372
|
-
version: "0.1.0
|
|
372
|
+
version: "0.1.0",
|
|
373
373
|
initialSourceSet,
|
|
374
374
|
initialImageFileURI,
|
|
375
375
|
blockId,
|
|
@@ -482,7 +482,7 @@ async function handleUpdateEvent(cesdk, blockId, configuration) {
|
|
|
482
482
|
// src/index.ts
|
|
483
483
|
var Plugin = (pluginConfiguration) => ({
|
|
484
484
|
name: BG_REMOVAL_ID,
|
|
485
|
-
version: "0.1.0
|
|
485
|
+
version: "0.1.0",
|
|
486
486
|
...plugin_default(pluginConfiguration)
|
|
487
487
|
});
|
|
488
488
|
var src_default = Plugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/plugin-background-removal-web",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Background Removal plugin for the CE.SDK editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CE.SDK",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"types:create": "tsc --emitDeclarationOnly"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@cesdk/cesdk-js": "1.20.0
|
|
59
|
+
"@cesdk/cesdk-js": "~1.20.0",
|
|
60
60
|
"@types/ndarray": "^1.0.14",
|
|
61
61
|
"chalk": "^5.3.0",
|
|
62
62
|
"concurrently": "^8.2.2",
|