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.js CHANGED
@@ -2101,6 +2101,10 @@ function pixelLabObjectUrl(generator, objectId) {
2101
2101
  const setId = objectId.split("#")[0];
2102
2102
  return setId ? `https://www.pixellab.ai/maps/tiles/${encodeURIComponent(setId)}` : null;
2103
2103
  }
2104
+ if (generator === "character") {
2105
+ const characterId = objectId.split("#")[0];
2106
+ return characterId ? `https://www.pixellab.ai/create-character/${encodeURIComponent(characterId)}` : null;
2107
+ }
2104
2108
  return null;
2105
2109
  }
2106
2110
  function characterCost(spec) {