@hirosystems/clarinet-sdk-wasm
Advanced tools
Comparing version 2.4.2 to 2.5.0-beta1
@@ -146,5 +146,7 @@ /* tslint:disable */ | ||
/** | ||
* @param {boolean} include_boot_contracts | ||
* @param {string} boot_contracts_path | ||
* @returns {SessionReport} | ||
*/ | ||
collectReport(): SessionReport; | ||
collectReport(include_boot_contracts: boolean, boot_contracts_path: string): SessionReport; | ||
/** | ||
@@ -151,0 +153,0 @@ */ |
@@ -819,8 +819,12 @@ let imports = {}; | ||
/** | ||
* @param {boolean} include_boot_contracts | ||
* @param {string} boot_contracts_path | ||
* @returns {SessionReport} | ||
*/ | ||
collectReport() { | ||
collectReport(include_boot_contracts, boot_contracts_path) { | ||
try { | ||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
wasm.sdk_collectReport(retptr, this.__wbg_ptr); | ||
const ptr0 = passStringToWasm0(boot_contracts_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.sdk_collectReport(retptr, this.__wbg_ptr, include_boot_contracts, ptr0, len0); | ||
var r0 = getInt32Memory0()[retptr / 4 + 0]; | ||
@@ -1071,11 +1075,2 @@ var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = typeof(obj) === 'string' ? obj : undefined; | ||
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
@@ -1091,12 +1086,7 @@ const ret = typeof(getObject(arg0)) === 'string'; | ||
module.exports.__wbindgen_as_number = function(arg0) { | ||
const ret = +getObject(arg0); | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1112,7 +1102,21 @@ const obj = takeObject(arg0).original; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = typeof(obj) === 'string' ? obj : undefined; | ||
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
module.exports.__wbindgen_as_number = function(arg0) { | ||
const ret = +getObject(arg0); | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -1530,4 +1534,4 @@ const ret = new Error(); | ||
module.exports.__wbindgen_closure_wrapper2569 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 722, __wbg_adapter_44); | ||
module.exports.__wbindgen_closure_wrapper2568 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_44); | ||
return addHeapObject(ret); | ||
@@ -1534,0 +1538,0 @@ }; |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "2.4.2", | ||
"version": "2.5.0-beta1", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1586
7856795
2