@rolly-dev/wasm-signer 1.28.1 → 1.30.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.
- package/dist/node/rolly_wasm_signer.d.ts +89 -12
- package/dist/node/rolly_wasm_signer.js +185 -14
- package/dist/node/rolly_wasm_signer_bg.wasm +0 -0
- package/dist/node/rolly_wasm_signer_bg.wasm.d.ts +6 -0
- package/dist/node-inline/rolly_wasm_signer.d.ts +89 -12
- package/dist/node-inline/rolly_wasm_signer.js +186 -15
- package/dist/node-inline/rolly_wasm_signer.mjs +181 -16
- package/dist/node-inline/rolly_wasm_signer_bg.wasm.d.ts +6 -0
- package/dist/web/rolly_wasm_signer.d.ts +95 -12
- package/dist/web/rolly_wasm_signer.js +179 -14
- package/dist/web/rolly_wasm_signer_bg.wasm +0 -0
- package/dist/web/rolly_wasm_signer_bg.wasm.d.ts +6 -0
- package/js/browser.mjs +6 -0
- package/js/index.d.ts +6 -0
- package/js/node-inline.cjs +6 -0
- package/js/node-inline.mjs +6 -0
- package/js/node.cjs +6 -0
- package/js/node.mjs +6 -0
- package/js/react.mjs +12 -0
- package/package.json +1 -1
package/js/react.mjs
CHANGED
|
@@ -2,14 +2,19 @@ import { useState, useEffect } from 'react';
|
|
|
2
2
|
import init, {
|
|
3
3
|
amount_split,
|
|
4
4
|
aviato_rtp_percent,
|
|
5
|
+
blackjack_deal_shoe,
|
|
6
|
+
blackjack_pack_actions,
|
|
5
7
|
coinflip_multiplier_x10000,
|
|
6
8
|
coinflip_rtp_percent,
|
|
7
9
|
compute_address_hash,
|
|
8
10
|
compute_aviato_point,
|
|
11
|
+
compute_crash_point,
|
|
9
12
|
compute_drawn_keno,
|
|
10
13
|
compute_multi_dice,
|
|
11
14
|
compute_payout_aviato,
|
|
15
|
+
compute_payout_blackjack,
|
|
12
16
|
compute_payout_coinflip,
|
|
17
|
+
compute_payout_crash,
|
|
13
18
|
compute_payout_dice,
|
|
14
19
|
compute_payout_keno,
|
|
15
20
|
compute_payout_limbo,
|
|
@@ -22,6 +27,7 @@ import init, {
|
|
|
22
27
|
compute_roll_plinko,
|
|
23
28
|
compute_server_seed_hash,
|
|
24
29
|
compute_user_seed_binding,
|
|
30
|
+
crash_rtp_percent,
|
|
25
31
|
derive_session_key,
|
|
26
32
|
dice_rtp_percent,
|
|
27
33
|
encode_keno_selected,
|
|
@@ -70,14 +76,19 @@ function guard(fn) {
|
|
|
70
76
|
const fns = {
|
|
71
77
|
amount_split: guard(amount_split),
|
|
72
78
|
aviato_rtp_percent: guard(aviato_rtp_percent),
|
|
79
|
+
blackjack_deal_shoe: guard(blackjack_deal_shoe),
|
|
80
|
+
blackjack_pack_actions: guard(blackjack_pack_actions),
|
|
73
81
|
coinflip_multiplier_x10000: guard(coinflip_multiplier_x10000),
|
|
74
82
|
coinflip_rtp_percent: guard(coinflip_rtp_percent),
|
|
75
83
|
compute_address_hash: guard(compute_address_hash),
|
|
76
84
|
compute_aviato_point: guard(compute_aviato_point),
|
|
85
|
+
compute_crash_point: guard(compute_crash_point),
|
|
77
86
|
compute_drawn_keno: guard(compute_drawn_keno),
|
|
78
87
|
compute_multi_dice: guard(compute_multi_dice),
|
|
79
88
|
compute_payout_aviato: guard(compute_payout_aviato),
|
|
89
|
+
compute_payout_blackjack: guard(compute_payout_blackjack),
|
|
80
90
|
compute_payout_coinflip: guard(compute_payout_coinflip),
|
|
91
|
+
compute_payout_crash: guard(compute_payout_crash),
|
|
81
92
|
compute_payout_dice: guard(compute_payout_dice),
|
|
82
93
|
compute_payout_keno: guard(compute_payout_keno),
|
|
83
94
|
compute_payout_limbo: guard(compute_payout_limbo),
|
|
@@ -90,6 +101,7 @@ const fns = {
|
|
|
90
101
|
compute_roll_plinko: guard(compute_roll_plinko),
|
|
91
102
|
compute_server_seed_hash: guard(compute_server_seed_hash),
|
|
92
103
|
compute_user_seed_binding: guard(compute_user_seed_binding),
|
|
104
|
+
crash_rtp_percent: guard(crash_rtp_percent),
|
|
93
105
|
derive_session_key: guard(derive_session_key),
|
|
94
106
|
dice_rtp_percent: guard(dice_rtp_percent),
|
|
95
107
|
encode_keno_selected: guard(encode_keno_selected),
|