@rolly-dev/wasm-signer 1.30.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.
@@ -125,7 +125,12 @@ export function compute_payout_aviato(random: BigUint64Array, bet_atomic: bigint
125
125
  *
126
126
  * ```js
127
127
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
128
- * // res.win_amount, res.total_staked, res.shoe (length 30), ...
128
+ * // res.win_amount, res.total_staked, res.shoe (length 30),
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), ...
129
134
  * ```
130
135
  */
131
136
  export function compute_payout_blackjack(server_seed: BigUint64Array, user_secret_random: BigUint64Array, prediction_lo: number, prediction_hi: number, base_bet: bigint): any;
@@ -266,7 +266,12 @@ exports.compute_payout_aviato = compute_payout_aviato;
266
266
  *
267
267
  * ```js
268
268
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
269
- * // res.win_amount, res.total_staked, res.shoe (length 30), ...
269
+ * // res.win_amount, res.total_staked, res.shoe (length 30),
270
+ * // res.first_cards / res.second_cards / res.dealer_cards (rank codes),
271
+ * // res.first_kind / res.second_kind (per-hand type: 0=bet,1=hit,2=stand,
272
+ * // 3=double,4=split,5=insurance; a closed hand reports 2),
273
+ * // res.first_amount / res.second_amount (per-hand staked, atomic),
274
+ * // res.first_win / res.second_win (per-hand win, atomic, pre-cap), ...
270
275
  * ```
271
276
  * @param {BigUint64Array} server_seed
272
277
  * @param {BigUint64Array} user_secret_random
Binary file
@@ -125,7 +125,12 @@ export function compute_payout_aviato(random: BigUint64Array, bet_atomic: bigint
125
125
  *
126
126
  * ```js
127
127
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
128
- * // res.win_amount, res.total_staked, res.shoe (length 30), ...
128
+ * // res.win_amount, res.total_staked, res.shoe (length 30),
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), ...
129
134
  * ```
130
135
  */
131
136
  export function compute_payout_blackjack(server_seed: BigUint64Array, user_secret_random: BigUint64Array, prediction_lo: number, prediction_hi: number, base_bet: bigint): any;