@hirosystems/clarinet-sdk-wasm-browser
Advanced tools
Comparing version 2.7.0-beta2 to 2.7.0-beta3
@@ -263,5 +263,5 @@ /* tslint:disable */ | ||
* @param {string} snippet | ||
* @returns {string} | ||
* @returns {TransactionRes} | ||
*/ | ||
runSnippet(snippet: string): string; | ||
runSnippet(snippet: string): TransactionRes; | ||
/** | ||
@@ -268,0 +268,0 @@ * @param {string} test_name |
@@ -802,7 +802,5 @@ let wasm; | ||
* @param {string} snippet | ||
* @returns {string} | ||
* @returns {TransactionRes} | ||
*/ | ||
runSnippet(snippet) { | ||
let deferred2_0; | ||
let deferred2_1; | ||
try { | ||
@@ -815,8 +813,9 @@ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
deferred2_0 = r0; | ||
deferred2_1 = r1; | ||
return getStringFromWasm0(r0, r1); | ||
var r2 = getInt32Memory0()[retptr / 4 + 2]; | ||
if (r2) { | ||
throw takeObject(r1); | ||
} | ||
return TransactionRes.__wrap(r0); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); | ||
} | ||
@@ -1194,6 +1193,2 @@ } | ||
}; | ||
imports.wbg.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1208,2 +1203,6 @@ const obj = takeObject(arg0).original; | ||
}; | ||
imports.wbg.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -1548,3 +1547,3 @@ const ret = new Error(); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper2571 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper2574 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 745, __wbg_adapter_44); | ||
@@ -1551,0 +1550,0 @@ return addHeapObject(ret); |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm-browser", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "2.7.0-beta2", | ||
"version": "2.7.0-beta3", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
7835423
1907