new
This commit is contained in:
74
hublib.d.ts
vendored
74
hublib.d.ts
vendored
@@ -1,77 +1,21 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export function get_secret_value(cur_time: bigint, user_agent: string, url: string): string;
|
||||
export function get_secret_value(given_time: bigint, user_agent: string, url: string): Promise<string>;
|
||||
|
||||
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
||||
|
||||
export interface InitOutput {
|
||||
readonly memory: WebAssembly.Memory;
|
||||
readonly ffi_hublib_uniffi_contract_version: () => number;
|
||||
readonly ffi_hublib_rustbuffer_alloc: (a: number, b: bigint, c: number) => void;
|
||||
readonly ffi_hublib_rustbuffer_from_bytes: (a: number, b: number, c: number, d: number) => void;
|
||||
readonly ffi_hublib_rustbuffer_free: (a: bigint, b: bigint, c: number, d: number, e: number) => void;
|
||||
readonly ffi_hublib_rustbuffer_reserve: (a: number, b: bigint, c: bigint, d: number, e: number, f: bigint, g: number) => void;
|
||||
readonly ffi_hublib_rust_future_poll_u8: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_u8: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_u8: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_u8: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_i8: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_i8: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_i8: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_i8: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_u16: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_u16: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_u16: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_u16: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_i16: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_i16: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_i16: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_i16: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_u32: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_u32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_u32: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_u32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_i32: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_i32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_i32: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_i32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_u64: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_u64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_u64: (a: bigint, b: number) => bigint;
|
||||
readonly ffi_hublib_rust_future_free_u64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_i64: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_i64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_i64: (a: bigint, b: number) => bigint;
|
||||
readonly ffi_hublib_rust_future_free_i64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_f32: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_f32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_f32: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_f32: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_f64: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_f64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_f64: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_f64: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_pointer: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_pointer: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_pointer: (a: bigint, b: number) => number;
|
||||
readonly ffi_hublib_rust_future_free_pointer: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_rust_buffer: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_rust_buffer: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_rust_buffer: (a: number, b: bigint, c: number) => void;
|
||||
readonly ffi_hublib_rust_future_free_rust_buffer: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_poll_void: (a: bigint, b: number, c: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_cancel_void: (a: bigint) => void;
|
||||
readonly ffi_hublib_rust_future_complete_void: (a: bigint, b: number) => void;
|
||||
readonly ffi_hublib_rust_future_free_void: (a: bigint) => void;
|
||||
readonly uniffi_hublib_fn_func_get_secret_value: (a: number, b: bigint, c: bigint, d: bigint, e: number, f: number, g: bigint, h: bigint, i: number, j: number, k: number) => void;
|
||||
readonly uniffi_hublib_checksum_func_get_secret_value: () => number;
|
||||
readonly get_secret_value: (a: bigint, b: number, c: number, d: number, e: number) => [number, number];
|
||||
readonly uniffi_hublib_fn_func_validate_secret_value: (a: bigint, b: bigint, c: bigint, d: number, e: number, f: bigint, g: bigint, h: number, i: number, j: bigint, k: bigint, l: number, m: number, n: number) => number;
|
||||
readonly uniffi_hublib_checksum_func_validate_secret_value: () => number;
|
||||
readonly __wbindgen_export_0: WebAssembly.Table;
|
||||
readonly get_secret_value: (a: bigint, b: number, c: number, d: number, e: number) => any;
|
||||
readonly __wbindgen_exn_store: (a: number) => void;
|
||||
readonly __externref_table_alloc: () => number;
|
||||
readonly __wbindgen_export_2: WebAssembly.Table;
|
||||
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
||||
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
||||
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
||||
readonly __wbindgen_export_5: WebAssembly.Table;
|
||||
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hed5c65b011d6a245: (a: number, b: number) => void;
|
||||
readonly closure191_externref_shim: (a: number, b: number, c: any) => void;
|
||||
readonly closure213_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
||||
readonly __wbindgen_start: () => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user