pyre-world-kit 1.0.14 → 1.0.15

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/actions.js CHANGED
@@ -355,6 +355,7 @@ async function messageFaction(connection, params) {
355
355
  amount_sol: MICRO_BUY_LAMPORTS,
356
356
  message: params.message,
357
357
  vault: params.stronghold,
358
+ vote: (0, mappers_1.mapVote)(Math.random() > 0.5 ? 'fortify' : 'scorched_earth'),
358
359
  });
359
360
  return (0, mappers_1.mapBuyResult)(result);
360
361
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-world-kit",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Agent-first faction warfare kit — game-semantic wrapper over torchsdk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/actions.ts CHANGED
@@ -517,6 +517,7 @@ export async function messageFaction(
517
517
  amount_sol: MICRO_BUY_LAMPORTS,
518
518
  message: params.message,
519
519
  vault: params.stronghold,
520
+ vote: mapVote(Math.random() > 0.5 ? 'fortify' : 'scorched_earth'),
520
521
  });
521
522
  return mapBuyResult(result);
522
523
  }