@hirosystems/clarinet-sdk-wasm
Advanced tools
Comparing version
@@ -295,2 +295,6 @@ /* tslint:disable */ | ||
/** | ||
* @param {(string)[]} addresses | ||
*/ | ||
setLocalAccounts(addresses: (string)[]): void; | ||
/** | ||
* @param {string} recipient | ||
@@ -297,0 +301,0 @@ * @param {bigint} amount |
@@ -240,3 +240,3 @@ | ||
} | ||
function __wbg_adapter_211(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_212(arg0, arg1, arg2, arg3) { | ||
wasm.closure3062_externref_shim(arg0, arg1, arg2, arg3); | ||
@@ -787,2 +787,10 @@ } | ||
/** | ||
* @param {(string)[]} addresses | ||
*/ | ||
setLocalAccounts(addresses) { | ||
const ptr0 = passArrayJsValueToWasm0(addresses, wasm.__wbindgen_malloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.sdk_setLocalAccounts(this.__wbg_ptr, ptr0, len0); | ||
} | ||
/** | ||
* @param {string} recipient | ||
@@ -1124,2 +1132,11 @@ * @param {bigint} amount | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = 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; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
@@ -1140,11 +1157,2 @@ const ret = typeof(arg0) === 'string'; | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = 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; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1160,2 +1168,7 @@ const obj = arg0.original; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = arg0 === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_boolean_get = function(arg0) { | ||
@@ -1167,7 +1180,2 @@ const v = arg0; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = arg0 === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_is_object = function(arg0) { | ||
@@ -1517,3 +1525,3 @@ const val = arg0; | ||
try { | ||
return __wbg_adapter_211(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_212(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1607,3 +1615,3 @@ state0.a = a; | ||
module.exports.__wbindgen_closure_wrapper2678 = function(arg0, arg1, arg2) { | ||
module.exports.__wbindgen_closure_wrapper2680 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 698, __wbg_adapter_48); | ||
@@ -1610,0 +1618,0 @@ return ret; |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "2.13.0-beta11", | ||
"version": "2.13.0-beta12", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
7938315
0.02%1825
0.66%