@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.
- package/dist/node/rolly_wasm_signer.d.ts +5 -1
- package/dist/node/rolly_wasm_signer.js +5 -1
- package/dist/node/rolly_wasm_signer_bg.wasm +0 -0
- package/dist/node-inline/rolly_wasm_signer.d.ts +5 -1
- package/dist/node-inline/rolly_wasm_signer.js +6 -2
- package/dist/node-inline/rolly_wasm_signer.mjs +6 -2
- package/dist/web/rolly_wasm_signer.d.ts +5 -1
- package/dist/web/rolly_wasm_signer.js +5 -1
- package/dist/web/rolly_wasm_signer_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -267,7 +267,11 @@ exports.compute_payout_aviato = compute_payout_aviato;
|
|
|
267
267
|
* ```js
|
|
268
268
|
* const res = compute_payout_blackjack(serverSeed8, userSecret4, lo, hi, betAtomic);
|
|
269
269
|
* // res.win_amount, res.total_staked, res.shoe (length 30),
|
|
270
|
-
* // res.first_cards / res.second_cards / res.dealer_cards (rank codes),
|
|
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), ...
|
|
271
275
|
* ```
|
|
272
276
|
* @param {BigUint64Array} server_seed
|
|
273
277
|
* @param {BigUint64Array} user_secret_random
|
|
Binary file
|
|
@@ -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;
|