@hirosystems/clarinet-sdk-wasm
Advanced tools
Comparing version 2.7.0-beta1 to 2.7.0-beta3
@@ -177,2 +177,5 @@ /* tslint:disable */ | ||
/** | ||
*/ | ||
clearCache(): void; | ||
/** | ||
* @param {EpochString} epoch | ||
@@ -261,5 +264,5 @@ */ | ||
* @param {string} snippet | ||
* @returns {string} | ||
* @returns {TransactionRes} | ||
*/ | ||
runSnippet(snippet: string): string; | ||
runSnippet(snippet: string): TransactionRes; | ||
/** | ||
@@ -266,0 +269,0 @@ * @param {string} test_name |
@@ -270,3 +270,3 @@ let imports = {}; | ||
} | ||
function __wbg_adapter_175(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_176(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2d78d70b7078fa90(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -464,2 +464,7 @@ } | ||
/** | ||
*/ | ||
clearCache() { | ||
wasm.sdk_clearCache(this.__wbg_ptr); | ||
} | ||
/** | ||
* @returns {number} | ||
@@ -805,7 +810,5 @@ */ | ||
* @param {string} snippet | ||
* @returns {string} | ||
* @returns {TransactionRes} | ||
*/ | ||
runSnippet(snippet) { | ||
let deferred2_0; | ||
let deferred2_1; | ||
try { | ||
@@ -818,8 +821,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); | ||
} | ||
@@ -1176,7 +1180,2 @@ } | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1192,2 +1191,7 @@ const obj = takeObject(arg0).original; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -1511,3 +1515,3 @@ const ret = new Error(); | ||
try { | ||
return __wbg_adapter_175(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_176(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1606,3 +1610,3 @@ state0.a = a; | ||
module.exports.__wbindgen_closure_wrapper2572 = function(arg0, arg1, arg2) { | ||
module.exports.__wbindgen_closure_wrapper2574 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 745, __wbg_adapter_44); | ||
@@ -1609,0 +1613,0 @@ return addHeapObject(ret); |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "2.7.0-beta1", | ||
"version": "2.7.0-beta3", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1775
7455097