pixelkiln 0.46.1 → 0.47.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.cjs CHANGED
@@ -2400,6 +2400,10 @@ function pixelLabObjectUrl(generator, objectId) {
2400
2400
  const setId = objectId.split("#")[0];
2401
2401
  return setId ? `https://www.pixellab.ai/maps/tiles/${encodeURIComponent(setId)}` : null;
2402
2402
  }
2403
+ if (generator === "character") {
2404
+ const characterId = objectId.split("#")[0];
2405
+ return characterId ? `https://www.pixellab.ai/create-character/${encodeURIComponent(characterId)}` : null;
2406
+ }
2403
2407
  return null;
2404
2408
  }
2405
2409
  function characterCost(spec) {