@hirosystems/clarinet-sdk-wasm
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -219,3 +219,3 @@ let imports = {}; | ||
function __wbg_adapter_44(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbdbaa72cb64ec298(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4a80d6da3606f3ad(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -289,4 +289,4 @@ | ||
} | ||
function __wbg_adapter_169(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h4e6a1322813ff5ae(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
function __wbg_adapter_165(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2bb19b7ab9ff0bbe(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -1007,2 +1007,11 @@ | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1018,5 +1027,9 @@ const obj = takeObject(arg0).original; | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = typeof(obj) === 'string' ? obj : undefined; | ||
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
@@ -1029,16 +1042,2 @@ | ||
module.exports.__wbindgen_error_new = function(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_as_number = function(arg0) { | ||
@@ -1054,11 +1053,12 @@ const ret = +getObject(arg0); | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = typeof(obj) === 'string' ? obj : undefined; | ||
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
module.exports.__wbindgen_error_new = function(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -1085,34 +1085,2 @@ const ret = new Error(); | ||
module.exports.__wbindgen_number_new = function(arg0) { | ||
const ret = arg0; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_bigint_from_u64 = function(arg0) { | ||
const ret = BigInt.asUintN(64, arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_bigint_from_i128 = function(arg0, arg1) { | ||
const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_bigint_from_u128 = function(arg0, arg1) { | ||
const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_String_4370c5505c674d30 = function(arg0, arg1) { | ||
const ret = String(getObject(arg1)); | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
module.exports.__wbg_set_bd72c078edfa51ad = function(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
}; | ||
module.exports.__wbindgen_boolean_get = function(arg0) { | ||
@@ -1142,3 +1110,3 @@ const v = getObject(arg0); | ||
module.exports.__wbg_String_88810dfeb4021902 = function(arg0, arg1) { | ||
module.exports.__wbg_String_4370c5505c674d30 = function(arg0, arg1) { | ||
const ret = String(getObject(arg1)); | ||
@@ -1151,34 +1119,40 @@ const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
module.exports.__wbindgen_number_new = function(arg0) { | ||
const ret = arg0; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_fetch_cf75ae0b20981e3e = function(arg0) { | ||
const ret = fetch(getObject(arg0)); | ||
module.exports.__wbindgen_bigint_from_u64 = function(arg0) { | ||
const ret = BigInt.asUintN(64, arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_signal_686bf5a4acff74a1 = function(arg0) { | ||
const ret = getObject(arg0).signal; | ||
module.exports.__wbindgen_bigint_from_i128 = function(arg0, arg1) { | ||
const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_new_a16bcd3b8d000a4f = function() { return handleError(function () { | ||
const ret = new AbortController(); | ||
module.exports.__wbindgen_bigint_from_u128 = function(arg0, arg1) { | ||
const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
}; | ||
module.exports.__wbg_abort_5f06bf3b2954cf33 = function(arg0) { | ||
getObject(arg0).abort(); | ||
module.exports.__wbg_set_bd72c078edfa51ad = function(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
}; | ||
module.exports.__wbg_new_f1c3a9c2533a55b8 = function() { return handleError(function () { | ||
const ret = new Headers(); | ||
module.exports.__wbg_fetch_cf75ae0b20981e3e = function(arg0) { | ||
const ret = fetch(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
}; | ||
module.exports.__wbg_append_1be1d651f9ecf2eb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
}, arguments) }; | ||
module.exports.__wbg_fetch_661ffba2a4f2519c = function(arg0, arg1) { | ||
const ret = getObject(arg0).fetch(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_log_7bb108d119bafbc1 = function(arg0) { | ||
console.log(getObject(arg0)); | ||
}; | ||
module.exports.__wbg_instanceof_Response_fb3a4df648c1859b = function(arg0) { | ||
@@ -1218,16 +1192,30 @@ let result; | ||
module.exports.__wbg_newwithstrandinit_c45f0dc6da26fd03 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2)); | ||
module.exports.__wbg_new_f1c3a9c2533a55b8 = function() { return handleError(function () { | ||
const ret = new Headers(); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_fetch_661ffba2a4f2519c = function(arg0, arg1) { | ||
const ret = getObject(arg0).fetch(getObject(arg1)); | ||
module.exports.__wbg_append_1be1d651f9ecf2eb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
}, arguments) }; | ||
module.exports.__wbg_signal_686bf5a4acff74a1 = function(arg0) { | ||
const ret = getObject(arg0).signal; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_log_7bb108d119bafbc1 = function(arg0) { | ||
console.log(getObject(arg0)); | ||
module.exports.__wbg_new_a16bcd3b8d000a4f = function() { return handleError(function () { | ||
const ret = new AbortController(); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_abort_5f06bf3b2954cf33 = function(arg0) { | ||
getObject(arg0).abort(); | ||
}; | ||
module.exports.__wbg_newwithstrandinit_c45f0dc6da26fd03 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) { | ||
@@ -1385,3 +1373,3 @@ const ret = getObject(arg0)[arg1 >>> 0]; | ||
try { | ||
return __wbg_adapter_169(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_165(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1448,2 +1436,7 @@ state0.a = a; | ||
module.exports.__wbg_stringify_029a979dfb73aa17 = function() { return handleError(function (arg0) { | ||
const ret = JSON.stringify(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_has_3feea89d34bd7ad5 = function() { return handleError(function (arg0, arg1) { | ||
@@ -1459,7 +1452,2 @@ const ret = Reflect.has(getObject(arg0), getObject(arg1)); | ||
module.exports.__wbg_stringify_029a979dfb73aa17 = function() { return handleError(function (arg0) { | ||
const ret = JSON.stringify(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbindgen_debug_string = function(arg0, arg1) { | ||
@@ -1482,4 +1470,4 @@ const ret = debugString(getObject(arg1)); | ||
module.exports.__wbindgen_closure_wrapper2634 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 455, __wbg_adapter_44); | ||
module.exports.__wbindgen_closure_wrapper2472 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 445, __wbg_adapter_44); | ||
return addHeapObject(ret); | ||
@@ -1486,0 +1474,0 @@ }; |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -6,4 +6,7 @@ # Clarity SDK WASM | ||
## Build | ||
## Contributing | ||
### Build package | ||
Install [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/). | ||
@@ -10,0 +13,0 @@ |
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
16
6286349
1498