@rolly-dev/wasm-signer 1.31.0 → 1.31.1

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.
@@ -126,7 +126,11 @@ export function compute_payout_aviato(random: BigUint64Array, bet_atomic: bigint
126
126
  * ```js
127
127
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
128
128
  * // res.win_amount, res.total_staked, res.shoe (length 30),
129
- * // res.first_cards / res.second_cards / res.dealer_cards (rank codes), ...
129
+ * // res.first_cards / res.second_cards / res.dealer_cards (rank codes),
130
+ * // res.first_kind / res.second_kind (per-hand type: 0=bet,1=hit,2=stand,
131
+ * // 3=double,4=split,5=insurance; a closed hand reports 2),
132
+ * // res.first_amount / res.second_amount (per-hand staked, atomic),
133
+ * // res.first_win / res.second_win (per-hand win, atomic, pre-cap), ...
130
134
  * ```
131
135
  */
132
136
  export function compute_payout_blackjack(server_seed: BigUint64Array, user_secret_random: BigUint64Array, prediction_lo: number, prediction_hi: number, base_bet: bigint): any;
@@ -255,7 +255,11 @@ export function compute_payout_aviato(random, bet_atomic, cashout_x100) {
255
255
  * ```js
256
256
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
257
257
  * // res.win_amount, res.total_staked, res.shoe (length 30),
258
- * // res.first_cards / res.second_cards / res.dealer_cards (rank codes), ...
258
+ * // res.first_cards / res.second_cards / res.dealer_cards (rank codes),
259
+ * // res.first_kind / res.second_kind (per-hand type: 0=bet,1=hit,2=stand,
260
+ * // 3=double,4=split,5=insurance; a closed hand reports 2),
261
+ * // res.first_amount / res.second_amount (per-hand staked, atomic),
262
+ * // res.first_win / res.second_win (per-hand win, atomic, pre-cap), ...
259
263
  * ```
260
264
  * @param {BigUint64Array} server_seed
261
265
  * @param {BigUint64Array} user_secret_random
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolly-dev/wasm-signer",
3
- "version": "1.31.0",
3
+ "version": "1.31.1",
4
4
  "description": "Poseidon2 hashing & bet signing for Rolly ZK-Rollup (WASM, Goldilocks field)",
5
5
  "type": "module",
6
6
  "exports": {