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 CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "saito-wasm"
3
- version = "0.2.38"
3
+ version = "0.2.40"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.38",
3
+ "version": "0.2.40",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
@@ -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<void>}
204
+ * @returns {Promise<boolean>}
205
205
  */
206
- export function produce_block_with_gt(): Promise<void>;
206
+ export function produce_block_with_gt(): Promise<boolean>;
207
207
  /**
208
- * @returns {Promise<void>}
208
+ * @returns {Promise<boolean>}
209
209
  */
210
- export function produce_block_without_gt(): Promise<void>;
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
  /**