@helix3/helix-cli 0.1.13-helix3.121 → 0.1.13-helix3.122

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
@@ -2748,6 +2748,7 @@ itemDef
2748
2748
  .option('--price <lix>', 'marketplace listing price in LIX (default 500) — the listing is what makes the item claimable/buyable and visible on the marketplace; positive prices must clear the per-kind floor')
2749
2749
  .option('--claim', 'list free to claim (0 LIX)')
2750
2750
  .option('--no-marketplace', 'publish without a marketplace listing — for world-only items acquired through world distributions')
2751
+ .option('--collectible-supply <n>', 'publish a fixed-supply Collectible edition; omit for Standard (use 1 with --no-marketplace for a creator-owned one-of-one)')
2751
2752
  .option('--emote-category <family>', `EMOTE: ${emoteRules_1.EMOTE_CATEGORIES.join(' | ')} (default: ${emoteRules_1.DEFAULT_EMOTE_CATEGORY}) — sit/lie are spot-only postures a world's chair or bed plays; regular rides the emote wheel`)
2752
2753
  .option('--joiner-clip <file.glb>', 'EMOTE: make it a PAIRED emote — the animation the second player performs (needs --joiner-offset)')
2753
2754
  .option('--joiner-offset <x,z,yawDeg>', `EMOTE: where the joiner stands, in the initiator's frame — metres right, metres forward (±${emoteRules_1.EMOTE_JOINER_OFFSET_MAX_M}) and the joiner's own yaw (±180)`)
@@ -2759,7 +2760,7 @@ itemDef
2759
2760
  const creds = requireAuth();
2760
2761
  const mismatch = (0, config_1.credsEnvMismatchWarning)(creds.apiUrl);
2761
2762
  if (mismatch)
2762
- console.log(mismatch);
2763
+ fail(`✖ Refusing to publish an item definition:\n${mismatch}`);
2763
2764
  try {
2764
2765
  const { publishItemDef } = await Promise.resolve().then(() => __importStar(require('./itemDef/publish')));
2765
2766
  if (opts.keepPersonal !== true && opts.versionOf === undefined) {
@@ -2772,6 +2773,9 @@ itemDef
2772
2773
  ...(opts.price !== undefined && { price: opts.price }),
2773
2774
  ...(opts.claim === true && { claim: true }),
2774
2775
  ...(opts.marketplace === false && { noMarketplace: true }),
2776
+ ...(opts.collectibleSupply !== undefined && {
2777
+ collectibleSupply: parsePositiveInt(opts.collectibleSupply, '--collectible-supply'),
2778
+ }),
2775
2779
  ...(opts.emoteCategory !== undefined && { emoteCategory: opts.emoteCategory }),
2776
2780
  ...(opts.joinerClip !== undefined && { joinerClip: opts.joinerClip }),
2777
2781
  ...(opts.joinerOffset !== undefined && { joinerOffset: opts.joinerOffset }),
@@ -2816,7 +2820,7 @@ itemDef
2816
2820
  const creds = requireAuth();
2817
2821
  const mismatch = (0, config_1.credsEnvMismatchWarning)(creds.apiUrl);
2818
2822
  if (mismatch)
2819
- console.log(mismatch);
2823
+ fail(`✖ Refusing to distribute an item definition:\n${mismatch}`);
2820
2824
  try {
2821
2825
  const { distributeItemDef } = await Promise.resolve().then(() => __importStar(require('./itemDef/distribute')));
2822
2826
  const report = await distributeItemDef(lib_1.HelixApi.forCredentials(creds), {