@janssenproject/cedarling_wasm 0.0.385 → 0.0.386-nodejs

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.
@@ -524,153 +524,3 @@ export function init(config: any): Promise<Cedarling>;
524
524
  * ```
525
525
  */
526
526
  export function init_from_archive_bytes(config: any, archive_bytes: Uint8Array): Promise<Cedarling>;
527
-
528
- export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
529
-
530
- export interface InitOutput {
531
- readonly memory: WebAssembly.Memory;
532
- readonly __wbg_authorizeresult_free: (a: number, b: number) => void;
533
- readonly __wbg_authorizeresultresponse_free: (a: number, b: number) => void;
534
- readonly __wbg_cedarling_free: (a: number, b: number) => void;
535
- readonly __wbg_dataentry_free: (a: number, b: number) => void;
536
- readonly __wbg_datastorestats_free: (a: number, b: number) => void;
537
- readonly __wbg_diagnostics_free: (a: number, b: number) => void;
538
- readonly __wbg_get_authorizeresult_decision: (a: number) => number;
539
- readonly __wbg_get_authorizeresult_request_id: (a: number) => [number, number];
540
- readonly __wbg_get_authorizeresult_response: (a: number) => number;
541
- readonly __wbg_get_dataentry_access_count: (a: number) => bigint;
542
- readonly __wbg_get_dataentry_created_at: (a: number) => [number, number];
543
- readonly __wbg_get_dataentry_data_type: (a: number) => [number, number];
544
- readonly __wbg_get_dataentry_expires_at: (a: number) => [number, number];
545
- readonly __wbg_get_dataentry_key: (a: number) => [number, number];
546
- readonly __wbg_get_datastorestats_avg_entry_size_bytes: (a: number) => number;
547
- readonly __wbg_get_datastorestats_capacity_usage_percent: (a: number) => number;
548
- readonly __wbg_get_datastorestats_entry_count: (a: number) => number;
549
- readonly __wbg_get_datastorestats_max_entries: (a: number) => number;
550
- readonly __wbg_get_datastorestats_max_entry_size: (a: number) => number;
551
- readonly __wbg_get_datastorestats_memory_alert_threshold: (a: number) => number;
552
- readonly __wbg_get_datastorestats_memory_alert_triggered: (a: number) => number;
553
- readonly __wbg_get_datastorestats_metrics_enabled: (a: number) => number;
554
- readonly __wbg_get_datastorestats_total_size_bytes: (a: number) => number;
555
- readonly __wbg_policyevaluationerror_free: (a: number, b: number) => void;
556
- readonly __wbg_set_authorizeresult_decision: (a: number, b: number) => void;
557
- readonly __wbg_set_authorizeresult_request_id: (a: number, b: number, c: number) => void;
558
- readonly __wbg_set_authorizeresult_response: (a: number, b: number) => void;
559
- readonly __wbg_set_dataentry_access_count: (a: number, b: bigint) => void;
560
- readonly __wbg_set_dataentry_created_at: (a: number, b: number, c: number) => void;
561
- readonly __wbg_set_dataentry_data_type: (a: number, b: number, c: number) => void;
562
- readonly __wbg_set_dataentry_expires_at: (a: number, b: number, c: number) => void;
563
- readonly __wbg_set_dataentry_key: (a: number, b: number, c: number) => void;
564
- readonly __wbg_set_datastorestats_avg_entry_size_bytes: (a: number, b: number) => void;
565
- readonly __wbg_set_datastorestats_capacity_usage_percent: (a: number, b: number) => void;
566
- readonly __wbg_set_datastorestats_entry_count: (a: number, b: number) => void;
567
- readonly __wbg_set_datastorestats_max_entries: (a: number, b: number) => void;
568
- readonly __wbg_set_datastorestats_max_entry_size: (a: number, b: number) => void;
569
- readonly __wbg_set_datastorestats_memory_alert_threshold: (a: number, b: number) => void;
570
- readonly __wbg_set_datastorestats_memory_alert_triggered: (a: number, b: number) => void;
571
- readonly __wbg_set_datastorestats_metrics_enabled: (a: number, b: number) => void;
572
- readonly __wbg_set_datastorestats_total_size_bytes: (a: number, b: number) => void;
573
- readonly authorizeresult_json_string: (a: number) => [number, number];
574
- readonly authorizeresultresponse_decision: (a: number) => number;
575
- readonly authorizeresultresponse_diagnostics: (a: number) => number;
576
- readonly cedarling_authorize_multi_issuer: (a: number, b: any) => any;
577
- readonly cedarling_authorize_unsigned: (a: number, b: any) => any;
578
- readonly cedarling_clear_data_ctx: (a: number) => [number, number];
579
- readonly cedarling_failed_trusted_issuer_ids: (a: number) => any;
580
- readonly cedarling_get_data_ctx: (a: number, b: number, c: number) => [number, number, number];
581
- readonly cedarling_get_data_entry_ctx: (a: number, b: number, c: number) => [number, number, number];
582
- readonly cedarling_get_log_by_id: (a: number, b: number, c: number) => [number, number, number];
583
- readonly cedarling_get_log_ids: (a: number) => any;
584
- readonly cedarling_get_logs_by_request_id: (a: number, b: number, c: number) => [number, number, number, number];
585
- readonly cedarling_get_logs_by_request_id_and_tag: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
586
- readonly cedarling_get_logs_by_tag: (a: number, b: number, c: number) => [number, number, number, number];
587
- readonly cedarling_get_stats_ctx: (a: number) => [number, number, number];
588
- readonly cedarling_is_trusted_issuer_loaded_by_iss: (a: number, b: number, c: number) => number;
589
- readonly cedarling_is_trusted_issuer_loaded_by_name: (a: number, b: number, c: number) => number;
590
- readonly cedarling_list_data_ctx: (a: number) => [number, number, number];
591
- readonly cedarling_loaded_trusted_issuer_ids: (a: number) => any;
592
- readonly cedarling_loaded_trusted_issuers_count: (a: number) => number;
593
- readonly cedarling_new: (a: any) => any;
594
- readonly cedarling_new_from_map: (a: any) => any;
595
- readonly cedarling_pop_logs: (a: number) => [number, number, number];
596
- readonly cedarling_push_data_ctx: (a: number, b: number, c: number, d: any, e: number, f: bigint) => [number, number];
597
- readonly cedarling_remove_data_ctx: (a: number, b: number, c: number) => [number, number, number];
598
- readonly cedarling_shut_down: (a: number) => any;
599
- readonly cedarling_total_issuers: (a: number) => number;
600
- readonly dataentry_json_string: (a: number) => [number, number];
601
- readonly dataentry_value: (a: number) => [number, number, number];
602
- readonly datastorestats_json_string: (a: number) => [number, number];
603
- readonly diagnostics_errors: (a: number) => [number, number];
604
- readonly diagnostics_reason: (a: number) => [number, number];
605
- readonly init: (a: any) => any;
606
- readonly init_from_archive_bytes: (a: any, b: any) => any;
607
- readonly multiissuerauthorizeresult_json_string: (a: number) => [number, number];
608
- readonly policyevaluationerror_error: (a: number) => [number, number];
609
- readonly policyevaluationerror_id: (a: number) => [number, number];
610
- readonly __wbg_get_multiissuerauthorizeresult_response: (a: number) => number;
611
- readonly __wbg_get_multiissuerauthorizeresult_decision: (a: number) => number;
612
- readonly __wbg_set_multiissuerauthorizeresult_response: (a: number, b: number) => void;
613
- readonly __wbg_set_multiissuerauthorizeresult_request_id: (a: number, b: number, c: number) => void;
614
- readonly __wbg_set_multiissuerauthorizeresult_decision: (a: number, b: number) => void;
615
- readonly __wbg_get_multiissuerauthorizeresult_request_id: (a: number) => [number, number];
616
- readonly __wbg_multiissuerauthorizeresult_free: (a: number, b: number) => void;
617
- readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
618
- readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
619
- readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
620
- readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
621
- readonly intounderlyingbytesource_cancel: (a: number) => void;
622
- readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
623
- readonly intounderlyingbytesource_start: (a: number, b: any) => void;
624
- readonly intounderlyingbytesource_type: (a: number) => number;
625
- readonly intounderlyingsink_abort: (a: number, b: any) => any;
626
- readonly intounderlyingsink_close: (a: number) => any;
627
- readonly intounderlyingsink_write: (a: number, b: any) => any;
628
- readonly intounderlyingsource_cancel: (a: number) => void;
629
- readonly intounderlyingsource_pull: (a: number, b: any) => any;
630
- readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
631
- readonly rust_zstd_wasm_shim_free: (a: number) => void;
632
- readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
633
- readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
634
- readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
635
- readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
636
- readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
637
- readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
638
- readonly wasm_bindgen__convert__closures_____invoke__h80274e53af2c4a90: (a: number, b: number, c: any) => [number, number];
639
- readonly wasm_bindgen__convert__closures_____invoke__h66f11f9242c621fe: (a: number, b: number, c: any, d: any) => void;
640
- readonly wasm_bindgen__convert__closures_____invoke__h170c6019ccfd853a: (a: number, b: number, c: any) => void;
641
- readonly wasm_bindgen__convert__closures_____invoke__ha272cf34a0c89527: (a: number, b: number) => void;
642
- readonly wasm_bindgen__convert__closures_____invoke__h1f68ebdd661f92ac: (a: number, b: number) => void;
643
- readonly wasm_bindgen__convert__closures_____invoke__h3e65b82f18e4de71: (a: number, b: number) => void;
644
- readonly __wbindgen_malloc: (a: number, b: number) => number;
645
- readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
646
- readonly __wbindgen_exn_store: (a: number) => void;
647
- readonly __externref_table_alloc: () => number;
648
- readonly __wbindgen_externrefs: WebAssembly.Table;
649
- readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
650
- readonly __wbindgen_free: (a: number, b: number, c: number) => void;
651
- readonly __externref_table_dealloc: (a: number) => void;
652
- readonly __externref_drop_slice: (a: number, b: number) => void;
653
- readonly __wbindgen_start: () => void;
654
- }
655
-
656
- export type SyncInitInput = BufferSource | WebAssembly.Module;
657
-
658
- /**
659
- * Instantiates the given `module`, which can either be bytes or
660
- * a precompiled `WebAssembly.Module`.
661
- *
662
- * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
663
- *
664
- * @returns {InitOutput}
665
- */
666
- export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
667
-
668
- /**
669
- * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
670
- * for everything else, calls `WebAssembly.instantiate` directly.
671
- *
672
- * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
673
- *
674
- * @returns {Promise<InitOutput>}
675
- */
676
- export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;