@rolly-dev/wasm-signer 1.30.0 → 1.31.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.
@@ -125,7 +125,8 @@ 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), ...
129
130
  * ```
130
131
  */
131
132
  export function compute_payout_blackjack(server_seed: BigUint64Array, user_secret_random: BigUint64Array, prediction_lo: number, prediction_hi: number, base_bet: bigint): any;
@@ -254,7 +254,8 @@ export function compute_payout_aviato(random, bet_atomic, cashout_x100) {
254
254
  *
255
255
  * ```js
256
256
  * const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
257
- * // res.win_amount, res.total_staked, res.shoe (length 30), ...
257
+ * // res.win_amount, res.total_staked, res.shoe (length 30),
258
+ * // res.first_cards / res.second_cards / res.dealer_cards (rank codes), ...
258
259
  * ```
259
260
  * @param {BigUint64Array} server_seed
260
261
  * @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.30.0",
3
+ "version": "1.31.0",
4
4
  "description": "Poseidon2 hashing & bet signing for Rolly ZK-Rollup (WASM, Goldilocks field)",
5
5
  "type": "module",
6
6
  "exports": {