saito-wasm 0.2.38 → 0.2.40
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/Cargo.toml +1 -1
- package/package.json +1 -1
- package/pkg/node/index.d.ts +4 -37
- package/pkg/node/index.js +95 -184
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +108 -119
- package/pkg/node/package.json +3 -3
- package/pkg/web/index.d.ts +112 -156
- package/pkg/web/index.js +94 -182
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +108 -119
- package/pkg/web/package.json +3 -3
- /package/pkg/node/snippets/{saito-wasm-3bafae0815ebbf59 → saito-wasm-2ff95434bf6d7096}/js/msg_handler.js +0 -0
- /package/pkg/web/snippets/{saito-wasm-3bafae0815ebbf59 → saito-wasm-2ff95434bf6d7096}/js/msg_handler.js +0 -0
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/pkg/node/index.d.ts
CHANGED
|
@@ -201,13 +201,13 @@ export function write_issuance_file(threshold: bigint): Promise<void>;
|
|
|
201
201
|
*/
|
|
202
202
|
export function disable_producing_blocks_by_timer(): Promise<void>;
|
|
203
203
|
/**
|
|
204
|
-
* @returns {Promise<
|
|
204
|
+
* @returns {Promise<boolean>}
|
|
205
205
|
*/
|
|
206
|
-
export function produce_block_with_gt(): Promise<
|
|
206
|
+
export function produce_block_with_gt(): Promise<boolean>;
|
|
207
207
|
/**
|
|
208
|
-
* @returns {Promise<
|
|
208
|
+
* @returns {Promise<boolean>}
|
|
209
209
|
*/
|
|
210
|
-
export function produce_block_without_gt(): Promise<
|
|
210
|
+
export function produce_block_without_gt(): Promise<boolean>;
|
|
211
211
|
/**
|
|
212
212
|
*/
|
|
213
213
|
export class SaitoWasm {
|
|
@@ -301,18 +301,12 @@ export class WasmBlock {
|
|
|
301
301
|
*/
|
|
302
302
|
creator: string;
|
|
303
303
|
/**
|
|
304
|
-
*/
|
|
305
|
-
readonly cv: any;
|
|
306
|
-
/**
|
|
307
304
|
*/
|
|
308
305
|
readonly difficulty: bigint;
|
|
309
306
|
/**
|
|
310
307
|
*/
|
|
311
308
|
readonly fee_per_byte: bigint;
|
|
312
309
|
/**
|
|
313
|
-
*/
|
|
314
|
-
readonly fee_transaction: any;
|
|
315
|
-
/**
|
|
316
310
|
*/
|
|
317
311
|
readonly fee_transaction_index: bigint;
|
|
318
312
|
/**
|
|
@@ -322,24 +316,12 @@ export class WasmBlock {
|
|
|
322
316
|
*/
|
|
323
317
|
readonly force_loaded: boolean;
|
|
324
318
|
/**
|
|
325
|
-
*/
|
|
326
|
-
readonly ft_index: number;
|
|
327
|
-
/**
|
|
328
|
-
*/
|
|
329
|
-
readonly ft_num: number;
|
|
330
|
-
/**
|
|
331
319
|
*/
|
|
332
320
|
readonly golden_ticket_index: bigint;
|
|
333
321
|
/**
|
|
334
322
|
*/
|
|
335
323
|
readonly graveyard: bigint;
|
|
336
324
|
/**
|
|
337
|
-
*/
|
|
338
|
-
readonly gt_index: number;
|
|
339
|
-
/**
|
|
340
|
-
*/
|
|
341
|
-
readonly gt_num: number;
|
|
342
|
-
/**
|
|
343
325
|
*/
|
|
344
326
|
readonly has_fee_transaction: boolean;
|
|
345
327
|
/**
|
|
@@ -364,12 +346,6 @@ export class WasmBlock {
|
|
|
364
346
|
*/
|
|
365
347
|
readonly issuance_transaction_index: bigint;
|
|
366
348
|
/**
|
|
367
|
-
*/
|
|
368
|
-
readonly it_index: number;
|
|
369
|
-
/**
|
|
370
|
-
*/
|
|
371
|
-
readonly it_num: number;
|
|
372
|
-
/**
|
|
373
349
|
*/
|
|
374
350
|
previous_block_hash: string;
|
|
375
351
|
/**
|
|
@@ -379,9 +355,6 @@ export class WasmBlock {
|
|
|
379
355
|
*/
|
|
380
356
|
readonly rebroadcast_hash: string;
|
|
381
357
|
/**
|
|
382
|
-
*/
|
|
383
|
-
readonly rebroadcasts: Array<any>;
|
|
384
|
-
/**
|
|
385
358
|
*/
|
|
386
359
|
timestamp: bigint;
|
|
387
360
|
/**
|
|
@@ -409,18 +382,12 @@ export class WasmBlock {
|
|
|
409
382
|
*/
|
|
410
383
|
readonly total_payout_treasury: bigint;
|
|
411
384
|
/**
|
|
412
|
-
*/
|
|
413
|
-
readonly total_rebroadcast_fees_nolan: bigint;
|
|
414
|
-
/**
|
|
415
385
|
*/
|
|
416
386
|
readonly total_rebroadcast_nolan: bigint;
|
|
417
387
|
/**
|
|
418
388
|
*/
|
|
419
389
|
readonly total_rebroadcast_slips: bigint;
|
|
420
390
|
/**
|
|
421
|
-
*/
|
|
422
|
-
readonly total_rebroadcast_staking_payouts_nolan: bigint;
|
|
423
|
-
/**
|
|
424
391
|
*/
|
|
425
392
|
readonly total_work: bigint;
|
|
426
393
|
/**
|