New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@prisma/query-engine-wasm

Package Overview
Dependencies
Maintainers
4
Versions
553
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisma/query-engine-wasm - npm Package Compare versions

Comparing version 6.3.0-4.66ff51574f705989a0e2c8bf6f1659bee5eb9517 to 6.3.0-5.integration-5-22-0-with-simplified-typeinfo-c41bc6f8547cc09d234cba92f0f78c0f8fd70b34

198

mysql/query_engine_bg.js

@@ -223,3 +223,3 @@ let wasm;

function __wbg_adapter_48(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(arg0, arg1, addHeapObject(arg2));
}

@@ -261,4 +261,4 @@

}
function __wbg_adapter_146(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_143(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -311,11 +311,8 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace, request_id) {
connect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -326,11 +323,8 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace, request_id) {
disconnect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -342,7 +336,6 @@ }

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body, trace, tx_id, request_id) {
query(body, trace, tx_id) {
const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -354,5 +347,3 @@ const len0 = WASM_VECTOR_LEN;

var len2 = WASM_VECTOR_LEN;
const ptr3 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len3 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
return takeObject(ret);

@@ -364,6 +355,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input, trace, request_id) {
startTransaction(input, trace) {
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -373,5 +363,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -383,6 +371,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id, trace, request_id) {
commitTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -392,5 +379,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -402,6 +387,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id, trace, request_id) {
rollbackTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -411,5 +395,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -427,13 +409,2 @@ }

}
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id) {
const ptr0 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_trace(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);
}
}

@@ -450,3 +421,8 @@

export function __wbg_new_b85e72ed1bfd57f9(arg0, arg1) {
export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbg_new_feb65b865d980ae2(arg0, arg1) {
try {

@@ -458,3 +434,3 @@ var state0 = {a: arg0, b: arg1};

try {
return __wbg_adapter_146(a, state0.b, arg0, arg1);
return __wbg_adapter_143(a, state0.b, arg0, arg1);
} finally {

@@ -476,2 +452,6 @@ state0.a = a;

export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_string_new(arg0, arg1) {

@@ -482,7 +462,2 @@ const ret = getStringFromWasm0(arg0, arg1);

export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbindgen_object_clone_ref(arg0) {

@@ -498,3 +473,3 @@ const ret = getObject(arg0);

export function __wbg_has_4bfbc01db38743f7() { return handleError(function (arg0, arg1) {
export function __wbg_has_cdf8b85f6e903c80() { return handleError(function (arg0, arg1) {
const ret = Reflect.has(getObject(arg0), getObject(arg1));

@@ -504,3 +479,3 @@ return ret;

export function __wbg_parse_52202f117ec9ecfa() { return handleError(function (arg0, arg1) {
export function __wbg_parse_3f0cb48976ca4123() { return handleError(function (arg0, arg1) {
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));

@@ -510,3 +485,3 @@ return addHeapObject(ret);

export function __wbg_new0_65387337a95cf44d() {
export function __wbg_new0_ad75dd38f92424e2() {
const ret = new Date();

@@ -516,3 +491,3 @@ return addHeapObject(ret);

export function __wbg_getTime_91058879093a1589(arg0) {
export function __wbg_getTime_ed6ee333b702f8fc(arg0) {
const ret = getObject(arg0).getTime();

@@ -527,3 +502,3 @@ return ret;

export function __wbg_now_b7a162010a9e75b4() {
export function __wbg_now_4579335d3581594c() {
const ret = Date.now();

@@ -533,16 +508,13 @@ return ret;

export function __wbg_keys_7840ae453e408eab(arg0) {
const ret = Object.keys(getObject(arg0));
return addHeapObject(ret);
};
export function __wbg_length_ae22078168b726f5(arg0) {
const ret = getObject(arg0).length;
export function __wbg_instanceof_Promise_cfbcc42300367513(arg0) {
let result;
try {
result = getObject(arg0) instanceof Promise;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_is_object(arg0) {

@@ -554,14 +526,8 @@ const val = getObject(arg0);

export function __wbg_instanceof_Promise_ae8c7ffdec83f2ae(arg0) {
let result;
try {
result = getObject(arg0) instanceof Promise;
} catch (_) {
result = false;
}
const ret = result;
export function __wbg_length_cace2e0b3ddc0502(arg0) {
const ret = getObject(arg0).length;
return ret;
};
export function __wbg_iterator_888179a48810a9fe() {
export function __wbg_iterator_7ee1a391d310f8e4() {
const ret = Symbol.iterator;

@@ -614,3 +580,3 @@ return addHeapObject(ret);

export function __wbg_new_a220cf903aa02ca2() {
export function __wbg_new_08236689f0afb357() {
const ret = new Array();

@@ -620,7 +586,7 @@ return addHeapObject(ret);

export function __wbg_set_673dda6c73d19609(arg0, arg1, arg2) {
export function __wbg_set_0ac78a2bc07da03c(arg0, arg1, arg2) {
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
};
export function __wbg_new_8608a2b51a5f6737() {
export function __wbg_new_1b94180eeb48f2a2() {
const ret = new Map();

@@ -630,3 +596,3 @@ return addHeapObject(ret);

export function __wbg_new_525245e2b9901204() {
export function __wbg_new_c728d68b8b34487e() {
const ret = new Object();

@@ -636,3 +602,3 @@ return addHeapObject(ret);

export function __wbg_set_49185437f0ab06f8(arg0, arg1, arg2) {
export function __wbg_set_3355b9f2d3092e3b(arg0, arg1, arg2) {
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));

@@ -656,3 +622,3 @@ return addHeapObject(ret);

export function __wbg_push_37c89022f34c01ca(arg0, arg1) {
export function __wbg_push_fd3233d09cf81821(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));

@@ -680,3 +646,3 @@ return ret;

export function __wbg_buffer_b7b08af79b0b0974(arg0) {
export function __wbg_buffer_344d9b41efe96da7(arg0) {
const ret = getObject(arg0).buffer;

@@ -686,3 +652,3 @@ return addHeapObject(ret);

export function __wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9(arg0, arg1, arg2) {
export function __wbg_newwithbyteoffsetandlength_2dc04d99088b15e3(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);

@@ -692,3 +658,3 @@ return addHeapObject(ret);

export function __wbg_new_ea1883e1e5e86686(arg0) {
export function __wbg_new_d8a000788389a31e(arg0) {
const ret = new Uint8Array(getObject(arg0));

@@ -698,3 +664,3 @@ return addHeapObject(ret);

export function __wbg_subarray_7c2e3576afe181d1(arg0, arg1, arg2) {
export function __wbg_subarray_6ca5cfa7fbb9abbe(arg0, arg1, arg2) {
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);

@@ -742,3 +708,3 @@ return addHeapObject(ret);

export function __wbg_newwithlength_ec548f448387c968(arg0) {
export function __wbg_newwithlength_13b5319ab422dcf6(arg0) {
const ret = new Uint8Array(arg0 >>> 0);

@@ -753,3 +719,3 @@ return addHeapObject(ret);

export function __wbg_call_1084a111329e68ce() { return handleError(function (arg0, arg1) {
export function __wbg_call_669127b9d730c650() { return handleError(function (arg0, arg1) {
const ret = getObject(arg0).call(getObject(arg1));

@@ -759,3 +725,3 @@ return addHeapObject(ret);

export function __wbg_get_3baa728f9d58d3f6(arg0, arg1) {
export function __wbg_get_4a9aa5157afeb382(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];

@@ -765,3 +731,3 @@ return addHeapObject(ret);

export function __wbg_valueOf_c759749a331da0c0(arg0) {
export function __wbg_valueOf_ff4b62641803432a(arg0) {
const ret = getObject(arg0).valueOf();

@@ -771,3 +737,3 @@ return ret;

export function __wbg_next_f9cb570345655b9a() { return handleError(function (arg0) {
export function __wbg_next_1989a20442400aaa() { return handleError(function (arg0) {
const ret = getObject(arg0).next();

@@ -777,3 +743,3 @@ return addHeapObject(ret);

export function __wbg_done_bfda7aa8f252b39f(arg0) {
export function __wbg_done_bc26bf4ada718266(arg0) {
const ret = getObject(arg0).done;

@@ -783,3 +749,3 @@ return ret;

export function __wbg_value_6d39332ab4788d86(arg0) {
export function __wbg_value_0570714ff7d75f35(arg0) {
const ret = getObject(arg0).value;

@@ -789,3 +755,3 @@ return addHeapObject(ret);

export function __wbg_next_de3e9db4440638b2(arg0) {
export function __wbg_next_15da6a3df9290720(arg0) {
const ret = getObject(arg0).next;

@@ -795,3 +761,3 @@ return addHeapObject(ret);

export function __wbg_get_224d16597dbbfd96() { return handleError(function (arg0, arg1) {
export function __wbg_get_2aff440840bb6202() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(getObject(arg0), getObject(arg1));

@@ -801,3 +767,3 @@ return addHeapObject(ret);

export function __wbg_self_3093d5d1f7bcb682() { return handleError(function () {
export function __wbg_self_3fad056edded10bd() { return handleError(function () {
const ret = self.self;

@@ -807,3 +773,3 @@ return addHeapObject(ret);

export function __wbg_window_3bcfc4d31bc012f8() { return handleError(function () {
export function __wbg_window_a4f46c98a61d4089() { return handleError(function () {
const ret = window.window;

@@ -813,3 +779,3 @@ return addHeapObject(ret);

export function __wbg_globalThis_86b222e13bdf32ed() { return handleError(function () {
export function __wbg_globalThis_17eff828815f7d84() { return handleError(function () {
const ret = globalThis.globalThis;

@@ -819,3 +785,3 @@ return addHeapObject(ret);

export function __wbg_global_e5a3fe56f8be9485() { return handleError(function () {
export function __wbg_global_46f939f6541643c5() { return handleError(function () {
const ret = global.global;

@@ -825,3 +791,3 @@ return addHeapObject(ret);

export function __wbg_newnoargs_76313bd6ff35d0f2(arg0, arg1) {
export function __wbg_newnoargs_ccdcae30fd002262(arg0, arg1) {
const ret = new Function(getStringFromWasm0(arg0, arg1));

@@ -831,3 +797,3 @@ return addHeapObject(ret);

export function __wbg_isArray_8364a5371e9737d8(arg0) {
export function __wbg_isArray_38525be7442aa21e(arg0) {
const ret = Array.isArray(getObject(arg0));

@@ -837,3 +803,3 @@ return ret;

export function __wbg_call_89af060b4e1523f2() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_call_53fc3abd42e24ec8() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

@@ -843,3 +809,3 @@ return addHeapObject(ret);

export function __wbg_isSafeInteger_7f1ed56200d90674(arg0) {
export function __wbg_isSafeInteger_c38b0a16d0c7cef7(arg0) {
const ret = Number.isSafeInteger(getObject(arg0));

@@ -849,3 +815,3 @@ return ret;

export function __wbg_set_eacc7d73fefaafdf() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_set_40f7786a25a9cc7e() { return handleError(function (arg0, arg1, arg2) {
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));

@@ -855,3 +821,3 @@ return ret;

export function __wbg_stringify_bbf45426c92a6bf5() { return handleError(function (arg0) {
export function __wbg_stringify_4039297315a25b00() { return handleError(function (arg0) {
const ret = JSON.stringify(getObject(arg0));

@@ -861,7 +827,7 @@ return addHeapObject(ret);

export function __wbg_set_d1e79e2388520f18(arg0, arg1, arg2) {
export function __wbg_set_dcfd613a3420f908(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
export function __wbg_length_8339fcf5d8ecd12e(arg0) {
export function __wbg_length_a5587d6cd79ab197(arg0) {
const ret = getObject(arg0).length;

@@ -881,3 +847,3 @@ return ret;

export function __wbg_instanceof_Uint8Array_247a91427532499e(arg0) {
export function __wbg_instanceof_Uint8Array_19e6f142a5e7e1e1(arg0) {
let result;

@@ -893,3 +859,3 @@ try {

export function __wbg_instanceof_ArrayBuffer_61dfc3198373c902(arg0) {
export function __wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d(arg0) {
let result;

@@ -905,3 +871,3 @@ try {

export function __wbg_entries_7a0e06255456ebcd(arg0) {
export function __wbg_entries_6d727b73ee02b7ce(arg0) {
const ret = Object.entries(getObject(arg0));

@@ -940,3 +906,3 @@ return addHeapObject(ret);

export function __wbg_then_95e6edc0f89b73b1(arg0, arg1) {
export function __wbg_then_89e1c559530b85cf(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));

@@ -946,3 +912,3 @@ return addHeapObject(ret);

export function __wbg_then_876bb3c633745cc6(arg0, arg1, arg2) {
export function __wbg_then_1bbc9edafd859b06(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));

@@ -952,3 +918,3 @@ return addHeapObject(ret);

export function __wbg_resolve_570458cb99d56a43(arg0) {
export function __wbg_resolve_a3252b2860f0a09e(arg0) {
const ret = Promise.resolve(getObject(arg0));

@@ -958,6 +924,6 @@ return addHeapObject(ret);

export function __wbindgen_closure_wrapper7158(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_48);
export function __wbindgen_closure_wrapper6979(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_48);
return addHeapObject(ret);
};

@@ -6,10 +6,9 @@ /* tslint:disable */

export function queryengine_new(a: number, b: number, c: number, d: number): void;
export function queryengine_connect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_disconnect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_connect(a: number, b: number, c: number): number;
export function queryengine_disconnect(a: number, b: number, c: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_metrics(a: number, b: number, c: number): number;
export function queryengine_trace(a: number, b: number, c: number): number;
export function getBuildTimeInfo(): number;

@@ -20,5 +19,5 @@ export function debug_panic(a: number, b: number, c: number): void;

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(a: number, b: number, c: number, d: number): void;

@@ -24,3 +24,2 @@ /* tslint:disable */

logQueries?: boolean;
enableTracing: boolean;
}

@@ -43,13 +42,11 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace: string, request_id: string): Promise<void>;
connect(trace: string): Promise<void>;
/**
* Disconnect and drop the core. Can be reconnected later with `#connect`.
* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace: string, request_id: string): Promise<void>;
disconnect(trace: string): Promise<void>;
/**

@@ -59,7 +56,6 @@ * If connected, sends a query to the core and returns the response.

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body: string, trace: string, tx_id: string | undefined, request_id: string): Promise<string>;
query(body: string, trace: string, tx_id?: string): Promise<string>;
/**

@@ -69,6 +65,5 @@ * If connected, attempts to start a transaction in the core and returns its ID.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input: string, trace: string, request_id: string): Promise<string>;
startTransaction(input: string, trace: string): Promise<string>;
/**

@@ -78,6 +73,5 @@ * If connected, attempts to commit a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
commitTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -87,6 +81,5 @@ * If connected, attempts to roll back a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
rollbackTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -97,8 +90,2 @@ * @param {string} json_options

metrics(json_options: string): Promise<void>;
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id: string): Promise<string | undefined>;
}
{
"name": "@prisma/query-engine-wasm",
"version": "6.3.0-4.66ff51574f705989a0e2c8bf6f1659bee5eb9517",
"version": "6.3.0-5.integration-5-22-0-with-simplified-typeinfo-c41bc6f8547cc09d234cba92f0f78c0f8fd70b34",
"type": "module"
}

@@ -223,3 +223,3 @@ let wasm;

function __wbg_adapter_48(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(arg0, arg1, addHeapObject(arg2));
}

@@ -261,4 +261,4 @@

}
function __wbg_adapter_150(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_147(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -311,11 +311,8 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace, request_id) {
connect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -326,11 +323,8 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace, request_id) {
disconnect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -342,7 +336,6 @@ }

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body, trace, tx_id, request_id) {
query(body, trace, tx_id) {
const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -354,5 +347,3 @@ const len0 = WASM_VECTOR_LEN;

var len2 = WASM_VECTOR_LEN;
const ptr3 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len3 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
return takeObject(ret);

@@ -364,6 +355,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input, trace, request_id) {
startTransaction(input, trace) {
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -373,5 +363,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -383,6 +371,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id, trace, request_id) {
commitTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -392,5 +379,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -402,6 +387,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id, trace, request_id) {
rollbackTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -411,5 +395,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -427,13 +409,2 @@ }

}
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id) {
const ptr0 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_trace(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);
}
}

@@ -450,3 +421,8 @@

export function __wbg_new_b85e72ed1bfd57f9(arg0, arg1) {
export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbg_new_feb65b865d980ae2(arg0, arg1) {
try {

@@ -458,3 +434,3 @@ var state0 = {a: arg0, b: arg1};

try {
return __wbg_adapter_150(a, state0.b, arg0, arg1);
return __wbg_adapter_147(a, state0.b, arg0, arg1);
} finally {

@@ -481,7 +457,2 @@ state0.a = a;

export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbindgen_object_clone_ref(arg0) {

@@ -497,3 +468,3 @@ const ret = getObject(arg0);

export function __wbg_has_4bfbc01db38743f7() { return handleError(function (arg0, arg1) {
export function __wbg_has_cdf8b85f6e903c80() { return handleError(function (arg0, arg1) {
const ret = Reflect.has(getObject(arg0), getObject(arg1));

@@ -503,3 +474,3 @@ return ret;

export function __wbg_parse_52202f117ec9ecfa() { return handleError(function (arg0, arg1) {
export function __wbg_parse_3f0cb48976ca4123() { return handleError(function (arg0, arg1) {
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));

@@ -509,3 +480,3 @@ return addHeapObject(ret);

export function __wbg_new0_65387337a95cf44d() {
export function __wbg_new0_ad75dd38f92424e2() {
const ret = new Date();

@@ -515,3 +486,3 @@ return addHeapObject(ret);

export function __wbg_getTime_91058879093a1589(arg0) {
export function __wbg_getTime_ed6ee333b702f8fc(arg0) {
const ret = getObject(arg0).getTime();

@@ -530,3 +501,3 @@ return ret;

export function __wbg_now_b7a162010a9e75b4() {
export function __wbg_now_4579335d3581594c() {
const ret = Date.now();

@@ -536,13 +507,9 @@ return ret;

export function __wbg_keys_7840ae453e408eab(arg0) {
const ret = Object.keys(getObject(arg0));
return addHeapObject(ret);
};
export function __wbg_length_ae22078168b726f5(arg0) {
const ret = getObject(arg0).length;
export function __wbindgen_is_object(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
export function __wbg_instanceof_Promise_ae8c7ffdec83f2ae(arg0) {
export function __wbg_instanceof_Promise_cfbcc42300367513(arg0) {
let result;

@@ -558,9 +525,8 @@ try {

export function __wbindgen_is_object(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
export function __wbg_length_cace2e0b3ddc0502(arg0) {
const ret = getObject(arg0).length;
return ret;
};
export function __wbg_iterator_888179a48810a9fe() {
export function __wbg_iterator_7ee1a391d310f8e4() {
const ret = Symbol.iterator;

@@ -613,3 +579,3 @@ return addHeapObject(ret);

export function __wbg_new_a220cf903aa02ca2() {
export function __wbg_new_08236689f0afb357() {
const ret = new Array();

@@ -619,7 +585,7 @@ return addHeapObject(ret);

export function __wbg_set_673dda6c73d19609(arg0, arg1, arg2) {
export function __wbg_set_0ac78a2bc07da03c(arg0, arg1, arg2) {
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
};
export function __wbg_new_8608a2b51a5f6737() {
export function __wbg_new_1b94180eeb48f2a2() {
const ret = new Map();

@@ -629,3 +595,3 @@ return addHeapObject(ret);

export function __wbg_new_525245e2b9901204() {
export function __wbg_new_c728d68b8b34487e() {
const ret = new Object();

@@ -635,3 +601,3 @@ return addHeapObject(ret);

export function __wbg_set_49185437f0ab06f8(arg0, arg1, arg2) {
export function __wbg_set_3355b9f2d3092e3b(arg0, arg1, arg2) {
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));

@@ -655,3 +621,3 @@ return addHeapObject(ret);

export function __wbg_push_37c89022f34c01ca(arg0, arg1) {
export function __wbg_push_fd3233d09cf81821(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));

@@ -661,3 +627,3 @@ return ret;

export function __wbg_new_13847c66f41dda63(arg0, arg1, arg2, arg3) {
export function __wbg_new_00f9fd9cefd9f65c(arg0, arg1, arg2, arg3) {
const ret = new RegExp(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));

@@ -667,3 +633,3 @@ return addHeapObject(ret);

export function __wbg_exec_a29a4ce5544bd3be(arg0, arg1, arg2) {
export function __wbg_exec_393fa168a3695345(arg0, arg1, arg2) {
const ret = getObject(arg0).exec(getStringFromWasm0(arg1, arg2));

@@ -691,3 +657,3 @@ return isLikeNone(ret) ? 0 : addHeapObject(ret);

export function __wbg_buffer_b7b08af79b0b0974(arg0) {
export function __wbg_buffer_344d9b41efe96da7(arg0) {
const ret = getObject(arg0).buffer;

@@ -697,3 +663,3 @@ return addHeapObject(ret);

export function __wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9(arg0, arg1, arg2) {
export function __wbg_newwithbyteoffsetandlength_2dc04d99088b15e3(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);

@@ -703,3 +669,3 @@ return addHeapObject(ret);

export function __wbg_new_ea1883e1e5e86686(arg0) {
export function __wbg_new_d8a000788389a31e(arg0) {
const ret = new Uint8Array(getObject(arg0));

@@ -709,3 +675,3 @@ return addHeapObject(ret);

export function __wbg_subarray_7c2e3576afe181d1(arg0, arg1, arg2) {
export function __wbg_subarray_6ca5cfa7fbb9abbe(arg0, arg1, arg2) {
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);

@@ -753,3 +719,3 @@ return addHeapObject(ret);

export function __wbg_newwithlength_ec548f448387c968(arg0) {
export function __wbg_newwithlength_13b5319ab422dcf6(arg0) {
const ret = new Uint8Array(arg0 >>> 0);

@@ -764,3 +730,3 @@ return addHeapObject(ret);

export function __wbg_call_1084a111329e68ce() { return handleError(function (arg0, arg1) {
export function __wbg_call_669127b9d730c650() { return handleError(function (arg0, arg1) {
const ret = getObject(arg0).call(getObject(arg1));

@@ -770,3 +736,3 @@ return addHeapObject(ret);

export function __wbg_get_3baa728f9d58d3f6(arg0, arg1) {
export function __wbg_get_4a9aa5157afeb382(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];

@@ -776,3 +742,3 @@ return addHeapObject(ret);

export function __wbg_valueOf_c759749a331da0c0(arg0) {
export function __wbg_valueOf_ff4b62641803432a(arg0) {
const ret = getObject(arg0).valueOf();

@@ -782,3 +748,3 @@ return ret;

export function __wbg_next_f9cb570345655b9a() { return handleError(function (arg0) {
export function __wbg_next_1989a20442400aaa() { return handleError(function (arg0) {
const ret = getObject(arg0).next();

@@ -788,3 +754,3 @@ return addHeapObject(ret);

export function __wbg_done_bfda7aa8f252b39f(arg0) {
export function __wbg_done_bc26bf4ada718266(arg0) {
const ret = getObject(arg0).done;

@@ -794,3 +760,3 @@ return ret;

export function __wbg_value_6d39332ab4788d86(arg0) {
export function __wbg_value_0570714ff7d75f35(arg0) {
const ret = getObject(arg0).value;

@@ -800,3 +766,3 @@ return addHeapObject(ret);

export function __wbg_next_de3e9db4440638b2(arg0) {
export function __wbg_next_15da6a3df9290720(arg0) {
const ret = getObject(arg0).next;

@@ -806,3 +772,3 @@ return addHeapObject(ret);

export function __wbg_get_224d16597dbbfd96() { return handleError(function (arg0, arg1) {
export function __wbg_get_2aff440840bb6202() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(getObject(arg0), getObject(arg1));

@@ -812,3 +778,3 @@ return addHeapObject(ret);

export function __wbg_self_3093d5d1f7bcb682() { return handleError(function () {
export function __wbg_self_3fad056edded10bd() { return handleError(function () {
const ret = self.self;

@@ -818,3 +784,3 @@ return addHeapObject(ret);

export function __wbg_window_3bcfc4d31bc012f8() { return handleError(function () {
export function __wbg_window_a4f46c98a61d4089() { return handleError(function () {
const ret = window.window;

@@ -824,3 +790,3 @@ return addHeapObject(ret);

export function __wbg_globalThis_86b222e13bdf32ed() { return handleError(function () {
export function __wbg_globalThis_17eff828815f7d84() { return handleError(function () {
const ret = globalThis.globalThis;

@@ -830,3 +796,3 @@ return addHeapObject(ret);

export function __wbg_global_e5a3fe56f8be9485() { return handleError(function () {
export function __wbg_global_46f939f6541643c5() { return handleError(function () {
const ret = global.global;

@@ -836,3 +802,3 @@ return addHeapObject(ret);

export function __wbg_newnoargs_76313bd6ff35d0f2(arg0, arg1) {
export function __wbg_newnoargs_ccdcae30fd002262(arg0, arg1) {
const ret = new Function(getStringFromWasm0(arg0, arg1));

@@ -842,3 +808,3 @@ return addHeapObject(ret);

export function __wbg_isArray_8364a5371e9737d8(arg0) {
export function __wbg_isArray_38525be7442aa21e(arg0) {
const ret = Array.isArray(getObject(arg0));

@@ -848,3 +814,3 @@ return ret;

export function __wbg_call_89af060b4e1523f2() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_call_53fc3abd42e24ec8() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

@@ -854,3 +820,3 @@ return addHeapObject(ret);

export function __wbg_isSafeInteger_7f1ed56200d90674(arg0) {
export function __wbg_isSafeInteger_c38b0a16d0c7cef7(arg0) {
const ret = Number.isSafeInteger(getObject(arg0));

@@ -860,3 +826,3 @@ return ret;

export function __wbg_set_eacc7d73fefaafdf() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_set_40f7786a25a9cc7e() { return handleError(function (arg0, arg1, arg2) {
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));

@@ -866,3 +832,3 @@ return ret;

export function __wbg_stringify_bbf45426c92a6bf5() { return handleError(function (arg0) {
export function __wbg_stringify_4039297315a25b00() { return handleError(function (arg0) {
const ret = JSON.stringify(getObject(arg0));

@@ -872,7 +838,7 @@ return addHeapObject(ret);

export function __wbg_set_d1e79e2388520f18(arg0, arg1, arg2) {
export function __wbg_set_dcfd613a3420f908(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
export function __wbg_length_8339fcf5d8ecd12e(arg0) {
export function __wbg_length_a5587d6cd79ab197(arg0) {
const ret = getObject(arg0).length;

@@ -892,3 +858,3 @@ return ret;

export function __wbg_instanceof_Uint8Array_247a91427532499e(arg0) {
export function __wbg_instanceof_Uint8Array_19e6f142a5e7e1e1(arg0) {
let result;

@@ -904,3 +870,3 @@ try {

export function __wbg_instanceof_ArrayBuffer_61dfc3198373c902(arg0) {
export function __wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d(arg0) {
let result;

@@ -916,3 +882,3 @@ try {

export function __wbg_entries_7a0e06255456ebcd(arg0) {
export function __wbg_entries_6d727b73ee02b7ce(arg0) {
const ret = Object.entries(getObject(arg0));

@@ -951,3 +917,3 @@ return addHeapObject(ret);

export function __wbg_then_95e6edc0f89b73b1(arg0, arg1) {
export function __wbg_then_89e1c559530b85cf(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));

@@ -957,3 +923,3 @@ return addHeapObject(ret);

export function __wbg_then_876bb3c633745cc6(arg0, arg1, arg2) {
export function __wbg_then_1bbc9edafd859b06(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));

@@ -963,3 +929,3 @@ return addHeapObject(ret);

export function __wbg_resolve_570458cb99d56a43(arg0) {
export function __wbg_resolve_a3252b2860f0a09e(arg0) {
const ret = Promise.resolve(getObject(arg0));

@@ -969,6 +935,6 @@ return addHeapObject(ret);

export function __wbindgen_closure_wrapper7221(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 549, __wbg_adapter_48);
export function __wbindgen_closure_wrapper7038(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_48);
return addHeapObject(ret);
};

@@ -6,10 +6,9 @@ /* tslint:disable */

export function queryengine_new(a: number, b: number, c: number, d: number): void;
export function queryengine_connect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_disconnect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_connect(a: number, b: number, c: number): number;
export function queryengine_disconnect(a: number, b: number, c: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_metrics(a: number, b: number, c: number): number;
export function queryengine_trace(a: number, b: number, c: number): number;
export function getBuildTimeInfo(): number;

@@ -20,5 +19,5 @@ export function debug_panic(a: number, b: number, c: number): void;

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(a: number, b: number, c: number, d: number): void;

@@ -24,3 +24,2 @@ /* tslint:disable */

logQueries?: boolean;
enableTracing: boolean;
}

@@ -43,13 +42,11 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace: string, request_id: string): Promise<void>;
connect(trace: string): Promise<void>;
/**
* Disconnect and drop the core. Can be reconnected later with `#connect`.
* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace: string, request_id: string): Promise<void>;
disconnect(trace: string): Promise<void>;
/**

@@ -59,7 +56,6 @@ * If connected, sends a query to the core and returns the response.

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body: string, trace: string, tx_id: string | undefined, request_id: string): Promise<string>;
query(body: string, trace: string, tx_id?: string): Promise<string>;
/**

@@ -69,6 +65,5 @@ * If connected, attempts to start a transaction in the core and returns its ID.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input: string, trace: string, request_id: string): Promise<string>;
startTransaction(input: string, trace: string): Promise<string>;
/**

@@ -78,6 +73,5 @@ * If connected, attempts to commit a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
commitTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -87,6 +81,5 @@ * If connected, attempts to roll back a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
rollbackTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -97,8 +90,2 @@ * @param {string} json_options

metrics(json_options: string): Promise<void>;
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id: string): Promise<string | undefined>;
}

@@ -115,14 +115,2 @@ let wasm;

function dropObject(idx) {
if (idx < 132) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
function debugString(val) {

@@ -193,2 +181,14 @@ // primitive types

function dropObject(idx) {
if (idx < 132) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')

@@ -225,3 +225,3 @@ ? { register: () => {}, unregister: () => {} }

function __wbg_adapter_48(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(arg0, arg1, addHeapObject(arg2));
}

@@ -263,4 +263,4 @@

}
function __wbg_adapter_146(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_143(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -313,11 +313,8 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace, request_id) {
connect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_connect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -328,11 +325,8 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace, request_id) {
disconnect(trace) {
const ptr0 = passStringToWasm0(trace, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0, ptr1, len1);
const ret = wasm.queryengine_disconnect(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);

@@ -344,7 +338,6 @@ }

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body, trace, tx_id, request_id) {
query(body, trace, tx_id) {
const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -356,5 +349,3 @@ const len0 = WASM_VECTOR_LEN;

var len2 = WASM_VECTOR_LEN;
const ptr3 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len3 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
const ret = wasm.queryengine_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
return takeObject(ret);

@@ -366,6 +357,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input, trace, request_id) {
startTransaction(input, trace) {
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -375,5 +365,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_startTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -385,6 +373,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id, trace, request_id) {
commitTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -394,5 +381,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_commitTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -404,6 +389,5 @@ }

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id, trace, request_id) {
rollbackTransaction(tx_id, trace) {
const ptr0 = passStringToWasm0(tx_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);

@@ -413,5 +397,3 @@ const len0 = WASM_VECTOR_LEN;

const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
const ret = wasm.queryengine_rollbackTransaction(this.__wbg_ptr, ptr0, len0, ptr1, len1);
return takeObject(ret);

@@ -429,13 +411,2 @@ }

}
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id) {
const ptr0 = passStringToWasm0(request_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.queryengine_trace(this.__wbg_ptr, ptr0, len0);
return takeObject(ret);
}
}

@@ -452,3 +423,8 @@

export function __wbg_new_b85e72ed1bfd57f9(arg0, arg1) {
export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbg_new_feb65b865d980ae2(arg0, arg1) {
try {

@@ -460,3 +436,3 @@ var state0 = {a: arg0, b: arg1};

try {
return __wbg_adapter_146(a, state0.b, arg0, arg1);
return __wbg_adapter_143(a, state0.b, arg0, arg1);
} finally {

@@ -483,7 +459,2 @@ state0.a = a;

export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbindgen_object_clone_ref(arg0) {

@@ -499,3 +470,3 @@ const ret = getObject(arg0);

export function __wbg_has_4bfbc01db38743f7() { return handleError(function (arg0, arg1) {
export function __wbg_has_cdf8b85f6e903c80() { return handleError(function (arg0, arg1) {
const ret = Reflect.has(getObject(arg0), getObject(arg1));

@@ -505,3 +476,3 @@ return ret;

export function __wbg_parse_52202f117ec9ecfa() { return handleError(function (arg0, arg1) {
export function __wbg_parse_3f0cb48976ca4123() { return handleError(function (arg0, arg1) {
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));

@@ -511,3 +482,3 @@ return addHeapObject(ret);

export function __wbg_new0_65387337a95cf44d() {
export function __wbg_new0_ad75dd38f92424e2() {
const ret = new Date();

@@ -517,3 +488,3 @@ return addHeapObject(ret);

export function __wbg_getTime_91058879093a1589(arg0) {
export function __wbg_getTime_ed6ee333b702f8fc(arg0) {
const ret = getObject(arg0).getTime();

@@ -528,3 +499,3 @@ return ret;

export function __wbg_now_b7a162010a9e75b4() {
export function __wbg_now_4579335d3581594c() {
const ret = Date.now();

@@ -534,16 +505,13 @@ return ret;

export function __wbg_keys_7840ae453e408eab(arg0) {
const ret = Object.keys(getObject(arg0));
return addHeapObject(ret);
};
export function __wbg_length_ae22078168b726f5(arg0) {
const ret = getObject(arg0).length;
export function __wbg_instanceof_Promise_cfbcc42300367513(arg0) {
let result;
try {
result = getObject(arg0) instanceof Promise;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_is_object(arg0) {

@@ -555,14 +523,8 @@ const val = getObject(arg0);

export function __wbg_instanceof_Promise_ae8c7ffdec83f2ae(arg0) {
let result;
try {
result = getObject(arg0) instanceof Promise;
} catch (_) {
result = false;
}
const ret = result;
export function __wbg_length_cace2e0b3ddc0502(arg0) {
const ret = getObject(arg0).length;
return ret;
};
export function __wbg_iterator_888179a48810a9fe() {
export function __wbg_iterator_7ee1a391d310f8e4() {
const ret = Symbol.iterator;

@@ -615,3 +577,3 @@ return addHeapObject(ret);

export function __wbg_new_a220cf903aa02ca2() {
export function __wbg_new_08236689f0afb357() {
const ret = new Array();

@@ -621,7 +583,7 @@ return addHeapObject(ret);

export function __wbg_set_673dda6c73d19609(arg0, arg1, arg2) {
export function __wbg_set_0ac78a2bc07da03c(arg0, arg1, arg2) {
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
};
export function __wbg_new_8608a2b51a5f6737() {
export function __wbg_new_1b94180eeb48f2a2() {
const ret = new Map();

@@ -631,3 +593,3 @@ return addHeapObject(ret);

export function __wbg_new_525245e2b9901204() {
export function __wbg_new_c728d68b8b34487e() {
const ret = new Object();

@@ -637,3 +599,3 @@ return addHeapObject(ret);

export function __wbg_set_49185437f0ab06f8(arg0, arg1, arg2) {
export function __wbg_set_3355b9f2d3092e3b(arg0, arg1, arg2) {
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));

@@ -657,3 +619,3 @@ return addHeapObject(ret);

export function __wbg_push_37c89022f34c01ca(arg0, arg1) {
export function __wbg_push_fd3233d09cf81821(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));

@@ -681,3 +643,3 @@ return ret;

export function __wbg_buffer_b7b08af79b0b0974(arg0) {
export function __wbg_buffer_344d9b41efe96da7(arg0) {
const ret = getObject(arg0).buffer;

@@ -687,3 +649,3 @@ return addHeapObject(ret);

export function __wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9(arg0, arg1, arg2) {
export function __wbg_newwithbyteoffsetandlength_2dc04d99088b15e3(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);

@@ -693,3 +655,3 @@ return addHeapObject(ret);

export function __wbg_new_ea1883e1e5e86686(arg0) {
export function __wbg_new_d8a000788389a31e(arg0) {
const ret = new Uint8Array(getObject(arg0));

@@ -699,3 +661,3 @@ return addHeapObject(ret);

export function __wbg_subarray_7c2e3576afe181d1(arg0, arg1, arg2) {
export function __wbg_subarray_6ca5cfa7fbb9abbe(arg0, arg1, arg2) {
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);

@@ -743,3 +705,3 @@ return addHeapObject(ret);

export function __wbg_newwithlength_ec548f448387c968(arg0) {
export function __wbg_newwithlength_13b5319ab422dcf6(arg0) {
const ret = new Uint8Array(arg0 >>> 0);

@@ -754,3 +716,3 @@ return addHeapObject(ret);

export function __wbg_call_1084a111329e68ce() { return handleError(function (arg0, arg1) {
export function __wbg_call_669127b9d730c650() { return handleError(function (arg0, arg1) {
const ret = getObject(arg0).call(getObject(arg1));

@@ -760,3 +722,3 @@ return addHeapObject(ret);

export function __wbg_get_3baa728f9d58d3f6(arg0, arg1) {
export function __wbg_get_4a9aa5157afeb382(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];

@@ -766,3 +728,3 @@ return addHeapObject(ret);

export function __wbg_valueOf_c759749a331da0c0(arg0) {
export function __wbg_valueOf_ff4b62641803432a(arg0) {
const ret = getObject(arg0).valueOf();

@@ -772,3 +734,3 @@ return ret;

export function __wbg_next_f9cb570345655b9a() { return handleError(function (arg0) {
export function __wbg_next_1989a20442400aaa() { return handleError(function (arg0) {
const ret = getObject(arg0).next();

@@ -778,3 +740,3 @@ return addHeapObject(ret);

export function __wbg_done_bfda7aa8f252b39f(arg0) {
export function __wbg_done_bc26bf4ada718266(arg0) {
const ret = getObject(arg0).done;

@@ -784,3 +746,3 @@ return ret;

export function __wbg_value_6d39332ab4788d86(arg0) {
export function __wbg_value_0570714ff7d75f35(arg0) {
const ret = getObject(arg0).value;

@@ -790,3 +752,3 @@ return addHeapObject(ret);

export function __wbg_next_de3e9db4440638b2(arg0) {
export function __wbg_next_15da6a3df9290720(arg0) {
const ret = getObject(arg0).next;

@@ -796,3 +758,3 @@ return addHeapObject(ret);

export function __wbg_get_224d16597dbbfd96() { return handleError(function (arg0, arg1) {
export function __wbg_get_2aff440840bb6202() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(getObject(arg0), getObject(arg1));

@@ -802,3 +764,3 @@ return addHeapObject(ret);

export function __wbg_self_3093d5d1f7bcb682() { return handleError(function () {
export function __wbg_self_3fad056edded10bd() { return handleError(function () {
const ret = self.self;

@@ -808,3 +770,3 @@ return addHeapObject(ret);

export function __wbg_window_3bcfc4d31bc012f8() { return handleError(function () {
export function __wbg_window_a4f46c98a61d4089() { return handleError(function () {
const ret = window.window;

@@ -814,3 +776,3 @@ return addHeapObject(ret);

export function __wbg_globalThis_86b222e13bdf32ed() { return handleError(function () {
export function __wbg_globalThis_17eff828815f7d84() { return handleError(function () {
const ret = globalThis.globalThis;

@@ -820,3 +782,3 @@ return addHeapObject(ret);

export function __wbg_global_e5a3fe56f8be9485() { return handleError(function () {
export function __wbg_global_46f939f6541643c5() { return handleError(function () {
const ret = global.global;

@@ -826,3 +788,3 @@ return addHeapObject(ret);

export function __wbg_newnoargs_76313bd6ff35d0f2(arg0, arg1) {
export function __wbg_newnoargs_ccdcae30fd002262(arg0, arg1) {
const ret = new Function(getStringFromWasm0(arg0, arg1));

@@ -832,3 +794,3 @@ return addHeapObject(ret);

export function __wbg_isArray_8364a5371e9737d8(arg0) {
export function __wbg_isArray_38525be7442aa21e(arg0) {
const ret = Array.isArray(getObject(arg0));

@@ -838,3 +800,3 @@ return ret;

export function __wbg_call_89af060b4e1523f2() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_call_53fc3abd42e24ec8() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

@@ -844,3 +806,3 @@ return addHeapObject(ret);

export function __wbg_isSafeInteger_7f1ed56200d90674(arg0) {
export function __wbg_isSafeInteger_c38b0a16d0c7cef7(arg0) {
const ret = Number.isSafeInteger(getObject(arg0));

@@ -850,3 +812,3 @@ return ret;

export function __wbg_set_eacc7d73fefaafdf() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_set_40f7786a25a9cc7e() { return handleError(function (arg0, arg1, arg2) {
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));

@@ -856,3 +818,3 @@ return ret;

export function __wbg_stringify_bbf45426c92a6bf5() { return handleError(function (arg0) {
export function __wbg_stringify_4039297315a25b00() { return handleError(function (arg0) {
const ret = JSON.stringify(getObject(arg0));

@@ -862,7 +824,7 @@ return addHeapObject(ret);

export function __wbg_set_d1e79e2388520f18(arg0, arg1, arg2) {
export function __wbg_set_dcfd613a3420f908(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
export function __wbg_length_8339fcf5d8ecd12e(arg0) {
export function __wbg_length_a5587d6cd79ab197(arg0) {
const ret = getObject(arg0).length;

@@ -882,3 +844,3 @@ return ret;

export function __wbg_instanceof_Uint8Array_247a91427532499e(arg0) {
export function __wbg_instanceof_Uint8Array_19e6f142a5e7e1e1(arg0) {
let result;

@@ -894,3 +856,3 @@ try {

export function __wbg_instanceof_ArrayBuffer_61dfc3198373c902(arg0) {
export function __wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d(arg0) {
let result;

@@ -906,3 +868,3 @@ try {

export function __wbg_entries_7a0e06255456ebcd(arg0) {
export function __wbg_entries_6d727b73ee02b7ce(arg0) {
const ret = Object.entries(getObject(arg0));

@@ -941,3 +903,7 @@ return addHeapObject(ret);

export function __wbg_then_95e6edc0f89b73b1(arg0, arg1) {
export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbg_then_89e1c559530b85cf(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));

@@ -947,3 +913,3 @@ return addHeapObject(ret);

export function __wbg_then_876bb3c633745cc6(arg0, arg1, arg2) {
export function __wbg_then_1bbc9edafd859b06(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));

@@ -953,3 +919,3 @@ return addHeapObject(ret);

export function __wbg_resolve_570458cb99d56a43(arg0) {
export function __wbg_resolve_a3252b2860f0a09e(arg0) {
const ret = Promise.resolve(getObject(arg0));

@@ -959,6 +925,6 @@ return addHeapObject(ret);

export function __wbindgen_closure_wrapper6912(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 535, __wbg_adapter_48);
export function __wbindgen_closure_wrapper6700(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 530, __wbg_adapter_48);
return addHeapObject(ret);
};

@@ -6,10 +6,9 @@ /* tslint:disable */

export function queryengine_new(a: number, b: number, c: number, d: number): void;
export function queryengine_connect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_disconnect(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_connect(a: number, b: number, c: number): number;
export function queryengine_disconnect(a: number, b: number, c: number): number;
export function queryengine_query(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number;
export function queryengine_startTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_commitTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_rollbackTransaction(a: number, b: number, c: number, d: number, e: number): number;
export function queryengine_metrics(a: number, b: number, c: number): number;
export function queryengine_trace(a: number, b: number, c: number): number;
export function getBuildTimeInfo(): number;

@@ -20,5 +19,5 @@ export function debug_panic(a: number, b: number, c: number): void;

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39ab5693543e0f87(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9eef02caf99553a1(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h45f076207bfdf52d(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h174c8485536aed69(a: number, b: number, c: number, d: number): void;

@@ -24,3 +24,2 @@ /* tslint:disable */

logQueries?: boolean;
enableTracing: boolean;
}

@@ -43,13 +42,11 @@

* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
connect(trace: string, request_id: string): Promise<void>;
connect(trace: string): Promise<void>;
/**
* Disconnect and drop the core. Can be reconnected later with `#connect`.
* @param {string} trace
* @param {string} request_id
* @returns {Promise<void>}
*/
disconnect(trace: string, request_id: string): Promise<void>;
disconnect(trace: string): Promise<void>;
/**

@@ -59,7 +56,6 @@ * If connected, sends a query to the core and returns the response.

* @param {string} trace
* @param {string | undefined} tx_id
* @param {string} request_id
* @param {string | undefined} [tx_id]
* @returns {Promise<string>}
*/
query(body: string, trace: string, tx_id: string | undefined, request_id: string): Promise<string>;
query(body: string, trace: string, tx_id?: string): Promise<string>;
/**

@@ -69,6 +65,5 @@ * If connected, attempts to start a transaction in the core and returns its ID.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
startTransaction(input: string, trace: string, request_id: string): Promise<string>;
startTransaction(input: string, trace: string): Promise<string>;
/**

@@ -78,6 +73,5 @@ * If connected, attempts to commit a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
commitTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
commitTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -87,6 +81,5 @@ * If connected, attempts to roll back a transaction with id `tx_id` in the core.

* @param {string} trace
* @param {string} request_id
* @returns {Promise<string>}
*/
rollbackTransaction(tx_id: string, trace: string, request_id: string): Promise<string>;
rollbackTransaction(tx_id: string, trace: string): Promise<string>;
/**

@@ -97,8 +90,2 @@ * @param {string} json_options

metrics(json_options: string): Promise<void>;
/**
* Fetch the spans associated with a [`RequestId`]
* @param {string} request_id
* @returns {Promise<string | undefined>}
*/
trace(request_id: string): Promise<string | undefined>;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc